@atb-as/config-specs
Advanced tools
Comparing version 3.20.0 to 3.21.0
@@ -117,2 +117,21 @@ import { z } from 'zod'; | ||
}>]>, "many">>; | ||
appA11yStatement: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{ | ||
lang: z.ZodString; | ||
value: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
value: string; | ||
lang: string; | ||
}, { | ||
value: string; | ||
lang: string; | ||
}>, z.ZodObject<{ | ||
language: z.ZodOptional<z.ZodString>; | ||
value: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
language?: string | undefined; | ||
value?: string | undefined; | ||
}, { | ||
language?: string | undefined; | ||
value?: string | undefined; | ||
}>]>, "many">>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -161,2 +180,9 @@ ticketingInfo?: ({ | ||
})[] | undefined; | ||
appA11yStatement?: ({ | ||
value: string; | ||
lang: string; | ||
} | { | ||
language?: string | undefined; | ||
value?: string | undefined; | ||
})[] | undefined; | ||
}, { | ||
@@ -205,3 +231,10 @@ ticketingInfo?: ({ | ||
})[] | undefined; | ||
appA11yStatement?: ({ | ||
value: string; | ||
lang: string; | ||
} | { | ||
language?: string | undefined; | ||
value?: string | undefined; | ||
})[] | undefined; | ||
}>; | ||
export type ConfigurableLinksType = z.infer<typeof ConfigurableLinks>; |
@@ -13,2 +13,3 @@ "use strict"; | ||
dataSharingInfo: common_1.LanguageAndTextTypeArray.optional(), | ||
appA11yStatement: common_1.LanguageAndTextTypeArray.optional(), | ||
}); |
{ | ||
"name": "@atb-as/config-specs", | ||
"version": "3.20.0", | ||
"version": "3.21.0", | ||
"description": "Shared types and validation for fare product type configs", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -59,2 +59,5 @@ { | ||
"$ref": "#/definitions/ConfigurableLinks/properties/ticketingInfo" | ||
}, | ||
"appA11yStatement": { | ||
"$ref": "#/definitions/ConfigurableLinks/properties/ticketingInfo" | ||
} | ||
@@ -61,0 +64,0 @@ }, |
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
431485
7317
1