New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atb-as/config-specs

Package Overview
Dependencies
Maintainers
12
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atb-as/config-specs - npm Package Compare versions

Comparing version 3.8.0 to 3.9.0

168

lib/mobility-operators.d.ts

@@ -7,2 +7,3 @@ import { z } from "zod";

id: z.ZodUnion<[z.ZodLiteral<"free-unlock">, z.ZodLiteral<"free-use">]>;
imageWhenActive: z.ZodOptional<z.ZodString>;
headingWhenActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{

@@ -27,3 +28,3 @@ lang: z.ZodString;

}>]>, "many">>;
descriptionWhenActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
descriptionWhenActive: z.ZodArray<z.ZodUnion<[z.ZodObject<{
lang: z.ZodString;

@@ -46,3 +47,4 @@ value: z.ZodString;

value?: string | undefined;
}>]>, "many">>;
}>]>, "many">;
imageWhenNotActive: z.ZodOptional<z.ZodString>;
headingWhenNotActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{

@@ -67,3 +69,3 @@ lang: z.ZodString;

}>]>, "many">>;
descriptionWhenNotActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
descriptionWhenNotActive: z.ZodArray<z.ZodUnion<[z.ZodObject<{
lang: z.ZodString;

@@ -86,3 +88,3 @@ value: z.ZodString;

value?: string | undefined;
}>]>, "many">>;
}>]>, "many">;
callToAction: z.ZodObject<{

@@ -130,2 +132,16 @@ url: z.ZodString;

id: "free-unlock" | "free-use";
descriptionWhenActive: ({
value: string;
lang: string;
} | {
language?: string | undefined;
value?: string | undefined;
})[];
descriptionWhenNotActive: ({
value: string;
lang: string;
} | {
language?: string | undefined;
value?: string | undefined;
})[];
callToAction: {

@@ -141,2 +157,3 @@ url: string;

};
imageWhenActive?: string | undefined;
headingWhenActive?: ({

@@ -149,3 +166,4 @@ value: string;

})[] | undefined;
descriptionWhenActive?: ({
imageWhenNotActive?: string | undefined;
headingWhenNotActive?: ({
value: string;

@@ -157,3 +175,5 @@ lang: string;

})[] | undefined;
headingWhenNotActive?: ({
}, {
id: "free-unlock" | "free-use";
descriptionWhenActive: ({
value: string;

@@ -164,4 +184,4 @@ lang: string;

value?: string | undefined;
})[] | undefined;
descriptionWhenNotActive?: ({
})[];
descriptionWhenNotActive: ({
value: string;

@@ -172,5 +192,3 @@ lang: string;

value?: string | undefined;
})[] | undefined;
}, {
id: "free-unlock" | "free-use";
})[];
callToAction: {

@@ -186,2 +204,3 @@ url: string;

};
imageWhenActive?: string | undefined;
headingWhenActive?: ({

@@ -194,9 +213,3 @@ value: string;

})[] | undefined;
descriptionWhenActive?: ({
value: string;
lang: string;
} | {
language?: string | undefined;
value?: string | undefined;
})[] | undefined;
imageWhenNotActive?: string | undefined;
headingWhenNotActive?: ({

@@ -209,9 +222,2 @@ value: string;

})[] | undefined;
descriptionWhenNotActive?: ({
value: string;
lang: string;
} | {
language?: string | undefined;
value?: string | undefined;
})[] | undefined;
}>;

@@ -226,2 +232,3 @@ export type OperatorBenefitType = z.infer<typeof OperatorBenefit>;

id: z.ZodUnion<[z.ZodLiteral<"free-unlock">, z.ZodLiteral<"free-use">]>;
imageWhenActive: z.ZodOptional<z.ZodString>;
headingWhenActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{

@@ -246,3 +253,3 @@ lang: z.ZodString;

}>]>, "many">>;
descriptionWhenActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
descriptionWhenActive: z.ZodArray<z.ZodUnion<[z.ZodObject<{
lang: z.ZodString;

@@ -265,3 +272,4 @@ value: z.ZodString;

value?: string | undefined;
}>]>, "many">>;
}>]>, "many">;
imageWhenNotActive: z.ZodOptional<z.ZodString>;
headingWhenNotActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{

@@ -286,3 +294,3 @@ lang: z.ZodString;

}>]>, "many">>;
descriptionWhenNotActive: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
descriptionWhenNotActive: z.ZodArray<z.ZodUnion<[z.ZodObject<{
lang: z.ZodString;

@@ -305,3 +313,3 @@ value: z.ZodString;

value?: string | undefined;
}>]>, "many">>;
}>]>, "many">;
callToAction: z.ZodObject<{

@@ -349,2 +357,16 @@ url: z.ZodString;

id: "free-unlock" | "free-use";
descriptionWhenActive: ({
value: string;
lang: string;
} | {
language?: string | undefined;
value?: string | undefined;
})[];
descriptionWhenNotActive: ({
value: string;
lang: string;
} | {
language?: string | undefined;
value?: string | undefined;
})[];
callToAction: {

@@ -360,2 +382,3 @@ url: string;

};
imageWhenActive?: string | undefined;
headingWhenActive?: ({

@@ -368,3 +391,4 @@ value: string;

})[] | undefined;
descriptionWhenActive?: ({
imageWhenNotActive?: string | undefined;
headingWhenNotActive?: ({
value: string;

@@ -376,3 +400,5 @@ lang: string;

})[] | undefined;
headingWhenNotActive?: ({
}, {
id: "free-unlock" | "free-use";
descriptionWhenActive: ({
value: string;

@@ -383,4 +409,4 @@ lang: string;

value?: string | undefined;
})[] | undefined;
descriptionWhenNotActive?: ({
})[];
descriptionWhenNotActive: ({
value: string;

@@ -391,5 +417,3 @@ lang: string;

value?: string | undefined;
})[] | undefined;
}, {
id: "free-unlock" | "free-use";
})[];
callToAction: {

@@ -405,2 +429,3 @@ url: string;

};
imageWhenActive?: string | undefined;
headingWhenActive?: ({

@@ -413,3 +438,4 @@ value: string;

})[] | undefined;
descriptionWhenActive?: ({
imageWhenNotActive?: string | undefined;
headingWhenNotActive?: ({
value: string;

@@ -421,3 +447,11 @@ lang: string;

})[] | undefined;
headingWhenNotActive?: ({
}>, "many">>>;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
showInApp: boolean;
formFactors: ["SCOOTER" | "BICYCLE" | "CAR", ...("SCOOTER" | "BICYCLE" | "CAR")[]];
benefits: {
id: "free-unlock" | "free-use";
descriptionWhenActive: ({
value: string;

@@ -428,4 +462,4 @@ lang: string;

value?: string | undefined;
})[] | undefined;
descriptionWhenNotActive?: ({
})[];
descriptionWhenNotActive: ({
value: string;

@@ -436,11 +470,3 @@ lang: string;

value?: string | undefined;
})[] | undefined;
}>, "many">>>;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
showInApp: boolean;
formFactors: ["SCOOTER" | "BICYCLE" | "CAR", ...("SCOOTER" | "BICYCLE" | "CAR")[]];
benefits: {
id: "free-unlock" | "free-use";
})[];
callToAction: {

@@ -456,2 +482,3 @@ url: string;

};
imageWhenActive?: string | undefined;
headingWhenActive?: ({

@@ -464,3 +491,4 @@ value: string;

})[] | undefined;
descriptionWhenActive?: ({
imageWhenNotActive?: string | undefined;
headingWhenNotActive?: ({
value: string;

@@ -472,3 +500,11 @@ lang: string;

})[] | undefined;
headingWhenNotActive?: ({
}[];
}, {
name: string;
id: string;
formFactors: ["SCOOTER" | "BICYCLE" | "CAR", ...("SCOOTER" | "BICYCLE" | "CAR")[]];
showInApp?: boolean | undefined;
benefits?: {
id: "free-unlock" | "free-use";
descriptionWhenActive: ({
value: string;

@@ -479,4 +515,4 @@ lang: string;

value?: string | undefined;
})[] | undefined;
descriptionWhenNotActive?: ({
})[];
descriptionWhenNotActive: ({
value: string;

@@ -487,11 +523,3 @@ lang: string;

value?: string | undefined;
})[] | undefined;
}[];
}, {
name: string;
id: string;
formFactors: ["SCOOTER" | "BICYCLE" | "CAR", ...("SCOOTER" | "BICYCLE" | "CAR")[]];
showInApp?: boolean | undefined;
benefits?: {
id: "free-unlock" | "free-use";
})[];
callToAction: {

@@ -507,2 +535,3 @@ url: string;

};
imageWhenActive?: string | undefined;
headingWhenActive?: ({

@@ -515,9 +544,3 @@ value: string;

})[] | undefined;
descriptionWhenActive?: ({
value: string;
lang: string;
} | {
language?: string | undefined;
value?: string | undefined;
})[] | undefined;
imageWhenNotActive?: string | undefined;
headingWhenNotActive?: ({

@@ -530,11 +553,4 @@ value: string;

})[] | undefined;
descriptionWhenNotActive?: ({
value: string;
lang: string;
} | {
language?: string | undefined;
value?: string | undefined;
})[] | undefined;
}[] | undefined;
}>;
export type MobilityOperatorType = z.infer<typeof MobilityOperator>;

@@ -17,6 +17,8 @@ "use strict";

id: exports.OperatorBenefitId,
imageWhenActive: zod_1.z.string().optional(),
headingWhenActive: common_1.LanguageAndTextTypeArray.optional(),
descriptionWhenActive: common_1.LanguageAndTextTypeArray.optional(),
descriptionWhenActive: common_1.LanguageAndTextTypeArray,
imageWhenNotActive: zod_1.z.string().optional(),
headingWhenNotActive: common_1.LanguageAndTextTypeArray.optional(),
descriptionWhenNotActive: common_1.LanguageAndTextTypeArray.optional(),
descriptionWhenNotActive: common_1.LanguageAndTextTypeArray,
callToAction: zod_1.z.object({

@@ -23,0 +25,0 @@ url: zod_1.z.string(),

{
"name": "@atb-as/config-specs",
"version": "3.8.0",
"version": "3.9.0",
"description": "Shared types and validation for fare product type configs",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -51,2 +51,5 @@ {

},
"imageWhenActive": {
"type": "string"
},
"headingWhenActive": {

@@ -90,2 +93,5 @@ "type": "array",

},
"imageWhenNotActive": {
"type": "string"
},
"headingWhenNotActive": {

@@ -115,2 +121,4 @@ "$ref": "#/definitions/MobilityOperator/properties/operators/items/properties/benefits/items/properties/headingWhenActive"

"id",
"descriptionWhenActive",
"descriptionWhenNotActive",
"callToAction"

@@ -117,0 +125,0 @@ ],

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc