diff --git a/src/schema.ts b/src/schema.ts index 88afe6a..6d168e5 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -301,6 +301,8 @@ export interface Barcode { message: string; } +export type BarcodeFormat = "PKBarcodeFormatQR" | "PKBarcodeFormatPDF417" | "PKBarcodeFormatAztec" | "PKBarcodeFormatCode128"; + const barcode = Joi.object().keys({ altText: Joi.string(), messageEncoding: Joi.string().default("iso-8859-1"),