@supernova-studio/client 0.55.26 → 0.55.27
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 +145 -0
- package/dist/index.d.ts +145 -0
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -12287,16 +12287,39 @@ declare const DTOFigmaComponentInstanceSwapProperty: z.ZodObject<z.objectUtil.ex
|
|
|
12287
12287
|
}, {
|
|
12288
12288
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12289
12289
|
defaultValue: z.ZodString;
|
|
12290
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12291
|
+
componentName: z.ZodString;
|
|
12292
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12293
|
+
isRemote: z.ZodBoolean;
|
|
12294
|
+
}, "strip", z.ZodTypeAny, {
|
|
12295
|
+
componentName: string;
|
|
12296
|
+
isRemote: boolean;
|
|
12297
|
+
componentSetName?: string | undefined;
|
|
12298
|
+
}, {
|
|
12299
|
+
componentName: string;
|
|
12300
|
+
isRemote: boolean;
|
|
12301
|
+
componentSetName?: string | undefined;
|
|
12302
|
+
}>>;
|
|
12290
12303
|
}>, "strip", z.ZodTypeAny, {
|
|
12291
12304
|
id: string;
|
|
12292
12305
|
type: "InstanceSwap";
|
|
12293
12306
|
name: string;
|
|
12294
12307
|
defaultValue: string;
|
|
12308
|
+
defaultValuePreview?: {
|
|
12309
|
+
componentName: string;
|
|
12310
|
+
isRemote: boolean;
|
|
12311
|
+
componentSetName?: string | undefined;
|
|
12312
|
+
} | undefined;
|
|
12295
12313
|
}, {
|
|
12296
12314
|
id: string;
|
|
12297
12315
|
type: "InstanceSwap";
|
|
12298
12316
|
name: string;
|
|
12299
12317
|
defaultValue: string;
|
|
12318
|
+
defaultValuePreview?: {
|
|
12319
|
+
componentName: string;
|
|
12320
|
+
isRemote: boolean;
|
|
12321
|
+
componentSetName?: string | undefined;
|
|
12322
|
+
} | undefined;
|
|
12300
12323
|
}>;
|
|
12301
12324
|
type DTOFigmaComponentInstanceSwapProperty = z.infer<typeof DTOFigmaComponentInstanceSwapProperty>;
|
|
12302
12325
|
declare const DTOFigmaComponentTextProperty: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -12361,16 +12384,39 @@ declare const DTOFigmaComponentProperty: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
12361
12384
|
}, {
|
|
12362
12385
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12363
12386
|
defaultValue: z.ZodString;
|
|
12387
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12388
|
+
componentName: z.ZodString;
|
|
12389
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12390
|
+
isRemote: z.ZodBoolean;
|
|
12391
|
+
}, "strip", z.ZodTypeAny, {
|
|
12392
|
+
componentName: string;
|
|
12393
|
+
isRemote: boolean;
|
|
12394
|
+
componentSetName?: string | undefined;
|
|
12395
|
+
}, {
|
|
12396
|
+
componentName: string;
|
|
12397
|
+
isRemote: boolean;
|
|
12398
|
+
componentSetName?: string | undefined;
|
|
12399
|
+
}>>;
|
|
12364
12400
|
}>, "strip", z.ZodTypeAny, {
|
|
12365
12401
|
id: string;
|
|
12366
12402
|
type: "InstanceSwap";
|
|
12367
12403
|
name: string;
|
|
12368
12404
|
defaultValue: string;
|
|
12405
|
+
defaultValuePreview?: {
|
|
12406
|
+
componentName: string;
|
|
12407
|
+
isRemote: boolean;
|
|
12408
|
+
componentSetName?: string | undefined;
|
|
12409
|
+
} | undefined;
|
|
12369
12410
|
}, {
|
|
12370
12411
|
id: string;
|
|
12371
12412
|
type: "InstanceSwap";
|
|
12372
12413
|
name: string;
|
|
12373
12414
|
defaultValue: string;
|
|
12415
|
+
defaultValuePreview?: {
|
|
12416
|
+
componentName: string;
|
|
12417
|
+
isRemote: boolean;
|
|
12418
|
+
componentSetName?: string | undefined;
|
|
12419
|
+
} | undefined;
|
|
12374
12420
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12375
12421
|
id: z.ZodString;
|
|
12376
12422
|
name: z.ZodString;
|
|
@@ -12431,16 +12477,39 @@ declare const DTOFigmaComponentPropertyMap: z.ZodRecord<z.ZodString, z.ZodDiscri
|
|
|
12431
12477
|
}, {
|
|
12432
12478
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12433
12479
|
defaultValue: z.ZodString;
|
|
12480
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12481
|
+
componentName: z.ZodString;
|
|
12482
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12483
|
+
isRemote: z.ZodBoolean;
|
|
12484
|
+
}, "strip", z.ZodTypeAny, {
|
|
12485
|
+
componentName: string;
|
|
12486
|
+
isRemote: boolean;
|
|
12487
|
+
componentSetName?: string | undefined;
|
|
12488
|
+
}, {
|
|
12489
|
+
componentName: string;
|
|
12490
|
+
isRemote: boolean;
|
|
12491
|
+
componentSetName?: string | undefined;
|
|
12492
|
+
}>>;
|
|
12434
12493
|
}>, "strip", z.ZodTypeAny, {
|
|
12435
12494
|
id: string;
|
|
12436
12495
|
type: "InstanceSwap";
|
|
12437
12496
|
name: string;
|
|
12438
12497
|
defaultValue: string;
|
|
12498
|
+
defaultValuePreview?: {
|
|
12499
|
+
componentName: string;
|
|
12500
|
+
isRemote: boolean;
|
|
12501
|
+
componentSetName?: string | undefined;
|
|
12502
|
+
} | undefined;
|
|
12439
12503
|
}, {
|
|
12440
12504
|
id: string;
|
|
12441
12505
|
type: "InstanceSwap";
|
|
12442
12506
|
name: string;
|
|
12443
12507
|
defaultValue: string;
|
|
12508
|
+
defaultValuePreview?: {
|
|
12509
|
+
componentName: string;
|
|
12510
|
+
isRemote: boolean;
|
|
12511
|
+
componentSetName?: string | undefined;
|
|
12512
|
+
} | undefined;
|
|
12444
12513
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12445
12514
|
id: z.ZodString;
|
|
12446
12515
|
name: z.ZodString;
|
|
@@ -12552,16 +12621,39 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
12552
12621
|
}, {
|
|
12553
12622
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12554
12623
|
defaultValue: z.ZodString;
|
|
12624
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12625
|
+
componentName: z.ZodString;
|
|
12626
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12627
|
+
isRemote: z.ZodBoolean;
|
|
12628
|
+
}, "strip", z.ZodTypeAny, {
|
|
12629
|
+
componentName: string;
|
|
12630
|
+
isRemote: boolean;
|
|
12631
|
+
componentSetName?: string | undefined;
|
|
12632
|
+
}, {
|
|
12633
|
+
componentName: string;
|
|
12634
|
+
isRemote: boolean;
|
|
12635
|
+
componentSetName?: string | undefined;
|
|
12636
|
+
}>>;
|
|
12555
12637
|
}>, "strip", z.ZodTypeAny, {
|
|
12556
12638
|
id: string;
|
|
12557
12639
|
type: "InstanceSwap";
|
|
12558
12640
|
name: string;
|
|
12559
12641
|
defaultValue: string;
|
|
12642
|
+
defaultValuePreview?: {
|
|
12643
|
+
componentName: string;
|
|
12644
|
+
isRemote: boolean;
|
|
12645
|
+
componentSetName?: string | undefined;
|
|
12646
|
+
} | undefined;
|
|
12560
12647
|
}, {
|
|
12561
12648
|
id: string;
|
|
12562
12649
|
type: "InstanceSwap";
|
|
12563
12650
|
name: string;
|
|
12564
12651
|
defaultValue: string;
|
|
12652
|
+
defaultValuePreview?: {
|
|
12653
|
+
componentName: string;
|
|
12654
|
+
isRemote: boolean;
|
|
12655
|
+
componentSetName?: string | undefined;
|
|
12656
|
+
} | undefined;
|
|
12565
12657
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12566
12658
|
id: z.ZodString;
|
|
12567
12659
|
name: z.ZodString;
|
|
@@ -12636,6 +12728,11 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
12636
12728
|
type: "InstanceSwap";
|
|
12637
12729
|
name: string;
|
|
12638
12730
|
defaultValue: string;
|
|
12731
|
+
defaultValuePreview?: {
|
|
12732
|
+
componentName: string;
|
|
12733
|
+
isRemote: boolean;
|
|
12734
|
+
componentSetName?: string | undefined;
|
|
12735
|
+
} | undefined;
|
|
12639
12736
|
} | {
|
|
12640
12737
|
id: string;
|
|
12641
12738
|
type: "Text";
|
|
@@ -12685,6 +12782,11 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
12685
12782
|
type: "InstanceSwap";
|
|
12686
12783
|
name: string;
|
|
12687
12784
|
defaultValue: string;
|
|
12785
|
+
defaultValuePreview?: {
|
|
12786
|
+
componentName: string;
|
|
12787
|
+
isRemote: boolean;
|
|
12788
|
+
componentSetName?: string | undefined;
|
|
12789
|
+
} | undefined;
|
|
12688
12790
|
} | {
|
|
12689
12791
|
id: string;
|
|
12690
12792
|
type: "Text";
|
|
@@ -12774,16 +12876,39 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
12774
12876
|
}, {
|
|
12775
12877
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12776
12878
|
defaultValue: z.ZodString;
|
|
12879
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12880
|
+
componentName: z.ZodString;
|
|
12881
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12882
|
+
isRemote: z.ZodBoolean;
|
|
12883
|
+
}, "strip", z.ZodTypeAny, {
|
|
12884
|
+
componentName: string;
|
|
12885
|
+
isRemote: boolean;
|
|
12886
|
+
componentSetName?: string | undefined;
|
|
12887
|
+
}, {
|
|
12888
|
+
componentName: string;
|
|
12889
|
+
isRemote: boolean;
|
|
12890
|
+
componentSetName?: string | undefined;
|
|
12891
|
+
}>>;
|
|
12777
12892
|
}>, "strip", z.ZodTypeAny, {
|
|
12778
12893
|
id: string;
|
|
12779
12894
|
type: "InstanceSwap";
|
|
12780
12895
|
name: string;
|
|
12781
12896
|
defaultValue: string;
|
|
12897
|
+
defaultValuePreview?: {
|
|
12898
|
+
componentName: string;
|
|
12899
|
+
isRemote: boolean;
|
|
12900
|
+
componentSetName?: string | undefined;
|
|
12901
|
+
} | undefined;
|
|
12782
12902
|
}, {
|
|
12783
12903
|
id: string;
|
|
12784
12904
|
type: "InstanceSwap";
|
|
12785
12905
|
name: string;
|
|
12786
12906
|
defaultValue: string;
|
|
12907
|
+
defaultValuePreview?: {
|
|
12908
|
+
componentName: string;
|
|
12909
|
+
isRemote: boolean;
|
|
12910
|
+
componentSetName?: string | undefined;
|
|
12911
|
+
} | undefined;
|
|
12787
12912
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12788
12913
|
id: z.ZodString;
|
|
12789
12914
|
name: z.ZodString;
|
|
@@ -12858,6 +12983,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
12858
12983
|
type: "InstanceSwap";
|
|
12859
12984
|
name: string;
|
|
12860
12985
|
defaultValue: string;
|
|
12986
|
+
defaultValuePreview?: {
|
|
12987
|
+
componentName: string;
|
|
12988
|
+
isRemote: boolean;
|
|
12989
|
+
componentSetName?: string | undefined;
|
|
12990
|
+
} | undefined;
|
|
12861
12991
|
} | {
|
|
12862
12992
|
id: string;
|
|
12863
12993
|
type: "Text";
|
|
@@ -12907,6 +13037,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
12907
13037
|
type: "InstanceSwap";
|
|
12908
13038
|
name: string;
|
|
12909
13039
|
defaultValue: string;
|
|
13040
|
+
defaultValuePreview?: {
|
|
13041
|
+
componentName: string;
|
|
13042
|
+
isRemote: boolean;
|
|
13043
|
+
componentSetName?: string | undefined;
|
|
13044
|
+
} | undefined;
|
|
12910
13045
|
} | {
|
|
12911
13046
|
id: string;
|
|
12912
13047
|
type: "Text";
|
|
@@ -12958,6 +13093,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
12958
13093
|
type: "InstanceSwap";
|
|
12959
13094
|
name: string;
|
|
12960
13095
|
defaultValue: string;
|
|
13096
|
+
defaultValuePreview?: {
|
|
13097
|
+
componentName: string;
|
|
13098
|
+
isRemote: boolean;
|
|
13099
|
+
componentSetName?: string | undefined;
|
|
13100
|
+
} | undefined;
|
|
12961
13101
|
} | {
|
|
12962
13102
|
id: string;
|
|
12963
13103
|
type: "Text";
|
|
@@ -13009,6 +13149,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
13009
13149
|
type: "InstanceSwap";
|
|
13010
13150
|
name: string;
|
|
13011
13151
|
defaultValue: string;
|
|
13152
|
+
defaultValuePreview?: {
|
|
13153
|
+
componentName: string;
|
|
13154
|
+
isRemote: boolean;
|
|
13155
|
+
componentSetName?: string | undefined;
|
|
13156
|
+
} | undefined;
|
|
13012
13157
|
} | {
|
|
13013
13158
|
id: string;
|
|
13014
13159
|
type: "Text";
|
package/dist/index.d.ts
CHANGED
|
@@ -12287,16 +12287,39 @@ declare const DTOFigmaComponentInstanceSwapProperty: z.ZodObject<z.objectUtil.ex
|
|
|
12287
12287
|
}, {
|
|
12288
12288
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12289
12289
|
defaultValue: z.ZodString;
|
|
12290
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12291
|
+
componentName: z.ZodString;
|
|
12292
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12293
|
+
isRemote: z.ZodBoolean;
|
|
12294
|
+
}, "strip", z.ZodTypeAny, {
|
|
12295
|
+
componentName: string;
|
|
12296
|
+
isRemote: boolean;
|
|
12297
|
+
componentSetName?: string | undefined;
|
|
12298
|
+
}, {
|
|
12299
|
+
componentName: string;
|
|
12300
|
+
isRemote: boolean;
|
|
12301
|
+
componentSetName?: string | undefined;
|
|
12302
|
+
}>>;
|
|
12290
12303
|
}>, "strip", z.ZodTypeAny, {
|
|
12291
12304
|
id: string;
|
|
12292
12305
|
type: "InstanceSwap";
|
|
12293
12306
|
name: string;
|
|
12294
12307
|
defaultValue: string;
|
|
12308
|
+
defaultValuePreview?: {
|
|
12309
|
+
componentName: string;
|
|
12310
|
+
isRemote: boolean;
|
|
12311
|
+
componentSetName?: string | undefined;
|
|
12312
|
+
} | undefined;
|
|
12295
12313
|
}, {
|
|
12296
12314
|
id: string;
|
|
12297
12315
|
type: "InstanceSwap";
|
|
12298
12316
|
name: string;
|
|
12299
12317
|
defaultValue: string;
|
|
12318
|
+
defaultValuePreview?: {
|
|
12319
|
+
componentName: string;
|
|
12320
|
+
isRemote: boolean;
|
|
12321
|
+
componentSetName?: string | undefined;
|
|
12322
|
+
} | undefined;
|
|
12300
12323
|
}>;
|
|
12301
12324
|
type DTOFigmaComponentInstanceSwapProperty = z.infer<typeof DTOFigmaComponentInstanceSwapProperty>;
|
|
12302
12325
|
declare const DTOFigmaComponentTextProperty: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -12361,16 +12384,39 @@ declare const DTOFigmaComponentProperty: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
12361
12384
|
}, {
|
|
12362
12385
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12363
12386
|
defaultValue: z.ZodString;
|
|
12387
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12388
|
+
componentName: z.ZodString;
|
|
12389
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12390
|
+
isRemote: z.ZodBoolean;
|
|
12391
|
+
}, "strip", z.ZodTypeAny, {
|
|
12392
|
+
componentName: string;
|
|
12393
|
+
isRemote: boolean;
|
|
12394
|
+
componentSetName?: string | undefined;
|
|
12395
|
+
}, {
|
|
12396
|
+
componentName: string;
|
|
12397
|
+
isRemote: boolean;
|
|
12398
|
+
componentSetName?: string | undefined;
|
|
12399
|
+
}>>;
|
|
12364
12400
|
}>, "strip", z.ZodTypeAny, {
|
|
12365
12401
|
id: string;
|
|
12366
12402
|
type: "InstanceSwap";
|
|
12367
12403
|
name: string;
|
|
12368
12404
|
defaultValue: string;
|
|
12405
|
+
defaultValuePreview?: {
|
|
12406
|
+
componentName: string;
|
|
12407
|
+
isRemote: boolean;
|
|
12408
|
+
componentSetName?: string | undefined;
|
|
12409
|
+
} | undefined;
|
|
12369
12410
|
}, {
|
|
12370
12411
|
id: string;
|
|
12371
12412
|
type: "InstanceSwap";
|
|
12372
12413
|
name: string;
|
|
12373
12414
|
defaultValue: string;
|
|
12415
|
+
defaultValuePreview?: {
|
|
12416
|
+
componentName: string;
|
|
12417
|
+
isRemote: boolean;
|
|
12418
|
+
componentSetName?: string | undefined;
|
|
12419
|
+
} | undefined;
|
|
12374
12420
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12375
12421
|
id: z.ZodString;
|
|
12376
12422
|
name: z.ZodString;
|
|
@@ -12431,16 +12477,39 @@ declare const DTOFigmaComponentPropertyMap: z.ZodRecord<z.ZodString, z.ZodDiscri
|
|
|
12431
12477
|
}, {
|
|
12432
12478
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12433
12479
|
defaultValue: z.ZodString;
|
|
12480
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12481
|
+
componentName: z.ZodString;
|
|
12482
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12483
|
+
isRemote: z.ZodBoolean;
|
|
12484
|
+
}, "strip", z.ZodTypeAny, {
|
|
12485
|
+
componentName: string;
|
|
12486
|
+
isRemote: boolean;
|
|
12487
|
+
componentSetName?: string | undefined;
|
|
12488
|
+
}, {
|
|
12489
|
+
componentName: string;
|
|
12490
|
+
isRemote: boolean;
|
|
12491
|
+
componentSetName?: string | undefined;
|
|
12492
|
+
}>>;
|
|
12434
12493
|
}>, "strip", z.ZodTypeAny, {
|
|
12435
12494
|
id: string;
|
|
12436
12495
|
type: "InstanceSwap";
|
|
12437
12496
|
name: string;
|
|
12438
12497
|
defaultValue: string;
|
|
12498
|
+
defaultValuePreview?: {
|
|
12499
|
+
componentName: string;
|
|
12500
|
+
isRemote: boolean;
|
|
12501
|
+
componentSetName?: string | undefined;
|
|
12502
|
+
} | undefined;
|
|
12439
12503
|
}, {
|
|
12440
12504
|
id: string;
|
|
12441
12505
|
type: "InstanceSwap";
|
|
12442
12506
|
name: string;
|
|
12443
12507
|
defaultValue: string;
|
|
12508
|
+
defaultValuePreview?: {
|
|
12509
|
+
componentName: string;
|
|
12510
|
+
isRemote: boolean;
|
|
12511
|
+
componentSetName?: string | undefined;
|
|
12512
|
+
} | undefined;
|
|
12444
12513
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12445
12514
|
id: z.ZodString;
|
|
12446
12515
|
name: z.ZodString;
|
|
@@ -12552,16 +12621,39 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
12552
12621
|
}, {
|
|
12553
12622
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12554
12623
|
defaultValue: z.ZodString;
|
|
12624
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12625
|
+
componentName: z.ZodString;
|
|
12626
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12627
|
+
isRemote: z.ZodBoolean;
|
|
12628
|
+
}, "strip", z.ZodTypeAny, {
|
|
12629
|
+
componentName: string;
|
|
12630
|
+
isRemote: boolean;
|
|
12631
|
+
componentSetName?: string | undefined;
|
|
12632
|
+
}, {
|
|
12633
|
+
componentName: string;
|
|
12634
|
+
isRemote: boolean;
|
|
12635
|
+
componentSetName?: string | undefined;
|
|
12636
|
+
}>>;
|
|
12555
12637
|
}>, "strip", z.ZodTypeAny, {
|
|
12556
12638
|
id: string;
|
|
12557
12639
|
type: "InstanceSwap";
|
|
12558
12640
|
name: string;
|
|
12559
12641
|
defaultValue: string;
|
|
12642
|
+
defaultValuePreview?: {
|
|
12643
|
+
componentName: string;
|
|
12644
|
+
isRemote: boolean;
|
|
12645
|
+
componentSetName?: string | undefined;
|
|
12646
|
+
} | undefined;
|
|
12560
12647
|
}, {
|
|
12561
12648
|
id: string;
|
|
12562
12649
|
type: "InstanceSwap";
|
|
12563
12650
|
name: string;
|
|
12564
12651
|
defaultValue: string;
|
|
12652
|
+
defaultValuePreview?: {
|
|
12653
|
+
componentName: string;
|
|
12654
|
+
isRemote: boolean;
|
|
12655
|
+
componentSetName?: string | undefined;
|
|
12656
|
+
} | undefined;
|
|
12565
12657
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12566
12658
|
id: z.ZodString;
|
|
12567
12659
|
name: z.ZodString;
|
|
@@ -12636,6 +12728,11 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
12636
12728
|
type: "InstanceSwap";
|
|
12637
12729
|
name: string;
|
|
12638
12730
|
defaultValue: string;
|
|
12731
|
+
defaultValuePreview?: {
|
|
12732
|
+
componentName: string;
|
|
12733
|
+
isRemote: boolean;
|
|
12734
|
+
componentSetName?: string | undefined;
|
|
12735
|
+
} | undefined;
|
|
12639
12736
|
} | {
|
|
12640
12737
|
id: string;
|
|
12641
12738
|
type: "Text";
|
|
@@ -12685,6 +12782,11 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
12685
12782
|
type: "InstanceSwap";
|
|
12686
12783
|
name: string;
|
|
12687
12784
|
defaultValue: string;
|
|
12785
|
+
defaultValuePreview?: {
|
|
12786
|
+
componentName: string;
|
|
12787
|
+
isRemote: boolean;
|
|
12788
|
+
componentSetName?: string | undefined;
|
|
12789
|
+
} | undefined;
|
|
12688
12790
|
} | {
|
|
12689
12791
|
id: string;
|
|
12690
12792
|
type: "Text";
|
|
@@ -12774,16 +12876,39 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
12774
12876
|
}, {
|
|
12775
12877
|
type: z.ZodLiteral<"InstanceSwap">;
|
|
12776
12878
|
defaultValue: z.ZodString;
|
|
12879
|
+
defaultValuePreview: z.ZodOptional<z.ZodObject<{
|
|
12880
|
+
componentName: z.ZodString;
|
|
12881
|
+
componentSetName: z.ZodOptional<z.ZodString>;
|
|
12882
|
+
isRemote: z.ZodBoolean;
|
|
12883
|
+
}, "strip", z.ZodTypeAny, {
|
|
12884
|
+
componentName: string;
|
|
12885
|
+
isRemote: boolean;
|
|
12886
|
+
componentSetName?: string | undefined;
|
|
12887
|
+
}, {
|
|
12888
|
+
componentName: string;
|
|
12889
|
+
isRemote: boolean;
|
|
12890
|
+
componentSetName?: string | undefined;
|
|
12891
|
+
}>>;
|
|
12777
12892
|
}>, "strip", z.ZodTypeAny, {
|
|
12778
12893
|
id: string;
|
|
12779
12894
|
type: "InstanceSwap";
|
|
12780
12895
|
name: string;
|
|
12781
12896
|
defaultValue: string;
|
|
12897
|
+
defaultValuePreview?: {
|
|
12898
|
+
componentName: string;
|
|
12899
|
+
isRemote: boolean;
|
|
12900
|
+
componentSetName?: string | undefined;
|
|
12901
|
+
} | undefined;
|
|
12782
12902
|
}, {
|
|
12783
12903
|
id: string;
|
|
12784
12904
|
type: "InstanceSwap";
|
|
12785
12905
|
name: string;
|
|
12786
12906
|
defaultValue: string;
|
|
12907
|
+
defaultValuePreview?: {
|
|
12908
|
+
componentName: string;
|
|
12909
|
+
isRemote: boolean;
|
|
12910
|
+
componentSetName?: string | undefined;
|
|
12911
|
+
} | undefined;
|
|
12787
12912
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12788
12913
|
id: z.ZodString;
|
|
12789
12914
|
name: z.ZodString;
|
|
@@ -12858,6 +12983,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
12858
12983
|
type: "InstanceSwap";
|
|
12859
12984
|
name: string;
|
|
12860
12985
|
defaultValue: string;
|
|
12986
|
+
defaultValuePreview?: {
|
|
12987
|
+
componentName: string;
|
|
12988
|
+
isRemote: boolean;
|
|
12989
|
+
componentSetName?: string | undefined;
|
|
12990
|
+
} | undefined;
|
|
12861
12991
|
} | {
|
|
12862
12992
|
id: string;
|
|
12863
12993
|
type: "Text";
|
|
@@ -12907,6 +13037,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
12907
13037
|
type: "InstanceSwap";
|
|
12908
13038
|
name: string;
|
|
12909
13039
|
defaultValue: string;
|
|
13040
|
+
defaultValuePreview?: {
|
|
13041
|
+
componentName: string;
|
|
13042
|
+
isRemote: boolean;
|
|
13043
|
+
componentSetName?: string | undefined;
|
|
13044
|
+
} | undefined;
|
|
12910
13045
|
} | {
|
|
12911
13046
|
id: string;
|
|
12912
13047
|
type: "Text";
|
|
@@ -12958,6 +13093,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
12958
13093
|
type: "InstanceSwap";
|
|
12959
13094
|
name: string;
|
|
12960
13095
|
defaultValue: string;
|
|
13096
|
+
defaultValuePreview?: {
|
|
13097
|
+
componentName: string;
|
|
13098
|
+
isRemote: boolean;
|
|
13099
|
+
componentSetName?: string | undefined;
|
|
13100
|
+
} | undefined;
|
|
12961
13101
|
} | {
|
|
12962
13102
|
id: string;
|
|
12963
13103
|
type: "Text";
|
|
@@ -13009,6 +13149,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
13009
13149
|
type: "InstanceSwap";
|
|
13010
13150
|
name: string;
|
|
13011
13151
|
defaultValue: string;
|
|
13152
|
+
defaultValuePreview?: {
|
|
13153
|
+
componentName: string;
|
|
13154
|
+
isRemote: boolean;
|
|
13155
|
+
componentSetName?: string | undefined;
|
|
13156
|
+
} | undefined;
|
|
13012
13157
|
} | {
|
|
13013
13158
|
id: string;
|
|
13014
13159
|
type: "Text";
|
package/dist/index.js
CHANGED
|
@@ -653,13 +653,19 @@ var FigmaComponentPropertyBase = _zod.z.object({
|
|
|
653
653
|
id: _zod.z.string(),
|
|
654
654
|
name: _zod.z.string()
|
|
655
655
|
});
|
|
656
|
+
var FigmaComponentInstancePreview = _zod.z.object({
|
|
657
|
+
componentName: _zod.z.string(),
|
|
658
|
+
componentSetName: _zod.z.string().optional(),
|
|
659
|
+
isRemote: _zod.z.boolean()
|
|
660
|
+
});
|
|
656
661
|
var FigmaComponentBooleanProperty = FigmaComponentPropertyBase.extend({
|
|
657
662
|
type: _zod.z.literal(FigmaComponentPropertyType.enum.Boolean),
|
|
658
663
|
defaultValue: _zod.z.boolean()
|
|
659
664
|
});
|
|
660
665
|
var FigmaComponentInstanceSwapProperty = FigmaComponentPropertyBase.extend({
|
|
661
666
|
type: _zod.z.literal(FigmaComponentPropertyType.enum.InstanceSwap),
|
|
662
|
-
defaultValue: _zod.z.string()
|
|
667
|
+
defaultValue: _zod.z.string(),
|
|
668
|
+
defaultValuePreview: FigmaComponentInstancePreview.optional()
|
|
663
669
|
});
|
|
664
670
|
var FigmaComponentVariantProperty = FigmaComponentPropertyBase.extend({
|
|
665
671
|
type: _zod.z.literal(FigmaComponentPropertyType.enum.Variant),
|