@venulog/phasing-engine-schemas 0.10.0-alpha.1 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/parkingArea.js
CHANGED
|
@@ -880,7 +880,7 @@ export const getAvailableSlotsBodyV2Schema = z
|
|
|
880
880
|
pm_token: z.string().optional().openapi({
|
|
881
881
|
description: 'Optional Planning Manager token for authentication',
|
|
882
882
|
example: 'pm_abcdef123456'
|
|
883
|
-
})
|
|
883
|
+
})
|
|
884
884
|
})
|
|
885
885
|
.openapi('GetAvailableSlotsBodyV2');
|
|
886
886
|
export const availableTimeSlotV2Schema = z
|
package/dist/parkingBooking.d.ts
CHANGED
|
@@ -495,8 +495,8 @@ export declare const parkingBookingWithRelationsSchema: z.ZodObject<{
|
|
|
495
495
|
id: z.ZodNumber;
|
|
496
496
|
name: z.ZodString;
|
|
497
497
|
code: z.ZodString;
|
|
498
|
-
start_date: z.ZodString
|
|
499
|
-
end_date: z.ZodString
|
|
498
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
499
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
500
500
|
venue_id: z.ZodNullable<z.ZodNumber>;
|
|
501
501
|
banner: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
502
502
|
latitude: z.ZodNullable<z.ZodNumber>;
|
package/dist/parkingBooking.js
CHANGED
|
@@ -316,7 +316,7 @@ export const createParkingBookingBodySchema = z
|
|
|
316
316
|
pm_token: z.string().optional().openapi({
|
|
317
317
|
description: 'Planning management token for additional validation',
|
|
318
318
|
example: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...'
|
|
319
|
-
})
|
|
319
|
+
})
|
|
320
320
|
})
|
|
321
321
|
.openapi('CreateParkingBookingBody');
|
|
322
322
|
// Response schema
|
|
@@ -469,8 +469,8 @@ export const parkingBookingWithRelationsSchema = z
|
|
|
469
469
|
id: z.number(),
|
|
470
470
|
name: z.string(),
|
|
471
471
|
code: z.string(),
|
|
472
|
-
start_date: z.string(),
|
|
473
|
-
end_date: z.string(),
|
|
472
|
+
start_date: z.string().optional(),
|
|
473
|
+
end_date: z.string().optional(),
|
|
474
474
|
venue_id: z.number().nullable(),
|
|
475
475
|
banner: z.record(z.string(), z.unknown()).nullable(),
|
|
476
476
|
latitude: z.number().nullable(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venulog/phasing-engine-schemas",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Shared schemas and types for Phasing Engine API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"scripts": {
|
|
70
70
|
"build": "npm run clean && tsc",
|
|
71
71
|
"dev": "tsc --watch",
|
|
72
|
-
"clean": "
|
|
72
|
+
"clean": "rm -rf dist",
|
|
73
73
|
"prepublishOnly": "npm run build"
|
|
74
74
|
},
|
|
75
75
|
"keywords": [
|