@supernova-studio/client 1.4.5 → 1.4.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 +426 -52
- package/dist/index.d.ts +426 -52
- package/dist/index.js +25 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -490,7 +490,7 @@ var PrimitiveValue = z17.number().or(z17.boolean()).or(z17.string());
|
|
|
490
490
|
var ArrayValue = z17.array(z17.string());
|
|
491
491
|
var ObjectValue = z17.record(z17.string());
|
|
492
492
|
var ExporterPropertyValue = PrimitiveValue.or(ArrayValue).or(ObjectValue);
|
|
493
|
-
var ExporterPropertyType = z17.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
|
|
493
|
+
var ExporterPropertyType = z17.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
|
|
494
494
|
var PropertyDefinitionBase = z17.object({
|
|
495
495
|
key: z17.string(),
|
|
496
496
|
title: z17.string(),
|
|
@@ -513,7 +513,8 @@ var ExporterPropertyDefinitionBoolean = PropertyDefinitionBase.extend({
|
|
|
513
513
|
});
|
|
514
514
|
var ExporterPropertyDefinitionString = PropertyDefinitionBase.extend({
|
|
515
515
|
type: z17.literal(ExporterPropertyType.Enum.String),
|
|
516
|
-
default: z17.string()
|
|
516
|
+
default: z17.string(),
|
|
517
|
+
isMultiline: z17.boolean().optional()
|
|
517
518
|
});
|
|
518
519
|
var ExporterPropertyDefinitionNumber = PropertyDefinitionBase.extend({
|
|
519
520
|
type: z17.literal(ExporterPropertyType.Enum.Number),
|
|
@@ -534,13 +535,19 @@ var ExporterPropertyDefinitionObject = PropertyDefinitionBase.extend({
|
|
|
534
535
|
type: z17.string()
|
|
535
536
|
}).optional()
|
|
536
537
|
});
|
|
538
|
+
var ExporterPropertyDefinitionCode = PropertyDefinitionBase.extend({
|
|
539
|
+
type: z17.literal(ExporterPropertyType.Enum.Code),
|
|
540
|
+
default: z17.string(),
|
|
541
|
+
language: z17.string()
|
|
542
|
+
});
|
|
537
543
|
var ExporterPropertyDefinition = z17.discriminatedUnion("type", [
|
|
538
544
|
ExporterPropertyDefinitionEnum,
|
|
539
545
|
ExporterPropertyDefinitionBoolean,
|
|
540
546
|
ExporterPropertyDefinitionString,
|
|
541
547
|
ExporterPropertyDefinitionNumber,
|
|
542
548
|
ExporterPropertyDefinitionArray,
|
|
543
|
-
ExporterPropertyDefinitionObject
|
|
549
|
+
ExporterPropertyDefinitionObject,
|
|
550
|
+
ExporterPropertyDefinitionCode
|
|
544
551
|
]);
|
|
545
552
|
var ExporterPropertyValueMap = z17.record(ExporterPropertyValue);
|
|
546
553
|
var ExporterType = z18.enum(["code", "documentation"]);
|
|
@@ -1911,7 +1918,8 @@ var PageBlockAssetBlockConfig = z42.object({
|
|
|
1911
1918
|
});
|
|
1912
1919
|
var PageBlockSelectedFigmaComponent = z42.object({
|
|
1913
1920
|
figmaComponentId: z42.string(),
|
|
1914
|
-
selectedComponentProperties: z42.string().array()
|
|
1921
|
+
selectedComponentProperties: z42.string().array(),
|
|
1922
|
+
selectedComponentVariants: z42.record(z42.string().array()).optional()
|
|
1915
1923
|
});
|
|
1916
1924
|
var PageBlockTextSpanAttributeType = z42.enum(["Bold", "Italic", "Link", "Strikethrough", "Code", "Comment"]);
|
|
1917
1925
|
var PageBlockTextSpanAttribute = z42.object({
|
|
@@ -5923,7 +5931,7 @@ var PrimitiveValue2 = z209.number().or(z209.boolean()).or(z209.string());
|
|
|
5923
5931
|
var ArrayValue2 = z209.array(z209.string());
|
|
5924
5932
|
var ObjectValue2 = z209.record(z209.string());
|
|
5925
5933
|
var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
|
|
5926
|
-
var DTOExporterPropertyType = z209.enum(["Enum", "Boolean", "String", "Number", "Array", "Object"]);
|
|
5934
|
+
var DTOExporterPropertyType = z209.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
|
|
5927
5935
|
var PropertyDefinitionBase2 = z209.object({
|
|
5928
5936
|
key: z209.string(),
|
|
5929
5937
|
title: z209.string(),
|
|
@@ -5946,7 +5954,8 @@ var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
|
|
|
5946
5954
|
});
|
|
5947
5955
|
var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
|
|
5948
5956
|
type: z209.literal(DTOExporterPropertyType.Enum.String),
|
|
5949
|
-
default: z209.string()
|
|
5957
|
+
default: z209.string(),
|
|
5958
|
+
isMultiline: z209.boolean().optional()
|
|
5950
5959
|
});
|
|
5951
5960
|
var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
|
|
5952
5961
|
type: z209.literal(DTOExporterPropertyType.Enum.Number),
|
|
@@ -5967,13 +5976,19 @@ var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
|
|
|
5967
5976
|
type: z209.string()
|
|
5968
5977
|
}).optional()
|
|
5969
5978
|
});
|
|
5979
|
+
var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
|
|
5980
|
+
type: z209.literal(DTOExporterPropertyType.Enum.Code),
|
|
5981
|
+
language: z209.string(),
|
|
5982
|
+
default: z209.string()
|
|
5983
|
+
});
|
|
5970
5984
|
var DTOExporterPropertyDefinition = z209.discriminatedUnion("type", [
|
|
5971
5985
|
DTOExporterPropertyDefinitionEnum,
|
|
5972
5986
|
DTOExporterPropertyDefinitionBoolean,
|
|
5973
5987
|
DTOExporterPropertyDefinitionString,
|
|
5974
5988
|
DTOExporterPropertyDefinitionNumber,
|
|
5975
5989
|
DTOExporterPropertyDefinitionArray,
|
|
5976
|
-
DTOExporterPropertyDefinitionObject
|
|
5990
|
+
DTOExporterPropertyDefinitionObject,
|
|
5991
|
+
DTOExporterPropertyDefinitionCode
|
|
5977
5992
|
]);
|
|
5978
5993
|
var DTOExporterPropertyDefinitionsResponse = z209.object({
|
|
5979
5994
|
properties: DTOExporterPropertyDefinition.array()
|
|
@@ -14344,6 +14359,7 @@ export {
|
|
|
14344
14359
|
DTOExporterPropertyDefinition,
|
|
14345
14360
|
DTOExporterPropertyDefinitionArray,
|
|
14346
14361
|
DTOExporterPropertyDefinitionBoolean,
|
|
14362
|
+
DTOExporterPropertyDefinitionCode,
|
|
14347
14363
|
DTOExporterPropertyDefinitionEnum,
|
|
14348
14364
|
DTOExporterPropertyDefinitionEnumOption,
|
|
14349
14365
|
DTOExporterPropertyDefinitionNumber,
|
|
@@ -14495,6 +14511,7 @@ export {
|
|
|
14495
14511
|
FigmaComponentGroupsEndpoint,
|
|
14496
14512
|
FigmaComponentsEndpoint,
|
|
14497
14513
|
FigmaFrameStructuresEndpoint,
|
|
14514
|
+
FigmaNodeStructuresEndpoint,
|
|
14498
14515
|
FigmaUtils,
|
|
14499
14516
|
FormattedCollections,
|
|
14500
14517
|
FrontendVersionRoomYDoc,
|