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
0
Versions
77
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

to
5.12.1

50

lib/mobility.d.ts

@@ -836,25 +836,5 @@ import { z } from 'zod';

export type ScooterFaqType = z.infer<typeof ScooterFaq>;
export declare const ScooterConsentLine: z.ZodObject<z.objectUtil.extendShape<{
export declare const ScooterConsentLine: z.ZodObject<{
id: z.ZodString;
illustration: z.ZodOptional<z.ZodString>;
}, {
title: 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, {
value?: string | undefined;
language?: string | undefined;
}, {
value?: string | undefined;
language?: string | undefined;
}>]>, "atleastone">;
description: z.ZodArray<z.ZodUnion<[z.ZodObject<{

@@ -879,17 +859,4 @@ lang: z.ZodString;

}>]>, "atleastone">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
id: string;
title: [{
value: string;
lang: string;
} | {
value?: string | undefined;
language?: string | undefined;
}, ...({
value: string;
lang: string;
} | {
value?: string | undefined;
language?: string | undefined;
})[]];
description: [{

@@ -911,15 +878,2 @@ value: string;

id: string;
title: [{
value: string;
lang: string;
} | {
value?: string | undefined;
language?: string | undefined;
}, ...({
value: string;
lang: string;
} | {
value?: string | undefined;
language?: string | undefined;
})[]];
description: [{

@@ -926,0 +880,0 @@ value: string;

7

lib/mobility.js

@@ -58,8 +58,7 @@ "use strict";

.merge(exports.titleAndDescription);
exports.ScooterConsentLine = zod_1.z
.object({
exports.ScooterConsentLine = zod_1.z.object({
id: zod_1.z.string().nonempty(),
illustration: zod_1.z.string().optional(),
})
.merge(exports.titleAndDescription);
description: common_1.LanguageAndTextTypeArray.nonempty(),
});
exports.BonusProduct = zod_1.z.object({

@@ -66,0 +65,0 @@ id: zod_1.z.string().nonempty(),

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

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

@@ -201,10 +201,11 @@ {

},
"title": {
"$ref": "#/definitions/MobilityOperator/properties/scooterFaqs/items/properties/title"
},
"description": {
"$ref": "#/definitions/MobilityOperator/properties/scooterFaqs/items/properties/description"
"type": "array",
"items": {
"$ref": "#/definitions/MobilityOperator/properties/operators/items/properties/benefits/items/properties/headingWhenActive/items"
},
"minItems": 1
}
},
"required": ["id", "title", "description"],
"required": ["id", "description"],
"additionalProperties": false

@@ -211,0 +212,0 @@ }