mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 20:25:26 +00:00
Added two new undocumented fields directionsInformationURL and contactVenueEmail
This commit is contained in:
@@ -98,6 +98,18 @@ export interface PassProps {
|
|||||||
* Event Ticket
|
* Event Ticket
|
||||||
*/
|
*/
|
||||||
preferredStyleSchemes?: PreferredStyleSchemes;
|
preferredStyleSchemes?: PreferredStyleSchemes;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* New field for iOS 18
|
||||||
|
* Event Ticket
|
||||||
|
*/
|
||||||
|
directionsInformationURL?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* New field for iOS 18
|
||||||
|
* Event Ticket
|
||||||
|
*/
|
||||||
|
contactVenueEmail?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -199,6 +211,18 @@ export const OverridablePassProps = Joi.object<OverridablePassProps>({
|
|||||||
* of the properties
|
* of the properties
|
||||||
*/
|
*/
|
||||||
parkingInformationURL: Joi.string().regex(URL_REGEX),
|
parkingInformationURL: Joi.string().regex(URL_REGEX),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* New field for iOS 18
|
||||||
|
* Event Ticket
|
||||||
|
*/
|
||||||
|
directionsInformationURL: Joi.string(),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* New field for iOS 18
|
||||||
|
* Event Ticket
|
||||||
|
*/
|
||||||
|
contactVenueEmail: Joi.string(),
|
||||||
}).with("webServiceURL", "authenticationToken");
|
}).with("webServiceURL", "authenticationToken");
|
||||||
|
|
||||||
export const PassProps = Joi.object<
|
export const PassProps = Joi.object<
|
||||||
|
|||||||
Reference in New Issue
Block a user