@ninetailed/experience.js-utils 7.18.5 → 7.18.7

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/index.cjs.js CHANGED
@@ -96,6 +96,10 @@ function isArray(item) {
96
96
  }
97
97
 
98
98
  const ExperienceSchema = zod.z.object({
99
+ /**
100
+ * The experience's ID from the Experience API's standpoint.
101
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
102
+ */
99
103
  id: zod.z.string(),
100
104
  /**
101
105
  * The name of the experience (Short Text)
package/index.esm.js CHANGED
@@ -92,6 +92,10 @@ function isArray(item) {
92
92
  }
93
93
 
94
94
  const ExperienceSchema = z.object({
95
+ /**
96
+ * The experience's ID from the Experience API's standpoint.
97
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
98
+ */
95
99
  id: z.string(),
96
100
  /**
97
101
  * The name of the experience (Short Text)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js-utils",
3
- "version": "7.18.5",
3
+ "version": "7.18.7",
4
4
  "description": "Ninetailed Experience.js Utils",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "sideEffects": false,
24
24
  "dependencies": {
25
- "@ninetailed/experience.js": "7.18.5",
26
- "@ninetailed/experience.js-shared": "7.18.5",
25
+ "@ninetailed/experience.js": "7.18.7",
26
+ "@ninetailed/experience.js-shared": "7.18.7",
27
27
  "zod": "3.23.0"
28
28
  }
29
29
  }
@@ -1,6 +1,10 @@
1
1
  import { Reference } from '@ninetailed/experience.js';
2
2
  import { z } from 'zod';
3
3
  export declare const ExperienceSchema: z.ZodObject<{
4
+ /**
5
+ * The experience's ID from the Experience API's standpoint.
6
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
7
+ */
4
8
  id: z.ZodString;
5
9
  /**
6
10
  * The name of the experience (Short Text)
@@ -308,6 +312,10 @@ export declare const Experience: {
308
312
  error?: undefined;
309
313
  };
310
314
  nonstrict: () => z.ZodObject<{
315
+ /**
316
+ * The experience's ID from the Experience API's standpoint.
317
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
318
+ */
311
319
  id: z.ZodString;
312
320
  /**
313
321
  * The name of the experience (Short Text)
@@ -489,6 +497,10 @@ export declare const Experience: {
489
497
  id: z.ZodString;
490
498
  }, z.ZodUnknown, "strip">[], unknown>>;
491
499
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
500
+ /**
501
+ * The experience's ID from the Experience API's standpoint.
502
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
503
+ */
492
504
  id: z.ZodString;
493
505
  /**
494
506
  * The name of the experience (Short Text)
@@ -670,6 +682,10 @@ export declare const Experience: {
670
682
  id: z.ZodString;
671
683
  }, z.ZodUnknown, "strip">[], unknown>>;
672
684
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
685
+ /**
686
+ * The experience's ID from the Experience API's standpoint.
687
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
688
+ */
673
689
  id: z.ZodString;
674
690
  /**
675
691
  * The name of the experience (Short Text)
@@ -852,6 +868,10 @@ export declare const Experience: {
852
868
  }, z.ZodUnknown, "strip">[], unknown>>;
853
869
  }, z.ZodTypeAny, "passthrough">>;
854
870
  augment: <Augmentation extends z.ZodRawShape>(augmentation: Augmentation) => z.ZodObject<z.objectUtil.extendShape<{
871
+ /**
872
+ * The experience's ID from the Experience API's standpoint.
873
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
874
+ */
855
875
  id: z.ZodString;
856
876
  /**
857
877
  * The name of the experience (Short Text)
@@ -1033,6 +1053,10 @@ export declare const Experience: {
1033
1053
  id: z.ZodString;
1034
1054
  }, z.ZodUnknown, "strip">[], unknown>>;
1035
1055
  }, Augmentation>, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<z.objectUtil.extendShape<{
1056
+ /**
1057
+ * The experience's ID from the Experience API's standpoint.
1058
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
1059
+ */
1036
1060
  id: z.ZodString;
1037
1061
  /**
1038
1062
  * The name of the experience (Short Text)
@@ -1214,6 +1238,10 @@ export declare const Experience: {
1214
1238
  id: z.ZodString;
1215
1239
  }, z.ZodUnknown, "strip">[], unknown>>;
1216
1240
  }, Augmentation>>> extends infer T_2 ? { [k in keyof T_2]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<z.objectUtil.extendShape<{
1241
+ /**
1242
+ * The experience's ID from the Experience API's standpoint.
1243
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
1244
+ */
1217
1245
  id: z.ZodString;
1218
1246
  /**
1219
1247
  * The name of the experience (Short Text)
@@ -1395,6 +1423,10 @@ export declare const Experience: {
1395
1423
  id: z.ZodString;
1396
1424
  }, z.ZodUnknown, "strip">[], unknown>>;
1397
1425
  }, Augmentation>>>[k]; } : never, z.baseObjectInputType<z.objectUtil.extendShape<{
1426
+ /**
1427
+ * The experience's ID from the Experience API's standpoint.
1428
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
1429
+ */
1398
1430
  id: z.ZodString;
1399
1431
  /**
1400
1432
  * The name of the experience (Short Text)
@@ -1576,6 +1608,10 @@ export declare const Experience: {
1576
1608
  id: z.ZodString;
1577
1609
  }, z.ZodUnknown, "strip">[], unknown>>;
1578
1610
  }, Augmentation>> extends infer T_3 ? { [k_1 in keyof T_3]: z.baseObjectInputType<z.objectUtil.extendShape<{
1611
+ /**
1612
+ * The experience's ID from the Experience API's standpoint.
1613
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
1614
+ */
1579
1615
  id: z.ZodString;
1580
1616
  /**
1581
1617
  * The name of the experience (Short Text)
@@ -1856,6 +1892,10 @@ export declare const Experience: {
1856
1892
  } | null | undefined;
1857
1893
  };
1858
1894
  _def: z.ZodObjectDef<{
1895
+ /**
1896
+ * The experience's ID from the Experience API's standpoint.
1897
+ * It maps to the `nt_experience_id` field on the Ninetailed Experience entry in Contentful.
1898
+ */
1859
1899
  id: z.ZodString;
1860
1900
  /**
1861
1901
  * The name of the experience (Short Text)