@atb-as/config-specs
Advanced tools
Comparing version 3.13.0 to 3.13.1
import { z } from "zod"; | ||
export declare const FormFactor: z.ZodUnion<[z.ZodLiteral<"SCOOTER">, z.ZodLiteral<"BICYCLE">, z.ZodLiteral<"CAR">]>; | ||
export declare const OperatorBenefitId: z.ZodUnion<[z.ZodLiteral<"free-unlock">, z.ZodLiteral<"free-use">]>; | ||
export declare const OperatorBenefitId: z.ZodUnion<[z.ZodLiteral<"free-unlock">, z.ZodLiteral<"free-use">, z.ZodLiteral<"single-unlock">]>; | ||
export type OperatorBenefitIdType = z.infer<typeof OperatorBenefitId>; | ||
export declare const OperatorBenefit: z.ZodObject<{ | ||
id: z.ZodUnion<[z.ZodLiteral<"free-unlock">, z.ZodLiteral<"free-use">]>; | ||
id: z.ZodUnion<[z.ZodLiteral<"free-unlock">, z.ZodLiteral<"free-use">, z.ZodLiteral<"single-unlock">]>; | ||
imageWhenActive: z.ZodOptional<z.ZodString>; | ||
@@ -126,3 +126,3 @@ headingWhenActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{ | ||
}, "strip", z.ZodTypeAny, { | ||
id: "free-unlock" | "free-use"; | ||
id: "free-unlock" | "free-use" | "single-unlock"; | ||
descriptionWhenActive: ({ | ||
@@ -169,3 +169,3 @@ value: string; | ||
}, { | ||
id: "free-unlock" | "free-use"; | ||
id: "free-unlock" | "free-use" | "single-unlock"; | ||
descriptionWhenActive: ({ | ||
@@ -219,3 +219,3 @@ value: string; | ||
benefits: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{ | ||
id: z.ZodUnion<[z.ZodLiteral<"free-unlock">, z.ZodLiteral<"free-use">]>; | ||
id: z.ZodUnion<[z.ZodLiteral<"free-unlock">, z.ZodLiteral<"free-use">, z.ZodLiteral<"single-unlock">]>; | ||
imageWhenActive: z.ZodOptional<z.ZodString>; | ||
@@ -340,3 +340,3 @@ headingWhenActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{ | ||
}, "strip", z.ZodTypeAny, { | ||
id: "free-unlock" | "free-use"; | ||
id: "free-unlock" | "free-use" | "single-unlock"; | ||
descriptionWhenActive: ({ | ||
@@ -383,3 +383,3 @@ value: string; | ||
}, { | ||
id: "free-unlock" | "free-use"; | ||
id: "free-unlock" | "free-use" | "single-unlock"; | ||
descriptionWhenActive: ({ | ||
@@ -432,3 +432,3 @@ value: string; | ||
benefits: { | ||
id: "free-unlock" | "free-use"; | ||
id: "free-unlock" | "free-use" | "single-unlock"; | ||
descriptionWhenActive: ({ | ||
@@ -481,3 +481,3 @@ value: string; | ||
benefits?: { | ||
id: "free-unlock" | "free-use"; | ||
id: "free-unlock" | "free-use" | "single-unlock"; | ||
descriptionWhenActive: ({ | ||
@@ -484,0 +484,0 @@ value: string; |
@@ -13,3 +13,4 @@ "use strict"; | ||
zod_1.z.literal("free-unlock"), | ||
zod_1.z.literal('free-use') | ||
zod_1.z.literal('free-use'), | ||
zod_1.z.literal('single-unlock') | ||
]); | ||
@@ -16,0 +17,0 @@ exports.OperatorBenefit = zod_1.z.object({ |
{ | ||
"name": "@atb-as/config-specs", | ||
"version": "3.13.0", | ||
"version": "3.13.1", | ||
"description": "Shared types and validation for fare product type configs", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -48,3 +48,4 @@ { | ||
"free-unlock", | ||
"free-use" | ||
"free-use", | ||
"single-unlock" | ||
] | ||
@@ -51,0 +52,0 @@ }, |
Sorry, the diff of this file is too big to display
412353
6728