Added support to new semantic property eventLiveMessage

This commit is contained in:
Alexander Cerutti
2024-10-05 20:06:08 +02:00
parent 93ed702c99
commit 9cd2683519

View File

@@ -142,6 +142,16 @@ export interface Semantics {
entranceDescription?: string; entranceDescription?: string;
eventEndDate?: string; eventEndDate?: string;
/**
* For newly-introduced event tickets
* in iOS 18
*
* This seem to exists but it is not
* known yet what it does...
*/
eventLiveMessage?: string;
eventName?: string; eventName?: string;
eventStartDate?: string; eventStartDate?: string;
eventType?: eventType?:
@@ -280,6 +290,16 @@ export const Semantics = Joi.object<Semantics>().keys({
eventEndDate: Joi.string(), eventEndDate: Joi.string(),
eventName: Joi.string(), eventName: Joi.string(),
/**
* For newly-introduced event tickets
* in iOS 18
*
* This seem to exists but it is not
* known yet what it does...
*/
eventLiveMessage: Joi.string(),
eventStartDate: Joi.string(), eventStartDate: Joi.string(),
eventType: Joi.string().regex( eventType: Joi.string().regex(
/(PKEventTypeGeneric|PKEventTypeLivePerformance|PKEventTypeMovie|PKEventTypeSports|PKEventTypeConference|PKEventTypeConvention|PKEventTypeWorkshop|PKEventTypeSocialGathering)/, /(PKEventTypeGeneric|PKEventTypeLivePerformance|PKEventTypeMovie|PKEventTypeSports|PKEventTypeConference|PKEventTypeConvention|PKEventTypeWorkshop|PKEventTypeSocialGathering)/,