@contentful/experience-design-system-types 2.26.9-dev-build-f782da7.0 → 2.26.9-dev-build-883b90b.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.26.9-dev-build-f782da7.0",
3
+ "version": "2.26.9-dev-build-883b90b.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",
@@ -76,6 +76,12 @@ export declare const cdfV1JsonSchema: {
76
76
  readonly '$token.kind': {
77
77
  readonly type: "string";
78
78
  };
79
+ readonly '$token.allowed': {
80
+ readonly type: "array";
81
+ readonly items: {
82
+ readonly type: "string";
83
+ };
84
+ };
79
85
  };
80
86
  readonly additionalProperties: false;
81
87
  };
@@ -42,6 +42,7 @@ export const cdfV1JsonSchema = {
42
42
  $default: {},
43
43
  $values: { type: 'array', items: { type: 'string' } },
44
44
  '$token.kind': { type: 'string' },
45
+ '$token.allowed': { type: 'array', items: { type: 'string' } },
45
46
  },
46
47
  additionalProperties: false,
47
48
  },
@@ -21,6 +21,7 @@ export declare const CDFPropertySchema: z.ZodMiniObject<{
21
21
  $default: z.ZodMiniOptional<z.ZodMiniAny>;
22
22
  $values: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
23
23
  '$token.kind': z.ZodMiniOptional<z.ZodMiniString<string>>;
24
+ '$token.allowed': z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
24
25
  }, z.core.$strict>;
25
26
  export type CDFPropertyDefinition = z.infer<typeof CDFPropertySchema>;
26
27
  export declare const CDFSlotSchema: z.ZodMiniObject<{
@@ -54,6 +55,7 @@ export declare const CDFComponentSchema: z.ZodMiniObject<{
54
55
  $default: z.ZodMiniOptional<z.ZodMiniAny>;
55
56
  $values: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
56
57
  '$token.kind': z.ZodMiniOptional<z.ZodMiniString<string>>;
58
+ '$token.allowed': z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
57
59
  }, z.core.$strict>>;
58
60
  $slots: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
59
61
  $description: z.ZodMiniOptional<z.ZodMiniString<string>>;
@@ -8,6 +8,7 @@ export const CDFPropertySchema = z.strictObject({
8
8
  $default: z.optional(z.any()),
9
9
  $values: z.optional(z.array(z.string())),
10
10
  '$token.kind': z.optional(z.string()),
11
+ '$token.allowed': z.optional(z.array(z.string())),
11
12
  });
12
13
  export const CDFSlotSchema = z.strictObject({
13
14
  $description: z.optional(z.string()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.26.9-dev-build-f782da7.0",
3
+ "version": "2.26.9-dev-build-883b90b.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",