vr-commons 1.0.182 → 1.0.183

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.
@@ -11,6 +11,13 @@ export declare const createAppSpecsSchema: z.ZodObject<{
11
11
  productionBaseUrl: z.ZodString;
12
12
  runtimeConfig: z.ZodOptional<z.ZodObject<{
13
13
  googleWebClientId: z.ZodOptional<z.ZodString>;
14
+ passengerAccess: z.ZodOptional<z.ZodObject<{
15
+ mode: z.ZodEnum<["FREE", "PAID"]>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ mode: "FREE" | "PAID";
18
+ }, {
19
+ mode: "FREE" | "PAID";
20
+ }>>;
14
21
  speedGovernor: z.ZodOptional<z.ZodObject<{
15
22
  isActive: z.ZodBoolean;
16
23
  speedLimitKmh: z.ZodNumber;
@@ -96,6 +103,9 @@ export declare const createAppSpecsSchema: z.ZodObject<{
96
103
  forceUpdateMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
104
  }, "strip", z.ZodTypeAny, {
98
105
  googleWebClientId?: string | undefined;
106
+ passengerAccess?: {
107
+ mode: "FREE" | "PAID";
108
+ } | undefined;
99
109
  speedGovernor?: {
100
110
  isActive: boolean;
101
111
  speedLimitKmh: number;
@@ -131,6 +141,9 @@ export declare const createAppSpecsSchema: z.ZodObject<{
131
141
  forceUpdateMessage?: string | null | undefined;
132
142
  }, {
133
143
  googleWebClientId?: string | undefined;
144
+ passengerAccess?: {
145
+ mode: "FREE" | "PAID";
146
+ } | undefined;
134
147
  speedGovernor?: {
135
148
  isActive: boolean;
136
149
  speedLimitKmh: number;
@@ -213,6 +226,9 @@ export declare const createAppSpecsSchema: z.ZodObject<{
213
226
  appDescription?: string | null | undefined;
214
227
  runtimeConfig?: {
215
228
  googleWebClientId?: string | undefined;
229
+ passengerAccess?: {
230
+ mode: "FREE" | "PAID";
231
+ } | undefined;
216
232
  speedGovernor?: {
217
233
  isActive: boolean;
218
234
  speedLimitKmh: number;
@@ -279,6 +295,9 @@ export declare const createAppSpecsSchema: z.ZodObject<{
279
295
  appSupportedLanguages?: string[] | undefined;
280
296
  runtimeConfig?: {
281
297
  googleWebClientId?: string | undefined;
298
+ passengerAccess?: {
299
+ mode: "FREE" | "PAID";
300
+ } | undefined;
282
301
  speedGovernor?: {
283
302
  isActive: boolean;
284
303
  speedLimitKmh: number;
@@ -363,6 +382,9 @@ export declare const createAppSpecsSchema: z.ZodObject<{
363
382
  appDescription?: string | null | undefined;
364
383
  runtimeConfig?: {
365
384
  googleWebClientId?: string | undefined;
385
+ passengerAccess?: {
386
+ mode: "FREE" | "PAID";
387
+ } | undefined;
366
388
  speedGovernor?: {
367
389
  isActive: boolean;
368
390
  speedLimitKmh: number;
@@ -431,6 +453,9 @@ export declare const createAppSpecsSchema: z.ZodObject<{
431
453
  appSupportedLanguages?: string[] | undefined;
432
454
  runtimeConfig?: {
433
455
  googleWebClientId?: string | undefined;
456
+ passengerAccess?: {
457
+ mode: "FREE" | "PAID";
458
+ } | undefined;
434
459
  speedGovernor?: {
435
460
  isActive: boolean;
436
461
  speedLimitKmh: number;
@@ -514,6 +539,13 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
514
539
  productionBaseUrl: z.ZodOptional<z.ZodString>;
515
540
  runtimeConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
516
541
  googleWebClientId: z.ZodOptional<z.ZodString>;
542
+ passengerAccess: z.ZodOptional<z.ZodObject<{
543
+ mode: z.ZodEnum<["FREE", "PAID"]>;
544
+ }, "strip", z.ZodTypeAny, {
545
+ mode: "FREE" | "PAID";
546
+ }, {
547
+ mode: "FREE" | "PAID";
548
+ }>>;
517
549
  speedGovernor: z.ZodOptional<z.ZodObject<{
518
550
  isActive: z.ZodBoolean;
519
551
  speedLimitKmh: z.ZodNumber;
@@ -599,6 +631,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
599
631
  forceUpdateMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
632
  }, "strip", z.ZodTypeAny, {
601
633
  googleWebClientId?: string | undefined;
634
+ passengerAccess?: {
635
+ mode: "FREE" | "PAID";
636
+ } | undefined;
602
637
  speedGovernor?: {
603
638
  isActive: boolean;
604
639
  speedLimitKmh: number;
@@ -634,6 +669,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
634
669
  forceUpdateMessage?: string | null | undefined;
635
670
  }, {
636
671
  googleWebClientId?: string | undefined;
672
+ passengerAccess?: {
673
+ mode: "FREE" | "PAID";
674
+ } | undefined;
637
675
  speedGovernor?: {
638
676
  isActive: boolean;
639
677
  speedLimitKmh: number;
@@ -707,6 +745,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
707
745
  productionBaseUrl?: string | undefined;
708
746
  runtimeConfig?: {
709
747
  googleWebClientId?: string | undefined;
748
+ passengerAccess?: {
749
+ mode: "FREE" | "PAID";
750
+ } | undefined;
710
751
  speedGovernor?: {
711
752
  isActive: boolean;
712
753
  speedLimitKmh: number;
@@ -780,6 +821,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
780
821
  productionBaseUrl?: string | undefined;
781
822
  runtimeConfig?: {
782
823
  googleWebClientId?: string | undefined;
824
+ passengerAccess?: {
825
+ mode: "FREE" | "PAID";
826
+ } | undefined;
783
827
  speedGovernor?: {
784
828
  isActive: boolean;
785
829
  speedLimitKmh: number;
@@ -855,6 +899,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
855
899
  productionBaseUrl?: string | undefined;
856
900
  runtimeConfig?: {
857
901
  googleWebClientId?: string | undefined;
902
+ passengerAccess?: {
903
+ mode: "FREE" | "PAID";
904
+ } | undefined;
858
905
  speedGovernor?: {
859
906
  isActive: boolean;
860
907
  speedLimitKmh: number;
@@ -933,6 +980,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
933
980
  productionBaseUrl?: string | undefined;
934
981
  runtimeConfig?: {
935
982
  googleWebClientId?: string | undefined;
983
+ passengerAccess?: {
984
+ mode: "FREE" | "PAID";
985
+ } | undefined;
936
986
  speedGovernor?: {
937
987
  isActive: boolean;
938
988
  speedLimitKmh: number;
@@ -19,6 +19,7 @@ const appSpecsBaseSchema = {
19
19
  productionBaseUrl: zod_1.z.string().url(),
20
20
  runtimeConfig: zod_1.z.object({
21
21
  googleWebClientId: zod_1.z.string().max(255).optional(),
22
+ passengerAccess: zod_1.z.object({ mode: zod_1.z.enum(["FREE", "PAID"]) }).optional(),
22
23
  speedGovernor: zod_1.z.object({
23
24
  isActive: zod_1.z.boolean(),
24
25
  speedLimitKmh: zod_1.z.number().positive().max(300),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-commons",
3
- "version": "1.0.182",
3
+ "version": "1.0.183",
4
4
  "description": "Shared functions package",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -103,7 +103,7 @@
103
103
  "rimraf": "^5.0.5",
104
104
  "streamifier": "^0.1.1",
105
105
  "typescript": "^5.3.3",
106
- "vr-models": "^1.0.108",
106
+ "vr-models": "^1.0.109",
107
107
  "zod": "^3.25.20"
108
108
  },
109
109
  "dependencies": {