@perses-dev/core 0.53.0 → 0.54.0-beta.0
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/cjs/constants/dashboard-defaults.js +3 -3
- package/dist/cjs/model/calculations.js +6 -6
- package/dist/cjs/model/definitions.js +1 -3
- package/dist/cjs/model/folder.js +16 -0
- package/dist/cjs/model/index.js +1 -0
- package/dist/cjs/model/legend.js +11 -11
- package/dist/cjs/model/otlp/index.js +4 -4
- package/dist/cjs/model/otlp/trace/v1/trace.js +4 -4
- package/dist/cjs/model/resource.js +3 -3
- package/dist/cjs/model/roles.js +4 -4
- package/dist/cjs/model/time.js +21 -309
- package/dist/cjs/model/units/bits.js +14 -6
- package/dist/cjs/model/units/bytes.js +16 -6
- package/dist/cjs/model/units/currency.js +14 -6
- package/dist/cjs/model/units/date.js +4 -4
- package/dist/cjs/model/units/decimal.js +13 -6
- package/dist/cjs/model/units/formatterCache.js +120 -0
- package/dist/cjs/model/units/percent.js +13 -6
- package/dist/cjs/model/units/temperature.js +13 -5
- package/dist/cjs/model/units/throughput.js +15 -6
- package/dist/cjs/model/units/time.js +15 -7
- package/dist/cjs/model/units/units.js +18 -18
- package/dist/cjs/model/units/utils.js +4 -4
- package/dist/cjs/model/variables.js +3 -3
- package/dist/cjs/schema/datasource.js +13 -29
- package/dist/cjs/schema/display.js +2 -6
- package/dist/cjs/schema/duration.js +2 -4
- package/dist/cjs/schema/metadata.js +4 -4
- package/dist/cjs/schema/panel.js +20 -72
- package/dist/cjs/schema/plugin.js +2 -6
- package/dist/cjs/schema/role.js +6 -6
- package/dist/cjs/schema/rolebinding.js +6 -6
- package/dist/cjs/schema/secret.js +5 -5
- package/dist/cjs/schema/user.js +5 -5
- package/dist/cjs/schema/variable.js +24 -137
- package/dist/cjs/utils/fetch.js +5 -5
- package/dist/cjs/utils/panel-refs.js +4 -4
- package/dist/cjs/utils/regexp.js +3 -3
- package/dist/cjs/utils/text.js +7 -7
- package/dist/cjs/utils/time-series-data.js +4 -4
- package/dist/cjs/utils/transform-data.js +6 -6
- package/dist/model/dashboard.d.ts +2 -21
- package/dist/model/dashboard.d.ts.map +1 -1
- package/dist/model/dashboard.js.map +1 -1
- package/dist/model/datasource.d.ts +3 -22
- package/dist/model/datasource.d.ts.map +1 -1
- package/dist/model/datasource.js +1 -3
- package/dist/model/datasource.js.map +1 -1
- package/dist/model/definitions.d.ts +1 -12
- package/dist/model/definitions.d.ts.map +1 -1
- package/dist/model/definitions.js +1 -6
- package/dist/model/definitions.js.map +1 -1
- package/dist/model/display.d.ts +1 -4
- package/dist/model/display.d.ts.map +1 -1
- package/dist/model/display.js.map +1 -1
- package/dist/model/folder.d.ts +19 -0
- package/dist/model/folder.d.ts.map +1 -0
- package/dist/model/folder.js +15 -0
- package/dist/model/folder.js.map +1 -0
- package/dist/model/index.d.ts +1 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/index.js +1 -0
- package/dist/model/index.js.map +1 -1
- package/dist/model/project.d.ts +1 -1
- package/dist/model/project.d.ts.map +1 -1
- package/dist/model/project.js.map +1 -1
- package/dist/model/query.d.ts +1 -0
- package/dist/model/query.d.ts.map +1 -1
- package/dist/model/query.js.map +1 -1
- package/dist/model/resource.d.ts +1 -1
- package/dist/model/resource.d.ts.map +1 -1
- package/dist/model/resource.js.map +1 -1
- package/dist/model/time.d.ts +3 -54
- package/dist/model/time.d.ts.map +1 -1
- package/dist/model/time.js +2 -299
- package/dist/model/time.js.map +1 -1
- package/dist/model/units/bits.d.ts.map +1 -1
- package/dist/model/units/bits.js +10 -2
- package/dist/model/units/bits.js.map +1 -1
- package/dist/model/units/bytes.d.ts.map +1 -1
- package/dist/model/units/bytes.js +12 -2
- package/dist/model/units/bytes.js.map +1 -1
- package/dist/model/units/currency.d.ts.map +1 -1
- package/dist/model/units/currency.js +10 -2
- package/dist/model/units/currency.js.map +1 -1
- package/dist/model/units/decimal.d.ts.map +1 -1
- package/dist/model/units/decimal.js +9 -2
- package/dist/model/units/decimal.js.map +1 -1
- package/dist/model/units/formatterCache.d.ts +11 -0
- package/dist/model/units/formatterCache.d.ts.map +1 -0
- package/dist/model/units/formatterCache.js +104 -0
- package/dist/model/units/formatterCache.js.map +1 -0
- package/dist/model/units/percent.d.ts.map +1 -1
- package/dist/model/units/percent.js +9 -2
- package/dist/model/units/percent.js.map +1 -1
- package/dist/model/units/temperature.d.ts.map +1 -1
- package/dist/model/units/temperature.js +9 -1
- package/dist/model/units/temperature.js.map +1 -1
- package/dist/model/units/throughput.d.ts.map +1 -1
- package/dist/model/units/throughput.js +11 -2
- package/dist/model/units/throughput.js.map +1 -1
- package/dist/model/units/time.d.ts.map +1 -1
- package/dist/model/units/time.js +10 -2
- package/dist/model/units/time.js.map +1 -1
- package/dist/schema/datasource.d.ts +10 -9
- package/dist/schema/datasource.d.ts.map +1 -1
- package/dist/schema/datasource.js +2 -14
- package/dist/schema/datasource.js.map +1 -1
- package/dist/schema/display.d.ts +1 -11
- package/dist/schema/display.d.ts.map +1 -1
- package/dist/schema/display.js +1 -5
- package/dist/schema/display.js.map +1 -1
- package/dist/schema/duration.d.ts +1 -2
- package/dist/schema/duration.d.ts.map +1 -1
- package/dist/schema/duration.js +1 -3
- package/dist/schema/duration.js.map +1 -1
- package/dist/schema/panel.d.ts +1 -12
- package/dist/schema/panel.d.ts.map +1 -1
- package/dist/schema/panel.js +1 -53
- package/dist/schema/panel.js.map +1 -1
- package/dist/schema/plugin.d.ts +2 -13
- package/dist/schema/plugin.d.ts.map +1 -1
- package/dist/schema/plugin.js +1 -5
- package/dist/schema/plugin.js.map +1 -1
- package/dist/schema/role.d.ts +4 -4
- package/dist/schema/rolebinding.d.ts +4 -4
- package/dist/schema/secret.d.ts +70 -70
- package/dist/schema/variable.d.ts +1 -91
- package/dist/schema/variable.d.ts.map +1 -1
- package/dist/schema/variable.js +1 -105
- package/dist/schema/variable.js.map +1 -1
- package/dist/utils/fetch.js.map +1 -1
- package/dist/utils/text.js +4 -4
- package/dist/utils/text.js.map +1 -1
- package/package.json +3 -2
package/dist/schema/secret.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
57
57
|
clientSecret?: string | undefined;
|
|
58
58
|
clientSecretFile?: string | undefined;
|
|
59
59
|
endpointParams?: Record<string, string[]> | undefined;
|
|
60
|
-
authStyle?: 0 |
|
|
60
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
clientID: string;
|
|
63
63
|
tokenURL: string;
|
|
@@ -65,7 +65,7 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
65
65
|
clientSecret?: string | undefined;
|
|
66
66
|
clientSecretFile?: string | undefined;
|
|
67
67
|
endpointParams?: Record<string, string[]> | undefined;
|
|
68
|
-
authStyle?: 0 |
|
|
68
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
69
69
|
}>, {
|
|
70
70
|
scopes: string[];
|
|
71
71
|
clientID: string;
|
|
@@ -73,7 +73,7 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
73
73
|
clientSecret?: string | undefined;
|
|
74
74
|
clientSecretFile?: string | undefined;
|
|
75
75
|
endpointParams?: Record<string, string[]> | undefined;
|
|
76
|
-
authStyle?: 0 |
|
|
76
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
clientID: string;
|
|
79
79
|
tokenURL: string;
|
|
@@ -81,7 +81,7 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
81
81
|
clientSecret?: string | undefined;
|
|
82
82
|
clientSecretFile?: string | undefined;
|
|
83
83
|
endpointParams?: Record<string, string[]> | undefined;
|
|
84
|
-
authStyle?: 0 |
|
|
84
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
85
85
|
}>>;
|
|
86
86
|
tlsConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
87
87
|
ca: z.ZodOptional<z.ZodString>;
|
|
@@ -147,7 +147,7 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
147
147
|
clientSecret?: string | undefined;
|
|
148
148
|
clientSecretFile?: string | undefined;
|
|
149
149
|
endpointParams?: Record<string, string[]> | undefined;
|
|
150
|
-
authStyle?: 0 |
|
|
150
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
151
151
|
} | undefined;
|
|
152
152
|
tlsConfig?: {
|
|
153
153
|
ca?: string | undefined;
|
|
@@ -177,7 +177,7 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
177
177
|
clientSecret?: string | undefined;
|
|
178
178
|
clientSecretFile?: string | undefined;
|
|
179
179
|
endpointParams?: Record<string, string[]> | undefined;
|
|
180
|
-
authStyle?: 0 |
|
|
180
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
181
181
|
} | undefined;
|
|
182
182
|
tlsConfig?: {
|
|
183
183
|
ca?: string | undefined;
|
|
@@ -207,7 +207,7 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
207
207
|
clientSecret?: string | undefined;
|
|
208
208
|
clientSecretFile?: string | undefined;
|
|
209
209
|
endpointParams?: Record<string, string[]> | undefined;
|
|
210
|
-
authStyle?: 0 |
|
|
210
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
211
211
|
} | undefined;
|
|
212
212
|
tlsConfig?: {
|
|
213
213
|
ca?: string | undefined;
|
|
@@ -237,7 +237,7 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
237
237
|
clientSecret?: string | undefined;
|
|
238
238
|
clientSecretFile?: string | undefined;
|
|
239
239
|
endpointParams?: Record<string, string[]> | undefined;
|
|
240
|
-
authStyle?: 0 |
|
|
240
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
241
241
|
} | undefined;
|
|
242
242
|
tlsConfig?: {
|
|
243
243
|
ca?: string | undefined;
|
|
@@ -321,7 +321,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
321
321
|
clientSecret?: string | undefined;
|
|
322
322
|
clientSecretFile?: string | undefined;
|
|
323
323
|
endpointParams?: Record<string, string[]> | undefined;
|
|
324
|
-
authStyle?: 0 |
|
|
324
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
325
325
|
}, {
|
|
326
326
|
clientID: string;
|
|
327
327
|
tokenURL: string;
|
|
@@ -329,7 +329,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
329
329
|
clientSecret?: string | undefined;
|
|
330
330
|
clientSecretFile?: string | undefined;
|
|
331
331
|
endpointParams?: Record<string, string[]> | undefined;
|
|
332
|
-
authStyle?: 0 |
|
|
332
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
333
333
|
}>, {
|
|
334
334
|
scopes: string[];
|
|
335
335
|
clientID: string;
|
|
@@ -337,7 +337,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
337
337
|
clientSecret?: string | undefined;
|
|
338
338
|
clientSecretFile?: string | undefined;
|
|
339
339
|
endpointParams?: Record<string, string[]> | undefined;
|
|
340
|
-
authStyle?: 0 |
|
|
340
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
341
341
|
}, {
|
|
342
342
|
clientID: string;
|
|
343
343
|
tokenURL: string;
|
|
@@ -345,7 +345,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
345
345
|
clientSecret?: string | undefined;
|
|
346
346
|
clientSecretFile?: string | undefined;
|
|
347
347
|
endpointParams?: Record<string, string[]> | undefined;
|
|
348
|
-
authStyle?: 0 |
|
|
348
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
349
349
|
}>>;
|
|
350
350
|
tlsConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
351
351
|
ca: z.ZodOptional<z.ZodString>;
|
|
@@ -411,7 +411,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
411
411
|
clientSecret?: string | undefined;
|
|
412
412
|
clientSecretFile?: string | undefined;
|
|
413
413
|
endpointParams?: Record<string, string[]> | undefined;
|
|
414
|
-
authStyle?: 0 |
|
|
414
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
415
415
|
} | undefined;
|
|
416
416
|
tlsConfig?: {
|
|
417
417
|
ca?: string | undefined;
|
|
@@ -441,7 +441,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
441
441
|
clientSecret?: string | undefined;
|
|
442
442
|
clientSecretFile?: string | undefined;
|
|
443
443
|
endpointParams?: Record<string, string[]> | undefined;
|
|
444
|
-
authStyle?: 0 |
|
|
444
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
445
445
|
} | undefined;
|
|
446
446
|
tlsConfig?: {
|
|
447
447
|
ca?: string | undefined;
|
|
@@ -471,7 +471,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
471
471
|
clientSecret?: string | undefined;
|
|
472
472
|
clientSecretFile?: string | undefined;
|
|
473
473
|
endpointParams?: Record<string, string[]> | undefined;
|
|
474
|
-
authStyle?: 0 |
|
|
474
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
475
475
|
} | undefined;
|
|
476
476
|
tlsConfig?: {
|
|
477
477
|
ca?: string | undefined;
|
|
@@ -501,7 +501,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
501
501
|
clientSecret?: string | undefined;
|
|
502
502
|
clientSecretFile?: string | undefined;
|
|
503
503
|
endpointParams?: Record<string, string[]> | undefined;
|
|
504
|
-
authStyle?: 0 |
|
|
504
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
505
505
|
} | undefined;
|
|
506
506
|
tlsConfig?: {
|
|
507
507
|
ca?: string | undefined;
|
|
@@ -516,6 +516,10 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
516
516
|
}>;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
518
|
kind: "Secret";
|
|
519
|
+
metadata: {
|
|
520
|
+
name: string;
|
|
521
|
+
project: string;
|
|
522
|
+
};
|
|
519
523
|
spec: {
|
|
520
524
|
basicAuth?: {
|
|
521
525
|
username: string;
|
|
@@ -534,7 +538,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
534
538
|
clientSecret?: string | undefined;
|
|
535
539
|
clientSecretFile?: string | undefined;
|
|
536
540
|
endpointParams?: Record<string, string[]> | undefined;
|
|
537
|
-
authStyle?: 0 |
|
|
541
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
538
542
|
} | undefined;
|
|
539
543
|
tlsConfig?: {
|
|
540
544
|
ca?: string | undefined;
|
|
@@ -547,12 +551,12 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
547
551
|
insecureSkipVerify?: boolean | undefined;
|
|
548
552
|
} | undefined;
|
|
549
553
|
};
|
|
554
|
+
}, {
|
|
555
|
+
kind: "Secret";
|
|
550
556
|
metadata: {
|
|
551
557
|
name: string;
|
|
552
558
|
project: string;
|
|
553
559
|
};
|
|
554
|
-
}, {
|
|
555
|
-
kind: "Secret";
|
|
556
560
|
spec: {
|
|
557
561
|
basicAuth?: {
|
|
558
562
|
username: string;
|
|
@@ -571,7 +575,7 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
571
575
|
clientSecret?: string | undefined;
|
|
572
576
|
clientSecretFile?: string | undefined;
|
|
573
577
|
endpointParams?: Record<string, string[]> | undefined;
|
|
574
|
-
authStyle?: 0 |
|
|
578
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
575
579
|
} | undefined;
|
|
576
580
|
tlsConfig?: {
|
|
577
581
|
ca?: string | undefined;
|
|
@@ -584,10 +588,6 @@ export declare const secretSchema: z.ZodObject<{
|
|
|
584
588
|
insecureSkipVerify?: boolean | undefined;
|
|
585
589
|
} | undefined;
|
|
586
590
|
};
|
|
587
|
-
metadata: {
|
|
588
|
-
name: string;
|
|
589
|
-
project: string;
|
|
590
|
-
};
|
|
591
591
|
}>;
|
|
592
592
|
export declare const globalSecretSchema: z.ZodObject<{
|
|
593
593
|
kind: z.ZodLiteral<"GlobalSecret">;
|
|
@@ -656,7 +656,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
656
656
|
clientSecret?: string | undefined;
|
|
657
657
|
clientSecretFile?: string | undefined;
|
|
658
658
|
endpointParams?: Record<string, string[]> | undefined;
|
|
659
|
-
authStyle?: 0 |
|
|
659
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
660
660
|
}, {
|
|
661
661
|
clientID: string;
|
|
662
662
|
tokenURL: string;
|
|
@@ -664,7 +664,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
664
664
|
clientSecret?: string | undefined;
|
|
665
665
|
clientSecretFile?: string | undefined;
|
|
666
666
|
endpointParams?: Record<string, string[]> | undefined;
|
|
667
|
-
authStyle?: 0 |
|
|
667
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
668
668
|
}>, {
|
|
669
669
|
scopes: string[];
|
|
670
670
|
clientID: string;
|
|
@@ -672,7 +672,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
672
672
|
clientSecret?: string | undefined;
|
|
673
673
|
clientSecretFile?: string | undefined;
|
|
674
674
|
endpointParams?: Record<string, string[]> | undefined;
|
|
675
|
-
authStyle?: 0 |
|
|
675
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
676
676
|
}, {
|
|
677
677
|
clientID: string;
|
|
678
678
|
tokenURL: string;
|
|
@@ -680,7 +680,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
680
680
|
clientSecret?: string | undefined;
|
|
681
681
|
clientSecretFile?: string | undefined;
|
|
682
682
|
endpointParams?: Record<string, string[]> | undefined;
|
|
683
|
-
authStyle?: 0 |
|
|
683
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
684
684
|
}>>;
|
|
685
685
|
tlsConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
686
686
|
ca: z.ZodOptional<z.ZodString>;
|
|
@@ -746,7 +746,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
746
746
|
clientSecret?: string | undefined;
|
|
747
747
|
clientSecretFile?: string | undefined;
|
|
748
748
|
endpointParams?: Record<string, string[]> | undefined;
|
|
749
|
-
authStyle?: 0 |
|
|
749
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
750
750
|
} | undefined;
|
|
751
751
|
tlsConfig?: {
|
|
752
752
|
ca?: string | undefined;
|
|
@@ -776,7 +776,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
776
776
|
clientSecret?: string | undefined;
|
|
777
777
|
clientSecretFile?: string | undefined;
|
|
778
778
|
endpointParams?: Record<string, string[]> | undefined;
|
|
779
|
-
authStyle?: 0 |
|
|
779
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
780
780
|
} | undefined;
|
|
781
781
|
tlsConfig?: {
|
|
782
782
|
ca?: string | undefined;
|
|
@@ -806,7 +806,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
806
806
|
clientSecret?: string | undefined;
|
|
807
807
|
clientSecretFile?: string | undefined;
|
|
808
808
|
endpointParams?: Record<string, string[]> | undefined;
|
|
809
|
-
authStyle?: 0 |
|
|
809
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
810
810
|
} | undefined;
|
|
811
811
|
tlsConfig?: {
|
|
812
812
|
ca?: string | undefined;
|
|
@@ -836,7 +836,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
836
836
|
clientSecret?: string | undefined;
|
|
837
837
|
clientSecretFile?: string | undefined;
|
|
838
838
|
endpointParams?: Record<string, string[]> | undefined;
|
|
839
|
-
authStyle?: 0 |
|
|
839
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
840
840
|
} | undefined;
|
|
841
841
|
tlsConfig?: {
|
|
842
842
|
ca?: string | undefined;
|
|
@@ -851,6 +851,9 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
851
851
|
}>;
|
|
852
852
|
}, "strip", z.ZodTypeAny, {
|
|
853
853
|
kind: "GlobalSecret";
|
|
854
|
+
metadata: {
|
|
855
|
+
name: string;
|
|
856
|
+
};
|
|
854
857
|
spec: {
|
|
855
858
|
basicAuth?: {
|
|
856
859
|
username: string;
|
|
@@ -869,7 +872,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
869
872
|
clientSecret?: string | undefined;
|
|
870
873
|
clientSecretFile?: string | undefined;
|
|
871
874
|
endpointParams?: Record<string, string[]> | undefined;
|
|
872
|
-
authStyle?: 0 |
|
|
875
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
873
876
|
} | undefined;
|
|
874
877
|
tlsConfig?: {
|
|
875
878
|
ca?: string | undefined;
|
|
@@ -882,11 +885,11 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
882
885
|
insecureSkipVerify?: boolean | undefined;
|
|
883
886
|
} | undefined;
|
|
884
887
|
};
|
|
888
|
+
}, {
|
|
889
|
+
kind: "GlobalSecret";
|
|
885
890
|
metadata: {
|
|
886
891
|
name: string;
|
|
887
892
|
};
|
|
888
|
-
}, {
|
|
889
|
-
kind: "GlobalSecret";
|
|
890
893
|
spec: {
|
|
891
894
|
basicAuth?: {
|
|
892
895
|
username: string;
|
|
@@ -905,7 +908,7 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
905
908
|
clientSecret?: string | undefined;
|
|
906
909
|
clientSecretFile?: string | undefined;
|
|
907
910
|
endpointParams?: Record<string, string[]> | undefined;
|
|
908
|
-
authStyle?: 0 |
|
|
911
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
909
912
|
} | undefined;
|
|
910
913
|
tlsConfig?: {
|
|
911
914
|
ca?: string | undefined;
|
|
@@ -918,9 +921,6 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
918
921
|
insecureSkipVerify?: boolean | undefined;
|
|
919
922
|
} | undefined;
|
|
920
923
|
};
|
|
921
|
-
metadata: {
|
|
922
|
-
name: string;
|
|
923
|
-
};
|
|
924
924
|
}>;
|
|
925
925
|
export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
926
926
|
kind: z.ZodLiteral<"Secret">;
|
|
@@ -993,7 +993,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
993
993
|
clientSecret?: string | undefined;
|
|
994
994
|
clientSecretFile?: string | undefined;
|
|
995
995
|
endpointParams?: Record<string, string[]> | undefined;
|
|
996
|
-
authStyle?: 0 |
|
|
996
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
997
997
|
}, {
|
|
998
998
|
clientID: string;
|
|
999
999
|
tokenURL: string;
|
|
@@ -1001,7 +1001,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1001
1001
|
clientSecret?: string | undefined;
|
|
1002
1002
|
clientSecretFile?: string | undefined;
|
|
1003
1003
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1004
|
-
authStyle?: 0 |
|
|
1004
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1005
1005
|
}>, {
|
|
1006
1006
|
scopes: string[];
|
|
1007
1007
|
clientID: string;
|
|
@@ -1009,7 +1009,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1009
1009
|
clientSecret?: string | undefined;
|
|
1010
1010
|
clientSecretFile?: string | undefined;
|
|
1011
1011
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1012
|
-
authStyle?: 0 |
|
|
1012
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1013
1013
|
}, {
|
|
1014
1014
|
clientID: string;
|
|
1015
1015
|
tokenURL: string;
|
|
@@ -1017,7 +1017,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1017
1017
|
clientSecret?: string | undefined;
|
|
1018
1018
|
clientSecretFile?: string | undefined;
|
|
1019
1019
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1020
|
-
authStyle?: 0 |
|
|
1020
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1021
1021
|
}>>;
|
|
1022
1022
|
tlsConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1023
1023
|
ca: z.ZodOptional<z.ZodString>;
|
|
@@ -1083,7 +1083,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1083
1083
|
clientSecret?: string | undefined;
|
|
1084
1084
|
clientSecretFile?: string | undefined;
|
|
1085
1085
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1086
|
-
authStyle?: 0 |
|
|
1086
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1087
1087
|
} | undefined;
|
|
1088
1088
|
tlsConfig?: {
|
|
1089
1089
|
ca?: string | undefined;
|
|
@@ -1113,7 +1113,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1113
1113
|
clientSecret?: string | undefined;
|
|
1114
1114
|
clientSecretFile?: string | undefined;
|
|
1115
1115
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1116
|
-
authStyle?: 0 |
|
|
1116
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
tlsConfig?: {
|
|
1119
1119
|
ca?: string | undefined;
|
|
@@ -1143,7 +1143,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1143
1143
|
clientSecret?: string | undefined;
|
|
1144
1144
|
clientSecretFile?: string | undefined;
|
|
1145
1145
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1146
|
-
authStyle?: 0 |
|
|
1146
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1147
1147
|
} | undefined;
|
|
1148
1148
|
tlsConfig?: {
|
|
1149
1149
|
ca?: string | undefined;
|
|
@@ -1173,7 +1173,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1173
1173
|
clientSecret?: string | undefined;
|
|
1174
1174
|
clientSecretFile?: string | undefined;
|
|
1175
1175
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1176
|
-
authStyle?: 0 |
|
|
1176
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1177
1177
|
} | undefined;
|
|
1178
1178
|
tlsConfig?: {
|
|
1179
1179
|
ca?: string | undefined;
|
|
@@ -1188,6 +1188,10 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1188
1188
|
}>;
|
|
1189
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
1190
|
kind: "Secret";
|
|
1191
|
+
metadata: {
|
|
1192
|
+
name: string;
|
|
1193
|
+
project: string;
|
|
1194
|
+
};
|
|
1191
1195
|
spec: {
|
|
1192
1196
|
basicAuth?: {
|
|
1193
1197
|
username: string;
|
|
@@ -1206,7 +1210,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1206
1210
|
clientSecret?: string | undefined;
|
|
1207
1211
|
clientSecretFile?: string | undefined;
|
|
1208
1212
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1209
|
-
authStyle?: 0 |
|
|
1213
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1210
1214
|
} | undefined;
|
|
1211
1215
|
tlsConfig?: {
|
|
1212
1216
|
ca?: string | undefined;
|
|
@@ -1219,12 +1223,12 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1219
1223
|
insecureSkipVerify?: boolean | undefined;
|
|
1220
1224
|
} | undefined;
|
|
1221
1225
|
};
|
|
1226
|
+
}, {
|
|
1227
|
+
kind: "Secret";
|
|
1222
1228
|
metadata: {
|
|
1223
1229
|
name: string;
|
|
1224
1230
|
project: string;
|
|
1225
1231
|
};
|
|
1226
|
-
}, {
|
|
1227
|
-
kind: "Secret";
|
|
1228
1232
|
spec: {
|
|
1229
1233
|
basicAuth?: {
|
|
1230
1234
|
username: string;
|
|
@@ -1243,7 +1247,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1243
1247
|
clientSecret?: string | undefined;
|
|
1244
1248
|
clientSecretFile?: string | undefined;
|
|
1245
1249
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1246
|
-
authStyle?: 0 |
|
|
1250
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1247
1251
|
} | undefined;
|
|
1248
1252
|
tlsConfig?: {
|
|
1249
1253
|
ca?: string | undefined;
|
|
@@ -1256,10 +1260,6 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1256
1260
|
insecureSkipVerify?: boolean | undefined;
|
|
1257
1261
|
} | undefined;
|
|
1258
1262
|
};
|
|
1259
|
-
metadata: {
|
|
1260
|
-
name: string;
|
|
1261
|
-
project: string;
|
|
1262
|
-
};
|
|
1263
1263
|
}>, z.ZodObject<{
|
|
1264
1264
|
kind: z.ZodLiteral<"GlobalSecret">;
|
|
1265
1265
|
metadata: z.ZodObject<{
|
|
@@ -1327,7 +1327,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1327
1327
|
clientSecret?: string | undefined;
|
|
1328
1328
|
clientSecretFile?: string | undefined;
|
|
1329
1329
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1330
|
-
authStyle?: 0 |
|
|
1330
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1331
1331
|
}, {
|
|
1332
1332
|
clientID: string;
|
|
1333
1333
|
tokenURL: string;
|
|
@@ -1335,7 +1335,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1335
1335
|
clientSecret?: string | undefined;
|
|
1336
1336
|
clientSecretFile?: string | undefined;
|
|
1337
1337
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1338
|
-
authStyle?: 0 |
|
|
1338
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1339
1339
|
}>, {
|
|
1340
1340
|
scopes: string[];
|
|
1341
1341
|
clientID: string;
|
|
@@ -1343,7 +1343,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1343
1343
|
clientSecret?: string | undefined;
|
|
1344
1344
|
clientSecretFile?: string | undefined;
|
|
1345
1345
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1346
|
-
authStyle?: 0 |
|
|
1346
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1347
1347
|
}, {
|
|
1348
1348
|
clientID: string;
|
|
1349
1349
|
tokenURL: string;
|
|
@@ -1351,7 +1351,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1351
1351
|
clientSecret?: string | undefined;
|
|
1352
1352
|
clientSecretFile?: string | undefined;
|
|
1353
1353
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1354
|
-
authStyle?: 0 |
|
|
1354
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1355
1355
|
}>>;
|
|
1356
1356
|
tlsConfig: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1357
1357
|
ca: z.ZodOptional<z.ZodString>;
|
|
@@ -1417,7 +1417,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1417
1417
|
clientSecret?: string | undefined;
|
|
1418
1418
|
clientSecretFile?: string | undefined;
|
|
1419
1419
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1420
|
-
authStyle?: 0 |
|
|
1420
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1421
1421
|
} | undefined;
|
|
1422
1422
|
tlsConfig?: {
|
|
1423
1423
|
ca?: string | undefined;
|
|
@@ -1447,7 +1447,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1447
1447
|
clientSecret?: string | undefined;
|
|
1448
1448
|
clientSecretFile?: string | undefined;
|
|
1449
1449
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1450
|
-
authStyle?: 0 |
|
|
1450
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1451
1451
|
} | undefined;
|
|
1452
1452
|
tlsConfig?: {
|
|
1453
1453
|
ca?: string | undefined;
|
|
@@ -1477,7 +1477,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1477
1477
|
clientSecret?: string | undefined;
|
|
1478
1478
|
clientSecretFile?: string | undefined;
|
|
1479
1479
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1480
|
-
authStyle?: 0 |
|
|
1480
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1481
1481
|
} | undefined;
|
|
1482
1482
|
tlsConfig?: {
|
|
1483
1483
|
ca?: string | undefined;
|
|
@@ -1507,7 +1507,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1507
1507
|
clientSecret?: string | undefined;
|
|
1508
1508
|
clientSecretFile?: string | undefined;
|
|
1509
1509
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1510
|
-
authStyle?: 0 |
|
|
1510
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1511
1511
|
} | undefined;
|
|
1512
1512
|
tlsConfig?: {
|
|
1513
1513
|
ca?: string | undefined;
|
|
@@ -1522,6 +1522,9 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1522
1522
|
}>;
|
|
1523
1523
|
}, "strip", z.ZodTypeAny, {
|
|
1524
1524
|
kind: "GlobalSecret";
|
|
1525
|
+
metadata: {
|
|
1526
|
+
name: string;
|
|
1527
|
+
};
|
|
1525
1528
|
spec: {
|
|
1526
1529
|
basicAuth?: {
|
|
1527
1530
|
username: string;
|
|
@@ -1540,7 +1543,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1540
1543
|
clientSecret?: string | undefined;
|
|
1541
1544
|
clientSecretFile?: string | undefined;
|
|
1542
1545
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1543
|
-
authStyle?: 0 |
|
|
1546
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1544
1547
|
} | undefined;
|
|
1545
1548
|
tlsConfig?: {
|
|
1546
1549
|
ca?: string | undefined;
|
|
@@ -1553,11 +1556,11 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1553
1556
|
insecureSkipVerify?: boolean | undefined;
|
|
1554
1557
|
} | undefined;
|
|
1555
1558
|
};
|
|
1559
|
+
}, {
|
|
1560
|
+
kind: "GlobalSecret";
|
|
1556
1561
|
metadata: {
|
|
1557
1562
|
name: string;
|
|
1558
1563
|
};
|
|
1559
|
-
}, {
|
|
1560
|
-
kind: "GlobalSecret";
|
|
1561
1564
|
spec: {
|
|
1562
1565
|
basicAuth?: {
|
|
1563
1566
|
username: string;
|
|
@@ -1576,7 +1579,7 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1576
1579
|
clientSecret?: string | undefined;
|
|
1577
1580
|
clientSecretFile?: string | undefined;
|
|
1578
1581
|
endpointParams?: Record<string, string[]> | undefined;
|
|
1579
|
-
authStyle?: 0 |
|
|
1582
|
+
authStyle?: 0 | 2 | 1 | undefined;
|
|
1580
1583
|
} | undefined;
|
|
1581
1584
|
tlsConfig?: {
|
|
1582
1585
|
ca?: string | undefined;
|
|
@@ -1589,9 +1592,6 @@ export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
1589
1592
|
insecureSkipVerify?: boolean | undefined;
|
|
1590
1593
|
} | undefined;
|
|
1591
1594
|
};
|
|
1592
|
-
metadata: {
|
|
1593
|
-
name: string;
|
|
1594
|
-
};
|
|
1595
1595
|
}>]>;
|
|
1596
1596
|
export type SecretsEditorSchemaType = z.infer<typeof secretsEditorSchema>;
|
|
1597
1597
|
//# sourceMappingURL=secret.d.ts.map
|
|
@@ -1,92 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { ListVariableDefinition, ListVariableSpec, TextVariableDefinition, TextVariableSpec, Variable, VariableDefinition, VariableDisplay } from '../model';
|
|
3
|
-
import { PluginSchema } from './plugin';
|
|
4
|
-
export declare const variableDisplaySchema: z.ZodSchema<VariableDisplay>;
|
|
5
|
-
export declare const variableListSpecSchema: z.ZodSchema<ListVariableSpec>;
|
|
6
|
-
export declare function buildVariableListSpecSchema(pluginSchema: PluginSchema): z.ZodSchema<ListVariableSpec>;
|
|
7
|
-
export declare const variableListSchema: z.ZodObject<{
|
|
8
|
-
kind: z.ZodLiteral<"ListVariable">;
|
|
9
|
-
spec: z.ZodType<ListVariableSpec<import("../model").UnknownSpec>, z.ZodTypeDef, ListVariableSpec<import("../model").UnknownSpec>>;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
kind: "ListVariable";
|
|
12
|
-
spec: ListVariableSpec<import("../model").UnknownSpec>;
|
|
13
|
-
}, {
|
|
14
|
-
kind: "ListVariable";
|
|
15
|
-
spec: ListVariableSpec<import("../model").UnknownSpec>;
|
|
16
|
-
}>;
|
|
17
|
-
export declare function buildVariableListSchema(pluginSchema: PluginSchema): typeof variableListSchema;
|
|
18
|
-
export declare const variableTextSpecSchema: z.ZodSchema<TextVariableSpec>;
|
|
19
|
-
export declare const variableTextSchema: z.ZodObject<{
|
|
20
|
-
kind: z.ZodLiteral<"TextVariable">;
|
|
21
|
-
spec: z.ZodType<TextVariableSpec, z.ZodTypeDef, TextVariableSpec>;
|
|
22
|
-
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
kind: "TextVariable";
|
|
24
|
-
spec: TextVariableSpec;
|
|
25
|
-
}, {
|
|
26
|
-
kind: "TextVariable";
|
|
27
|
-
spec: TextVariableSpec;
|
|
28
|
-
}>;
|
|
29
|
-
export declare const variableSpecSchema: z.ZodSchema<TextVariableDefinition | ListVariableDefinition>;
|
|
30
|
-
export declare function buildVariableSpecSchema(pluginSchema: PluginSchema): z.ZodSchema<VariableDefinition>;
|
|
31
|
-
export declare const variableSchema: z.ZodObject<{
|
|
32
|
-
kind: z.ZodLiteral<"Variable">;
|
|
33
|
-
metadata: z.ZodObject<{
|
|
34
|
-
name: z.ZodString;
|
|
35
|
-
} & {
|
|
36
|
-
project: z.ZodString;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
name: string;
|
|
39
|
-
project: string;
|
|
40
|
-
}, {
|
|
41
|
-
name: string;
|
|
42
|
-
project: string;
|
|
43
|
-
}>;
|
|
44
|
-
spec: z.ZodType<TextVariableDefinition | ListVariableDefinition, z.ZodTypeDef, TextVariableDefinition | ListVariableDefinition>;
|
|
45
|
-
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
kind: "Variable";
|
|
47
|
-
spec: TextVariableDefinition | ListVariableDefinition;
|
|
48
|
-
metadata: {
|
|
49
|
-
name: string;
|
|
50
|
-
project: string;
|
|
51
|
-
};
|
|
52
|
-
}, {
|
|
53
|
-
kind: "Variable";
|
|
54
|
-
spec: TextVariableDefinition | ListVariableDefinition;
|
|
55
|
-
metadata: {
|
|
56
|
-
name: string;
|
|
57
|
-
project: string;
|
|
58
|
-
};
|
|
59
|
-
}>;
|
|
60
|
-
export declare const globalVariableSchema: z.ZodObject<{
|
|
61
|
-
kind: z.ZodLiteral<"GlobalVariable">;
|
|
62
|
-
metadata: z.ZodObject<{
|
|
63
|
-
name: z.ZodString;
|
|
64
|
-
} & {
|
|
65
|
-
project: z.ZodString;
|
|
66
|
-
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
name: string;
|
|
68
|
-
project: string;
|
|
69
|
-
}, {
|
|
70
|
-
name: string;
|
|
71
|
-
project: string;
|
|
72
|
-
}>;
|
|
73
|
-
spec: z.ZodType<TextVariableDefinition | ListVariableDefinition, z.ZodTypeDef, TextVariableDefinition | ListVariableDefinition>;
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
kind: "GlobalVariable";
|
|
76
|
-
spec: TextVariableDefinition | ListVariableDefinition;
|
|
77
|
-
metadata: {
|
|
78
|
-
name: string;
|
|
79
|
-
project: string;
|
|
80
|
-
};
|
|
81
|
-
}, {
|
|
82
|
-
kind: "GlobalVariable";
|
|
83
|
-
spec: TextVariableDefinition | ListVariableDefinition;
|
|
84
|
-
metadata: {
|
|
85
|
-
name: string;
|
|
86
|
-
project: string;
|
|
87
|
-
};
|
|
88
|
-
}>;
|
|
89
|
-
export declare const variablesSchema: z.ZodSchema<Variable>;
|
|
90
|
-
export declare const variableDefinitionSchema: z.ZodSchema<VariableDefinition>;
|
|
91
|
-
export declare function buildVariableDefinitionSchema(pluginSchema: PluginSchema): z.ZodSchema<VariableDefinition>;
|
|
1
|
+
export { variableDisplaySchema, variableListSpecSchema, buildVariableListSpecSchema, variableListSchema, buildVariableListSchema, variableTextSpecSchema, variableTextSchema, variableSpecSchema, buildVariableSpecSchema, variableDefinitionSchema, buildVariableDefinitionSchema, } from '@perses-dev/spec';
|
|
92
2
|
//# sourceMappingURL=variable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../src/schema/variable.ts"],"names":[],"mappings":"AAaA,OAAO,
|
|
1
|
+
{"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../src/schema/variable.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,EAC3B,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,kBAAkB,CAAC"}
|