@supernova-studio/client 0.58.6 → 0.58.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/dist/index.d.mts +32 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/properties/property-definitions.ts +3 -0
package/dist/index.mjs
CHANGED
|
@@ -1481,6 +1481,7 @@ var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
|
|
|
1481
1481
|
var ElementPropertyTypeSchema = z35.enum(["Text", "Number", "Boolean", "Select", "Generic", "Link", "URL"]);
|
|
1482
1482
|
var ElementPropertyTargetType = z35.enum(["Token", "Component", "DocumentationPage"]);
|
|
1483
1483
|
var ElementPropertyLinkType = z35.enum(["FigmaComponent", "DocumentationPage"]);
|
|
1484
|
+
var ElementPropertyImmutableType = z35.enum(["Collection"]);
|
|
1484
1485
|
var CODE_NAME_REGEX = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
|
|
1485
1486
|
var ColorTokenInlineData = z35.object({
|
|
1486
1487
|
value: z35.string()
|
|
@@ -6788,7 +6789,9 @@ var DTOElementPropertyDefinition = z240.object({
|
|
|
6788
6789
|
targetElementType: ElementPropertyTargetType,
|
|
6789
6790
|
codeName: z240.string().regex(CODE_NAME_REGEX2),
|
|
6790
6791
|
options: nullishToOptional(z240.array(DTOElementPropertyDefinitionOption)),
|
|
6791
|
-
linkElementType: nullishToOptional(ElementPropertyLinkType)
|
|
6792
|
+
linkElementType: nullishToOptional(ElementPropertyLinkType),
|
|
6793
|
+
isImmutable: z240.boolean(),
|
|
6794
|
+
immutablePropertyType: ElementPropertyImmutableType.optional()
|
|
6792
6795
|
});
|
|
6793
6796
|
var DTOElementPropertyDefinitionListResponse = z240.object({
|
|
6794
6797
|
definitions: z240.array(DTOElementPropertyDefinition)
|