@supernova-studio/model 0.54.16 → 0.54.18
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 +62 -1
- package/dist/index.d.ts +62 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/design-system.ts +1 -0
- package/src/dsm/elements/component-properties.ts +4 -0
- package/src/dsm/elements/data/component.ts +1 -0
- package/src/dsm/elements/figma-component.ts +16 -3
- package/src/dsm/import/component.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -2908,6 +2908,7 @@ declare const DesignSystemDump: z.ZodObject<{
|
|
|
2908
2908
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
2909
2909
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
2910
2910
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
2911
|
+
membersGenerated: z.ZodBoolean;
|
|
2911
2912
|
createdAt: z.ZodDate;
|
|
2912
2913
|
updatedAt: z.ZodDate;
|
|
2913
2914
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2925,6 +2926,7 @@ declare const DesignSystemDump: z.ZodObject<{
|
|
|
2925
2926
|
isApprovalFeatureEnabled: boolean;
|
|
2926
2927
|
approvalRequiredForPublishing: boolean;
|
|
2927
2928
|
accessMode: "Open" | "InviteOnly";
|
|
2929
|
+
membersGenerated: boolean;
|
|
2928
2930
|
docExporterId?: string | undefined;
|
|
2929
2931
|
docUserSlug?: string | undefined;
|
|
2930
2932
|
docViewUrl?: string | undefined;
|
|
@@ -2947,6 +2949,7 @@ declare const DesignSystemDump: z.ZodObject<{
|
|
|
2947
2949
|
isApprovalFeatureEnabled: boolean;
|
|
2948
2950
|
approvalRequiredForPublishing: boolean;
|
|
2949
2951
|
accessMode: "Open" | "InviteOnly";
|
|
2952
|
+
membersGenerated: boolean;
|
|
2950
2953
|
docExporterId?: string | null | undefined;
|
|
2951
2954
|
docUserSlug?: string | null | undefined;
|
|
2952
2955
|
docViewUrl?: string | null | undefined;
|
|
@@ -6031,6 +6034,7 @@ declare const DesignSystemDump: z.ZodObject<{
|
|
|
6031
6034
|
isApprovalFeatureEnabled: boolean;
|
|
6032
6035
|
approvalRequiredForPublishing: boolean;
|
|
6033
6036
|
accessMode: "Open" | "InviteOnly";
|
|
6037
|
+
membersGenerated: boolean;
|
|
6034
6038
|
docExporterId?: string | undefined;
|
|
6035
6039
|
docUserSlug?: string | undefined;
|
|
6036
6040
|
docViewUrl?: string | undefined;
|
|
@@ -6461,6 +6465,7 @@ declare const DesignSystemDump: z.ZodObject<{
|
|
|
6461
6465
|
isApprovalFeatureEnabled: boolean;
|
|
6462
6466
|
approvalRequiredForPublishing: boolean;
|
|
6463
6467
|
accessMode: "Open" | "InviteOnly";
|
|
6468
|
+
membersGenerated: boolean;
|
|
6464
6469
|
docExporterId?: string | null | undefined;
|
|
6465
6470
|
docUserSlug?: string | null | undefined;
|
|
6466
6471
|
docViewUrl?: string | null | undefined;
|
|
@@ -11905,6 +11910,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
11905
11910
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
11906
11911
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
11907
11912
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
11913
|
+
membersGenerated: z.ZodBoolean;
|
|
11908
11914
|
createdAt: z.ZodDate;
|
|
11909
11915
|
updatedAt: z.ZodDate;
|
|
11910
11916
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11922,6 +11928,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
11922
11928
|
isApprovalFeatureEnabled: boolean;
|
|
11923
11929
|
approvalRequiredForPublishing: boolean;
|
|
11924
11930
|
accessMode: "Open" | "InviteOnly";
|
|
11931
|
+
membersGenerated: boolean;
|
|
11925
11932
|
docExporterId?: string | undefined;
|
|
11926
11933
|
docUserSlug?: string | undefined;
|
|
11927
11934
|
docViewUrl?: string | undefined;
|
|
@@ -11944,6 +11951,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
11944
11951
|
isApprovalFeatureEnabled: boolean;
|
|
11945
11952
|
approvalRequiredForPublishing: boolean;
|
|
11946
11953
|
accessMode: "Open" | "InviteOnly";
|
|
11954
|
+
membersGenerated: boolean;
|
|
11947
11955
|
docExporterId?: string | null | undefined;
|
|
11948
11956
|
docUserSlug?: string | null | undefined;
|
|
11949
11957
|
docViewUrl?: string | null | undefined;
|
|
@@ -15028,6 +15036,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
15028
15036
|
isApprovalFeatureEnabled: boolean;
|
|
15029
15037
|
approvalRequiredForPublishing: boolean;
|
|
15030
15038
|
accessMode: "Open" | "InviteOnly";
|
|
15039
|
+
membersGenerated: boolean;
|
|
15031
15040
|
docExporterId?: string | undefined;
|
|
15032
15041
|
docUserSlug?: string | undefined;
|
|
15033
15042
|
docViewUrl?: string | undefined;
|
|
@@ -15458,6 +15467,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
15458
15467
|
isApprovalFeatureEnabled: boolean;
|
|
15459
15468
|
approvalRequiredForPublishing: boolean;
|
|
15460
15469
|
accessMode: "Open" | "InviteOnly";
|
|
15470
|
+
membersGenerated: boolean;
|
|
15461
15471
|
docExporterId?: string | null | undefined;
|
|
15462
15472
|
docUserSlug?: string | null | undefined;
|
|
15463
15473
|
docViewUrl?: string | null | undefined;
|
|
@@ -17083,6 +17093,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17083
17093
|
isApprovalFeatureEnabled: boolean;
|
|
17084
17094
|
approvalRequiredForPublishing: boolean;
|
|
17085
17095
|
accessMode: "Open" | "InviteOnly";
|
|
17096
|
+
membersGenerated: boolean;
|
|
17086
17097
|
docExporterId?: string | undefined;
|
|
17087
17098
|
docUserSlug?: string | undefined;
|
|
17088
17099
|
docViewUrl?: string | undefined;
|
|
@@ -17894,6 +17905,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17894
17905
|
isApprovalFeatureEnabled: boolean;
|
|
17895
17906
|
approvalRequiredForPublishing: boolean;
|
|
17896
17907
|
accessMode: "Open" | "InviteOnly";
|
|
17908
|
+
membersGenerated: boolean;
|
|
17897
17909
|
docExporterId?: string | null | undefined;
|
|
17898
17910
|
docUserSlug?: string | null | undefined;
|
|
17899
17911
|
docViewUrl?: string | null | undefined;
|
|
@@ -18707,6 +18719,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
18707
18719
|
isApprovalFeatureEnabled: boolean;
|
|
18708
18720
|
approvalRequiredForPublishing: boolean;
|
|
18709
18721
|
accessMode: "Open" | "InviteOnly";
|
|
18722
|
+
membersGenerated: boolean;
|
|
18710
18723
|
docExporterId?: string | undefined;
|
|
18711
18724
|
docUserSlug?: string | undefined;
|
|
18712
18725
|
docViewUrl?: string | undefined;
|
|
@@ -19590,6 +19603,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
19590
19603
|
isApprovalFeatureEnabled: boolean;
|
|
19591
19604
|
approvalRequiredForPublishing: boolean;
|
|
19592
19605
|
accessMode: "Open" | "InviteOnly";
|
|
19606
|
+
membersGenerated: boolean;
|
|
19593
19607
|
docExporterId?: string | null | undefined;
|
|
19594
19608
|
docUserSlug?: string | null | undefined;
|
|
19595
19609
|
docViewUrl?: string | null | undefined;
|
|
@@ -21931,6 +21945,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
21931
21945
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
21932
21946
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
21933
21947
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
21948
|
+
membersGenerated: z.ZodBoolean;
|
|
21934
21949
|
createdAt: z.ZodDate;
|
|
21935
21950
|
updatedAt: z.ZodDate;
|
|
21936
21951
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21948,6 +21963,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
21948
21963
|
isApprovalFeatureEnabled: boolean;
|
|
21949
21964
|
approvalRequiredForPublishing: boolean;
|
|
21950
21965
|
accessMode: "Open" | "InviteOnly";
|
|
21966
|
+
membersGenerated: boolean;
|
|
21951
21967
|
docExporterId?: string | undefined;
|
|
21952
21968
|
docUserSlug?: string | undefined;
|
|
21953
21969
|
docViewUrl?: string | undefined;
|
|
@@ -21970,6 +21986,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
21970
21986
|
isApprovalFeatureEnabled: boolean;
|
|
21971
21987
|
approvalRequiredForPublishing: boolean;
|
|
21972
21988
|
accessMode: "Open" | "InviteOnly";
|
|
21989
|
+
membersGenerated: boolean;
|
|
21973
21990
|
docExporterId?: string | null | undefined;
|
|
21974
21991
|
docUserSlug?: string | null | undefined;
|
|
21975
21992
|
docViewUrl?: string | null | undefined;
|
|
@@ -25054,6 +25071,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
25054
25071
|
isApprovalFeatureEnabled: boolean;
|
|
25055
25072
|
approvalRequiredForPublishing: boolean;
|
|
25056
25073
|
accessMode: "Open" | "InviteOnly";
|
|
25074
|
+
membersGenerated: boolean;
|
|
25057
25075
|
docExporterId?: string | undefined;
|
|
25058
25076
|
docUserSlug?: string | undefined;
|
|
25059
25077
|
docViewUrl?: string | undefined;
|
|
@@ -25484,6 +25502,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
25484
25502
|
isApprovalFeatureEnabled: boolean;
|
|
25485
25503
|
approvalRequiredForPublishing: boolean;
|
|
25486
25504
|
accessMode: "Open" | "InviteOnly";
|
|
25505
|
+
membersGenerated: boolean;
|
|
25487
25506
|
docExporterId?: string | null | undefined;
|
|
25488
25507
|
docUserSlug?: string | null | undefined;
|
|
25489
25508
|
docViewUrl?: string | null | undefined;
|
|
@@ -27109,6 +27128,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27109
27128
|
isApprovalFeatureEnabled: boolean;
|
|
27110
27129
|
approvalRequiredForPublishing: boolean;
|
|
27111
27130
|
accessMode: "Open" | "InviteOnly";
|
|
27131
|
+
membersGenerated: boolean;
|
|
27112
27132
|
docExporterId?: string | undefined;
|
|
27113
27133
|
docUserSlug?: string | undefined;
|
|
27114
27134
|
docViewUrl?: string | undefined;
|
|
@@ -27920,6 +27940,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27920
27940
|
isApprovalFeatureEnabled: boolean;
|
|
27921
27941
|
approvalRequiredForPublishing: boolean;
|
|
27922
27942
|
accessMode: "Open" | "InviteOnly";
|
|
27943
|
+
membersGenerated: boolean;
|
|
27923
27944
|
docExporterId?: string | null | undefined;
|
|
27924
27945
|
docUserSlug?: string | null | undefined;
|
|
27925
27946
|
docViewUrl?: string | null | undefined;
|
|
@@ -36318,6 +36339,7 @@ declare const ComponentElementData: z.ZodObject<{
|
|
|
36318
36339
|
name: string;
|
|
36319
36340
|
defaultValue: string;
|
|
36320
36341
|
}> | null | undefined>;
|
|
36342
|
+
variantPropertyValues: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, z.ZodTypeDef, Record<string, string>>>>, Record<string, string> | undefined, Record<string, string> | null | undefined>;
|
|
36321
36343
|
}, "strip", z.ZodTypeAny, {
|
|
36322
36344
|
thumbnailImage: {
|
|
36323
36345
|
value: {
|
|
@@ -36354,6 +36376,7 @@ declare const ComponentElementData: z.ZodObject<{
|
|
|
36354
36376
|
name: string;
|
|
36355
36377
|
defaultValue: string;
|
|
36356
36378
|
}> | undefined;
|
|
36379
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
36357
36380
|
}, {
|
|
36358
36381
|
thumbnailImage: {
|
|
36359
36382
|
value: {
|
|
@@ -36390,6 +36413,7 @@ declare const ComponentElementData: z.ZodObject<{
|
|
|
36390
36413
|
name: string;
|
|
36391
36414
|
defaultValue: string;
|
|
36392
36415
|
}> | null | undefined;
|
|
36416
|
+
variantPropertyValues?: Record<string, string> | null | undefined;
|
|
36393
36417
|
}>;
|
|
36394
36418
|
}, "strip", z.ZodTypeAny, {
|
|
36395
36419
|
value: {
|
|
@@ -36428,6 +36452,7 @@ declare const ComponentElementData: z.ZodObject<{
|
|
|
36428
36452
|
name: string;
|
|
36429
36453
|
defaultValue: string;
|
|
36430
36454
|
}> | undefined;
|
|
36455
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
36431
36456
|
};
|
|
36432
36457
|
}, {
|
|
36433
36458
|
value: {
|
|
@@ -36466,6 +36491,7 @@ declare const ComponentElementData: z.ZodObject<{
|
|
|
36466
36491
|
name: string;
|
|
36467
36492
|
defaultValue: string;
|
|
36468
36493
|
}> | null | undefined;
|
|
36494
|
+
variantPropertyValues?: Record<string, string> | null | undefined;
|
|
36469
36495
|
};
|
|
36470
36496
|
}>;
|
|
36471
36497
|
type ComponentElementData = z.infer<typeof ComponentElementData>;
|
|
@@ -55174,6 +55200,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
55174
55200
|
name: string;
|
|
55175
55201
|
defaultValue: string;
|
|
55176
55202
|
}>]>>>;
|
|
55203
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
55177
55204
|
svg: z.ZodOptional<z.ZodObject<{
|
|
55178
55205
|
assetId: z.ZodString;
|
|
55179
55206
|
assetPath: z.ZodString;
|
|
@@ -55239,6 +55266,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
55239
55266
|
name: string;
|
|
55240
55267
|
defaultValue: string;
|
|
55241
55268
|
}> | undefined;
|
|
55269
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
55242
55270
|
}, {
|
|
55243
55271
|
id: string;
|
|
55244
55272
|
createdAt: Date;
|
|
@@ -55292,6 +55320,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
55292
55320
|
name: string;
|
|
55293
55321
|
defaultValue: string;
|
|
55294
55322
|
}> | undefined;
|
|
55323
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
55295
55324
|
}>;
|
|
55296
55325
|
type FigmaComponent = z.infer<typeof FigmaComponent>;
|
|
55297
55326
|
declare const FigmaComponentOrigin: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -55321,7 +55350,6 @@ type FigmaComponentOrigin = z.infer<typeof FigmaComponentOrigin>;
|
|
|
55321
55350
|
type ImportedFigmaComponent = OmitStrict<FigmaComponent, "origin"> & {
|
|
55322
55351
|
origin: FigmaComponentOrigin;
|
|
55323
55352
|
};
|
|
55324
|
-
declare function isImportedFigmaComponent(component: FigmaComponent): component is ImportedFigmaComponent;
|
|
55325
55353
|
type CreateFigmaComponent = DbCreateInputOmit<FigmaComponent>;
|
|
55326
55354
|
type UpdateFigmaComponent = OmitStrict<DbUpdate<FigmaComponent>, "brandPersistentId" | "designSystemVersionId">;
|
|
55327
55355
|
type FigmaComponentDiff = {
|
|
@@ -55329,6 +55357,7 @@ type FigmaComponentDiff = {
|
|
|
55329
55357
|
toUpdate: UpdateFigmaComponent[];
|
|
55330
55358
|
toDelete: FigmaComponent["id"][];
|
|
55331
55359
|
};
|
|
55360
|
+
declare function isImportedFigmaComponent(component: FigmaComponent): component is ImportedFigmaComponent;
|
|
55332
55361
|
|
|
55333
55362
|
declare const FigmaFileStructureOrigin: z.ZodObject<{
|
|
55334
55363
|
sourceId: z.ZodString;
|
|
@@ -81378,6 +81407,7 @@ declare const ImportModelCollection: z.ZodObject<{
|
|
|
81378
81407
|
name: string;
|
|
81379
81408
|
defaultValue: string;
|
|
81380
81409
|
}>]>>>;
|
|
81410
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
81381
81411
|
}>, {
|
|
81382
81412
|
isAsset: z.ZodBoolean;
|
|
81383
81413
|
svg: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -81502,6 +81532,7 @@ declare const ImportModelCollection: z.ZodObject<{
|
|
|
81502
81532
|
name: string;
|
|
81503
81533
|
defaultValue: string;
|
|
81504
81534
|
}> | undefined;
|
|
81535
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
81505
81536
|
parentComponentId?: string | undefined;
|
|
81506
81537
|
}, {
|
|
81507
81538
|
id: string;
|
|
@@ -81575,6 +81606,7 @@ declare const ImportModelCollection: z.ZodObject<{
|
|
|
81575
81606
|
name: string;
|
|
81576
81607
|
defaultValue: string;
|
|
81577
81608
|
}> | undefined;
|
|
81609
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
81578
81610
|
parentComponentId?: string | undefined;
|
|
81579
81611
|
}>, "many">>;
|
|
81580
81612
|
themeUpdates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -88553,6 +88585,7 @@ declare const ImportModelCollection: z.ZodObject<{
|
|
|
88553
88585
|
name: string;
|
|
88554
88586
|
defaultValue: string;
|
|
88555
88587
|
}> | undefined;
|
|
88588
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
88556
88589
|
parentComponentId?: string | undefined;
|
|
88557
88590
|
}[];
|
|
88558
88591
|
sources: {
|
|
@@ -89906,6 +89939,7 @@ declare const ImportModelCollection: z.ZodObject<{
|
|
|
89906
89939
|
name: string;
|
|
89907
89940
|
defaultValue: string;
|
|
89908
89941
|
}> | undefined;
|
|
89942
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
89909
89943
|
parentComponentId?: string | undefined;
|
|
89910
89944
|
}[] | undefined;
|
|
89911
89945
|
tokens?: (({
|
|
@@ -93168,6 +93202,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
93168
93202
|
name: string;
|
|
93169
93203
|
defaultValue: string;
|
|
93170
93204
|
}>]>>>;
|
|
93205
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
93171
93206
|
}>, {
|
|
93172
93207
|
originMetadata: z.ZodObject<{
|
|
93173
93208
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -93240,6 +93275,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
93240
93275
|
name: string;
|
|
93241
93276
|
defaultValue: string;
|
|
93242
93277
|
}> | undefined;
|
|
93278
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
93243
93279
|
parentComponentId?: string | undefined;
|
|
93244
93280
|
}, {
|
|
93245
93281
|
id: string;
|
|
@@ -93299,6 +93335,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
93299
93335
|
name: string;
|
|
93300
93336
|
defaultValue: string;
|
|
93301
93337
|
}> | undefined;
|
|
93338
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
93302
93339
|
parentComponentId?: string | undefined;
|
|
93303
93340
|
}>, "many">>;
|
|
93304
93341
|
assets: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
@@ -93477,6 +93514,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
93477
93514
|
name: string;
|
|
93478
93515
|
defaultValue: string;
|
|
93479
93516
|
}>]>>>;
|
|
93517
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
93480
93518
|
}>, {
|
|
93481
93519
|
svg: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
93482
93520
|
scope: z.ZodEnum<["DocumentationFrame", "ComponentThumbnail", "DesignSystem", "Documentation"]>;
|
|
@@ -93585,6 +93623,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
93585
93623
|
name: string;
|
|
93586
93624
|
defaultValue: string;
|
|
93587
93625
|
}> | undefined;
|
|
93626
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
93588
93627
|
parentComponentId?: string | undefined;
|
|
93589
93628
|
}, {
|
|
93590
93629
|
id: string;
|
|
@@ -93653,6 +93692,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
93653
93692
|
name: string;
|
|
93654
93693
|
defaultValue: string;
|
|
93655
93694
|
}> | undefined;
|
|
93695
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
93656
93696
|
parentComponentId?: string | undefined;
|
|
93657
93697
|
}>, "many">>;
|
|
93658
93698
|
themeUpdates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -100551,6 +100591,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
100551
100591
|
name: string;
|
|
100552
100592
|
defaultValue: string;
|
|
100553
100593
|
}> | undefined;
|
|
100594
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
100554
100595
|
parentComponentId?: string | undefined;
|
|
100555
100596
|
}[];
|
|
100556
100597
|
components: {
|
|
@@ -100611,6 +100652,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
100611
100652
|
name: string;
|
|
100612
100653
|
defaultValue: string;
|
|
100613
100654
|
}> | undefined;
|
|
100655
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
100614
100656
|
parentComponentId?: string | undefined;
|
|
100615
100657
|
}[];
|
|
100616
100658
|
tokens: (({
|
|
@@ -101859,6 +101901,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
101859
101901
|
name: string;
|
|
101860
101902
|
defaultValue: string;
|
|
101861
101903
|
}> | undefined;
|
|
101904
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
101862
101905
|
parentComponentId?: string | undefined;
|
|
101863
101906
|
}[] | undefined;
|
|
101864
101907
|
components?: {
|
|
@@ -101919,6 +101962,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
|
|
|
101919
101962
|
name: string;
|
|
101920
101963
|
defaultValue: string;
|
|
101921
101964
|
}> | undefined;
|
|
101965
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
101922
101966
|
parentComponentId?: string | undefined;
|
|
101923
101967
|
}[] | undefined;
|
|
101924
101968
|
tokens?: (({
|
|
@@ -102919,6 +102963,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
102919
102963
|
name: string;
|
|
102920
102964
|
defaultValue: string;
|
|
102921
102965
|
}>]>>>;
|
|
102966
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
102922
102967
|
}>, {
|
|
102923
102968
|
isAsset: z.ZodBoolean;
|
|
102924
102969
|
svg: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -103043,6 +103088,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
103043
103088
|
name: string;
|
|
103044
103089
|
defaultValue: string;
|
|
103045
103090
|
}> | undefined;
|
|
103091
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
103046
103092
|
parentComponentId?: string | undefined;
|
|
103047
103093
|
}, {
|
|
103048
103094
|
id: string;
|
|
@@ -103116,6 +103162,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
103116
103162
|
name: string;
|
|
103117
103163
|
defaultValue: string;
|
|
103118
103164
|
}> | undefined;
|
|
103165
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
103119
103166
|
parentComponentId?: string | undefined;
|
|
103120
103167
|
}>;
|
|
103121
103168
|
type FigmaComponentImportModel = z.infer<typeof FigmaComponentImportModel>;
|
|
@@ -103295,6 +103342,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
|
|
|
103295
103342
|
name: string;
|
|
103296
103343
|
defaultValue: string;
|
|
103297
103344
|
}>]>>>;
|
|
103345
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
103298
103346
|
}>, {
|
|
103299
103347
|
originMetadata: z.ZodObject<{
|
|
103300
103348
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
@@ -103367,6 +103415,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
|
|
|
103367
103415
|
name: string;
|
|
103368
103416
|
defaultValue: string;
|
|
103369
103417
|
}> | undefined;
|
|
103418
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
103370
103419
|
parentComponentId?: string | undefined;
|
|
103371
103420
|
}, {
|
|
103372
103421
|
id: string;
|
|
@@ -103426,6 +103475,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
|
|
|
103426
103475
|
name: string;
|
|
103427
103476
|
defaultValue: string;
|
|
103428
103477
|
}> | undefined;
|
|
103478
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
103429
103479
|
parentComponentId?: string | undefined;
|
|
103430
103480
|
}>;
|
|
103431
103481
|
type FigmaComponentImportModelInput = z.infer<typeof FigmaComponentImportModelInput>;
|
|
@@ -103605,6 +103655,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
103605
103655
|
name: string;
|
|
103606
103656
|
defaultValue: string;
|
|
103607
103657
|
}>]>>>;
|
|
103658
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
103608
103659
|
}>, {
|
|
103609
103660
|
svg: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
103610
103661
|
scope: z.ZodEnum<["DocumentationFrame", "ComponentThumbnail", "DesignSystem", "Documentation"]>;
|
|
@@ -103713,6 +103764,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
103713
103764
|
name: string;
|
|
103714
103765
|
defaultValue: string;
|
|
103715
103766
|
}> | undefined;
|
|
103767
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
103716
103768
|
parentComponentId?: string | undefined;
|
|
103717
103769
|
}, {
|
|
103718
103770
|
id: string;
|
|
@@ -103781,6 +103833,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
103781
103833
|
name: string;
|
|
103782
103834
|
defaultValue: string;
|
|
103783
103835
|
}> | undefined;
|
|
103836
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
103784
103837
|
parentComponentId?: string | undefined;
|
|
103785
103838
|
}>;
|
|
103786
103839
|
type AssetImportModelInput = z.infer<typeof AssetImportModelInput>;
|
|
@@ -128653,6 +128706,7 @@ declare const DesignSystem: z.ZodObject<{
|
|
|
128653
128706
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
128654
128707
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
128655
128708
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
128709
|
+
membersGenerated: z.ZodBoolean;
|
|
128656
128710
|
createdAt: z.ZodDate;
|
|
128657
128711
|
updatedAt: z.ZodDate;
|
|
128658
128712
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -128670,6 +128724,7 @@ declare const DesignSystem: z.ZodObject<{
|
|
|
128670
128724
|
isApprovalFeatureEnabled: boolean;
|
|
128671
128725
|
approvalRequiredForPublishing: boolean;
|
|
128672
128726
|
accessMode: "Open" | "InviteOnly";
|
|
128727
|
+
membersGenerated: boolean;
|
|
128673
128728
|
docExporterId?: string | undefined;
|
|
128674
128729
|
docUserSlug?: string | undefined;
|
|
128675
128730
|
docViewUrl?: string | undefined;
|
|
@@ -128692,6 +128747,7 @@ declare const DesignSystem: z.ZodObject<{
|
|
|
128692
128747
|
isApprovalFeatureEnabled: boolean;
|
|
128693
128748
|
approvalRequiredForPublishing: boolean;
|
|
128694
128749
|
accessMode: "Open" | "InviteOnly";
|
|
128750
|
+
membersGenerated: boolean;
|
|
128695
128751
|
docExporterId?: string | null | undefined;
|
|
128696
128752
|
docUserSlug?: string | null | undefined;
|
|
128697
128753
|
docViewUrl?: string | null | undefined;
|
|
@@ -165683,6 +165739,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
|
|
|
165683
165739
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
165684
165740
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
165685
165741
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
165742
|
+
membersGenerated: z.ZodBoolean;
|
|
165686
165743
|
createdAt: z.ZodDate;
|
|
165687
165744
|
updatedAt: z.ZodDate;
|
|
165688
165745
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -165700,6 +165757,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
|
|
|
165700
165757
|
isApprovalFeatureEnabled: boolean;
|
|
165701
165758
|
approvalRequiredForPublishing: boolean;
|
|
165702
165759
|
accessMode: "Open" | "InviteOnly";
|
|
165760
|
+
membersGenerated: boolean;
|
|
165703
165761
|
docExporterId?: string | undefined;
|
|
165704
165762
|
docUserSlug?: string | undefined;
|
|
165705
165763
|
docViewUrl?: string | undefined;
|
|
@@ -165722,6 +165780,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
|
|
|
165722
165780
|
isApprovalFeatureEnabled: boolean;
|
|
165723
165781
|
approvalRequiredForPublishing: boolean;
|
|
165724
165782
|
accessMode: "Open" | "InviteOnly";
|
|
165783
|
+
membersGenerated: boolean;
|
|
165725
165784
|
docExporterId?: string | null | undefined;
|
|
165726
165785
|
docUserSlug?: string | null | undefined;
|
|
165727
165786
|
docViewUrl?: string | null | undefined;
|
|
@@ -165746,6 +165805,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
|
|
|
165746
165805
|
isApprovalFeatureEnabled: boolean;
|
|
165747
165806
|
approvalRequiredForPublishing: boolean;
|
|
165748
165807
|
accessMode: "Open" | "InviteOnly";
|
|
165808
|
+
membersGenerated: boolean;
|
|
165749
165809
|
docExporterId?: string | undefined;
|
|
165750
165810
|
docUserSlug?: string | undefined;
|
|
165751
165811
|
docViewUrl?: string | undefined;
|
|
@@ -165973,6 +166033,7 @@ declare const WorkspaceWithDesignSystems: z.ZodObject<{
|
|
|
165973
166033
|
isApprovalFeatureEnabled: boolean;
|
|
165974
166034
|
approvalRequiredForPublishing: boolean;
|
|
165975
166035
|
accessMode: "Open" | "InviteOnly";
|
|
166036
|
+
membersGenerated: boolean;
|
|
165976
166037
|
docExporterId?: string | null | undefined;
|
|
165977
166038
|
docUserSlug?: string | null | undefined;
|
|
165978
166039
|
docViewUrl?: string | null | undefined;
|