@uniformdev/mesh-edgehancer-sdk 19.184.3-alpha.32 → 19.186.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.
- package/dist/index.d.mts +170 -212
- package/dist/index.d.ts +170 -212
- package/dist/index.esm.js +8 -9
- package/dist/index.js +8 -9
- package/dist/index.mjs +8 -9
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as zod from 'zod';
|
2
2
|
import { z } from 'zod';
|
3
|
-
import { DataType, DataSource, DataSourceVariantsKeys } from '@uniformdev/canvas';
|
3
|
+
import { DataType, DataSource, DataSourceVariantsKeys, DataSourceVariantData } from '@uniformdev/canvas';
|
4
4
|
|
5
5
|
/**
|
6
6
|
* The context we are fetching the data resource in:
|
@@ -30,7 +30,6 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
30
30
|
allowedOnComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
31
31
|
badgeIconUrl: z.ZodOptional<z.ZodString>;
|
32
32
|
connectorType: z.ZodString;
|
33
|
-
path: z.ZodString;
|
34
33
|
url: z.ZodString;
|
35
34
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
36
35
|
key: z.ZodString;
|
@@ -99,8 +98,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
99
98
|
}>>;
|
100
99
|
uiBadgeText: z.ZodOptional<z.ZodString>;
|
101
100
|
variants: z.ZodOptional<z.ZodObject<{
|
102
|
-
unpublished: z.ZodOptional<z.
|
103
|
-
baseUrl: z.ZodString;
|
101
|
+
unpublished: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
104
102
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
105
103
|
key: z.ZodString;
|
106
104
|
value: z.ZodString;
|
@@ -149,10 +147,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
149
147
|
order?: number | undefined;
|
150
148
|
source?: string | undefined;
|
151
149
|
}>>>;
|
152
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
153
|
-
customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
154
150
|
}, "strip", z.ZodTypeAny, {
|
155
|
-
baseUrl: string;
|
156
151
|
headers?: {
|
157
152
|
key: string;
|
158
153
|
value: string;
|
@@ -171,10 +166,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
171
166
|
order?: number | undefined;
|
172
167
|
source?: string | undefined;
|
173
168
|
}> | undefined;
|
174
|
-
custom?: Record<string, unknown> | undefined;
|
175
|
-
customPublic?: Record<string, unknown> | undefined;
|
176
169
|
}, {
|
177
|
-
baseUrl: string;
|
178
170
|
headers?: {
|
179
171
|
key: string;
|
180
172
|
value: string;
|
@@ -193,12 +185,15 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
193
185
|
order?: number | undefined;
|
194
186
|
source?: string | undefined;
|
195
187
|
}> | undefined;
|
196
|
-
|
197
|
-
|
188
|
+
}>, z.ZodObject<{
|
189
|
+
url: z.ZodString;
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
191
|
+
url: string;
|
192
|
+
}, {
|
193
|
+
url: string;
|
198
194
|
}>>>;
|
199
195
|
}, "strip", z.ZodTypeAny, {
|
200
|
-
unpublished?: {
|
201
|
-
baseUrl: string;
|
196
|
+
unpublished?: ({
|
202
197
|
headers?: {
|
203
198
|
key: string;
|
204
199
|
value: string;
|
@@ -217,12 +212,11 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
217
212
|
order?: number | undefined;
|
218
213
|
source?: string | undefined;
|
219
214
|
}> | undefined;
|
220
|
-
|
221
|
-
|
222
|
-
} | undefined;
|
215
|
+
} & {
|
216
|
+
url: string;
|
217
|
+
}) | undefined;
|
223
218
|
}, {
|
224
|
-
unpublished?: {
|
225
|
-
baseUrl: string;
|
219
|
+
unpublished?: ({
|
226
220
|
headers?: {
|
227
221
|
key: string;
|
228
222
|
value: string;
|
@@ -241,18 +235,18 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
241
235
|
order?: number | undefined;
|
242
236
|
source?: string | undefined;
|
243
237
|
}> | undefined;
|
244
|
-
|
245
|
-
|
246
|
-
} | undefined;
|
238
|
+
} & {
|
239
|
+
url: string;
|
240
|
+
}) | undefined;
|
247
241
|
}>>;
|
248
242
|
dataSourceVariant: z.ZodOptional<z.ZodEnum<["unpublished"]>>;
|
249
243
|
}, "strip", z.ZodTypeAny, {
|
250
|
-
path: string;
|
251
244
|
displayName: string;
|
245
|
+
url: string;
|
252
246
|
id: string;
|
253
247
|
connectorType: string;
|
254
|
-
url: string;
|
255
248
|
method: "GET" | "POST" | "HEAD";
|
249
|
+
custom?: Record<string, unknown> | undefined;
|
256
250
|
headers?: {
|
257
251
|
key: string;
|
258
252
|
value: string;
|
@@ -271,12 +265,11 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
271
265
|
order?: number | undefined;
|
272
266
|
source?: string | undefined;
|
273
267
|
}> | undefined;
|
274
|
-
custom?: Record<string, unknown> | undefined;
|
275
|
-
customPublic?: Record<string, unknown> | undefined;
|
276
268
|
archetype?: string | undefined;
|
277
269
|
allowedOnComponents?: string[] | undefined;
|
278
270
|
badgeIconUrl?: string | undefined;
|
279
271
|
body?: string | undefined;
|
272
|
+
customPublic?: Record<string, unknown> | undefined;
|
280
273
|
ttl?: number | undefined;
|
281
274
|
purgeKey?: string | undefined;
|
282
275
|
localeMapping?: Record<string, string> | undefined;
|
@@ -286,8 +279,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
286
279
|
} | undefined;
|
287
280
|
uiBadgeText?: string | undefined;
|
288
281
|
variants?: {
|
289
|
-
unpublished?: {
|
290
|
-
baseUrl: string;
|
282
|
+
unpublished?: ({
|
291
283
|
headers?: {
|
292
284
|
key: string;
|
293
285
|
value: string;
|
@@ -306,18 +298,18 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
306
298
|
order?: number | undefined;
|
307
299
|
source?: string | undefined;
|
308
300
|
}> | undefined;
|
309
|
-
|
310
|
-
|
311
|
-
} | undefined;
|
301
|
+
} & {
|
302
|
+
url: string;
|
303
|
+
}) | undefined;
|
312
304
|
} | undefined;
|
313
305
|
dataSourceVariant?: "unpublished" | undefined;
|
314
306
|
}, {
|
315
|
-
path: string;
|
316
307
|
displayName: string;
|
308
|
+
url: string;
|
317
309
|
id: string;
|
318
310
|
connectorType: string;
|
319
|
-
url: string;
|
320
311
|
method: "GET" | "POST" | "HEAD";
|
312
|
+
custom?: Record<string, unknown> | undefined;
|
321
313
|
headers?: {
|
322
314
|
key: string;
|
323
315
|
value: string;
|
@@ -336,12 +328,11 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
336
328
|
order?: number | undefined;
|
337
329
|
source?: string | undefined;
|
338
330
|
}> | undefined;
|
339
|
-
custom?: Record<string, unknown> | undefined;
|
340
|
-
customPublic?: Record<string, unknown> | undefined;
|
341
331
|
archetype?: string | undefined;
|
342
332
|
allowedOnComponents?: string[] | undefined;
|
343
333
|
badgeIconUrl?: string | undefined;
|
344
334
|
body?: string | undefined;
|
335
|
+
customPublic?: Record<string, unknown> | undefined;
|
345
336
|
ttl?: number | undefined;
|
346
337
|
purgeKey?: string | undefined;
|
347
338
|
localeMapping?: Record<string, string> | undefined;
|
@@ -351,8 +342,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
351
342
|
} | undefined;
|
352
343
|
uiBadgeText?: string | undefined;
|
353
344
|
variants?: {
|
354
|
-
unpublished?: {
|
355
|
-
baseUrl: string;
|
345
|
+
unpublished?: ({
|
356
346
|
headers?: {
|
357
347
|
key: string;
|
358
348
|
value: string;
|
@@ -371,9 +361,9 @@ declare const mergedDataTypeSchema: z.ZodObject<{
|
|
371
361
|
order?: number | undefined;
|
372
362
|
source?: string | undefined;
|
373
363
|
}> | undefined;
|
374
|
-
|
375
|
-
|
376
|
-
} | undefined;
|
364
|
+
} & {
|
365
|
+
url: string;
|
366
|
+
}) | undefined;
|
377
367
|
} | undefined;
|
378
368
|
dataSourceVariant?: "unpublished" | undefined;
|
379
369
|
}>;
|
@@ -382,7 +372,17 @@ type CustomEdgehancerDefinition = z.infer<typeof customEdgehancerDefinitionSchem
|
|
382
372
|
/**
|
383
373
|
* The result of merging a data source with a data type into a single request object
|
384
374
|
*/
|
385
|
-
type MergedDataType = Omit<DataType, 'dataSourceId'> & Pick<DataSource, 'connectorType' | 'localeMapping' | 'customPublic'
|
375
|
+
type MergedDataType = Omit<DataType, 'dataSourceId' | 'path'> & Pick<DataSource, 'connectorType' | 'localeMapping' | 'customPublic'> & {
|
376
|
+
/**
|
377
|
+
* Data Source variants with "url" with the merged DS base URL and DT relative URL,
|
378
|
+
* same way we have the "url" in the MergedDataType. We need it merged for mergeDataResourcesWithDataTypes() to switch between variants
|
379
|
+
* But as DS baseUrl contains origin and base path, it is not clear which part of merged "url" we need to change while switching between DS variants.
|
380
|
+
*
|
381
|
+
* Removing "baseUrl" from the variant to keep consistency with MergedDataType
|
382
|
+
*/
|
383
|
+
variants?: Partial<Record<DataSourceVariantsKeys, Omit<NonNullable<DataSourceVariantData>, 'baseUrl'> & {
|
384
|
+
url: string;
|
385
|
+
}>>;
|
386
386
|
/** Merged base URL from the data source with the relative URL from the data type */
|
387
387
|
url: string;
|
388
388
|
/**
|
@@ -525,7 +525,6 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
525
525
|
allowedOnComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
526
526
|
badgeIconUrl: z.ZodOptional<z.ZodString>;
|
527
527
|
connectorType: z.ZodString;
|
528
|
-
path: z.ZodString;
|
529
528
|
url: z.ZodString;
|
530
529
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
531
530
|
key: z.ZodString;
|
@@ -594,8 +593,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
594
593
|
}>>;
|
595
594
|
uiBadgeText: z.ZodOptional<z.ZodString>;
|
596
595
|
variants: z.ZodOptional<z.ZodObject<{
|
597
|
-
unpublished: z.ZodOptional<z.
|
598
|
-
baseUrl: z.ZodString;
|
596
|
+
unpublished: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
599
597
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
600
598
|
key: z.ZodString;
|
601
599
|
value: z.ZodString;
|
@@ -644,10 +642,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
644
642
|
order?: number | undefined;
|
645
643
|
source?: string | undefined;
|
646
644
|
}>>>;
|
647
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
648
|
-
customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
649
645
|
}, "strip", z.ZodTypeAny, {
|
650
|
-
baseUrl: string;
|
651
646
|
headers?: {
|
652
647
|
key: string;
|
653
648
|
value: string;
|
@@ -666,10 +661,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
666
661
|
order?: number | undefined;
|
667
662
|
source?: string | undefined;
|
668
663
|
}> | undefined;
|
669
|
-
custom?: Record<string, unknown> | undefined;
|
670
|
-
customPublic?: Record<string, unknown> | undefined;
|
671
664
|
}, {
|
672
|
-
baseUrl: string;
|
673
665
|
headers?: {
|
674
666
|
key: string;
|
675
667
|
value: string;
|
@@ -688,12 +680,15 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
688
680
|
order?: number | undefined;
|
689
681
|
source?: string | undefined;
|
690
682
|
}> | undefined;
|
691
|
-
|
692
|
-
|
683
|
+
}>, z.ZodObject<{
|
684
|
+
url: z.ZodString;
|
685
|
+
}, "strip", z.ZodTypeAny, {
|
686
|
+
url: string;
|
687
|
+
}, {
|
688
|
+
url: string;
|
693
689
|
}>>>;
|
694
690
|
}, "strip", z.ZodTypeAny, {
|
695
|
-
unpublished?: {
|
696
|
-
baseUrl: string;
|
691
|
+
unpublished?: ({
|
697
692
|
headers?: {
|
698
693
|
key: string;
|
699
694
|
value: string;
|
@@ -712,12 +707,11 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
712
707
|
order?: number | undefined;
|
713
708
|
source?: string | undefined;
|
714
709
|
}> | undefined;
|
715
|
-
|
716
|
-
|
717
|
-
} | undefined;
|
710
|
+
} & {
|
711
|
+
url: string;
|
712
|
+
}) | undefined;
|
718
713
|
}, {
|
719
|
-
unpublished?: {
|
720
|
-
baseUrl: string;
|
714
|
+
unpublished?: ({
|
721
715
|
headers?: {
|
722
716
|
key: string;
|
723
717
|
value: string;
|
@@ -736,16 +730,16 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
736
730
|
order?: number | undefined;
|
737
731
|
source?: string | undefined;
|
738
732
|
}> | undefined;
|
739
|
-
|
740
|
-
|
741
|
-
} | undefined;
|
733
|
+
} & {
|
734
|
+
url: string;
|
735
|
+
}) | undefined;
|
742
736
|
}>>;
|
743
737
|
dataSourceVariant: z.ZodOptional<z.ZodEnum<["unpublished"]>>;
|
744
738
|
}, "displayName" | "variables" | "id" | "allowedOnComponents" | "badgeIconUrl" | "purgeKey" | "edgehancer">, "strip", z.ZodTypeAny, {
|
745
|
-
path: string;
|
746
|
-
connectorType: string;
|
747
739
|
url: string;
|
740
|
+
connectorType: string;
|
748
741
|
method: "GET" | "POST" | "HEAD";
|
742
|
+
custom?: Record<string, unknown> | undefined;
|
749
743
|
headers?: {
|
750
744
|
key: string;
|
751
745
|
value: string;
|
@@ -756,16 +750,14 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
756
750
|
value: string;
|
757
751
|
omitIfEmpty?: boolean | undefined;
|
758
752
|
}[] | undefined;
|
759
|
-
custom?: Record<string, unknown> | undefined;
|
760
|
-
customPublic?: Record<string, unknown> | undefined;
|
761
753
|
archetype?: string | undefined;
|
762
754
|
body?: string | undefined;
|
755
|
+
customPublic?: Record<string, unknown> | undefined;
|
763
756
|
ttl?: number | undefined;
|
764
757
|
localeMapping?: Record<string, string> | undefined;
|
765
758
|
uiBadgeText?: string | undefined;
|
766
759
|
variants?: {
|
767
|
-
unpublished?: {
|
768
|
-
baseUrl: string;
|
760
|
+
unpublished?: ({
|
769
761
|
headers?: {
|
770
762
|
key: string;
|
771
763
|
value: string;
|
@@ -784,16 +776,16 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
784
776
|
order?: number | undefined;
|
785
777
|
source?: string | undefined;
|
786
778
|
}> | undefined;
|
787
|
-
|
788
|
-
|
789
|
-
} | undefined;
|
779
|
+
} & {
|
780
|
+
url: string;
|
781
|
+
}) | undefined;
|
790
782
|
} | undefined;
|
791
783
|
dataSourceVariant?: "unpublished" | undefined;
|
792
784
|
}, {
|
793
|
-
path: string;
|
794
|
-
connectorType: string;
|
795
785
|
url: string;
|
786
|
+
connectorType: string;
|
796
787
|
method: "GET" | "POST" | "HEAD";
|
788
|
+
custom?: Record<string, unknown> | undefined;
|
797
789
|
headers?: {
|
798
790
|
key: string;
|
799
791
|
value: string;
|
@@ -804,16 +796,14 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
804
796
|
value: string;
|
805
797
|
omitIfEmpty?: boolean | undefined;
|
806
798
|
}[] | undefined;
|
807
|
-
custom?: Record<string, unknown> | undefined;
|
808
|
-
customPublic?: Record<string, unknown> | undefined;
|
809
799
|
archetype?: string | undefined;
|
810
800
|
body?: string | undefined;
|
801
|
+
customPublic?: Record<string, unknown> | undefined;
|
811
802
|
ttl?: number | undefined;
|
812
803
|
localeMapping?: Record<string, string> | undefined;
|
813
804
|
uiBadgeText?: string | undefined;
|
814
805
|
variants?: {
|
815
|
-
unpublished?: {
|
816
|
-
baseUrl: string;
|
806
|
+
unpublished?: ({
|
817
807
|
headers?: {
|
818
808
|
key: string;
|
819
809
|
value: string;
|
@@ -832,9 +822,9 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
|
|
832
822
|
order?: number | undefined;
|
833
823
|
source?: string | undefined;
|
834
824
|
}> | undefined;
|
835
|
-
|
836
|
-
|
837
|
-
} | undefined;
|
825
|
+
} & {
|
826
|
+
url: string;
|
827
|
+
}) | undefined;
|
838
828
|
} | undefined;
|
839
829
|
dataSourceVariant?: "unpublished" | undefined;
|
840
830
|
}>;
|
@@ -868,7 +858,6 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
868
858
|
allowedOnComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
869
859
|
badgeIconUrl: z.ZodOptional<z.ZodString>;
|
870
860
|
connectorType: z.ZodString;
|
871
|
-
path: z.ZodString;
|
872
861
|
url: z.ZodString;
|
873
862
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
874
863
|
key: z.ZodString;
|
@@ -937,8 +926,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
937
926
|
}>>;
|
938
927
|
uiBadgeText: z.ZodOptional<z.ZodString>;
|
939
928
|
variants: z.ZodOptional<z.ZodObject<{
|
940
|
-
unpublished: z.ZodOptional<z.
|
941
|
-
baseUrl: z.ZodString;
|
929
|
+
unpublished: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
942
930
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
943
931
|
key: z.ZodString;
|
944
932
|
value: z.ZodString;
|
@@ -987,10 +975,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
987
975
|
order?: number | undefined;
|
988
976
|
source?: string | undefined;
|
989
977
|
}>>>;
|
990
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
991
|
-
customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
992
978
|
}, "strip", z.ZodTypeAny, {
|
993
|
-
baseUrl: string;
|
994
979
|
headers?: {
|
995
980
|
key: string;
|
996
981
|
value: string;
|
@@ -1009,10 +994,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1009
994
|
order?: number | undefined;
|
1010
995
|
source?: string | undefined;
|
1011
996
|
}> | undefined;
|
1012
|
-
custom?: Record<string, unknown> | undefined;
|
1013
|
-
customPublic?: Record<string, unknown> | undefined;
|
1014
997
|
}, {
|
1015
|
-
baseUrl: string;
|
1016
998
|
headers?: {
|
1017
999
|
key: string;
|
1018
1000
|
value: string;
|
@@ -1031,12 +1013,15 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1031
1013
|
order?: number | undefined;
|
1032
1014
|
source?: string | undefined;
|
1033
1015
|
}> | undefined;
|
1034
|
-
|
1035
|
-
|
1016
|
+
}>, z.ZodObject<{
|
1017
|
+
url: z.ZodString;
|
1018
|
+
}, "strip", z.ZodTypeAny, {
|
1019
|
+
url: string;
|
1020
|
+
}, {
|
1021
|
+
url: string;
|
1036
1022
|
}>>>;
|
1037
1023
|
}, "strip", z.ZodTypeAny, {
|
1038
|
-
unpublished?: {
|
1039
|
-
baseUrl: string;
|
1024
|
+
unpublished?: ({
|
1040
1025
|
headers?: {
|
1041
1026
|
key: string;
|
1042
1027
|
value: string;
|
@@ -1055,12 +1040,11 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1055
1040
|
order?: number | undefined;
|
1056
1041
|
source?: string | undefined;
|
1057
1042
|
}> | undefined;
|
1058
|
-
|
1059
|
-
|
1060
|
-
} | undefined;
|
1043
|
+
} & {
|
1044
|
+
url: string;
|
1045
|
+
}) | undefined;
|
1061
1046
|
}, {
|
1062
|
-
unpublished?: {
|
1063
|
-
baseUrl: string;
|
1047
|
+
unpublished?: ({
|
1064
1048
|
headers?: {
|
1065
1049
|
key: string;
|
1066
1050
|
value: string;
|
@@ -1079,16 +1063,16 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1079
1063
|
order?: number | undefined;
|
1080
1064
|
source?: string | undefined;
|
1081
1065
|
}> | undefined;
|
1082
|
-
|
1083
|
-
|
1084
|
-
} | undefined;
|
1066
|
+
} & {
|
1067
|
+
url: string;
|
1068
|
+
}) | undefined;
|
1085
1069
|
}>>;
|
1086
1070
|
dataSourceVariant: z.ZodOptional<z.ZodEnum<["unpublished"]>>;
|
1087
1071
|
}, "displayName" | "variables" | "id" | "allowedOnComponents" | "badgeIconUrl" | "purgeKey" | "edgehancer">, "strip", z.ZodTypeAny, {
|
1088
|
-
path: string;
|
1089
|
-
connectorType: string;
|
1090
1072
|
url: string;
|
1073
|
+
connectorType: string;
|
1091
1074
|
method: "GET" | "POST" | "HEAD";
|
1075
|
+
custom?: Record<string, unknown> | undefined;
|
1092
1076
|
headers?: {
|
1093
1077
|
key: string;
|
1094
1078
|
value: string;
|
@@ -1099,16 +1083,14 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1099
1083
|
value: string;
|
1100
1084
|
omitIfEmpty?: boolean | undefined;
|
1101
1085
|
}[] | undefined;
|
1102
|
-
custom?: Record<string, unknown> | undefined;
|
1103
|
-
customPublic?: Record<string, unknown> | undefined;
|
1104
1086
|
archetype?: string | undefined;
|
1105
1087
|
body?: string | undefined;
|
1088
|
+
customPublic?: Record<string, unknown> | undefined;
|
1106
1089
|
ttl?: number | undefined;
|
1107
1090
|
localeMapping?: Record<string, string> | undefined;
|
1108
1091
|
uiBadgeText?: string | undefined;
|
1109
1092
|
variants?: {
|
1110
|
-
unpublished?: {
|
1111
|
-
baseUrl: string;
|
1093
|
+
unpublished?: ({
|
1112
1094
|
headers?: {
|
1113
1095
|
key: string;
|
1114
1096
|
value: string;
|
@@ -1127,16 +1109,16 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1127
1109
|
order?: number | undefined;
|
1128
1110
|
source?: string | undefined;
|
1129
1111
|
}> | undefined;
|
1130
|
-
|
1131
|
-
|
1132
|
-
} | undefined;
|
1112
|
+
} & {
|
1113
|
+
url: string;
|
1114
|
+
}) | undefined;
|
1133
1115
|
} | undefined;
|
1134
1116
|
dataSourceVariant?: "unpublished" | undefined;
|
1135
1117
|
}, {
|
1136
|
-
path: string;
|
1137
|
-
connectorType: string;
|
1138
1118
|
url: string;
|
1119
|
+
connectorType: string;
|
1139
1120
|
method: "GET" | "POST" | "HEAD";
|
1121
|
+
custom?: Record<string, unknown> | undefined;
|
1140
1122
|
headers?: {
|
1141
1123
|
key: string;
|
1142
1124
|
value: string;
|
@@ -1147,16 +1129,14 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1147
1129
|
value: string;
|
1148
1130
|
omitIfEmpty?: boolean | undefined;
|
1149
1131
|
}[] | undefined;
|
1150
|
-
custom?: Record<string, unknown> | undefined;
|
1151
|
-
customPublic?: Record<string, unknown> | undefined;
|
1152
1132
|
archetype?: string | undefined;
|
1153
1133
|
body?: string | undefined;
|
1134
|
+
customPublic?: Record<string, unknown> | undefined;
|
1154
1135
|
ttl?: number | undefined;
|
1155
1136
|
localeMapping?: Record<string, string> | undefined;
|
1156
1137
|
uiBadgeText?: string | undefined;
|
1157
1138
|
variants?: {
|
1158
|
-
unpublished?: {
|
1159
|
-
baseUrl: string;
|
1139
|
+
unpublished?: ({
|
1160
1140
|
headers?: {
|
1161
1141
|
key: string;
|
1162
1142
|
value: string;
|
@@ -1175,18 +1155,18 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1175
1155
|
order?: number | undefined;
|
1176
1156
|
source?: string | undefined;
|
1177
1157
|
}> | undefined;
|
1178
|
-
|
1179
|
-
|
1180
|
-
} | undefined;
|
1158
|
+
} & {
|
1159
|
+
url: string;
|
1160
|
+
}) | undefined;
|
1181
1161
|
} | undefined;
|
1182
1162
|
dataSourceVariant?: "unpublished" | undefined;
|
1183
1163
|
}>;
|
1184
1164
|
}, "strict", z.ZodTypeAny, {
|
1185
1165
|
dataResource: {
|
1186
|
-
path: string;
|
1187
|
-
connectorType: string;
|
1188
1166
|
url: string;
|
1167
|
+
connectorType: string;
|
1189
1168
|
method: "GET" | "POST" | "HEAD";
|
1169
|
+
custom?: Record<string, unknown> | undefined;
|
1190
1170
|
headers?: {
|
1191
1171
|
key: string;
|
1192
1172
|
value: string;
|
@@ -1197,16 +1177,14 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1197
1177
|
value: string;
|
1198
1178
|
omitIfEmpty?: boolean | undefined;
|
1199
1179
|
}[] | undefined;
|
1200
|
-
custom?: Record<string, unknown> | undefined;
|
1201
|
-
customPublic?: Record<string, unknown> | undefined;
|
1202
1180
|
archetype?: string | undefined;
|
1203
1181
|
body?: string | undefined;
|
1182
|
+
customPublic?: Record<string, unknown> | undefined;
|
1204
1183
|
ttl?: number | undefined;
|
1205
1184
|
localeMapping?: Record<string, string> | undefined;
|
1206
1185
|
uiBadgeText?: string | undefined;
|
1207
1186
|
variants?: {
|
1208
|
-
unpublished?: {
|
1209
|
-
baseUrl: string;
|
1187
|
+
unpublished?: ({
|
1210
1188
|
headers?: {
|
1211
1189
|
key: string;
|
1212
1190
|
value: string;
|
@@ -1225,9 +1203,9 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1225
1203
|
order?: number | undefined;
|
1226
1204
|
source?: string | undefined;
|
1227
1205
|
}> | undefined;
|
1228
|
-
|
1229
|
-
|
1230
|
-
} | undefined;
|
1206
|
+
} & {
|
1207
|
+
url: string;
|
1208
|
+
}) | undefined;
|
1231
1209
|
} | undefined;
|
1232
1210
|
dataSourceVariant?: "unpublished" | undefined;
|
1233
1211
|
};
|
@@ -1236,10 +1214,10 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1236
1214
|
infos?: string[] | undefined;
|
1237
1215
|
}, {
|
1238
1216
|
dataResource: {
|
1239
|
-
path: string;
|
1240
|
-
connectorType: string;
|
1241
1217
|
url: string;
|
1218
|
+
connectorType: string;
|
1242
1219
|
method: "GET" | "POST" | "HEAD";
|
1220
|
+
custom?: Record<string, unknown> | undefined;
|
1243
1221
|
headers?: {
|
1244
1222
|
key: string;
|
1245
1223
|
value: string;
|
@@ -1250,16 +1228,14 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1250
1228
|
value: string;
|
1251
1229
|
omitIfEmpty?: boolean | undefined;
|
1252
1230
|
}[] | undefined;
|
1253
|
-
custom?: Record<string, unknown> | undefined;
|
1254
|
-
customPublic?: Record<string, unknown> | undefined;
|
1255
1231
|
archetype?: string | undefined;
|
1256
1232
|
body?: string | undefined;
|
1233
|
+
customPublic?: Record<string, unknown> | undefined;
|
1257
1234
|
ttl?: number | undefined;
|
1258
1235
|
localeMapping?: Record<string, string> | undefined;
|
1259
1236
|
uiBadgeText?: string | undefined;
|
1260
1237
|
variants?: {
|
1261
|
-
unpublished?: {
|
1262
|
-
baseUrl: string;
|
1238
|
+
unpublished?: ({
|
1263
1239
|
headers?: {
|
1264
1240
|
key: string;
|
1265
1241
|
value: string;
|
@@ -1278,9 +1254,9 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
|
|
1278
1254
|
order?: number | undefined;
|
1279
1255
|
source?: string | undefined;
|
1280
1256
|
}> | undefined;
|
1281
|
-
|
1282
|
-
|
1283
|
-
} | undefined;
|
1257
|
+
} & {
|
1258
|
+
url: string;
|
1259
|
+
}) | undefined;
|
1284
1260
|
} | undefined;
|
1285
1261
|
dataSourceVariant?: "unpublished" | undefined;
|
1286
1262
|
};
|
@@ -1300,7 +1276,6 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1300
1276
|
allowedOnComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1301
1277
|
badgeIconUrl: z.ZodOptional<z.ZodString>;
|
1302
1278
|
connectorType: z.ZodString;
|
1303
|
-
path: z.ZodString;
|
1304
1279
|
url: z.ZodString;
|
1305
1280
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1306
1281
|
key: z.ZodString;
|
@@ -1369,8 +1344,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1369
1344
|
}>>;
|
1370
1345
|
uiBadgeText: z.ZodOptional<z.ZodString>;
|
1371
1346
|
variants: z.ZodOptional<z.ZodObject<{
|
1372
|
-
unpublished: z.ZodOptional<z.
|
1373
|
-
baseUrl: z.ZodString;
|
1347
|
+
unpublished: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
1374
1348
|
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1375
1349
|
key: z.ZodString;
|
1376
1350
|
value: z.ZodString;
|
@@ -1419,10 +1393,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1419
1393
|
order?: number | undefined;
|
1420
1394
|
source?: string | undefined;
|
1421
1395
|
}>>>;
|
1422
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1423
|
-
customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
1424
1396
|
}, "strip", z.ZodTypeAny, {
|
1425
|
-
baseUrl: string;
|
1426
1397
|
headers?: {
|
1427
1398
|
key: string;
|
1428
1399
|
value: string;
|
@@ -1441,10 +1412,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1441
1412
|
order?: number | undefined;
|
1442
1413
|
source?: string | undefined;
|
1443
1414
|
}> | undefined;
|
1444
|
-
custom?: Record<string, unknown> | undefined;
|
1445
|
-
customPublic?: Record<string, unknown> | undefined;
|
1446
1415
|
}, {
|
1447
|
-
baseUrl: string;
|
1448
1416
|
headers?: {
|
1449
1417
|
key: string;
|
1450
1418
|
value: string;
|
@@ -1463,12 +1431,15 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1463
1431
|
order?: number | undefined;
|
1464
1432
|
source?: string | undefined;
|
1465
1433
|
}> | undefined;
|
1466
|
-
|
1467
|
-
|
1434
|
+
}>, z.ZodObject<{
|
1435
|
+
url: z.ZodString;
|
1436
|
+
}, "strip", z.ZodTypeAny, {
|
1437
|
+
url: string;
|
1438
|
+
}, {
|
1439
|
+
url: string;
|
1468
1440
|
}>>>;
|
1469
1441
|
}, "strip", z.ZodTypeAny, {
|
1470
|
-
unpublished?: {
|
1471
|
-
baseUrl: string;
|
1442
|
+
unpublished?: ({
|
1472
1443
|
headers?: {
|
1473
1444
|
key: string;
|
1474
1445
|
value: string;
|
@@ -1487,12 +1458,11 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1487
1458
|
order?: number | undefined;
|
1488
1459
|
source?: string | undefined;
|
1489
1460
|
}> | undefined;
|
1490
|
-
|
1491
|
-
|
1492
|
-
} | undefined;
|
1461
|
+
} & {
|
1462
|
+
url: string;
|
1463
|
+
}) | undefined;
|
1493
1464
|
}, {
|
1494
|
-
unpublished?: {
|
1495
|
-
baseUrl: string;
|
1465
|
+
unpublished?: ({
|
1496
1466
|
headers?: {
|
1497
1467
|
key: string;
|
1498
1468
|
value: string;
|
@@ -1511,16 +1481,16 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1511
1481
|
order?: number | undefined;
|
1512
1482
|
source?: string | undefined;
|
1513
1483
|
}> | undefined;
|
1514
|
-
|
1515
|
-
|
1516
|
-
} | undefined;
|
1484
|
+
} & {
|
1485
|
+
url: string;
|
1486
|
+
}) | undefined;
|
1517
1487
|
}>>;
|
1518
1488
|
dataSourceVariant: z.ZodOptional<z.ZodEnum<["unpublished"]>>;
|
1519
1489
|
}, "displayName" | "variables" | "id" | "allowedOnComponents" | "badgeIconUrl" | "purgeKey" | "edgehancer">, "strip", z.ZodTypeAny, {
|
1520
|
-
path: string;
|
1521
|
-
connectorType: string;
|
1522
1490
|
url: string;
|
1491
|
+
connectorType: string;
|
1523
1492
|
method: "GET" | "POST" | "HEAD";
|
1493
|
+
custom?: Record<string, unknown> | undefined;
|
1524
1494
|
headers?: {
|
1525
1495
|
key: string;
|
1526
1496
|
value: string;
|
@@ -1531,16 +1501,14 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1531
1501
|
value: string;
|
1532
1502
|
omitIfEmpty?: boolean | undefined;
|
1533
1503
|
}[] | undefined;
|
1534
|
-
custom?: Record<string, unknown> | undefined;
|
1535
|
-
customPublic?: Record<string, unknown> | undefined;
|
1536
1504
|
archetype?: string | undefined;
|
1537
1505
|
body?: string | undefined;
|
1506
|
+
customPublic?: Record<string, unknown> | undefined;
|
1538
1507
|
ttl?: number | undefined;
|
1539
1508
|
localeMapping?: Record<string, string> | undefined;
|
1540
1509
|
uiBadgeText?: string | undefined;
|
1541
1510
|
variants?: {
|
1542
|
-
unpublished?: {
|
1543
|
-
baseUrl: string;
|
1511
|
+
unpublished?: ({
|
1544
1512
|
headers?: {
|
1545
1513
|
key: string;
|
1546
1514
|
value: string;
|
@@ -1559,16 +1527,16 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1559
1527
|
order?: number | undefined;
|
1560
1528
|
source?: string | undefined;
|
1561
1529
|
}> | undefined;
|
1562
|
-
|
1563
|
-
|
1564
|
-
} | undefined;
|
1530
|
+
} & {
|
1531
|
+
url: string;
|
1532
|
+
}) | undefined;
|
1565
1533
|
} | undefined;
|
1566
1534
|
dataSourceVariant?: "unpublished" | undefined;
|
1567
1535
|
}, {
|
1568
|
-
path: string;
|
1569
|
-
connectorType: string;
|
1570
1536
|
url: string;
|
1537
|
+
connectorType: string;
|
1571
1538
|
method: "GET" | "POST" | "HEAD";
|
1539
|
+
custom?: Record<string, unknown> | undefined;
|
1572
1540
|
headers?: {
|
1573
1541
|
key: string;
|
1574
1542
|
value: string;
|
@@ -1579,16 +1547,14 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1579
1547
|
value: string;
|
1580
1548
|
omitIfEmpty?: boolean | undefined;
|
1581
1549
|
}[] | undefined;
|
1582
|
-
custom?: Record<string, unknown> | undefined;
|
1583
|
-
customPublic?: Record<string, unknown> | undefined;
|
1584
1550
|
archetype?: string | undefined;
|
1585
1551
|
body?: string | undefined;
|
1552
|
+
customPublic?: Record<string, unknown> | undefined;
|
1586
1553
|
ttl?: number | undefined;
|
1587
1554
|
localeMapping?: Record<string, string> | undefined;
|
1588
1555
|
uiBadgeText?: string | undefined;
|
1589
1556
|
variants?: {
|
1590
|
-
unpublished?: {
|
1591
|
-
baseUrl: string;
|
1557
|
+
unpublished?: ({
|
1592
1558
|
headers?: {
|
1593
1559
|
key: string;
|
1594
1560
|
value: string;
|
@@ -1607,18 +1573,18 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1607
1573
|
order?: number | undefined;
|
1608
1574
|
source?: string | undefined;
|
1609
1575
|
}> | undefined;
|
1610
|
-
|
1611
|
-
|
1612
|
-
} | undefined;
|
1576
|
+
} & {
|
1577
|
+
url: string;
|
1578
|
+
}) | undefined;
|
1613
1579
|
} | undefined;
|
1614
1580
|
dataSourceVariant?: "unpublished" | undefined;
|
1615
1581
|
}>;
|
1616
1582
|
}, "strict", z.ZodTypeAny, {
|
1617
1583
|
dataResource: {
|
1618
|
-
path: string;
|
1619
|
-
connectorType: string;
|
1620
1584
|
url: string;
|
1585
|
+
connectorType: string;
|
1621
1586
|
method: "GET" | "POST" | "HEAD";
|
1587
|
+
custom?: Record<string, unknown> | undefined;
|
1622
1588
|
headers?: {
|
1623
1589
|
key: string;
|
1624
1590
|
value: string;
|
@@ -1629,16 +1595,14 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1629
1595
|
value: string;
|
1630
1596
|
omitIfEmpty?: boolean | undefined;
|
1631
1597
|
}[] | undefined;
|
1632
|
-
custom?: Record<string, unknown> | undefined;
|
1633
|
-
customPublic?: Record<string, unknown> | undefined;
|
1634
1598
|
archetype?: string | undefined;
|
1635
1599
|
body?: string | undefined;
|
1600
|
+
customPublic?: Record<string, unknown> | undefined;
|
1636
1601
|
ttl?: number | undefined;
|
1637
1602
|
localeMapping?: Record<string, string> | undefined;
|
1638
1603
|
uiBadgeText?: string | undefined;
|
1639
1604
|
variants?: {
|
1640
|
-
unpublished?: {
|
1641
|
-
baseUrl: string;
|
1605
|
+
unpublished?: ({
|
1642
1606
|
headers?: {
|
1643
1607
|
key: string;
|
1644
1608
|
value: string;
|
@@ -1657,9 +1621,9 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1657
1621
|
order?: number | undefined;
|
1658
1622
|
source?: string | undefined;
|
1659
1623
|
}> | undefined;
|
1660
|
-
|
1661
|
-
|
1662
|
-
} | undefined;
|
1624
|
+
} & {
|
1625
|
+
url: string;
|
1626
|
+
}) | undefined;
|
1663
1627
|
} | undefined;
|
1664
1628
|
dataSourceVariant?: "unpublished" | undefined;
|
1665
1629
|
};
|
@@ -1668,10 +1632,10 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1668
1632
|
infos?: string[] | undefined;
|
1669
1633
|
}, {
|
1670
1634
|
dataResource: {
|
1671
|
-
path: string;
|
1672
|
-
connectorType: string;
|
1673
1635
|
url: string;
|
1636
|
+
connectorType: string;
|
1674
1637
|
method: "GET" | "POST" | "HEAD";
|
1638
|
+
custom?: Record<string, unknown> | undefined;
|
1675
1639
|
headers?: {
|
1676
1640
|
key: string;
|
1677
1641
|
value: string;
|
@@ -1682,16 +1646,14 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1682
1646
|
value: string;
|
1683
1647
|
omitIfEmpty?: boolean | undefined;
|
1684
1648
|
}[] | undefined;
|
1685
|
-
custom?: Record<string, unknown> | undefined;
|
1686
|
-
customPublic?: Record<string, unknown> | undefined;
|
1687
1649
|
archetype?: string | undefined;
|
1688
1650
|
body?: string | undefined;
|
1651
|
+
customPublic?: Record<string, unknown> | undefined;
|
1689
1652
|
ttl?: number | undefined;
|
1690
1653
|
localeMapping?: Record<string, string> | undefined;
|
1691
1654
|
uiBadgeText?: string | undefined;
|
1692
1655
|
variants?: {
|
1693
|
-
unpublished?: {
|
1694
|
-
baseUrl: string;
|
1656
|
+
unpublished?: ({
|
1695
1657
|
headers?: {
|
1696
1658
|
key: string;
|
1697
1659
|
value: string;
|
@@ -1710,9 +1672,9 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1710
1672
|
order?: number | undefined;
|
1711
1673
|
source?: string | undefined;
|
1712
1674
|
}> | undefined;
|
1713
|
-
|
1714
|
-
|
1715
|
-
} | undefined;
|
1675
|
+
} & {
|
1676
|
+
url: string;
|
1677
|
+
}) | undefined;
|
1716
1678
|
} | undefined;
|
1717
1679
|
dataSourceVariant?: "unpublished" | undefined;
|
1718
1680
|
};
|
@@ -1723,10 +1685,10 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1723
1685
|
}, "strict", z.ZodTypeAny, {
|
1724
1686
|
dataResources: {
|
1725
1687
|
dataResource: {
|
1726
|
-
path: string;
|
1727
|
-
connectorType: string;
|
1728
1688
|
url: string;
|
1689
|
+
connectorType: string;
|
1729
1690
|
method: "GET" | "POST" | "HEAD";
|
1691
|
+
custom?: Record<string, unknown> | undefined;
|
1730
1692
|
headers?: {
|
1731
1693
|
key: string;
|
1732
1694
|
value: string;
|
@@ -1737,16 +1699,14 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1737
1699
|
value: string;
|
1738
1700
|
omitIfEmpty?: boolean | undefined;
|
1739
1701
|
}[] | undefined;
|
1740
|
-
custom?: Record<string, unknown> | undefined;
|
1741
|
-
customPublic?: Record<string, unknown> | undefined;
|
1742
1702
|
archetype?: string | undefined;
|
1743
1703
|
body?: string | undefined;
|
1704
|
+
customPublic?: Record<string, unknown> | undefined;
|
1744
1705
|
ttl?: number | undefined;
|
1745
1706
|
localeMapping?: Record<string, string> | undefined;
|
1746
1707
|
uiBadgeText?: string | undefined;
|
1747
1708
|
variants?: {
|
1748
|
-
unpublished?: {
|
1749
|
-
baseUrl: string;
|
1709
|
+
unpublished?: ({
|
1750
1710
|
headers?: {
|
1751
1711
|
key: string;
|
1752
1712
|
value: string;
|
@@ -1765,9 +1725,9 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1765
1725
|
order?: number | undefined;
|
1766
1726
|
source?: string | undefined;
|
1767
1727
|
}> | undefined;
|
1768
|
-
|
1769
|
-
|
1770
|
-
} | undefined;
|
1728
|
+
} & {
|
1729
|
+
url: string;
|
1730
|
+
}) | undefined;
|
1771
1731
|
} | undefined;
|
1772
1732
|
dataSourceVariant?: "unpublished" | undefined;
|
1773
1733
|
};
|
@@ -1778,10 +1738,10 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1778
1738
|
}, {
|
1779
1739
|
dataResources: {
|
1780
1740
|
dataResource: {
|
1781
|
-
path: string;
|
1782
|
-
connectorType: string;
|
1783
1741
|
url: string;
|
1742
|
+
connectorType: string;
|
1784
1743
|
method: "GET" | "POST" | "HEAD";
|
1744
|
+
custom?: Record<string, unknown> | undefined;
|
1785
1745
|
headers?: {
|
1786
1746
|
key: string;
|
1787
1747
|
value: string;
|
@@ -1792,16 +1752,14 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1792
1752
|
value: string;
|
1793
1753
|
omitIfEmpty?: boolean | undefined;
|
1794
1754
|
}[] | undefined;
|
1795
|
-
custom?: Record<string, unknown> | undefined;
|
1796
|
-
customPublic?: Record<string, unknown> | undefined;
|
1797
1755
|
archetype?: string | undefined;
|
1798
1756
|
body?: string | undefined;
|
1757
|
+
customPublic?: Record<string, unknown> | undefined;
|
1799
1758
|
ttl?: number | undefined;
|
1800
1759
|
localeMapping?: Record<string, string> | undefined;
|
1801
1760
|
uiBadgeText?: string | undefined;
|
1802
1761
|
variants?: {
|
1803
|
-
unpublished?: {
|
1804
|
-
baseUrl: string;
|
1762
|
+
unpublished?: ({
|
1805
1763
|
headers?: {
|
1806
1764
|
key: string;
|
1807
1765
|
value: string;
|
@@ -1820,9 +1778,9 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
|
|
1820
1778
|
order?: number | undefined;
|
1821
1779
|
source?: string | undefined;
|
1822
1780
|
}> | undefined;
|
1823
|
-
|
1824
|
-
|
1825
|
-
} | undefined;
|
1781
|
+
} & {
|
1782
|
+
url: string;
|
1783
|
+
}) | undefined;
|
1826
1784
|
} | undefined;
|
1827
1785
|
dataSourceVariant?: "unpublished" | undefined;
|
1828
1786
|
};
|