@canton-network/wallet-gateway-remote 0.5.1 → 0.6.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.
Files changed (55) hide show
  1. package/README.md +8 -0
  2. package/dist/auth/jwt-auth-service.d.ts.map +1 -1
  3. package/dist/auth/jwt-auth-service.js +2 -3
  4. package/dist/auth/jwt-unsafe-auth-service.d.ts.map +1 -1
  5. package/dist/auth/jwt-unsafe-auth-service.js +2 -3
  6. package/dist/config/Config.d.ts +61 -659
  7. package/dist/config/Config.d.ts.map +1 -1
  8. package/dist/config/Config.js +2 -0
  9. package/dist/config/Config.test.js +7 -10
  10. package/dist/config/ConfigUtils.d.ts.map +1 -1
  11. package/dist/config/ConfigUtils.js +59 -1
  12. package/dist/dapp-api/controller.d.ts.map +1 -1
  13. package/dist/dapp-api/controller.js +55 -30
  14. package/dist/dapp-api/rpc-gen/typings.d.ts +30 -3
  15. package/dist/dapp-api/rpc-gen/typings.d.ts.map +1 -1
  16. package/dist/dapp-api/server.test.js +2 -0
  17. package/dist/init.d.ts.map +1 -1
  18. package/dist/init.js +50 -2
  19. package/dist/ledger/party-allocation-service.d.ts +20 -0
  20. package/dist/ledger/party-allocation-service.d.ts.map +1 -1
  21. package/dist/ledger/party-allocation-service.js +22 -2
  22. package/dist/ledger/party-allocation-service.test.js +9 -5
  23. package/dist/ledger/wallet-sync-service.d.ts.map +1 -1
  24. package/dist/ledger/wallet-sync-service.js +1 -0
  25. package/dist/user-api/controller.d.ts +2 -1
  26. package/dist/user-api/controller.d.ts.map +1 -1
  27. package/dist/user-api/controller.js +119 -88
  28. package/dist/user-api/rpc-gen/index.d.ts +6 -3
  29. package/dist/user-api/rpc-gen/index.d.ts.map +1 -1
  30. package/dist/user-api/rpc-gen/index.js +2 -1
  31. package/dist/user-api/rpc-gen/typings.d.ts +96 -33
  32. package/dist/user-api/rpc-gen/typings.d.ts.map +1 -1
  33. package/dist/user-api/server.test.js +5 -6
  34. package/dist/utils.d.ts +9 -0
  35. package/dist/utils.d.ts.map +1 -0
  36. package/dist/utils.js +18 -0
  37. package/dist/web/frontend/404/index.html +2 -2
  38. package/dist/web/frontend/approve/index.html +4 -4
  39. package/dist/web/frontend/assets/{404-C4ltj2Y3.js → 404-CT3y_TOo.js} +1 -1
  40. package/dist/web/frontend/assets/{approve-Drc1zW1z.js → approve-aBUJf8IZ.js} +1 -1
  41. package/dist/web/frontend/assets/{callback-BBgKxZBh.js → callback-F-xYJVy-.js} +1 -1
  42. package/dist/web/frontend/assets/{handle-errors-C_r_-A1k.js → handle-errors-C5Ovml71.js} +1 -1
  43. package/dist/web/frontend/assets/{index-_AVK9fEz.js → index-CkNk7mKn.js} +168 -123
  44. package/dist/web/frontend/assets/login-BbI2P4fJ.js +159 -0
  45. package/dist/web/frontend/assets/{networks-DSlcKT60.js → networks-amJnI8M-.js} +13 -9
  46. package/dist/web/frontend/assets/{state-BahUv9dS.js → state-DvPMGcqb.js} +2 -2
  47. package/dist/web/frontend/assets/wallets-DC9a3FFG.js +244 -0
  48. package/dist/web/frontend/callback/index.html +2 -2
  49. package/dist/web/frontend/index.html +1 -1
  50. package/dist/web/frontend/login/index.html +3 -3
  51. package/dist/web/frontend/networks/index.html +4 -4
  52. package/dist/web/frontend/wallets/index.html +4 -4
  53. package/package.json +18 -16
  54. package/dist/web/frontend/assets/login-x46HxVRr.js +0 -159
  55. package/dist/web/frontend/assets/wallets-BXR4V066.js +0 -214
@@ -1,704 +1,106 @@
1
1
  import { z } from 'zod';
2
2
  export declare const kernelInfoSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- clientType: z.ZodUnion<[z.ZodLiteral<"browser">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">, z.ZodLiteral<"remote">]>;
4
+ clientType: z.ZodUnion<readonly [z.ZodLiteral<"browser">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">, z.ZodLiteral<"remote">]>;
5
5
  url: z.ZodString;
6
6
  userUrl: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- id: string;
9
- clientType: "browser" | "desktop" | "mobile" | "remote";
10
- url: string;
11
- userUrl: string;
12
- }, {
13
- id: string;
14
- clientType: "browser" | "desktop" | "mobile" | "remote";
15
- url: string;
16
- userUrl: string;
17
- }>;
7
+ }, z.core.$strip>;
18
8
  export declare const configSchema: z.ZodObject<{
19
9
  kernel: z.ZodObject<{
20
10
  id: z.ZodString;
21
- clientType: z.ZodUnion<[z.ZodLiteral<"browser">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">, z.ZodLiteral<"remote">]>;
11
+ clientType: z.ZodUnion<readonly [z.ZodLiteral<"browser">, z.ZodLiteral<"desktop">, z.ZodLiteral<"mobile">, z.ZodLiteral<"remote">]>;
22
12
  url: z.ZodString;
23
13
  userUrl: z.ZodString;
24
- }, "strip", z.ZodTypeAny, {
25
- id: string;
26
- clientType: "browser" | "desktop" | "mobile" | "remote";
27
- url: string;
28
- userUrl: string;
29
- }, {
30
- id: string;
31
- clientType: "browser" | "desktop" | "mobile" | "remote";
32
- url: string;
33
- userUrl: string;
34
- }>;
14
+ }, z.core.$strip>;
35
15
  store: z.ZodObject<{
36
- connection: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16
+ connection: z.ZodDiscriminatedUnion<[z.ZodObject<{
37
17
  type: z.ZodLiteral<"memory">;
38
- }, "strip", z.ZodTypeAny, {
39
- type: "memory";
40
- }, {
41
- type: "memory";
42
- }>, z.ZodObject<{
18
+ }, z.core.$strip>, z.ZodObject<{
43
19
  type: z.ZodLiteral<"sqlite">;
44
20
  database: z.ZodString;
45
- }, "strip", z.ZodTypeAny, {
46
- type: "sqlite";
47
- database: string;
48
- }, {
49
- type: "sqlite";
50
- database: string;
51
- }>, z.ZodObject<{
21
+ }, z.core.$strip>, z.ZodObject<{
52
22
  type: z.ZodLiteral<"postgres">;
53
23
  host: z.ZodString;
54
24
  port: z.ZodNumber;
55
25
  user: z.ZodString;
56
26
  password: z.ZodString;
57
27
  database: z.ZodString;
58
- }, "strip", z.ZodTypeAny, {
59
- type: "postgres";
60
- database: string;
61
- host: string;
62
- port: number;
63
- user: string;
64
- password: string;
65
- }, {
66
- type: "postgres";
67
- database: string;
68
- host: string;
69
- port: number;
70
- user: string;
71
- password: string;
72
- }>]>;
28
+ }, z.core.$strip>], "type">;
29
+ idps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
30
+ id: z.ZodString;
31
+ type: z.ZodLiteral<"self_signed">;
32
+ issuer: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ id: z.ZodString;
35
+ type: z.ZodLiteral<"oauth">;
36
+ issuer: z.ZodString;
37
+ configUrl: z.ZodString;
38
+ }, z.core.$strip>], "type">>;
73
39
  networks: z.ZodArray<z.ZodObject<{
74
40
  id: z.ZodString;
75
41
  name: z.ZodString;
76
- synchronizerId: z.ZodString;
77
42
  description: z.ZodString;
43
+ synchronizerId: z.ZodString;
44
+ identityProviderId: z.ZodString;
78
45
  ledgerApi: z.ZodObject<{
79
46
  baseUrl: z.ZodString;
80
- }, "strip", z.ZodTypeAny, {
81
- baseUrl: string;
82
- }, {
83
- baseUrl: string;
84
- }>;
85
- auth: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
86
- identityProviderId: z.ZodString;
87
- type: z.ZodLiteral<"password">;
88
- issuer: z.ZodString;
89
- configUrl: z.ZodString;
47
+ }, z.core.$strip>;
48
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
49
+ method: z.ZodLiteral<"authorization_code">;
90
50
  audience: z.ZodString;
91
- tokenUrl: z.ZodString;
92
- grantType: z.ZodString;
93
51
  scope: z.ZodString;
94
52
  clientId: z.ZodString;
95
- admin: z.ZodOptional<z.ZodObject<{
96
- clientId: z.ZodString;
97
- clientSecret: z.ZodString;
98
- }, "strip", z.ZodTypeAny, {
99
- clientId: string;
100
- clientSecret: string;
101
- }, {
102
- clientId: string;
103
- clientSecret: string;
104
- }>>;
105
- }, "strip", z.ZodTypeAny, {
106
- clientId: string;
107
- type: "password";
108
- identityProviderId: string;
109
- issuer: string;
110
- configUrl: string;
111
- audience: string;
112
- tokenUrl: string;
113
- grantType: string;
114
- scope: string;
115
- admin?: {
116
- clientId: string;
117
- clientSecret: string;
118
- } | undefined;
119
- }, {
120
- clientId: string;
121
- type: "password";
122
- identityProviderId: string;
123
- issuer: string;
124
- configUrl: string;
125
- audience: string;
126
- tokenUrl: string;
127
- grantType: string;
128
- scope: string;
129
- admin?: {
130
- clientId: string;
131
- clientSecret: string;
132
- } | undefined;
133
- }>, z.ZodObject<{
134
- identityProviderId: z.ZodString;
135
- type: z.ZodLiteral<"implicit">;
136
- issuer: z.ZodString;
137
- configUrl: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ method: z.ZodLiteral<"client_credentials">;
138
55
  audience: z.ZodString;
139
56
  scope: z.ZodString;
140
57
  clientId: z.ZodString;
141
- admin: z.ZodOptional<z.ZodObject<{
142
- clientId: z.ZodString;
143
- clientSecret: z.ZodString;
144
- }, "strip", z.ZodTypeAny, {
145
- clientId: string;
146
- clientSecret: string;
147
- }, {
148
- clientId: string;
149
- clientSecret: string;
150
- }>>;
151
- }, "strip", z.ZodTypeAny, {
152
- clientId: string;
153
- type: "implicit";
154
- identityProviderId: string;
155
- issuer: string;
156
- configUrl: string;
157
- audience: string;
158
- scope: string;
159
- admin?: {
160
- clientId: string;
161
- clientSecret: string;
162
- } | undefined;
163
- }, {
164
- clientId: string;
165
- type: "implicit";
166
- identityProviderId: string;
167
- issuer: string;
168
- configUrl: string;
169
- audience: string;
170
- scope: string;
171
- admin?: {
172
- clientId: string;
173
- clientSecret: string;
174
- } | undefined;
175
- }>, z.ZodObject<{
176
- identityProviderId: z.ZodString;
177
- type: z.ZodLiteral<"client_credentials">;
58
+ clientSecret: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ method: z.ZodLiteral<"self_signed">;
178
61
  issuer: z.ZodString;
179
- configUrl: z.ZodString;
180
62
  audience: z.ZodString;
181
63
  scope: z.ZodString;
182
64
  clientId: z.ZodString;
183
65
  clientSecret: z.ZodString;
184
- admin: z.ZodOptional<z.ZodObject<{
185
- clientId: z.ZodString;
186
- clientSecret: z.ZodString;
187
- }, "strip", z.ZodTypeAny, {
188
- clientId: string;
189
- clientSecret: string;
190
- }, {
191
- clientId: string;
192
- clientSecret: string;
193
- }>>;
194
- }, "strip", z.ZodTypeAny, {
195
- clientId: string;
196
- clientSecret: string;
197
- type: "client_credentials";
198
- identityProviderId: string;
199
- issuer: string;
200
- configUrl: string;
201
- audience: string;
202
- scope: string;
203
- admin?: {
204
- clientId: string;
205
- clientSecret: string;
206
- } | undefined;
207
- }, {
208
- clientId: string;
209
- clientSecret: string;
210
- type: "client_credentials";
211
- identityProviderId: string;
212
- issuer: string;
213
- configUrl: string;
214
- audience: string;
215
- scope: string;
216
- admin?: {
217
- clientId: string;
218
- clientSecret: string;
219
- } | undefined;
220
- }>, z.ZodObject<{
221
- identityProviderId: z.ZodString;
222
- type: z.ZodLiteral<"self_signed">;
66
+ }, z.core.$strip>], "method">;
67
+ adminAuth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
68
+ method: z.ZodLiteral<"authorization_code">;
69
+ audience: z.ZodString;
70
+ scope: z.ZodString;
71
+ clientId: z.ZodString;
72
+ }, z.core.$strip>, z.ZodObject<{
73
+ method: z.ZodLiteral<"client_credentials">;
74
+ audience: z.ZodString;
75
+ scope: z.ZodString;
76
+ clientId: z.ZodString;
77
+ clientSecret: z.ZodString;
78
+ }, z.core.$strip>, z.ZodObject<{
79
+ method: z.ZodLiteral<"self_signed">;
223
80
  issuer: z.ZodString;
224
81
  audience: z.ZodString;
225
82
  scope: z.ZodString;
226
83
  clientId: z.ZodString;
227
84
  clientSecret: z.ZodString;
228
- admin: z.ZodOptional<z.ZodObject<{
229
- clientId: z.ZodString;
230
- clientSecret: z.ZodString;
231
- }, "strip", z.ZodTypeAny, {
232
- clientId: string;
233
- clientSecret: string;
234
- }, {
235
- clientId: string;
236
- clientSecret: string;
237
- }>>;
238
- }, "strip", z.ZodTypeAny, {
239
- clientId: string;
240
- clientSecret: string;
241
- type: "self_signed";
242
- identityProviderId: string;
243
- issuer: string;
244
- audience: string;
245
- scope: string;
246
- admin?: {
247
- clientId: string;
248
- clientSecret: string;
249
- } | undefined;
250
- }, {
251
- clientId: string;
252
- clientSecret: string;
253
- type: "self_signed";
254
- identityProviderId: string;
255
- issuer: string;
256
- audience: string;
257
- scope: string;
258
- admin?: {
259
- clientId: string;
260
- clientSecret: string;
261
- } | undefined;
262
- }>]>;
263
- }, "strip", z.ZodTypeAny, {
264
- id: string;
265
- name: string;
266
- synchronizerId: string;
267
- description: string;
268
- ledgerApi: {
269
- baseUrl: string;
270
- };
271
- auth: {
272
- clientId: string;
273
- type: "password";
274
- identityProviderId: string;
275
- issuer: string;
276
- configUrl: string;
277
- audience: string;
278
- tokenUrl: string;
279
- grantType: string;
280
- scope: string;
281
- admin?: {
282
- clientId: string;
283
- clientSecret: string;
284
- } | undefined;
285
- } | {
286
- clientId: string;
287
- type: "implicit";
288
- identityProviderId: string;
289
- issuer: string;
290
- configUrl: string;
291
- audience: string;
292
- scope: string;
293
- admin?: {
294
- clientId: string;
295
- clientSecret: string;
296
- } | undefined;
297
- } | {
298
- clientId: string;
299
- clientSecret: string;
300
- type: "client_credentials";
301
- identityProviderId: string;
302
- issuer: string;
303
- configUrl: string;
304
- audience: string;
305
- scope: string;
306
- admin?: {
307
- clientId: string;
308
- clientSecret: string;
309
- } | undefined;
310
- } | {
311
- clientId: string;
312
- clientSecret: string;
313
- type: "self_signed";
314
- identityProviderId: string;
315
- issuer: string;
316
- audience: string;
317
- scope: string;
318
- admin?: {
319
- clientId: string;
320
- clientSecret: string;
321
- } | undefined;
322
- };
323
- }, {
324
- id: string;
325
- name: string;
326
- synchronizerId: string;
327
- description: string;
328
- ledgerApi: {
329
- baseUrl: string;
330
- };
331
- auth: {
332
- clientId: string;
333
- type: "password";
334
- identityProviderId: string;
335
- issuer: string;
336
- configUrl: string;
337
- audience: string;
338
- tokenUrl: string;
339
- grantType: string;
340
- scope: string;
341
- admin?: {
342
- clientId: string;
343
- clientSecret: string;
344
- } | undefined;
345
- } | {
346
- clientId: string;
347
- type: "implicit";
348
- identityProviderId: string;
349
- issuer: string;
350
- configUrl: string;
351
- audience: string;
352
- scope: string;
353
- admin?: {
354
- clientId: string;
355
- clientSecret: string;
356
- } | undefined;
357
- } | {
358
- clientId: string;
359
- clientSecret: string;
360
- type: "client_credentials";
361
- identityProviderId: string;
362
- issuer: string;
363
- configUrl: string;
364
- audience: string;
365
- scope: string;
366
- admin?: {
367
- clientId: string;
368
- clientSecret: string;
369
- } | undefined;
370
- } | {
371
- clientId: string;
372
- clientSecret: string;
373
- type: "self_signed";
374
- identityProviderId: string;
375
- issuer: string;
376
- audience: string;
377
- scope: string;
378
- admin?: {
379
- clientId: string;
380
- clientSecret: string;
381
- } | undefined;
382
- };
383
- }>, "many">;
384
- }, "strip", z.ZodTypeAny, {
385
- connection: {
386
- type: "memory";
387
- } | {
388
- type: "sqlite";
389
- database: string;
390
- } | {
391
- type: "postgres";
392
- database: string;
393
- host: string;
394
- port: number;
395
- user: string;
396
- password: string;
397
- };
398
- networks: {
399
- id: string;
400
- name: string;
401
- synchronizerId: string;
402
- description: string;
403
- ledgerApi: {
404
- baseUrl: string;
405
- };
406
- auth: {
407
- clientId: string;
408
- type: "password";
409
- identityProviderId: string;
410
- issuer: string;
411
- configUrl: string;
412
- audience: string;
413
- tokenUrl: string;
414
- grantType: string;
415
- scope: string;
416
- admin?: {
417
- clientId: string;
418
- clientSecret: string;
419
- } | undefined;
420
- } | {
421
- clientId: string;
422
- type: "implicit";
423
- identityProviderId: string;
424
- issuer: string;
425
- configUrl: string;
426
- audience: string;
427
- scope: string;
428
- admin?: {
429
- clientId: string;
430
- clientSecret: string;
431
- } | undefined;
432
- } | {
433
- clientId: string;
434
- clientSecret: string;
435
- type: "client_credentials";
436
- identityProviderId: string;
437
- issuer: string;
438
- configUrl: string;
439
- audience: string;
440
- scope: string;
441
- admin?: {
442
- clientId: string;
443
- clientSecret: string;
444
- } | undefined;
445
- } | {
446
- clientId: string;
447
- clientSecret: string;
448
- type: "self_signed";
449
- identityProviderId: string;
450
- issuer: string;
451
- audience: string;
452
- scope: string;
453
- admin?: {
454
- clientId: string;
455
- clientSecret: string;
456
- } | undefined;
457
- };
458
- }[];
459
- }, {
460
- connection: {
461
- type: "memory";
462
- } | {
463
- type: "sqlite";
464
- database: string;
465
- } | {
466
- type: "postgres";
467
- database: string;
468
- host: string;
469
- port: number;
470
- user: string;
471
- password: string;
472
- };
473
- networks: {
474
- id: string;
475
- name: string;
476
- synchronizerId: string;
477
- description: string;
478
- ledgerApi: {
479
- baseUrl: string;
480
- };
481
- auth: {
482
- clientId: string;
483
- type: "password";
484
- identityProviderId: string;
485
- issuer: string;
486
- configUrl: string;
487
- audience: string;
488
- tokenUrl: string;
489
- grantType: string;
490
- scope: string;
491
- admin?: {
492
- clientId: string;
493
- clientSecret: string;
494
- } | undefined;
495
- } | {
496
- clientId: string;
497
- type: "implicit";
498
- identityProviderId: string;
499
- issuer: string;
500
- configUrl: string;
501
- audience: string;
502
- scope: string;
503
- admin?: {
504
- clientId: string;
505
- clientSecret: string;
506
- } | undefined;
507
- } | {
508
- clientId: string;
509
- clientSecret: string;
510
- type: "client_credentials";
511
- identityProviderId: string;
512
- issuer: string;
513
- configUrl: string;
514
- audience: string;
515
- scope: string;
516
- admin?: {
517
- clientId: string;
518
- clientSecret: string;
519
- } | undefined;
520
- } | {
521
- clientId: string;
522
- clientSecret: string;
523
- type: "self_signed";
524
- identityProviderId: string;
525
- issuer: string;
526
- audience: string;
527
- scope: string;
528
- admin?: {
529
- clientId: string;
530
- clientSecret: string;
531
- } | undefined;
532
- };
533
- }[];
534
- }>;
535
- }, "strip", z.ZodTypeAny, {
536
- kernel: {
537
- id: string;
538
- clientType: "browser" | "desktop" | "mobile" | "remote";
539
- url: string;
540
- userUrl: string;
541
- };
542
- store: {
543
- connection: {
544
- type: "memory";
545
- } | {
546
- type: "sqlite";
547
- database: string;
548
- } | {
549
- type: "postgres";
550
- database: string;
551
- host: string;
552
- port: number;
553
- user: string;
554
- password: string;
555
- };
556
- networks: {
557
- id: string;
558
- name: string;
559
- synchronizerId: string;
560
- description: string;
561
- ledgerApi: {
562
- baseUrl: string;
563
- };
564
- auth: {
565
- clientId: string;
566
- type: "password";
567
- identityProviderId: string;
568
- issuer: string;
569
- configUrl: string;
570
- audience: string;
571
- tokenUrl: string;
572
- grantType: string;
573
- scope: string;
574
- admin?: {
575
- clientId: string;
576
- clientSecret: string;
577
- } | undefined;
578
- } | {
579
- clientId: string;
580
- type: "implicit";
581
- identityProviderId: string;
582
- issuer: string;
583
- configUrl: string;
584
- audience: string;
585
- scope: string;
586
- admin?: {
587
- clientId: string;
588
- clientSecret: string;
589
- } | undefined;
590
- } | {
591
- clientId: string;
592
- clientSecret: string;
593
- type: "client_credentials";
594
- identityProviderId: string;
595
- issuer: string;
596
- configUrl: string;
597
- audience: string;
598
- scope: string;
599
- admin?: {
600
- clientId: string;
601
- clientSecret: string;
602
- } | undefined;
603
- } | {
604
- clientId: string;
605
- clientSecret: string;
606
- type: "self_signed";
607
- identityProviderId: string;
608
- issuer: string;
609
- audience: string;
610
- scope: string;
611
- admin?: {
612
- clientId: string;
613
- clientSecret: string;
614
- } | undefined;
615
- };
616
- }[];
617
- };
618
- }, {
619
- kernel: {
620
- id: string;
621
- clientType: "browser" | "desktop" | "mobile" | "remote";
622
- url: string;
623
- userUrl: string;
624
- };
625
- store: {
626
- connection: {
627
- type: "memory";
628
- } | {
629
- type: "sqlite";
630
- database: string;
631
- } | {
632
- type: "postgres";
633
- database: string;
634
- host: string;
635
- port: number;
636
- user: string;
637
- password: string;
638
- };
639
- networks: {
640
- id: string;
641
- name: string;
642
- synchronizerId: string;
643
- description: string;
644
- ledgerApi: {
645
- baseUrl: string;
646
- };
647
- auth: {
648
- clientId: string;
649
- type: "password";
650
- identityProviderId: string;
651
- issuer: string;
652
- configUrl: string;
653
- audience: string;
654
- tokenUrl: string;
655
- grantType: string;
656
- scope: string;
657
- admin?: {
658
- clientId: string;
659
- clientSecret: string;
660
- } | undefined;
661
- } | {
662
- clientId: string;
663
- type: "implicit";
664
- identityProviderId: string;
665
- issuer: string;
666
- configUrl: string;
667
- audience: string;
668
- scope: string;
669
- admin?: {
670
- clientId: string;
671
- clientSecret: string;
672
- } | undefined;
673
- } | {
674
- clientId: string;
675
- clientSecret: string;
676
- type: "client_credentials";
677
- identityProviderId: string;
678
- issuer: string;
679
- configUrl: string;
680
- audience: string;
681
- scope: string;
682
- admin?: {
683
- clientId: string;
684
- clientSecret: string;
685
- } | undefined;
686
- } | {
687
- clientId: string;
688
- clientSecret: string;
689
- type: "self_signed";
690
- identityProviderId: string;
691
- issuer: string;
692
- audience: string;
693
- scope: string;
694
- admin?: {
695
- clientId: string;
696
- clientSecret: string;
697
- } | undefined;
698
- };
699
- }[];
700
- };
701
- }>;
85
+ }, z.core.$strip>], "method">>;
86
+ }, z.core.$strip>>;
87
+ }, z.core.$strip>;
88
+ signingStore: z.ZodObject<{
89
+ connection: z.ZodDiscriminatedUnion<[z.ZodObject<{
90
+ type: z.ZodLiteral<"memory">;
91
+ }, z.core.$strip>, z.ZodObject<{
92
+ type: z.ZodLiteral<"sqlite">;
93
+ database: z.ZodString;
94
+ }, z.core.$strip>, z.ZodObject<{
95
+ type: z.ZodLiteral<"postgres">;
96
+ host: z.ZodString;
97
+ port: z.ZodNumber;
98
+ user: z.ZodString;
99
+ password: z.ZodString;
100
+ database: z.ZodString;
101
+ }, z.core.$strip>], "type">;
102
+ }, z.core.$strip>;
103
+ }, z.core.$strip>;
702
104
  export type KernelInfo = z.infer<typeof kernelInfoSchema>;
703
105
  export type Config = z.infer<typeof configSchema>;
704
106
  //# sourceMappingURL=Config.d.ts.map