vr-commons 1.0.171 → 1.0.176
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.
|
@@ -6,21 +6,10 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
6
6
|
appDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
appDefaultLanguage: z.ZodDefault<z.ZodString>;
|
|
8
8
|
appSupportedLanguages: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
9
|
+
developmentBaseUrl: z.ZodString;
|
|
10
|
+
stagingBaseUrl: z.ZodString;
|
|
11
|
+
productionBaseUrl: z.ZodString;
|
|
9
12
|
runtimeConfig: z.ZodOptional<z.ZodObject<{
|
|
10
|
-
apiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
11
|
-
apiBaseUrls: z.ZodOptional<z.ZodObject<{
|
|
12
|
-
production: z.ZodOptional<z.ZodString>;
|
|
13
|
-
staging: z.ZodOptional<z.ZodString>;
|
|
14
|
-
develop: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
production?: string | undefined;
|
|
17
|
-
staging?: string | undefined;
|
|
18
|
-
develop?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
production?: string | undefined;
|
|
21
|
-
staging?: string | undefined;
|
|
22
|
-
develop?: string | undefined;
|
|
23
|
-
}>>;
|
|
24
13
|
googleWebClientId: z.ZodOptional<z.ZodString>;
|
|
25
14
|
speedGovernor: z.ZodOptional<z.ZodObject<{
|
|
26
15
|
isActive: z.ZodBoolean;
|
|
@@ -106,12 +95,6 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
106
95
|
minimumAppVersion: z.ZodOptional<z.ZodString>;
|
|
107
96
|
forceUpdateMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
97
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
apiBaseUrl?: string | undefined;
|
|
110
|
-
apiBaseUrls?: {
|
|
111
|
-
production?: string | undefined;
|
|
112
|
-
staging?: string | undefined;
|
|
113
|
-
develop?: string | undefined;
|
|
114
|
-
} | undefined;
|
|
115
98
|
googleWebClientId?: string | undefined;
|
|
116
99
|
speedGovernor?: {
|
|
117
100
|
isActive: boolean;
|
|
@@ -147,12 +130,6 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
147
130
|
minimumAppVersion?: string | undefined;
|
|
148
131
|
forceUpdateMessage?: string | null | undefined;
|
|
149
132
|
}, {
|
|
150
|
-
apiBaseUrl?: string | undefined;
|
|
151
|
-
apiBaseUrls?: {
|
|
152
|
-
production?: string | undefined;
|
|
153
|
-
staging?: string | undefined;
|
|
154
|
-
develop?: string | undefined;
|
|
155
|
-
} | undefined;
|
|
156
133
|
googleWebClientId?: string | undefined;
|
|
157
134
|
speedGovernor?: {
|
|
158
135
|
isActive: boolean;
|
|
@@ -221,6 +198,9 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
221
198
|
appName: string;
|
|
222
199
|
appDefaultLanguage: string;
|
|
223
200
|
appSupportedLanguages: string[];
|
|
201
|
+
developmentBaseUrl: string;
|
|
202
|
+
stagingBaseUrl: string;
|
|
203
|
+
productionBaseUrl: string;
|
|
224
204
|
enableRiderAccess: boolean;
|
|
225
205
|
enablePassengerAccess: boolean;
|
|
226
206
|
enableAgentAccess: boolean;
|
|
@@ -232,12 +212,6 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
232
212
|
appShortName?: string | null | undefined;
|
|
233
213
|
appDescription?: string | null | undefined;
|
|
234
214
|
runtimeConfig?: {
|
|
235
|
-
apiBaseUrl?: string | undefined;
|
|
236
|
-
apiBaseUrls?: {
|
|
237
|
-
production?: string | undefined;
|
|
238
|
-
staging?: string | undefined;
|
|
239
|
-
develop?: string | undefined;
|
|
240
|
-
} | undefined;
|
|
241
215
|
googleWebClientId?: string | undefined;
|
|
242
216
|
speedGovernor?: {
|
|
243
217
|
isActive: boolean;
|
|
@@ -296,17 +270,14 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
296
270
|
maintenanceEndAt?: string | null | undefined;
|
|
297
271
|
}, {
|
|
298
272
|
appName: string;
|
|
273
|
+
developmentBaseUrl: string;
|
|
274
|
+
stagingBaseUrl: string;
|
|
275
|
+
productionBaseUrl: string;
|
|
299
276
|
appShortName?: string | null | undefined;
|
|
300
277
|
appDescription?: string | null | undefined;
|
|
301
278
|
appDefaultLanguage?: string | undefined;
|
|
302
279
|
appSupportedLanguages?: string[] | undefined;
|
|
303
280
|
runtimeConfig?: {
|
|
304
|
-
apiBaseUrl?: string | undefined;
|
|
305
|
-
apiBaseUrls?: {
|
|
306
|
-
production?: string | undefined;
|
|
307
|
-
staging?: string | undefined;
|
|
308
|
-
develop?: string | undefined;
|
|
309
|
-
} | undefined;
|
|
310
281
|
googleWebClientId?: string | undefined;
|
|
311
282
|
speedGovernor?: {
|
|
312
283
|
isActive: boolean;
|
|
@@ -377,6 +348,9 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
377
348
|
appName: string;
|
|
378
349
|
appDefaultLanguage: string;
|
|
379
350
|
appSupportedLanguages: string[];
|
|
351
|
+
developmentBaseUrl: string;
|
|
352
|
+
stagingBaseUrl: string;
|
|
353
|
+
productionBaseUrl: string;
|
|
380
354
|
enableRiderAccess: boolean;
|
|
381
355
|
enablePassengerAccess: boolean;
|
|
382
356
|
enableAgentAccess: boolean;
|
|
@@ -388,12 +362,6 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
388
362
|
appShortName?: string | null | undefined;
|
|
389
363
|
appDescription?: string | null | undefined;
|
|
390
364
|
runtimeConfig?: {
|
|
391
|
-
apiBaseUrl?: string | undefined;
|
|
392
|
-
apiBaseUrls?: {
|
|
393
|
-
production?: string | undefined;
|
|
394
|
-
staging?: string | undefined;
|
|
395
|
-
develop?: string | undefined;
|
|
396
|
-
} | undefined;
|
|
397
365
|
googleWebClientId?: string | undefined;
|
|
398
366
|
speedGovernor?: {
|
|
399
367
|
isActive: boolean;
|
|
@@ -454,17 +422,14 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
454
422
|
}, {
|
|
455
423
|
body: {
|
|
456
424
|
appName: string;
|
|
425
|
+
developmentBaseUrl: string;
|
|
426
|
+
stagingBaseUrl: string;
|
|
427
|
+
productionBaseUrl: string;
|
|
457
428
|
appShortName?: string | null | undefined;
|
|
458
429
|
appDescription?: string | null | undefined;
|
|
459
430
|
appDefaultLanguage?: string | undefined;
|
|
460
431
|
appSupportedLanguages?: string[] | undefined;
|
|
461
432
|
runtimeConfig?: {
|
|
462
|
-
apiBaseUrl?: string | undefined;
|
|
463
|
-
apiBaseUrls?: {
|
|
464
|
-
production?: string | undefined;
|
|
465
|
-
staging?: string | undefined;
|
|
466
|
-
develop?: string | undefined;
|
|
467
|
-
} | undefined;
|
|
468
433
|
googleWebClientId?: string | undefined;
|
|
469
434
|
speedGovernor?: {
|
|
470
435
|
isActive: boolean;
|
|
@@ -544,21 +509,10 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
544
509
|
appDescription: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
545
510
|
appDefaultLanguage: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
546
511
|
appSupportedLanguages: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
512
|
+
developmentBaseUrl: z.ZodOptional<z.ZodString>;
|
|
513
|
+
stagingBaseUrl: z.ZodOptional<z.ZodString>;
|
|
514
|
+
productionBaseUrl: z.ZodOptional<z.ZodString>;
|
|
547
515
|
runtimeConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
548
|
-
apiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
549
|
-
apiBaseUrls: z.ZodOptional<z.ZodObject<{
|
|
550
|
-
production: z.ZodOptional<z.ZodString>;
|
|
551
|
-
staging: z.ZodOptional<z.ZodString>;
|
|
552
|
-
develop: z.ZodOptional<z.ZodString>;
|
|
553
|
-
}, "strip", z.ZodTypeAny, {
|
|
554
|
-
production?: string | undefined;
|
|
555
|
-
staging?: string | undefined;
|
|
556
|
-
develop?: string | undefined;
|
|
557
|
-
}, {
|
|
558
|
-
production?: string | undefined;
|
|
559
|
-
staging?: string | undefined;
|
|
560
|
-
develop?: string | undefined;
|
|
561
|
-
}>>;
|
|
562
516
|
googleWebClientId: z.ZodOptional<z.ZodString>;
|
|
563
517
|
speedGovernor: z.ZodOptional<z.ZodObject<{
|
|
564
518
|
isActive: z.ZodBoolean;
|
|
@@ -644,12 +598,6 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
644
598
|
minimumAppVersion: z.ZodOptional<z.ZodString>;
|
|
645
599
|
forceUpdateMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
646
600
|
}, "strip", z.ZodTypeAny, {
|
|
647
|
-
apiBaseUrl?: string | undefined;
|
|
648
|
-
apiBaseUrls?: {
|
|
649
|
-
production?: string | undefined;
|
|
650
|
-
staging?: string | undefined;
|
|
651
|
-
develop?: string | undefined;
|
|
652
|
-
} | undefined;
|
|
653
601
|
googleWebClientId?: string | undefined;
|
|
654
602
|
speedGovernor?: {
|
|
655
603
|
isActive: boolean;
|
|
@@ -685,12 +633,6 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
685
633
|
minimumAppVersion?: string | undefined;
|
|
686
634
|
forceUpdateMessage?: string | null | undefined;
|
|
687
635
|
}, {
|
|
688
|
-
apiBaseUrl?: string | undefined;
|
|
689
|
-
apiBaseUrls?: {
|
|
690
|
-
production?: string | undefined;
|
|
691
|
-
staging?: string | undefined;
|
|
692
|
-
develop?: string | undefined;
|
|
693
|
-
} | undefined;
|
|
694
636
|
googleWebClientId?: string | undefined;
|
|
695
637
|
speedGovernor?: {
|
|
696
638
|
isActive: boolean;
|
|
@@ -760,13 +702,10 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
760
702
|
appDescription?: string | null | undefined;
|
|
761
703
|
appDefaultLanguage?: string | undefined;
|
|
762
704
|
appSupportedLanguages?: string[] | undefined;
|
|
705
|
+
developmentBaseUrl?: string | undefined;
|
|
706
|
+
stagingBaseUrl?: string | undefined;
|
|
707
|
+
productionBaseUrl?: string | undefined;
|
|
763
708
|
runtimeConfig?: {
|
|
764
|
-
apiBaseUrl?: string | undefined;
|
|
765
|
-
apiBaseUrls?: {
|
|
766
|
-
production?: string | undefined;
|
|
767
|
-
staging?: string | undefined;
|
|
768
|
-
develop?: string | undefined;
|
|
769
|
-
} | undefined;
|
|
770
709
|
googleWebClientId?: string | undefined;
|
|
771
710
|
speedGovernor?: {
|
|
772
711
|
isActive: boolean;
|
|
@@ -836,13 +775,10 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
836
775
|
appDescription?: string | null | undefined;
|
|
837
776
|
appDefaultLanguage?: string | undefined;
|
|
838
777
|
appSupportedLanguages?: string[] | undefined;
|
|
778
|
+
developmentBaseUrl?: string | undefined;
|
|
779
|
+
stagingBaseUrl?: string | undefined;
|
|
780
|
+
productionBaseUrl?: string | undefined;
|
|
839
781
|
runtimeConfig?: {
|
|
840
|
-
apiBaseUrl?: string | undefined;
|
|
841
|
-
apiBaseUrls?: {
|
|
842
|
-
production?: string | undefined;
|
|
843
|
-
staging?: string | undefined;
|
|
844
|
-
develop?: string | undefined;
|
|
845
|
-
} | undefined;
|
|
846
782
|
googleWebClientId?: string | undefined;
|
|
847
783
|
speedGovernor?: {
|
|
848
784
|
isActive: boolean;
|
|
@@ -914,13 +850,10 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
914
850
|
appDescription?: string | null | undefined;
|
|
915
851
|
appDefaultLanguage?: string | undefined;
|
|
916
852
|
appSupportedLanguages?: string[] | undefined;
|
|
853
|
+
developmentBaseUrl?: string | undefined;
|
|
854
|
+
stagingBaseUrl?: string | undefined;
|
|
855
|
+
productionBaseUrl?: string | undefined;
|
|
917
856
|
runtimeConfig?: {
|
|
918
|
-
apiBaseUrl?: string | undefined;
|
|
919
|
-
apiBaseUrls?: {
|
|
920
|
-
production?: string | undefined;
|
|
921
|
-
staging?: string | undefined;
|
|
922
|
-
develop?: string | undefined;
|
|
923
|
-
} | undefined;
|
|
924
857
|
googleWebClientId?: string | undefined;
|
|
925
858
|
speedGovernor?: {
|
|
926
859
|
isActive: boolean;
|
|
@@ -995,13 +928,10 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
995
928
|
appDescription?: string | null | undefined;
|
|
996
929
|
appDefaultLanguage?: string | undefined;
|
|
997
930
|
appSupportedLanguages?: string[] | undefined;
|
|
931
|
+
developmentBaseUrl?: string | undefined;
|
|
932
|
+
stagingBaseUrl?: string | undefined;
|
|
933
|
+
productionBaseUrl?: string | undefined;
|
|
998
934
|
runtimeConfig?: {
|
|
999
|
-
apiBaseUrl?: string | undefined;
|
|
1000
|
-
apiBaseUrls?: {
|
|
1001
|
-
production?: string | undefined;
|
|
1002
|
-
staging?: string | undefined;
|
|
1003
|
-
develop?: string | undefined;
|
|
1004
|
-
} | undefined;
|
|
1005
935
|
googleWebClientId?: string | undefined;
|
|
1006
936
|
speedGovernor?: {
|
|
1007
937
|
isActive: boolean;
|
|
@@ -15,13 +15,10 @@ const appSpecsBaseSchema = {
|
|
|
15
15
|
appSupportedLanguages: zod_1.z
|
|
16
16
|
.array(zod_1.z.string().min(2).max(10))
|
|
17
17
|
.default(["en", "fr"]),
|
|
18
|
+
developmentBaseUrl: zod_1.z.string().url(),
|
|
19
|
+
stagingBaseUrl: zod_1.z.string().url(),
|
|
20
|
+
productionBaseUrl: zod_1.z.string().url(),
|
|
18
21
|
runtimeConfig: zod_1.z.object({
|
|
19
|
-
apiBaseUrl: zod_1.z.string().url().optional(),
|
|
20
|
-
apiBaseUrls: zod_1.z.object({
|
|
21
|
-
production: zod_1.z.string().url().optional(),
|
|
22
|
-
staging: zod_1.z.string().url().optional(),
|
|
23
|
-
develop: zod_1.z.string().url().optional(),
|
|
24
|
-
}).optional(),
|
|
25
22
|
googleWebClientId: zod_1.z.string().max(255).optional(),
|
|
26
23
|
speedGovernor: zod_1.z.object({
|
|
27
24
|
isActive: zod_1.z.boolean(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vr-commons",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.176",
|
|
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.
|
|
106
|
+
"vr-models": "^1.0.99",
|
|
107
107
|
"zod": "^3.25.20"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|