@uniformdev/mesh-edgehancer-sdk 19.125.2-alpha.3 → 19.127.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/index.d.mts CHANGED
@@ -82,6 +82,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
82
82
  source?: string | undefined;
83
83
  }>>>;
84
84
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
85
+ customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
85
86
  ttl: z.ZodOptional<z.ZodNumber>;
86
87
  purgeKey: z.ZodOptional<z.ZodString>;
87
88
  localeMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -125,6 +126,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
125
126
  source?: string | undefined;
126
127
  }> | undefined;
127
128
  custom?: Record<string, unknown> | undefined;
129
+ customPublic?: Record<string, unknown> | undefined;
128
130
  ttl?: number | undefined;
129
131
  purgeKey?: string | undefined;
130
132
  localeMapping?: Record<string, string> | undefined;
@@ -162,6 +164,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
162
164
  source?: string | undefined;
163
165
  }> | undefined;
164
166
  custom?: Record<string, unknown> | undefined;
167
+ customPublic?: Record<string, unknown> | undefined;
165
168
  ttl?: number | undefined;
166
169
  purgeKey?: string | undefined;
167
170
  localeMapping?: Record<string, string> | undefined;
@@ -176,7 +179,7 @@ type CustomEdgehancerDefinition = z.infer<typeof customEdgehancerDefinitionSchem
176
179
  /**
177
180
  * The result of merging a data source with a data type into a single request object
178
181
  */
179
- type MergedDataType = Omit<DataType, 'path' | 'dataSourceId'> & Pick<DataSource, 'connectorType' | 'localeMapping'> & {
182
+ type MergedDataType = Omit<DataType, 'path' | 'dataSourceId'> & Pick<DataSource, 'connectorType' | 'localeMapping' | 'customPublic'> & {
180
183
  /** Merged base URL from the data source with the relative URL from the data type */
181
184
  url: string;
182
185
  /**
@@ -351,6 +354,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
351
354
  source?: string | undefined;
352
355
  }>>>;
353
356
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
357
+ customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
354
358
  ttl: z.ZodOptional<z.ZodNumber>;
355
359
  purgeKey: z.ZodOptional<z.ZodString>;
356
360
  localeMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -382,6 +386,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
382
386
  }[] | undefined;
383
387
  body?: string | undefined;
384
388
  custom?: Record<string, unknown> | undefined;
389
+ customPublic?: Record<string, unknown> | undefined;
385
390
  ttl?: number | undefined;
386
391
  localeMapping?: Record<string, string> | undefined;
387
392
  uiBadgeText?: string | undefined;
@@ -402,6 +407,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
402
407
  }[] | undefined;
403
408
  body?: string | undefined;
404
409
  custom?: Record<string, unknown> | undefined;
410
+ customPublic?: Record<string, unknown> | undefined;
405
411
  ttl?: number | undefined;
406
412
  localeMapping?: Record<string, string> | undefined;
407
413
  uiBadgeText?: string | undefined;
@@ -483,6 +489,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
483
489
  source?: string | undefined;
484
490
  }>>>;
485
491
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
492
+ customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
486
493
  ttl: z.ZodOptional<z.ZodNumber>;
487
494
  purgeKey: z.ZodOptional<z.ZodString>;
488
495
  localeMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -514,6 +521,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
514
521
  }[] | undefined;
515
522
  body?: string | undefined;
516
523
  custom?: Record<string, unknown> | undefined;
524
+ customPublic?: Record<string, unknown> | undefined;
517
525
  ttl?: number | undefined;
518
526
  localeMapping?: Record<string, string> | undefined;
519
527
  uiBadgeText?: string | undefined;
@@ -534,6 +542,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
534
542
  }[] | undefined;
535
543
  body?: string | undefined;
536
544
  custom?: Record<string, unknown> | undefined;
545
+ customPublic?: Record<string, unknown> | undefined;
537
546
  ttl?: number | undefined;
538
547
  localeMapping?: Record<string, string> | undefined;
539
548
  uiBadgeText?: string | undefined;
@@ -556,6 +565,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
556
565
  }[] | undefined;
557
566
  body?: string | undefined;
558
567
  custom?: Record<string, unknown> | undefined;
568
+ customPublic?: Record<string, unknown> | undefined;
559
569
  ttl?: number | undefined;
560
570
  localeMapping?: Record<string, string> | undefined;
561
571
  uiBadgeText?: string | undefined;
@@ -580,6 +590,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
580
590
  }[] | undefined;
581
591
  body?: string | undefined;
582
592
  custom?: Record<string, unknown> | undefined;
593
+ customPublic?: Record<string, unknown> | undefined;
583
594
  ttl?: number | undefined;
584
595
  localeMapping?: Record<string, string> | undefined;
585
596
  uiBadgeText?: string | undefined;
@@ -650,6 +661,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
650
661
  source?: string | undefined;
651
662
  }>>>;
652
663
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
664
+ customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
653
665
  ttl: z.ZodOptional<z.ZodNumber>;
654
666
  purgeKey: z.ZodOptional<z.ZodString>;
655
667
  localeMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -681,6 +693,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
681
693
  }[] | undefined;
682
694
  body?: string | undefined;
683
695
  custom?: Record<string, unknown> | undefined;
696
+ customPublic?: Record<string, unknown> | undefined;
684
697
  ttl?: number | undefined;
685
698
  localeMapping?: Record<string, string> | undefined;
686
699
  uiBadgeText?: string | undefined;
@@ -701,6 +714,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
701
714
  }[] | undefined;
702
715
  body?: string | undefined;
703
716
  custom?: Record<string, unknown> | undefined;
717
+ customPublic?: Record<string, unknown> | undefined;
704
718
  ttl?: number | undefined;
705
719
  localeMapping?: Record<string, string> | undefined;
706
720
  uiBadgeText?: string | undefined;
@@ -723,6 +737,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
723
737
  }[] | undefined;
724
738
  body?: string | undefined;
725
739
  custom?: Record<string, unknown> | undefined;
740
+ customPublic?: Record<string, unknown> | undefined;
726
741
  ttl?: number | undefined;
727
742
  localeMapping?: Record<string, string> | undefined;
728
743
  uiBadgeText?: string | undefined;
@@ -747,6 +762,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
747
762
  }[] | undefined;
748
763
  body?: string | undefined;
749
764
  custom?: Record<string, unknown> | undefined;
765
+ customPublic?: Record<string, unknown> | undefined;
750
766
  ttl?: number | undefined;
751
767
  localeMapping?: Record<string, string> | undefined;
752
768
  uiBadgeText?: string | undefined;
@@ -773,6 +789,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
773
789
  }[] | undefined;
774
790
  body?: string | undefined;
775
791
  custom?: Record<string, unknown> | undefined;
792
+ customPublic?: Record<string, unknown> | undefined;
776
793
  ttl?: number | undefined;
777
794
  localeMapping?: Record<string, string> | undefined;
778
795
  uiBadgeText?: string | undefined;
@@ -799,6 +816,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
799
816
  }[] | undefined;
800
817
  body?: string | undefined;
801
818
  custom?: Record<string, unknown> | undefined;
819
+ customPublic?: Record<string, unknown> | undefined;
802
820
  ttl?: number | undefined;
803
821
  localeMapping?: Record<string, string> | undefined;
804
822
  uiBadgeText?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -82,6 +82,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
82
82
  source?: string | undefined;
83
83
  }>>>;
84
84
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
85
+ customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
85
86
  ttl: z.ZodOptional<z.ZodNumber>;
86
87
  purgeKey: z.ZodOptional<z.ZodString>;
87
88
  localeMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -125,6 +126,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
125
126
  source?: string | undefined;
126
127
  }> | undefined;
127
128
  custom?: Record<string, unknown> | undefined;
129
+ customPublic?: Record<string, unknown> | undefined;
128
130
  ttl?: number | undefined;
129
131
  purgeKey?: string | undefined;
130
132
  localeMapping?: Record<string, string> | undefined;
@@ -162,6 +164,7 @@ declare const mergedDataTypeSchema: z.ZodObject<{
162
164
  source?: string | undefined;
163
165
  }> | undefined;
164
166
  custom?: Record<string, unknown> | undefined;
167
+ customPublic?: Record<string, unknown> | undefined;
165
168
  ttl?: number | undefined;
166
169
  purgeKey?: string | undefined;
167
170
  localeMapping?: Record<string, string> | undefined;
@@ -176,7 +179,7 @@ type CustomEdgehancerDefinition = z.infer<typeof customEdgehancerDefinitionSchem
176
179
  /**
177
180
  * The result of merging a data source with a data type into a single request object
178
181
  */
179
- type MergedDataType = Omit<DataType, 'path' | 'dataSourceId'> & Pick<DataSource, 'connectorType' | 'localeMapping'> & {
182
+ type MergedDataType = Omit<DataType, 'path' | 'dataSourceId'> & Pick<DataSource, 'connectorType' | 'localeMapping' | 'customPublic'> & {
180
183
  /** Merged base URL from the data source with the relative URL from the data type */
181
184
  url: string;
182
185
  /**
@@ -351,6 +354,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
351
354
  source?: string | undefined;
352
355
  }>>>;
353
356
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
357
+ customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
354
358
  ttl: z.ZodOptional<z.ZodNumber>;
355
359
  purgeKey: z.ZodOptional<z.ZodString>;
356
360
  localeMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -382,6 +386,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
382
386
  }[] | undefined;
383
387
  body?: string | undefined;
384
388
  custom?: Record<string, unknown> | undefined;
389
+ customPublic?: Record<string, unknown> | undefined;
385
390
  ttl?: number | undefined;
386
391
  localeMapping?: Record<string, string> | undefined;
387
392
  uiBadgeText?: string | undefined;
@@ -402,6 +407,7 @@ declare const edgehancerMergedDataTypeSchema: z.ZodObject<Omit<{
402
407
  }[] | undefined;
403
408
  body?: string | undefined;
404
409
  custom?: Record<string, unknown> | undefined;
410
+ customPublic?: Record<string, unknown> | undefined;
405
411
  ttl?: number | undefined;
406
412
  localeMapping?: Record<string, string> | undefined;
407
413
  uiBadgeText?: string | undefined;
@@ -483,6 +489,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
483
489
  source?: string | undefined;
484
490
  }>>>;
485
491
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
492
+ customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
486
493
  ttl: z.ZodOptional<z.ZodNumber>;
487
494
  purgeKey: z.ZodOptional<z.ZodString>;
488
495
  localeMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -514,6 +521,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
514
521
  }[] | undefined;
515
522
  body?: string | undefined;
516
523
  custom?: Record<string, unknown> | undefined;
524
+ customPublic?: Record<string, unknown> | undefined;
517
525
  ttl?: number | undefined;
518
526
  localeMapping?: Record<string, string> | undefined;
519
527
  uiBadgeText?: string | undefined;
@@ -534,6 +542,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
534
542
  }[] | undefined;
535
543
  body?: string | undefined;
536
544
  custom?: Record<string, unknown> | undefined;
545
+ customPublic?: Record<string, unknown> | undefined;
537
546
  ttl?: number | undefined;
538
547
  localeMapping?: Record<string, string> | undefined;
539
548
  uiBadgeText?: string | undefined;
@@ -556,6 +565,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
556
565
  }[] | undefined;
557
566
  body?: string | undefined;
558
567
  custom?: Record<string, unknown> | undefined;
568
+ customPublic?: Record<string, unknown> | undefined;
559
569
  ttl?: number | undefined;
560
570
  localeMapping?: Record<string, string> | undefined;
561
571
  uiBadgeText?: string | undefined;
@@ -580,6 +590,7 @@ declare const preRequestEdgehancerDataResourceResultSchema: z.ZodObject<{
580
590
  }[] | undefined;
581
591
  body?: string | undefined;
582
592
  custom?: Record<string, unknown> | undefined;
593
+ customPublic?: Record<string, unknown> | undefined;
583
594
  ttl?: number | undefined;
584
595
  localeMapping?: Record<string, string> | undefined;
585
596
  uiBadgeText?: string | undefined;
@@ -650,6 +661,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
650
661
  source?: string | undefined;
651
662
  }>>>;
652
663
  custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
664
+ customPublic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
653
665
  ttl: z.ZodOptional<z.ZodNumber>;
654
666
  purgeKey: z.ZodOptional<z.ZodString>;
655
667
  localeMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -681,6 +693,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
681
693
  }[] | undefined;
682
694
  body?: string | undefined;
683
695
  custom?: Record<string, unknown> | undefined;
696
+ customPublic?: Record<string, unknown> | undefined;
684
697
  ttl?: number | undefined;
685
698
  localeMapping?: Record<string, string> | undefined;
686
699
  uiBadgeText?: string | undefined;
@@ -701,6 +714,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
701
714
  }[] | undefined;
702
715
  body?: string | undefined;
703
716
  custom?: Record<string, unknown> | undefined;
717
+ customPublic?: Record<string, unknown> | undefined;
704
718
  ttl?: number | undefined;
705
719
  localeMapping?: Record<string, string> | undefined;
706
720
  uiBadgeText?: string | undefined;
@@ -723,6 +737,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
723
737
  }[] | undefined;
724
738
  body?: string | undefined;
725
739
  custom?: Record<string, unknown> | undefined;
740
+ customPublic?: Record<string, unknown> | undefined;
726
741
  ttl?: number | undefined;
727
742
  localeMapping?: Record<string, string> | undefined;
728
743
  uiBadgeText?: string | undefined;
@@ -747,6 +762,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
747
762
  }[] | undefined;
748
763
  body?: string | undefined;
749
764
  custom?: Record<string, unknown> | undefined;
765
+ customPublic?: Record<string, unknown> | undefined;
750
766
  ttl?: number | undefined;
751
767
  localeMapping?: Record<string, string> | undefined;
752
768
  uiBadgeText?: string | undefined;
@@ -773,6 +789,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
773
789
  }[] | undefined;
774
790
  body?: string | undefined;
775
791
  custom?: Record<string, unknown> | undefined;
792
+ customPublic?: Record<string, unknown> | undefined;
776
793
  ttl?: number | undefined;
777
794
  localeMapping?: Record<string, string> | undefined;
778
795
  uiBadgeText?: string | undefined;
@@ -799,6 +816,7 @@ declare const preRequestEdgehancerResultSchema: z.ZodObject<{
799
816
  }[] | undefined;
800
817
  body?: string | undefined;
801
818
  custom?: Record<string, unknown> | undefined;
819
+ customPublic?: Record<string, unknown> | undefined;
802
820
  ttl?: number | undefined;
803
821
  localeMapping?: Record<string, string> | undefined;
804
822
  uiBadgeText?: string | undefined;
package/dist/index.esm.js CHANGED
@@ -127,6 +127,7 @@ var mergedDataTypeSchema = z.object({
127
127
  method: z.enum(["GET", "POST", "HEAD"]),
128
128
  variables: z.record(variableDefinitionSchema).optional(),
129
129
  custom: z.record(z.unknown()).optional(),
130
+ customPublic: z.record(z.unknown()).optional(),
130
131
  ttl: z.number().optional(),
131
132
  purgeKey: z.string().optional(),
132
133
  localeMapping: z.record(z.string()).optional(),
package/dist/index.js CHANGED
@@ -165,6 +165,7 @@ var mergedDataTypeSchema = import_zod.z.object({
165
165
  method: import_zod.z.enum(["GET", "POST", "HEAD"]),
166
166
  variables: import_zod.z.record(variableDefinitionSchema).optional(),
167
167
  custom: import_zod.z.record(import_zod.z.unknown()).optional(),
168
+ customPublic: import_zod.z.record(import_zod.z.unknown()).optional(),
168
169
  ttl: import_zod.z.number().optional(),
169
170
  purgeKey: import_zod.z.string().optional(),
170
171
  localeMapping: import_zod.z.record(import_zod.z.string()).optional(),
package/dist/index.mjs CHANGED
@@ -127,6 +127,7 @@ var mergedDataTypeSchema = z.object({
127
127
  method: z.enum(["GET", "POST", "HEAD"]),
128
128
  variables: z.record(variableDefinitionSchema).optional(),
129
129
  custom: z.record(z.unknown()).optional(),
130
+ customPublic: z.record(z.unknown()).optional(),
130
131
  ttl: z.number().optional(),
131
132
  purgeKey: z.string().optional(),
132
133
  localeMapping: z.record(z.string()).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-edgehancer-sdk",
3
- "version": "19.125.2-alpha.3+6bb657551a",
3
+ "version": "19.127.0",
4
4
  "description": "Uniform Mesh Edgehancer SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -28,12 +28,12 @@
28
28
  "/dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@uniformdev/canvas": "19.125.2-alpha.3+6bb657551a",
31
+ "@uniformdev/canvas": "19.127.0",
32
32
  "tsafe": "1.6.5",
33
33
  "zod": "3.22.4"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "6bb657551ac6e37a7990deace389c581b94176fc"
38
+ "gitHead": "3757cfe081cf40d019cb9f65d0a26e2a4fbdb1f6"
39
39
  }