@uns-kit/core 0.0.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 (111) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +44 -0
  3. package/dist/app-config.d.ts +177 -0
  4. package/dist/app-config.js +1 -0
  5. package/dist/base-path.d.ts +1 -0
  6. package/dist/base-path.js +5 -0
  7. package/dist/config/project.config.extension.d.ts +3 -0
  8. package/dist/config/project.config.extension.js +3 -0
  9. package/dist/config-file.d.ts +12 -0
  10. package/dist/config-file.js +44 -0
  11. package/dist/examples/data-example.d.ts +1 -0
  12. package/dist/examples/data-example.js +44 -0
  13. package/dist/examples/load-test-data.d.ts +1 -0
  14. package/dist/examples/load-test-data.js +72 -0
  15. package/dist/examples/table-example.d.ts +4 -0
  16. package/dist/examples/table-example.js +52 -0
  17. package/dist/examples/uns-gateway.d.ts +1 -0
  18. package/dist/examples/uns-gateway.js +5 -0
  19. package/dist/graphql/schema.d.ts +377 -0
  20. package/dist/graphql/schema.js +13 -0
  21. package/dist/index.d.ts +5 -0
  22. package/dist/index.js +4 -0
  23. package/dist/logger.d.ts +2 -0
  24. package/dist/logger.js +18 -0
  25. package/dist/tools/auth/auth-client.d.ts +23 -0
  26. package/dist/tools/auth/auth-client.js +172 -0
  27. package/dist/tools/auth/index.d.ts +1 -0
  28. package/dist/tools/auth/index.js +1 -0
  29. package/dist/tools/auth/secure-store.d.ts +17 -0
  30. package/dist/tools/auth/secure-store.js +110 -0
  31. package/dist/tools/base-path.d.ts +1 -0
  32. package/dist/tools/base-path.js +5 -0
  33. package/dist/tools/generate-config-schema.d.ts +1 -0
  34. package/dist/tools/generate-config-schema.js +23 -0
  35. package/dist/tools/initialize.d.ts +1 -0
  36. package/dist/tools/initialize.js +103 -0
  37. package/dist/tools/make.d.ts +1 -0
  38. package/dist/tools/make.js +27 -0
  39. package/dist/tools/pull-request.d.ts +1 -0
  40. package/dist/tools/pull-request.js +157 -0
  41. package/dist/tools/refresh-uns.d.ts +1 -0
  42. package/dist/tools/refresh-uns.js +109 -0
  43. package/dist/tools/schema.d.ts +208 -0
  44. package/dist/tools/schema.js +1 -0
  45. package/dist/tools/update-rtt.d.ts +1 -0
  46. package/dist/tools/update-rtt.js +169 -0
  47. package/dist/tools/update-tools.d.ts +1 -0
  48. package/dist/tools/update-tools.js +72 -0
  49. package/dist/uns/handover-manager-event-emitter.d.ts +6 -0
  50. package/dist/uns/handover-manager-event-emitter.js +19 -0
  51. package/dist/uns/handover-manager.d.ts +34 -0
  52. package/dist/uns/handover-manager.js +227 -0
  53. package/dist/uns/process-config.d.ts +10 -0
  54. package/dist/uns/process-config.js +12 -0
  55. package/dist/uns/process-name-service.d.ts +7 -0
  56. package/dist/uns/process-name-service.js +28 -0
  57. package/dist/uns/status-monitor.d.ts +35 -0
  58. package/dist/uns/status-monitor.js +82 -0
  59. package/dist/uns/uns-event-emitter.d.ts +6 -0
  60. package/dist/uns/uns-event-emitter.js +19 -0
  61. package/dist/uns/uns-interfaces.d.ts +156 -0
  62. package/dist/uns/uns-interfaces.js +5 -0
  63. package/dist/uns/uns-measurements.d.ts +95 -0
  64. package/dist/uns/uns-measurements.js +146 -0
  65. package/dist/uns/uns-packet.d.ts +28 -0
  66. package/dist/uns/uns-packet.js +223 -0
  67. package/dist/uns/uns-proxy-process.d.ts +56 -0
  68. package/dist/uns/uns-proxy-process.js +179 -0
  69. package/dist/uns/uns-proxy.d.ts +31 -0
  70. package/dist/uns/uns-proxy.js +120 -0
  71. package/dist/uns/uns-tags.d.ts +1 -0
  72. package/dist/uns/uns-tags.js +1 -0
  73. package/dist/uns/uns-topic-matcher.d.ts +9 -0
  74. package/dist/uns/uns-topic-matcher.js +34 -0
  75. package/dist/uns/uns-topics.d.ts +1 -0
  76. package/dist/uns/uns-topics.js +1 -0
  77. package/dist/uns-config/config-schema.d.ts +7 -0
  78. package/dist/uns-config/config-schema.js +5 -0
  79. package/dist/uns-config/host-placeholders.d.ts +139 -0
  80. package/dist/uns-config/host-placeholders.js +70 -0
  81. package/dist/uns-config/schema-tolls.d.ts +2 -0
  82. package/dist/uns-config/schema-tolls.js +4 -0
  83. package/dist/uns-config/schema-tools.d.ts +2 -0
  84. package/dist/uns-config/schema-tools.js +18 -0
  85. package/dist/uns-config/secret-placeholders.d.ts +128 -0
  86. package/dist/uns-config/secret-placeholders.js +64 -0
  87. package/dist/uns-config/secret-resolver.d.ts +77 -0
  88. package/dist/uns-config/secret-resolver.js +285 -0
  89. package/dist/uns-config/uns-core-schema.d.ts +705 -0
  90. package/dist/uns-config/uns-core-schema.js +25 -0
  91. package/dist/uns-grpc/uns-gateway-cli.d.ts +2 -0
  92. package/dist/uns-grpc/uns-gateway-cli.js +32 -0
  93. package/dist/uns-grpc/uns-gateway-server.d.ts +47 -0
  94. package/dist/uns-grpc/uns-gateway-server.js +424 -0
  95. package/dist/uns-mqtt/mqtt-interfaces.d.ts +22 -0
  96. package/dist/uns-mqtt/mqtt-interfaces.js +1 -0
  97. package/dist/uns-mqtt/mqtt-proxy.d.ts +34 -0
  98. package/dist/uns-mqtt/mqtt-proxy.js +245 -0
  99. package/dist/uns-mqtt/mqtt-topic-builder.d.ts +51 -0
  100. package/dist/uns-mqtt/mqtt-topic-builder.js +70 -0
  101. package/dist/uns-mqtt/mqtt-worker-init.d.ts +1 -0
  102. package/dist/uns-mqtt/mqtt-worker-init.js +5 -0
  103. package/dist/uns-mqtt/mqtt-worker.d.ts +20 -0
  104. package/dist/uns-mqtt/mqtt-worker.js +120 -0
  105. package/dist/uns-mqtt/throttled-queue.d.ts +166 -0
  106. package/dist/uns-mqtt/throttled-queue.js +388 -0
  107. package/dist/uns-mqtt/uns-mqtt-proxy.d.ts +107 -0
  108. package/dist/uns-mqtt/uns-mqtt-proxy.js +349 -0
  109. package/dist/uns-mqtt/ws-proxy.d.ts +38 -0
  110. package/dist/uns-mqtt/ws-proxy.js +86 -0
  111. package/package.json +48 -0
@@ -0,0 +1,705 @@
1
+ import { z } from "zod";
2
+ export declare const unsCoreSchema: z.ZodObject<{
3
+ uns: z.ZodObject<{
4
+ graphql: z.ZodString;
5
+ rest: z.ZodString;
6
+ instanceMode: z.ZodDefault<z.ZodEnum<["wait", "force", "handover"]>>;
7
+ processName: z.ZodOptional<z.ZodString>;
8
+ handover: z.ZodDefault<z.ZodBoolean>;
9
+ jwksWellKnownUrl: z.ZodOptional<z.ZodString>;
10
+ kidWellKnownUrl: z.ZodOptional<z.ZodString>;
11
+ env: z.ZodDefault<z.ZodEnum<["dev", "staging", "test", "prod"]>>;
12
+ }, "strict", z.ZodTypeAny, {
13
+ handover?: boolean;
14
+ env?: "dev" | "staging" | "test" | "prod";
15
+ graphql?: string;
16
+ rest?: string;
17
+ instanceMode?: "wait" | "force" | "handover";
18
+ processName?: string;
19
+ jwksWellKnownUrl?: string;
20
+ kidWellKnownUrl?: string;
21
+ }, {
22
+ handover?: boolean;
23
+ env?: "dev" | "staging" | "test" | "prod";
24
+ graphql?: string;
25
+ rest?: string;
26
+ instanceMode?: "wait" | "force" | "handover";
27
+ processName?: string;
28
+ jwksWellKnownUrl?: string;
29
+ kidWellKnownUrl?: string;
30
+ }>;
31
+ input: z.ZodOptional<z.ZodObject<{
32
+ host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
33
+ provider: z.ZodLiteral<"inline">;
34
+ value: z.ZodString;
35
+ }, "strict", z.ZodTypeAny, {
36
+ provider?: "inline";
37
+ value?: string;
38
+ }, {
39
+ provider?: "inline";
40
+ value?: string;
41
+ }>, z.ZodObject<{
42
+ provider: z.ZodLiteral<"external">;
43
+ key: z.ZodString;
44
+ optional: z.ZodOptional<z.ZodBoolean>;
45
+ default: z.ZodOptional<z.ZodString>;
46
+ }, "strict", z.ZodTypeAny, {
47
+ provider?: "external";
48
+ key?: string;
49
+ optional?: boolean;
50
+ default?: string;
51
+ }, {
52
+ provider?: "external";
53
+ key?: string;
54
+ optional?: boolean;
55
+ default?: string;
56
+ }>, z.ZodObject<{
57
+ provider: z.ZodLiteral<"system">;
58
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
59
+ interfaceName: z.ZodOptional<z.ZodString>;
60
+ optional: z.ZodOptional<z.ZodBoolean>;
61
+ default: z.ZodOptional<z.ZodString>;
62
+ }, "strict", z.ZodTypeAny, {
63
+ provider?: "system";
64
+ optional?: boolean;
65
+ default?: string;
66
+ family?: "IPv4" | "IPv6";
67
+ interfaceName?: string;
68
+ }, {
69
+ provider?: "system";
70
+ optional?: boolean;
71
+ default?: string;
72
+ family?: "IPv4" | "IPv6";
73
+ interfaceName?: string;
74
+ }>]>]>;
75
+ username: z.ZodOptional<z.ZodString>;
76
+ password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
77
+ provider: z.ZodLiteral<"env">;
78
+ key: z.ZodString;
79
+ optional: z.ZodOptional<z.ZodBoolean>;
80
+ default: z.ZodOptional<z.ZodString>;
81
+ }, "strict", z.ZodTypeAny, {
82
+ provider?: "env";
83
+ key?: string;
84
+ optional?: boolean;
85
+ default?: string;
86
+ }, {
87
+ provider?: "env";
88
+ key?: string;
89
+ optional?: boolean;
90
+ default?: string;
91
+ }>, z.ZodObject<{
92
+ provider: z.ZodLiteral<"infisical">;
93
+ path: z.ZodString;
94
+ key: z.ZodString;
95
+ optional: z.ZodOptional<z.ZodBoolean>;
96
+ environment: z.ZodOptional<z.ZodString>;
97
+ projectId: z.ZodOptional<z.ZodString>;
98
+ default: z.ZodOptional<z.ZodString>;
99
+ }, "strict", z.ZodTypeAny, {
100
+ provider?: "infisical";
101
+ key?: string;
102
+ optional?: boolean;
103
+ default?: string;
104
+ path?: string;
105
+ environment?: string;
106
+ projectId?: string;
107
+ }, {
108
+ provider?: "infisical";
109
+ key?: string;
110
+ optional?: boolean;
111
+ default?: string;
112
+ path?: string;
113
+ environment?: string;
114
+ projectId?: string;
115
+ }>]>]>>;
116
+ clientId: z.ZodOptional<z.ZodString>;
117
+ }, "strict", z.ZodTypeAny, {
118
+ host?: string | {
119
+ provider?: "inline";
120
+ value?: string;
121
+ } | {
122
+ provider?: "external";
123
+ key?: string;
124
+ optional?: boolean;
125
+ default?: string;
126
+ } | {
127
+ provider?: "system";
128
+ optional?: boolean;
129
+ default?: string;
130
+ family?: "IPv4" | "IPv6";
131
+ interfaceName?: string;
132
+ };
133
+ username?: string;
134
+ password?: string | {
135
+ provider?: "env";
136
+ key?: string;
137
+ optional?: boolean;
138
+ default?: string;
139
+ } | {
140
+ provider?: "infisical";
141
+ key?: string;
142
+ optional?: boolean;
143
+ default?: string;
144
+ path?: string;
145
+ environment?: string;
146
+ projectId?: string;
147
+ };
148
+ clientId?: string;
149
+ }, {
150
+ host?: string | {
151
+ provider?: "inline";
152
+ value?: string;
153
+ } | {
154
+ provider?: "external";
155
+ key?: string;
156
+ optional?: boolean;
157
+ default?: string;
158
+ } | {
159
+ provider?: "system";
160
+ optional?: boolean;
161
+ default?: string;
162
+ family?: "IPv4" | "IPv6";
163
+ interfaceName?: string;
164
+ };
165
+ username?: string;
166
+ password?: string | {
167
+ provider?: "env";
168
+ key?: string;
169
+ optional?: boolean;
170
+ default?: string;
171
+ } | {
172
+ provider?: "infisical";
173
+ key?: string;
174
+ optional?: boolean;
175
+ default?: string;
176
+ path?: string;
177
+ environment?: string;
178
+ projectId?: string;
179
+ };
180
+ clientId?: string;
181
+ }>>;
182
+ output: z.ZodOptional<z.ZodObject<{
183
+ host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
184
+ provider: z.ZodLiteral<"inline">;
185
+ value: z.ZodString;
186
+ }, "strict", z.ZodTypeAny, {
187
+ provider?: "inline";
188
+ value?: string;
189
+ }, {
190
+ provider?: "inline";
191
+ value?: string;
192
+ }>, z.ZodObject<{
193
+ provider: z.ZodLiteral<"external">;
194
+ key: z.ZodString;
195
+ optional: z.ZodOptional<z.ZodBoolean>;
196
+ default: z.ZodOptional<z.ZodString>;
197
+ }, "strict", z.ZodTypeAny, {
198
+ provider?: "external";
199
+ key?: string;
200
+ optional?: boolean;
201
+ default?: string;
202
+ }, {
203
+ provider?: "external";
204
+ key?: string;
205
+ optional?: boolean;
206
+ default?: string;
207
+ }>, z.ZodObject<{
208
+ provider: z.ZodLiteral<"system">;
209
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
210
+ interfaceName: z.ZodOptional<z.ZodString>;
211
+ optional: z.ZodOptional<z.ZodBoolean>;
212
+ default: z.ZodOptional<z.ZodString>;
213
+ }, "strict", z.ZodTypeAny, {
214
+ provider?: "system";
215
+ optional?: boolean;
216
+ default?: string;
217
+ family?: "IPv4" | "IPv6";
218
+ interfaceName?: string;
219
+ }, {
220
+ provider?: "system";
221
+ optional?: boolean;
222
+ default?: string;
223
+ family?: "IPv4" | "IPv6";
224
+ interfaceName?: string;
225
+ }>]>]>;
226
+ username: z.ZodOptional<z.ZodString>;
227
+ password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
228
+ provider: z.ZodLiteral<"env">;
229
+ key: z.ZodString;
230
+ optional: z.ZodOptional<z.ZodBoolean>;
231
+ default: z.ZodOptional<z.ZodString>;
232
+ }, "strict", z.ZodTypeAny, {
233
+ provider?: "env";
234
+ key?: string;
235
+ optional?: boolean;
236
+ default?: string;
237
+ }, {
238
+ provider?: "env";
239
+ key?: string;
240
+ optional?: boolean;
241
+ default?: string;
242
+ }>, z.ZodObject<{
243
+ provider: z.ZodLiteral<"infisical">;
244
+ path: z.ZodString;
245
+ key: z.ZodString;
246
+ optional: z.ZodOptional<z.ZodBoolean>;
247
+ environment: z.ZodOptional<z.ZodString>;
248
+ projectId: z.ZodOptional<z.ZodString>;
249
+ default: z.ZodOptional<z.ZodString>;
250
+ }, "strict", z.ZodTypeAny, {
251
+ provider?: "infisical";
252
+ key?: string;
253
+ optional?: boolean;
254
+ default?: string;
255
+ path?: string;
256
+ environment?: string;
257
+ projectId?: string;
258
+ }, {
259
+ provider?: "infisical";
260
+ key?: string;
261
+ optional?: boolean;
262
+ default?: string;
263
+ path?: string;
264
+ environment?: string;
265
+ projectId?: string;
266
+ }>]>]>>;
267
+ clientId: z.ZodOptional<z.ZodString>;
268
+ }, "strict", z.ZodTypeAny, {
269
+ host?: string | {
270
+ provider?: "inline";
271
+ value?: string;
272
+ } | {
273
+ provider?: "external";
274
+ key?: string;
275
+ optional?: boolean;
276
+ default?: string;
277
+ } | {
278
+ provider?: "system";
279
+ optional?: boolean;
280
+ default?: string;
281
+ family?: "IPv4" | "IPv6";
282
+ interfaceName?: string;
283
+ };
284
+ username?: string;
285
+ password?: string | {
286
+ provider?: "env";
287
+ key?: string;
288
+ optional?: boolean;
289
+ default?: string;
290
+ } | {
291
+ provider?: "infisical";
292
+ key?: string;
293
+ optional?: boolean;
294
+ default?: string;
295
+ path?: string;
296
+ environment?: string;
297
+ projectId?: string;
298
+ };
299
+ clientId?: string;
300
+ }, {
301
+ host?: string | {
302
+ provider?: "inline";
303
+ value?: string;
304
+ } | {
305
+ provider?: "external";
306
+ key?: string;
307
+ optional?: boolean;
308
+ default?: string;
309
+ } | {
310
+ provider?: "system";
311
+ optional?: boolean;
312
+ default?: string;
313
+ family?: "IPv4" | "IPv6";
314
+ interfaceName?: string;
315
+ };
316
+ username?: string;
317
+ password?: string | {
318
+ provider?: "env";
319
+ key?: string;
320
+ optional?: boolean;
321
+ default?: string;
322
+ } | {
323
+ provider?: "infisical";
324
+ key?: string;
325
+ optional?: boolean;
326
+ default?: string;
327
+ path?: string;
328
+ environment?: string;
329
+ projectId?: string;
330
+ };
331
+ clientId?: string;
332
+ }>>;
333
+ infra: z.ZodObject<{
334
+ host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
335
+ provider: z.ZodLiteral<"inline">;
336
+ value: z.ZodString;
337
+ }, "strict", z.ZodTypeAny, {
338
+ provider?: "inline";
339
+ value?: string;
340
+ }, {
341
+ provider?: "inline";
342
+ value?: string;
343
+ }>, z.ZodObject<{
344
+ provider: z.ZodLiteral<"external">;
345
+ key: z.ZodString;
346
+ optional: z.ZodOptional<z.ZodBoolean>;
347
+ default: z.ZodOptional<z.ZodString>;
348
+ }, "strict", z.ZodTypeAny, {
349
+ provider?: "external";
350
+ key?: string;
351
+ optional?: boolean;
352
+ default?: string;
353
+ }, {
354
+ provider?: "external";
355
+ key?: string;
356
+ optional?: boolean;
357
+ default?: string;
358
+ }>, z.ZodObject<{
359
+ provider: z.ZodLiteral<"system">;
360
+ family: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"IPv4">, z.ZodLiteral<"IPv6">]>>;
361
+ interfaceName: z.ZodOptional<z.ZodString>;
362
+ optional: z.ZodOptional<z.ZodBoolean>;
363
+ default: z.ZodOptional<z.ZodString>;
364
+ }, "strict", z.ZodTypeAny, {
365
+ provider?: "system";
366
+ optional?: boolean;
367
+ default?: string;
368
+ family?: "IPv4" | "IPv6";
369
+ interfaceName?: string;
370
+ }, {
371
+ provider?: "system";
372
+ optional?: boolean;
373
+ default?: string;
374
+ family?: "IPv4" | "IPv6";
375
+ interfaceName?: string;
376
+ }>]>]>;
377
+ username: z.ZodOptional<z.ZodString>;
378
+ password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
379
+ provider: z.ZodLiteral<"env">;
380
+ key: z.ZodString;
381
+ optional: z.ZodOptional<z.ZodBoolean>;
382
+ default: z.ZodOptional<z.ZodString>;
383
+ }, "strict", z.ZodTypeAny, {
384
+ provider?: "env";
385
+ key?: string;
386
+ optional?: boolean;
387
+ default?: string;
388
+ }, {
389
+ provider?: "env";
390
+ key?: string;
391
+ optional?: boolean;
392
+ default?: string;
393
+ }>, z.ZodObject<{
394
+ provider: z.ZodLiteral<"infisical">;
395
+ path: z.ZodString;
396
+ key: z.ZodString;
397
+ optional: z.ZodOptional<z.ZodBoolean>;
398
+ environment: z.ZodOptional<z.ZodString>;
399
+ projectId: z.ZodOptional<z.ZodString>;
400
+ default: z.ZodOptional<z.ZodString>;
401
+ }, "strict", z.ZodTypeAny, {
402
+ provider?: "infisical";
403
+ key?: string;
404
+ optional?: boolean;
405
+ default?: string;
406
+ path?: string;
407
+ environment?: string;
408
+ projectId?: string;
409
+ }, {
410
+ provider?: "infisical";
411
+ key?: string;
412
+ optional?: boolean;
413
+ default?: string;
414
+ path?: string;
415
+ environment?: string;
416
+ projectId?: string;
417
+ }>]>]>>;
418
+ clientId: z.ZodOptional<z.ZodString>;
419
+ }, "strict", z.ZodTypeAny, {
420
+ host?: string | {
421
+ provider?: "inline";
422
+ value?: string;
423
+ } | {
424
+ provider?: "external";
425
+ key?: string;
426
+ optional?: boolean;
427
+ default?: string;
428
+ } | {
429
+ provider?: "system";
430
+ optional?: boolean;
431
+ default?: string;
432
+ family?: "IPv4" | "IPv6";
433
+ interfaceName?: string;
434
+ };
435
+ username?: string;
436
+ password?: string | {
437
+ provider?: "env";
438
+ key?: string;
439
+ optional?: boolean;
440
+ default?: string;
441
+ } | {
442
+ provider?: "infisical";
443
+ key?: string;
444
+ optional?: boolean;
445
+ default?: string;
446
+ path?: string;
447
+ environment?: string;
448
+ projectId?: string;
449
+ };
450
+ clientId?: string;
451
+ }, {
452
+ host?: string | {
453
+ provider?: "inline";
454
+ value?: string;
455
+ } | {
456
+ provider?: "external";
457
+ key?: string;
458
+ optional?: boolean;
459
+ default?: string;
460
+ } | {
461
+ provider?: "system";
462
+ optional?: boolean;
463
+ default?: string;
464
+ family?: "IPv4" | "IPv6";
465
+ interfaceName?: string;
466
+ };
467
+ username?: string;
468
+ password?: string | {
469
+ provider?: "env";
470
+ key?: string;
471
+ optional?: boolean;
472
+ default?: string;
473
+ } | {
474
+ provider?: "infisical";
475
+ key?: string;
476
+ optional?: boolean;
477
+ default?: string;
478
+ path?: string;
479
+ environment?: string;
480
+ projectId?: string;
481
+ };
482
+ clientId?: string;
483
+ }>;
484
+ }, "strict", z.ZodTypeAny, {
485
+ uns?: {
486
+ handover?: boolean;
487
+ env?: "dev" | "staging" | "test" | "prod";
488
+ graphql?: string;
489
+ rest?: string;
490
+ instanceMode?: "wait" | "force" | "handover";
491
+ processName?: string;
492
+ jwksWellKnownUrl?: string;
493
+ kidWellKnownUrl?: string;
494
+ };
495
+ input?: {
496
+ host?: string | {
497
+ provider?: "inline";
498
+ value?: string;
499
+ } | {
500
+ provider?: "external";
501
+ key?: string;
502
+ optional?: boolean;
503
+ default?: string;
504
+ } | {
505
+ provider?: "system";
506
+ optional?: boolean;
507
+ default?: string;
508
+ family?: "IPv4" | "IPv6";
509
+ interfaceName?: string;
510
+ };
511
+ username?: string;
512
+ password?: string | {
513
+ provider?: "env";
514
+ key?: string;
515
+ optional?: boolean;
516
+ default?: string;
517
+ } | {
518
+ provider?: "infisical";
519
+ key?: string;
520
+ optional?: boolean;
521
+ default?: string;
522
+ path?: string;
523
+ environment?: string;
524
+ projectId?: string;
525
+ };
526
+ clientId?: string;
527
+ };
528
+ output?: {
529
+ host?: string | {
530
+ provider?: "inline";
531
+ value?: string;
532
+ } | {
533
+ provider?: "external";
534
+ key?: string;
535
+ optional?: boolean;
536
+ default?: string;
537
+ } | {
538
+ provider?: "system";
539
+ optional?: boolean;
540
+ default?: string;
541
+ family?: "IPv4" | "IPv6";
542
+ interfaceName?: string;
543
+ };
544
+ username?: string;
545
+ password?: string | {
546
+ provider?: "env";
547
+ key?: string;
548
+ optional?: boolean;
549
+ default?: string;
550
+ } | {
551
+ provider?: "infisical";
552
+ key?: string;
553
+ optional?: boolean;
554
+ default?: string;
555
+ path?: string;
556
+ environment?: string;
557
+ projectId?: string;
558
+ };
559
+ clientId?: string;
560
+ };
561
+ infra?: {
562
+ host?: string | {
563
+ provider?: "inline";
564
+ value?: string;
565
+ } | {
566
+ provider?: "external";
567
+ key?: string;
568
+ optional?: boolean;
569
+ default?: string;
570
+ } | {
571
+ provider?: "system";
572
+ optional?: boolean;
573
+ default?: string;
574
+ family?: "IPv4" | "IPv6";
575
+ interfaceName?: string;
576
+ };
577
+ username?: string;
578
+ password?: string | {
579
+ provider?: "env";
580
+ key?: string;
581
+ optional?: boolean;
582
+ default?: string;
583
+ } | {
584
+ provider?: "infisical";
585
+ key?: string;
586
+ optional?: boolean;
587
+ default?: string;
588
+ path?: string;
589
+ environment?: string;
590
+ projectId?: string;
591
+ };
592
+ clientId?: string;
593
+ };
594
+ }, {
595
+ uns?: {
596
+ handover?: boolean;
597
+ env?: "dev" | "staging" | "test" | "prod";
598
+ graphql?: string;
599
+ rest?: string;
600
+ instanceMode?: "wait" | "force" | "handover";
601
+ processName?: string;
602
+ jwksWellKnownUrl?: string;
603
+ kidWellKnownUrl?: string;
604
+ };
605
+ input?: {
606
+ host?: string | {
607
+ provider?: "inline";
608
+ value?: string;
609
+ } | {
610
+ provider?: "external";
611
+ key?: string;
612
+ optional?: boolean;
613
+ default?: string;
614
+ } | {
615
+ provider?: "system";
616
+ optional?: boolean;
617
+ default?: string;
618
+ family?: "IPv4" | "IPv6";
619
+ interfaceName?: string;
620
+ };
621
+ username?: string;
622
+ password?: string | {
623
+ provider?: "env";
624
+ key?: string;
625
+ optional?: boolean;
626
+ default?: string;
627
+ } | {
628
+ provider?: "infisical";
629
+ key?: string;
630
+ optional?: boolean;
631
+ default?: string;
632
+ path?: string;
633
+ environment?: string;
634
+ projectId?: string;
635
+ };
636
+ clientId?: string;
637
+ };
638
+ output?: {
639
+ host?: string | {
640
+ provider?: "inline";
641
+ value?: string;
642
+ } | {
643
+ provider?: "external";
644
+ key?: string;
645
+ optional?: boolean;
646
+ default?: string;
647
+ } | {
648
+ provider?: "system";
649
+ optional?: boolean;
650
+ default?: string;
651
+ family?: "IPv4" | "IPv6";
652
+ interfaceName?: string;
653
+ };
654
+ username?: string;
655
+ password?: string | {
656
+ provider?: "env";
657
+ key?: string;
658
+ optional?: boolean;
659
+ default?: string;
660
+ } | {
661
+ provider?: "infisical";
662
+ key?: string;
663
+ optional?: boolean;
664
+ default?: string;
665
+ path?: string;
666
+ environment?: string;
667
+ projectId?: string;
668
+ };
669
+ clientId?: string;
670
+ };
671
+ infra?: {
672
+ host?: string | {
673
+ provider?: "inline";
674
+ value?: string;
675
+ } | {
676
+ provider?: "external";
677
+ key?: string;
678
+ optional?: boolean;
679
+ default?: string;
680
+ } | {
681
+ provider?: "system";
682
+ optional?: boolean;
683
+ default?: string;
684
+ family?: "IPv4" | "IPv6";
685
+ interfaceName?: string;
686
+ };
687
+ username?: string;
688
+ password?: string | {
689
+ provider?: "env";
690
+ key?: string;
691
+ optional?: boolean;
692
+ default?: string;
693
+ } | {
694
+ provider?: "infisical";
695
+ key?: string;
696
+ optional?: boolean;
697
+ default?: string;
698
+ path?: string;
699
+ environment?: string;
700
+ projectId?: string;
701
+ };
702
+ clientId?: string;
703
+ };
704
+ }>;
705
+ export type UnsCore = z.infer<typeof unsCoreSchema>;