mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-16 00:25:30 +00:00
Added implementation method to add upcoming pass information
This commit is contained in:
@@ -24,6 +24,15 @@ export const PREFERRED_STYLE_SCHEMES = {
|
||||
"Cannot set preferredStyleSchemes because not compliant with Apple specifications - %s",
|
||||
} as const;
|
||||
|
||||
export const UPCOMING_PASS_INFORMATION = {
|
||||
UNEXPECTED_PASS_TYPE:
|
||||
"Cannot set upcomingPassInformation on a pass with type different from eventTicket.",
|
||||
UNEXPECTED_STYLE_SCHEME:
|
||||
"Cannot set upcomingPassInformation because 'preferredStyleSchemes' does not include 'posterEventTicket' style.",
|
||||
INVALID:
|
||||
"Cannot set upcomingPassInformation: validation failed. Be sure to follow the Apple specifications. - %s",
|
||||
} as const;
|
||||
|
||||
export const PASS_TYPE = {
|
||||
INVALID:
|
||||
"Cannot set type because not compliant with Apple specifications. Refer to https://apple.co/3aFpSfg for a list of valid props - %s",
|
||||
|
||||
Reference in New Issue
Block a user