diff --git a/src/schemas/index.ts b/src/schemas/index.ts index 0d53252..38978d4 100644 --- a/src/schemas/index.ts +++ b/src/schemas/index.ts @@ -111,7 +111,8 @@ type PassMethodsProps = | "barcodes" | "relevantDate" | "expirationDate" - | "locations"; + | "locations" + | "preferredStyleSchemes"; export type PassTypesProps = | "boardingPass" @@ -139,6 +140,7 @@ export const PassPropsFromMethods = Joi.object({ relevantDate: Joi.string().isoDate(), expirationDate: Joi.string().isoDate(), locations: Joi.array().items(Location), + preferredStyleSchemes: PreferredStyleSchemes, }); export const PassKindsProps = Joi.object({