@supernova-studio/client 0.21.1 → 0.23.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/index.d.mts +802 -145
- package/dist/index.d.ts +802 -145
- package/dist/index.js +88 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +938 -860
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/elements-action-v2.ts +7 -8
- package/src/api/dto/elements/figma-nodes/figma-node.ts +46 -0
- package/src/api/dto/elements/figma-nodes/index.ts +2 -0
- package/src/api/dto/elements/figma-nodes/node-actions-v2.ts +24 -0
- package/src/api/dto/elements/get-elements-v2.ts +21 -0
- package/src/api/dto/elements/index.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -285,7 +285,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
285
285
|
frameReferenceId: string;
|
|
286
286
|
}>>;
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
type: "
|
|
288
|
+
type: "FigmaNode" | "Resource";
|
|
289
289
|
resource?: {
|
|
290
290
|
url: string;
|
|
291
291
|
resourceId: string;
|
|
@@ -295,7 +295,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
295
295
|
frameReferenceId: string;
|
|
296
296
|
} | undefined;
|
|
297
297
|
}, {
|
|
298
|
-
type: "
|
|
298
|
+
type: "FigmaNode" | "Resource";
|
|
299
299
|
resource?: {
|
|
300
300
|
url: string;
|
|
301
301
|
resourceId: string;
|
|
@@ -324,7 +324,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
324
324
|
referencedTokenId?: string | undefined;
|
|
325
325
|
} | null | undefined;
|
|
326
326
|
backgroundImageAsset?: {
|
|
327
|
-
type: "
|
|
327
|
+
type: "FigmaNode" | "Resource";
|
|
328
328
|
resource?: {
|
|
329
329
|
url: string;
|
|
330
330
|
resourceId: string;
|
|
@@ -350,7 +350,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
350
350
|
referencedTokenId?: string | undefined;
|
|
351
351
|
} | null | undefined;
|
|
352
352
|
backgroundImageAsset?: {
|
|
353
|
-
type: "
|
|
353
|
+
type: "FigmaNode" | "Resource";
|
|
354
354
|
resource?: {
|
|
355
355
|
url: string;
|
|
356
356
|
resourceId: string;
|
|
@@ -379,7 +379,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
379
379
|
referencedTokenId?: string | undefined;
|
|
380
380
|
} | null | undefined;
|
|
381
381
|
backgroundImageAsset?: {
|
|
382
|
-
type: "
|
|
382
|
+
type: "FigmaNode" | "Resource";
|
|
383
383
|
resource?: {
|
|
384
384
|
url: string;
|
|
385
385
|
resourceId: string;
|
|
@@ -408,7 +408,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
408
408
|
referencedTokenId?: string | undefined;
|
|
409
409
|
} | null | undefined;
|
|
410
410
|
backgroundImageAsset?: {
|
|
411
|
-
type: "
|
|
411
|
+
type: "FigmaNode" | "Resource";
|
|
412
412
|
resource?: {
|
|
413
413
|
url: string;
|
|
414
414
|
resourceId: string;
|
|
@@ -444,7 +444,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
444
444
|
referencedTokenId?: string | undefined;
|
|
445
445
|
} | null | undefined;
|
|
446
446
|
backgroundImageAsset?: {
|
|
447
|
-
type: "
|
|
447
|
+
type: "FigmaNode" | "Resource";
|
|
448
448
|
resource?: {
|
|
449
449
|
url: string;
|
|
450
450
|
resourceId: string;
|
|
@@ -479,7 +479,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
479
479
|
referencedTokenId?: string | undefined;
|
|
480
480
|
} | null | undefined;
|
|
481
481
|
backgroundImageAsset?: {
|
|
482
|
-
type: "
|
|
482
|
+
type: "FigmaNode" | "Resource";
|
|
483
483
|
resource?: {
|
|
484
484
|
url: string;
|
|
485
485
|
resourceId: string;
|
|
@@ -517,7 +517,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
517
517
|
referencedTokenId?: string | undefined;
|
|
518
518
|
} | null | undefined;
|
|
519
519
|
backgroundImageAsset?: {
|
|
520
|
-
type: "
|
|
520
|
+
type: "FigmaNode" | "Resource";
|
|
521
521
|
resource?: {
|
|
522
522
|
url: string;
|
|
523
523
|
resourceId: string;
|
|
@@ -555,7 +555,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
|
|
|
555
555
|
referencedTokenId?: string | undefined;
|
|
556
556
|
} | null | undefined;
|
|
557
557
|
backgroundImageAsset?: {
|
|
558
|
-
type: "
|
|
558
|
+
type: "FigmaNode" | "Resource";
|
|
559
559
|
resource?: {
|
|
560
560
|
url: string;
|
|
561
561
|
resourceId: string;
|
|
@@ -656,7 +656,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
656
656
|
frameReferenceId: string;
|
|
657
657
|
}>>;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
-
type: "
|
|
659
|
+
type: "FigmaNode" | "Resource";
|
|
660
660
|
resource?: {
|
|
661
661
|
url: string;
|
|
662
662
|
resourceId: string;
|
|
@@ -666,7 +666,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
666
666
|
frameReferenceId: string;
|
|
667
667
|
} | undefined;
|
|
668
668
|
}, {
|
|
669
|
-
type: "
|
|
669
|
+
type: "FigmaNode" | "Resource";
|
|
670
670
|
resource?: {
|
|
671
671
|
url: string;
|
|
672
672
|
resourceId: string;
|
|
@@ -695,7 +695,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
695
695
|
referencedTokenId?: string | undefined;
|
|
696
696
|
} | null | undefined;
|
|
697
697
|
backgroundImageAsset?: {
|
|
698
|
-
type: "
|
|
698
|
+
type: "FigmaNode" | "Resource";
|
|
699
699
|
resource?: {
|
|
700
700
|
url: string;
|
|
701
701
|
resourceId: string;
|
|
@@ -721,7 +721,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
721
721
|
referencedTokenId?: string | undefined;
|
|
722
722
|
} | null | undefined;
|
|
723
723
|
backgroundImageAsset?: {
|
|
724
|
-
type: "
|
|
724
|
+
type: "FigmaNode" | "Resource";
|
|
725
725
|
resource?: {
|
|
726
726
|
url: string;
|
|
727
727
|
resourceId: string;
|
|
@@ -750,7 +750,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
750
750
|
referencedTokenId?: string | undefined;
|
|
751
751
|
} | null | undefined;
|
|
752
752
|
backgroundImageAsset?: {
|
|
753
|
-
type: "
|
|
753
|
+
type: "FigmaNode" | "Resource";
|
|
754
754
|
resource?: {
|
|
755
755
|
url: string;
|
|
756
756
|
resourceId: string;
|
|
@@ -779,7 +779,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
779
779
|
referencedTokenId?: string | undefined;
|
|
780
780
|
} | null | undefined;
|
|
781
781
|
backgroundImageAsset?: {
|
|
782
|
-
type: "
|
|
782
|
+
type: "FigmaNode" | "Resource";
|
|
783
783
|
resource?: {
|
|
784
784
|
url: string;
|
|
785
785
|
resourceId: string;
|
|
@@ -812,7 +812,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
812
812
|
referencedTokenId?: string | undefined;
|
|
813
813
|
} | null | undefined;
|
|
814
814
|
backgroundImageAsset?: {
|
|
815
|
-
type: "
|
|
815
|
+
type: "FigmaNode" | "Resource";
|
|
816
816
|
resource?: {
|
|
817
817
|
url: string;
|
|
818
818
|
resourceId: string;
|
|
@@ -845,7 +845,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
845
845
|
referencedTokenId?: string | undefined;
|
|
846
846
|
} | null | undefined;
|
|
847
847
|
backgroundImageAsset?: {
|
|
848
|
-
type: "
|
|
848
|
+
type: "FigmaNode" | "Resource";
|
|
849
849
|
resource?: {
|
|
850
850
|
url: string;
|
|
851
851
|
resourceId: string;
|
|
@@ -881,7 +881,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
881
881
|
referencedTokenId?: string | undefined;
|
|
882
882
|
} | null | undefined;
|
|
883
883
|
backgroundImageAsset?: {
|
|
884
|
-
type: "
|
|
884
|
+
type: "FigmaNode" | "Resource";
|
|
885
885
|
resource?: {
|
|
886
886
|
url: string;
|
|
887
887
|
resourceId: string;
|
|
@@ -917,7 +917,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
|
|
|
917
917
|
referencedTokenId?: string | undefined;
|
|
918
918
|
} | null | undefined;
|
|
919
919
|
backgroundImageAsset?: {
|
|
920
|
-
type: "
|
|
920
|
+
type: "FigmaNode" | "Resource";
|
|
921
921
|
resource?: {
|
|
922
922
|
url: string;
|
|
923
923
|
resourceId: string;
|
|
@@ -1158,7 +1158,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
|
|
|
1158
1158
|
frameReferenceId: string;
|
|
1159
1159
|
}>>;
|
|
1160
1160
|
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
type: "
|
|
1161
|
+
type: "FigmaNode" | "Resource";
|
|
1162
1162
|
resource?: {
|
|
1163
1163
|
url: string;
|
|
1164
1164
|
resourceId: string;
|
|
@@ -1168,7 +1168,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
|
|
|
1168
1168
|
frameReferenceId: string;
|
|
1169
1169
|
} | undefined;
|
|
1170
1170
|
}, {
|
|
1171
|
-
type: "
|
|
1171
|
+
type: "FigmaNode" | "Resource";
|
|
1172
1172
|
resource?: {
|
|
1173
1173
|
url: string;
|
|
1174
1174
|
resourceId: string;
|
|
@@ -1197,7 +1197,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
|
|
|
1197
1197
|
referencedTokenId?: string | undefined;
|
|
1198
1198
|
} | null | undefined;
|
|
1199
1199
|
backgroundImageAsset?: {
|
|
1200
|
-
type: "
|
|
1200
|
+
type: "FigmaNode" | "Resource";
|
|
1201
1201
|
resource?: {
|
|
1202
1202
|
url: string;
|
|
1203
1203
|
resourceId: string;
|
|
@@ -1223,7 +1223,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
|
|
|
1223
1223
|
referencedTokenId?: string | undefined;
|
|
1224
1224
|
} | null | undefined;
|
|
1225
1225
|
backgroundImageAsset?: {
|
|
1226
|
-
type: "
|
|
1226
|
+
type: "FigmaNode" | "Resource";
|
|
1227
1227
|
resource?: {
|
|
1228
1228
|
url: string;
|
|
1229
1229
|
resourceId: string;
|
|
@@ -1252,7 +1252,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
|
|
|
1252
1252
|
referencedTokenId?: string | undefined;
|
|
1253
1253
|
} | null | undefined;
|
|
1254
1254
|
backgroundImageAsset?: {
|
|
1255
|
-
type: "
|
|
1255
|
+
type: "FigmaNode" | "Resource";
|
|
1256
1256
|
resource?: {
|
|
1257
1257
|
url: string;
|
|
1258
1258
|
resourceId: string;
|
|
@@ -1281,7 +1281,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
|
|
|
1281
1281
|
referencedTokenId?: string | undefined;
|
|
1282
1282
|
} | null | undefined;
|
|
1283
1283
|
backgroundImageAsset?: {
|
|
1284
|
-
type: "
|
|
1284
|
+
type: "FigmaNode" | "Resource";
|
|
1285
1285
|
resource?: {
|
|
1286
1286
|
url: string;
|
|
1287
1287
|
resourceId: string;
|
|
@@ -1323,7 +1323,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
|
|
|
1323
1323
|
referencedTokenId?: string | undefined;
|
|
1324
1324
|
} | null | undefined;
|
|
1325
1325
|
backgroundImageAsset?: {
|
|
1326
|
-
type: "
|
|
1326
|
+
type: "FigmaNode" | "Resource";
|
|
1327
1327
|
resource?: {
|
|
1328
1328
|
url: string;
|
|
1329
1329
|
resourceId: string;
|
|
@@ -1367,7 +1367,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
|
|
|
1367
1367
|
referencedTokenId?: string | undefined;
|
|
1368
1368
|
} | null | undefined;
|
|
1369
1369
|
backgroundImageAsset?: {
|
|
1370
|
-
type: "
|
|
1370
|
+
type: "FigmaNode" | "Resource";
|
|
1371
1371
|
resource?: {
|
|
1372
1372
|
url: string;
|
|
1373
1373
|
resourceId: string;
|
|
@@ -1435,7 +1435,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
|
|
|
1435
1435
|
frameReferenceId: string;
|
|
1436
1436
|
}>>;
|
|
1437
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1438
|
-
type: "
|
|
1438
|
+
type: "FigmaNode" | "Resource";
|
|
1439
1439
|
resource?: {
|
|
1440
1440
|
url: string;
|
|
1441
1441
|
resourceId: string;
|
|
@@ -1445,7 +1445,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
|
|
|
1445
1445
|
frameReferenceId: string;
|
|
1446
1446
|
} | undefined;
|
|
1447
1447
|
}, {
|
|
1448
|
-
type: "
|
|
1448
|
+
type: "FigmaNode" | "Resource";
|
|
1449
1449
|
resource?: {
|
|
1450
1450
|
url: string;
|
|
1451
1451
|
resourceId: string;
|
|
@@ -1474,7 +1474,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
|
|
|
1474
1474
|
referencedTokenId?: string | undefined;
|
|
1475
1475
|
} | null | undefined;
|
|
1476
1476
|
backgroundImageAsset?: {
|
|
1477
|
-
type: "
|
|
1477
|
+
type: "FigmaNode" | "Resource";
|
|
1478
1478
|
resource?: {
|
|
1479
1479
|
url: string;
|
|
1480
1480
|
resourceId: string;
|
|
@@ -1500,7 +1500,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
|
|
|
1500
1500
|
referencedTokenId?: string | undefined;
|
|
1501
1501
|
} | null | undefined;
|
|
1502
1502
|
backgroundImageAsset?: {
|
|
1503
|
-
type: "
|
|
1503
|
+
type: "FigmaNode" | "Resource";
|
|
1504
1504
|
resource?: {
|
|
1505
1505
|
url: string;
|
|
1506
1506
|
resourceId: string;
|
|
@@ -1529,7 +1529,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
|
|
|
1529
1529
|
referencedTokenId?: string | undefined;
|
|
1530
1530
|
} | null | undefined;
|
|
1531
1531
|
backgroundImageAsset?: {
|
|
1532
|
-
type: "
|
|
1532
|
+
type: "FigmaNode" | "Resource";
|
|
1533
1533
|
resource?: {
|
|
1534
1534
|
url: string;
|
|
1535
1535
|
resourceId: string;
|
|
@@ -1558,7 +1558,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
|
|
|
1558
1558
|
referencedTokenId?: string | undefined;
|
|
1559
1559
|
} | null | undefined;
|
|
1560
1560
|
backgroundImageAsset?: {
|
|
1561
|
-
type: "
|
|
1561
|
+
type: "FigmaNode" | "Resource";
|
|
1562
1562
|
resource?: {
|
|
1563
1563
|
url: string;
|
|
1564
1564
|
resourceId: string;
|
|
@@ -1594,7 +1594,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
|
|
|
1594
1594
|
referencedTokenId?: string | undefined;
|
|
1595
1595
|
} | null | undefined;
|
|
1596
1596
|
backgroundImageAsset?: {
|
|
1597
|
-
type: "
|
|
1597
|
+
type: "FigmaNode" | "Resource";
|
|
1598
1598
|
resource?: {
|
|
1599
1599
|
url: string;
|
|
1600
1600
|
resourceId: string;
|
|
@@ -1629,7 +1629,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
|
|
|
1629
1629
|
referencedTokenId?: string | undefined;
|
|
1630
1630
|
} | null | undefined;
|
|
1631
1631
|
backgroundImageAsset?: {
|
|
1632
|
-
type: "
|
|
1632
|
+
type: "FigmaNode" | "Resource";
|
|
1633
1633
|
resource?: {
|
|
1634
1634
|
url: string;
|
|
1635
1635
|
resourceId: string;
|
|
@@ -1696,7 +1696,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
|
|
|
1696
1696
|
frameReferenceId: string;
|
|
1697
1697
|
}>>;
|
|
1698
1698
|
}, "strip", z.ZodTypeAny, {
|
|
1699
|
-
type: "
|
|
1699
|
+
type: "FigmaNode" | "Resource";
|
|
1700
1700
|
resource?: {
|
|
1701
1701
|
url: string;
|
|
1702
1702
|
resourceId: string;
|
|
@@ -1706,7 +1706,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
|
|
|
1706
1706
|
frameReferenceId: string;
|
|
1707
1707
|
} | undefined;
|
|
1708
1708
|
}, {
|
|
1709
|
-
type: "
|
|
1709
|
+
type: "FigmaNode" | "Resource";
|
|
1710
1710
|
resource?: {
|
|
1711
1711
|
url: string;
|
|
1712
1712
|
resourceId: string;
|
|
@@ -1735,7 +1735,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
|
|
|
1735
1735
|
referencedTokenId?: string | undefined;
|
|
1736
1736
|
} | null | undefined;
|
|
1737
1737
|
backgroundImageAsset?: {
|
|
1738
|
-
type: "
|
|
1738
|
+
type: "FigmaNode" | "Resource";
|
|
1739
1739
|
resource?: {
|
|
1740
1740
|
url: string;
|
|
1741
1741
|
resourceId: string;
|
|
@@ -1761,7 +1761,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
|
|
|
1761
1761
|
referencedTokenId?: string | undefined;
|
|
1762
1762
|
} | null | undefined;
|
|
1763
1763
|
backgroundImageAsset?: {
|
|
1764
|
-
type: "
|
|
1764
|
+
type: "FigmaNode" | "Resource";
|
|
1765
1765
|
resource?: {
|
|
1766
1766
|
url: string;
|
|
1767
1767
|
resourceId: string;
|
|
@@ -1790,7 +1790,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
|
|
|
1790
1790
|
referencedTokenId?: string | undefined;
|
|
1791
1791
|
} | null | undefined;
|
|
1792
1792
|
backgroundImageAsset?: {
|
|
1793
|
-
type: "
|
|
1793
|
+
type: "FigmaNode" | "Resource";
|
|
1794
1794
|
resource?: {
|
|
1795
1795
|
url: string;
|
|
1796
1796
|
resourceId: string;
|
|
@@ -1819,7 +1819,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
|
|
|
1819
1819
|
referencedTokenId?: string | undefined;
|
|
1820
1820
|
} | null | undefined;
|
|
1821
1821
|
backgroundImageAsset?: {
|
|
1822
|
-
type: "
|
|
1822
|
+
type: "FigmaNode" | "Resource";
|
|
1823
1823
|
resource?: {
|
|
1824
1824
|
url: string;
|
|
1825
1825
|
resourceId: string;
|
|
@@ -1852,7 +1852,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
|
|
|
1852
1852
|
referencedTokenId?: string | undefined;
|
|
1853
1853
|
} | null | undefined;
|
|
1854
1854
|
backgroundImageAsset?: {
|
|
1855
|
-
type: "
|
|
1855
|
+
type: "FigmaNode" | "Resource";
|
|
1856
1856
|
resource?: {
|
|
1857
1857
|
url: string;
|
|
1858
1858
|
resourceId: string;
|
|
@@ -1885,7 +1885,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
|
|
|
1885
1885
|
referencedTokenId?: string | undefined;
|
|
1886
1886
|
} | null | undefined;
|
|
1887
1887
|
backgroundImageAsset?: {
|
|
1888
|
-
type: "
|
|
1888
|
+
type: "FigmaNode" | "Resource";
|
|
1889
1889
|
resource?: {
|
|
1890
1890
|
url: string;
|
|
1891
1891
|
resourceId: string;
|
|
@@ -2123,7 +2123,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2123
2123
|
frameReferenceId: string;
|
|
2124
2124
|
}>>;
|
|
2125
2125
|
}, "strip", z.ZodTypeAny, {
|
|
2126
|
-
type: "
|
|
2126
|
+
type: "FigmaNode" | "Resource";
|
|
2127
2127
|
resource?: {
|
|
2128
2128
|
url: string;
|
|
2129
2129
|
resourceId: string;
|
|
@@ -2133,7 +2133,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2133
2133
|
frameReferenceId: string;
|
|
2134
2134
|
} | undefined;
|
|
2135
2135
|
}, {
|
|
2136
|
-
type: "
|
|
2136
|
+
type: "FigmaNode" | "Resource";
|
|
2137
2137
|
resource?: {
|
|
2138
2138
|
url: string;
|
|
2139
2139
|
resourceId: string;
|
|
@@ -2162,7 +2162,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2162
2162
|
referencedTokenId?: string | undefined;
|
|
2163
2163
|
} | null | undefined;
|
|
2164
2164
|
backgroundImageAsset?: {
|
|
2165
|
-
type: "
|
|
2165
|
+
type: "FigmaNode" | "Resource";
|
|
2166
2166
|
resource?: {
|
|
2167
2167
|
url: string;
|
|
2168
2168
|
resourceId: string;
|
|
@@ -2188,7 +2188,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2188
2188
|
referencedTokenId?: string | undefined;
|
|
2189
2189
|
} | null | undefined;
|
|
2190
2190
|
backgroundImageAsset?: {
|
|
2191
|
-
type: "
|
|
2191
|
+
type: "FigmaNode" | "Resource";
|
|
2192
2192
|
resource?: {
|
|
2193
2193
|
url: string;
|
|
2194
2194
|
resourceId: string;
|
|
@@ -2217,7 +2217,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2217
2217
|
referencedTokenId?: string | undefined;
|
|
2218
2218
|
} | null | undefined;
|
|
2219
2219
|
backgroundImageAsset?: {
|
|
2220
|
-
type: "
|
|
2220
|
+
type: "FigmaNode" | "Resource";
|
|
2221
2221
|
resource?: {
|
|
2222
2222
|
url: string;
|
|
2223
2223
|
resourceId: string;
|
|
@@ -2246,7 +2246,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2246
2246
|
referencedTokenId?: string | undefined;
|
|
2247
2247
|
} | null | undefined;
|
|
2248
2248
|
backgroundImageAsset?: {
|
|
2249
|
-
type: "
|
|
2249
|
+
type: "FigmaNode" | "Resource";
|
|
2250
2250
|
resource?: {
|
|
2251
2251
|
url: string;
|
|
2252
2252
|
resourceId: string;
|
|
@@ -2282,7 +2282,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2282
2282
|
referencedTokenId?: string | undefined;
|
|
2283
2283
|
} | null | undefined;
|
|
2284
2284
|
backgroundImageAsset?: {
|
|
2285
|
-
type: "
|
|
2285
|
+
type: "FigmaNode" | "Resource";
|
|
2286
2286
|
resource?: {
|
|
2287
2287
|
url: string;
|
|
2288
2288
|
resourceId: string;
|
|
@@ -2317,7 +2317,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2317
2317
|
referencedTokenId?: string | undefined;
|
|
2318
2318
|
} | null | undefined;
|
|
2319
2319
|
backgroundImageAsset?: {
|
|
2320
|
-
type: "
|
|
2320
|
+
type: "FigmaNode" | "Resource";
|
|
2321
2321
|
resource?: {
|
|
2322
2322
|
url: string;
|
|
2323
2323
|
resourceId: string;
|
|
@@ -2355,7 +2355,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2355
2355
|
referencedTokenId?: string | undefined;
|
|
2356
2356
|
} | null | undefined;
|
|
2357
2357
|
backgroundImageAsset?: {
|
|
2358
|
-
type: "
|
|
2358
|
+
type: "FigmaNode" | "Resource";
|
|
2359
2359
|
resource?: {
|
|
2360
2360
|
url: string;
|
|
2361
2361
|
resourceId: string;
|
|
@@ -2393,7 +2393,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
|
|
|
2393
2393
|
referencedTokenId?: string | undefined;
|
|
2394
2394
|
} | null | undefined;
|
|
2395
2395
|
backgroundImageAsset?: {
|
|
2396
|
-
type: "
|
|
2396
|
+
type: "FigmaNode" | "Resource";
|
|
2397
2397
|
resource?: {
|
|
2398
2398
|
url: string;
|
|
2399
2399
|
resourceId: string;
|
|
@@ -2463,7 +2463,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2463
2463
|
frameReferenceId: string;
|
|
2464
2464
|
}>>;
|
|
2465
2465
|
}, "strip", z.ZodTypeAny, {
|
|
2466
|
-
type: "
|
|
2466
|
+
type: "FigmaNode" | "Resource";
|
|
2467
2467
|
resource?: {
|
|
2468
2468
|
url: string;
|
|
2469
2469
|
resourceId: string;
|
|
@@ -2473,7 +2473,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2473
2473
|
frameReferenceId: string;
|
|
2474
2474
|
} | undefined;
|
|
2475
2475
|
}, {
|
|
2476
|
-
type: "
|
|
2476
|
+
type: "FigmaNode" | "Resource";
|
|
2477
2477
|
resource?: {
|
|
2478
2478
|
url: string;
|
|
2479
2479
|
resourceId: string;
|
|
@@ -2502,7 +2502,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2502
2502
|
referencedTokenId?: string | undefined;
|
|
2503
2503
|
} | null | undefined;
|
|
2504
2504
|
backgroundImageAsset?: {
|
|
2505
|
-
type: "
|
|
2505
|
+
type: "FigmaNode" | "Resource";
|
|
2506
2506
|
resource?: {
|
|
2507
2507
|
url: string;
|
|
2508
2508
|
resourceId: string;
|
|
@@ -2528,7 +2528,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2528
2528
|
referencedTokenId?: string | undefined;
|
|
2529
2529
|
} | null | undefined;
|
|
2530
2530
|
backgroundImageAsset?: {
|
|
2531
|
-
type: "
|
|
2531
|
+
type: "FigmaNode" | "Resource";
|
|
2532
2532
|
resource?: {
|
|
2533
2533
|
url: string;
|
|
2534
2534
|
resourceId: string;
|
|
@@ -2557,7 +2557,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2557
2557
|
referencedTokenId?: string | undefined;
|
|
2558
2558
|
} | null | undefined;
|
|
2559
2559
|
backgroundImageAsset?: {
|
|
2560
|
-
type: "
|
|
2560
|
+
type: "FigmaNode" | "Resource";
|
|
2561
2561
|
resource?: {
|
|
2562
2562
|
url: string;
|
|
2563
2563
|
resourceId: string;
|
|
@@ -2586,7 +2586,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2586
2586
|
referencedTokenId?: string | undefined;
|
|
2587
2587
|
} | null | undefined;
|
|
2588
2588
|
backgroundImageAsset?: {
|
|
2589
|
-
type: "
|
|
2589
|
+
type: "FigmaNode" | "Resource";
|
|
2590
2590
|
resource?: {
|
|
2591
2591
|
url: string;
|
|
2592
2592
|
resourceId: string;
|
|
@@ -2619,7 +2619,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2619
2619
|
referencedTokenId?: string | undefined;
|
|
2620
2620
|
} | null | undefined;
|
|
2621
2621
|
backgroundImageAsset?: {
|
|
2622
|
-
type: "
|
|
2622
|
+
type: "FigmaNode" | "Resource";
|
|
2623
2623
|
resource?: {
|
|
2624
2624
|
url: string;
|
|
2625
2625
|
resourceId: string;
|
|
@@ -2652,7 +2652,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2652
2652
|
referencedTokenId?: string | undefined;
|
|
2653
2653
|
} | null | undefined;
|
|
2654
2654
|
backgroundImageAsset?: {
|
|
2655
|
-
type: "
|
|
2655
|
+
type: "FigmaNode" | "Resource";
|
|
2656
2656
|
resource?: {
|
|
2657
2657
|
url: string;
|
|
2658
2658
|
resourceId: string;
|
|
@@ -2688,7 +2688,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2688
2688
|
referencedTokenId?: string | undefined;
|
|
2689
2689
|
} | null | undefined;
|
|
2690
2690
|
backgroundImageAsset?: {
|
|
2691
|
-
type: "
|
|
2691
|
+
type: "FigmaNode" | "Resource";
|
|
2692
2692
|
resource?: {
|
|
2693
2693
|
url: string;
|
|
2694
2694
|
resourceId: string;
|
|
@@ -2724,7 +2724,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
|
|
|
2724
2724
|
referencedTokenId?: string | undefined;
|
|
2725
2725
|
} | null | undefined;
|
|
2726
2726
|
backgroundImageAsset?: {
|
|
2727
|
-
type: "
|
|
2727
|
+
type: "FigmaNode" | "Resource";
|
|
2728
2728
|
resource?: {
|
|
2729
2729
|
url: string;
|
|
2730
2730
|
resourceId: string;
|
|
@@ -3729,7 +3729,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
|
|
|
3729
3729
|
frameReferenceId: string;
|
|
3730
3730
|
}>>;
|
|
3731
3731
|
}, "strip", z.ZodTypeAny, {
|
|
3732
|
-
type: "
|
|
3732
|
+
type: "FigmaNode" | "Resource";
|
|
3733
3733
|
resource?: {
|
|
3734
3734
|
url: string;
|
|
3735
3735
|
resourceId: string;
|
|
@@ -3739,7 +3739,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
|
|
|
3739
3739
|
frameReferenceId: string;
|
|
3740
3740
|
} | undefined;
|
|
3741
3741
|
}, {
|
|
3742
|
-
type: "
|
|
3742
|
+
type: "FigmaNode" | "Resource";
|
|
3743
3743
|
resource?: {
|
|
3744
3744
|
url: string;
|
|
3745
3745
|
resourceId: string;
|
|
@@ -3768,7 +3768,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
|
|
|
3768
3768
|
referencedTokenId?: string | undefined;
|
|
3769
3769
|
} | null | undefined;
|
|
3770
3770
|
backgroundImageAsset?: {
|
|
3771
|
-
type: "
|
|
3771
|
+
type: "FigmaNode" | "Resource";
|
|
3772
3772
|
resource?: {
|
|
3773
3773
|
url: string;
|
|
3774
3774
|
resourceId: string;
|
|
@@ -3794,7 +3794,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
|
|
|
3794
3794
|
referencedTokenId?: string | undefined;
|
|
3795
3795
|
} | null | undefined;
|
|
3796
3796
|
backgroundImageAsset?: {
|
|
3797
|
-
type: "
|
|
3797
|
+
type: "FigmaNode" | "Resource";
|
|
3798
3798
|
resource?: {
|
|
3799
3799
|
url: string;
|
|
3800
3800
|
resourceId: string;
|
|
@@ -3823,7 +3823,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
|
|
|
3823
3823
|
referencedTokenId?: string | undefined;
|
|
3824
3824
|
} | null | undefined;
|
|
3825
3825
|
backgroundImageAsset?: {
|
|
3826
|
-
type: "
|
|
3826
|
+
type: "FigmaNode" | "Resource";
|
|
3827
3827
|
resource?: {
|
|
3828
3828
|
url: string;
|
|
3829
3829
|
resourceId: string;
|
|
@@ -3852,7 +3852,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
|
|
|
3852
3852
|
referencedTokenId?: string | undefined;
|
|
3853
3853
|
} | null | undefined;
|
|
3854
3854
|
backgroundImageAsset?: {
|
|
3855
|
-
type: "
|
|
3855
|
+
type: "FigmaNode" | "Resource";
|
|
3856
3856
|
resource?: {
|
|
3857
3857
|
url: string;
|
|
3858
3858
|
resourceId: string;
|
|
@@ -3892,7 +3892,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
|
|
|
3892
3892
|
referencedTokenId?: string | undefined;
|
|
3893
3893
|
} | null | undefined;
|
|
3894
3894
|
backgroundImageAsset?: {
|
|
3895
|
-
type: "
|
|
3895
|
+
type: "FigmaNode" | "Resource";
|
|
3896
3896
|
resource?: {
|
|
3897
3897
|
url: string;
|
|
3898
3898
|
resourceId: string;
|
|
@@ -3934,7 +3934,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
|
|
|
3934
3934
|
referencedTokenId?: string | undefined;
|
|
3935
3935
|
} | null | undefined;
|
|
3936
3936
|
backgroundImageAsset?: {
|
|
3937
|
-
type: "
|
|
3937
|
+
type: "FigmaNode" | "Resource";
|
|
3938
3938
|
resource?: {
|
|
3939
3939
|
url: string;
|
|
3940
3940
|
resourceId: string;
|
|
@@ -4185,7 +4185,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4185
4185
|
frameReferenceId: string;
|
|
4186
4186
|
}>>;
|
|
4187
4187
|
}, "strip", z.ZodTypeAny, {
|
|
4188
|
-
type: "
|
|
4188
|
+
type: "FigmaNode" | "Resource";
|
|
4189
4189
|
resource?: {
|
|
4190
4190
|
url: string;
|
|
4191
4191
|
resourceId: string;
|
|
@@ -4195,7 +4195,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4195
4195
|
frameReferenceId: string;
|
|
4196
4196
|
} | undefined;
|
|
4197
4197
|
}, {
|
|
4198
|
-
type: "
|
|
4198
|
+
type: "FigmaNode" | "Resource";
|
|
4199
4199
|
resource?: {
|
|
4200
4200
|
url: string;
|
|
4201
4201
|
resourceId: string;
|
|
@@ -4224,7 +4224,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4224
4224
|
referencedTokenId?: string | undefined;
|
|
4225
4225
|
} | null | undefined;
|
|
4226
4226
|
backgroundImageAsset?: {
|
|
4227
|
-
type: "
|
|
4227
|
+
type: "FigmaNode" | "Resource";
|
|
4228
4228
|
resource?: {
|
|
4229
4229
|
url: string;
|
|
4230
4230
|
resourceId: string;
|
|
@@ -4250,7 +4250,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4250
4250
|
referencedTokenId?: string | undefined;
|
|
4251
4251
|
} | null | undefined;
|
|
4252
4252
|
backgroundImageAsset?: {
|
|
4253
|
-
type: "
|
|
4253
|
+
type: "FigmaNode" | "Resource";
|
|
4254
4254
|
resource?: {
|
|
4255
4255
|
url: string;
|
|
4256
4256
|
resourceId: string;
|
|
@@ -4279,7 +4279,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4279
4279
|
referencedTokenId?: string | undefined;
|
|
4280
4280
|
} | null | undefined;
|
|
4281
4281
|
backgroundImageAsset?: {
|
|
4282
|
-
type: "
|
|
4282
|
+
type: "FigmaNode" | "Resource";
|
|
4283
4283
|
resource?: {
|
|
4284
4284
|
url: string;
|
|
4285
4285
|
resourceId: string;
|
|
@@ -4308,7 +4308,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4308
4308
|
referencedTokenId?: string | undefined;
|
|
4309
4309
|
} | null | undefined;
|
|
4310
4310
|
backgroundImageAsset?: {
|
|
4311
|
-
type: "
|
|
4311
|
+
type: "FigmaNode" | "Resource";
|
|
4312
4312
|
resource?: {
|
|
4313
4313
|
url: string;
|
|
4314
4314
|
resourceId: string;
|
|
@@ -4344,7 +4344,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4344
4344
|
referencedTokenId?: string | undefined;
|
|
4345
4345
|
} | null | undefined;
|
|
4346
4346
|
backgroundImageAsset?: {
|
|
4347
|
-
type: "
|
|
4347
|
+
type: "FigmaNode" | "Resource";
|
|
4348
4348
|
resource?: {
|
|
4349
4349
|
url: string;
|
|
4350
4350
|
resourceId: string;
|
|
@@ -4379,7 +4379,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4379
4379
|
referencedTokenId?: string | undefined;
|
|
4380
4380
|
} | null | undefined;
|
|
4381
4381
|
backgroundImageAsset?: {
|
|
4382
|
-
type: "
|
|
4382
|
+
type: "FigmaNode" | "Resource";
|
|
4383
4383
|
resource?: {
|
|
4384
4384
|
url: string;
|
|
4385
4385
|
resourceId: string;
|
|
@@ -4446,7 +4446,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4446
4446
|
frameReferenceId: string;
|
|
4447
4447
|
}>>;
|
|
4448
4448
|
}, "strip", z.ZodTypeAny, {
|
|
4449
|
-
type: "
|
|
4449
|
+
type: "FigmaNode" | "Resource";
|
|
4450
4450
|
resource?: {
|
|
4451
4451
|
url: string;
|
|
4452
4452
|
resourceId: string;
|
|
@@ -4456,7 +4456,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4456
4456
|
frameReferenceId: string;
|
|
4457
4457
|
} | undefined;
|
|
4458
4458
|
}, {
|
|
4459
|
-
type: "
|
|
4459
|
+
type: "FigmaNode" | "Resource";
|
|
4460
4460
|
resource?: {
|
|
4461
4461
|
url: string;
|
|
4462
4462
|
resourceId: string;
|
|
@@ -4485,7 +4485,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4485
4485
|
referencedTokenId?: string | undefined;
|
|
4486
4486
|
} | null | undefined;
|
|
4487
4487
|
backgroundImageAsset?: {
|
|
4488
|
-
type: "
|
|
4488
|
+
type: "FigmaNode" | "Resource";
|
|
4489
4489
|
resource?: {
|
|
4490
4490
|
url: string;
|
|
4491
4491
|
resourceId: string;
|
|
@@ -4511,7 +4511,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4511
4511
|
referencedTokenId?: string | undefined;
|
|
4512
4512
|
} | null | undefined;
|
|
4513
4513
|
backgroundImageAsset?: {
|
|
4514
|
-
type: "
|
|
4514
|
+
type: "FigmaNode" | "Resource";
|
|
4515
4515
|
resource?: {
|
|
4516
4516
|
url: string;
|
|
4517
4517
|
resourceId: string;
|
|
@@ -4540,7 +4540,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4540
4540
|
referencedTokenId?: string | undefined;
|
|
4541
4541
|
} | null | undefined;
|
|
4542
4542
|
backgroundImageAsset?: {
|
|
4543
|
-
type: "
|
|
4543
|
+
type: "FigmaNode" | "Resource";
|
|
4544
4544
|
resource?: {
|
|
4545
4545
|
url: string;
|
|
4546
4546
|
resourceId: string;
|
|
@@ -4569,7 +4569,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4569
4569
|
referencedTokenId?: string | undefined;
|
|
4570
4570
|
} | null | undefined;
|
|
4571
4571
|
backgroundImageAsset?: {
|
|
4572
|
-
type: "
|
|
4572
|
+
type: "FigmaNode" | "Resource";
|
|
4573
4573
|
resource?: {
|
|
4574
4574
|
url: string;
|
|
4575
4575
|
resourceId: string;
|
|
@@ -4602,7 +4602,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4602
4602
|
referencedTokenId?: string | undefined;
|
|
4603
4603
|
} | null | undefined;
|
|
4604
4604
|
backgroundImageAsset?: {
|
|
4605
|
-
type: "
|
|
4605
|
+
type: "FigmaNode" | "Resource";
|
|
4606
4606
|
resource?: {
|
|
4607
4607
|
url: string;
|
|
4608
4608
|
resourceId: string;
|
|
@@ -4635,7 +4635,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
|
|
|
4635
4635
|
referencedTokenId?: string | undefined;
|
|
4636
4636
|
} | null | undefined;
|
|
4637
4637
|
backgroundImageAsset?: {
|
|
4638
|
-
type: "
|
|
4638
|
+
type: "FigmaNode" | "Resource";
|
|
4639
4639
|
resource?: {
|
|
4640
4640
|
url: string;
|
|
4641
4641
|
resourceId: string;
|
|
@@ -4690,6 +4690,324 @@ declare const DTODeleteDocumentationPageInputV2: z.ZodObject<{
|
|
|
4690
4690
|
}>;
|
|
4691
4691
|
type DTODeleteDocumentationPageInputV2 = z.infer<typeof DTODeleteDocumentationPageInputV2>;
|
|
4692
4692
|
|
|
4693
|
+
declare const DTOFigmaNodeData: z.ZodObject<{
|
|
4694
|
+
figmaNodeId: z.ZodString;
|
|
4695
|
+
isValid: z.ZodBoolean;
|
|
4696
|
+
assetId: z.ZodString;
|
|
4697
|
+
assetUrl: z.ZodString;
|
|
4698
|
+
assetScale: z.ZodNumber;
|
|
4699
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
4700
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
4701
|
+
}, "strip", z.ZodTypeAny, {
|
|
4702
|
+
figmaNodeId: string;
|
|
4703
|
+
isValid: boolean;
|
|
4704
|
+
assetId: string;
|
|
4705
|
+
assetUrl: string;
|
|
4706
|
+
assetScale: number;
|
|
4707
|
+
assetWidth?: number | undefined;
|
|
4708
|
+
assetHeight?: number | undefined;
|
|
4709
|
+
}, {
|
|
4710
|
+
figmaNodeId: string;
|
|
4711
|
+
isValid: boolean;
|
|
4712
|
+
assetId: string;
|
|
4713
|
+
assetUrl: string;
|
|
4714
|
+
assetScale: number;
|
|
4715
|
+
assetWidth?: number | undefined;
|
|
4716
|
+
assetHeight?: number | undefined;
|
|
4717
|
+
}>;
|
|
4718
|
+
type DTOFigmaNodeData = z.infer<typeof DTOFigmaNodeData>;
|
|
4719
|
+
declare const DTOFigmaNode: z.ZodObject<{
|
|
4720
|
+
id: z.ZodString;
|
|
4721
|
+
createdAt: z.ZodDate;
|
|
4722
|
+
updatedAt: z.ZodDate;
|
|
4723
|
+
meta: z.ZodObject<{
|
|
4724
|
+
name: z.ZodString;
|
|
4725
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4726
|
+
}, "strip", z.ZodTypeAny, {
|
|
4727
|
+
name: string;
|
|
4728
|
+
description?: string | undefined;
|
|
4729
|
+
}, {
|
|
4730
|
+
name: string;
|
|
4731
|
+
description?: string | undefined;
|
|
4732
|
+
}>;
|
|
4733
|
+
persistentId: z.ZodString;
|
|
4734
|
+
designSystemVersionId: z.ZodString;
|
|
4735
|
+
origin: z.ZodObject<{
|
|
4736
|
+
sourceId: z.ZodString;
|
|
4737
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
4738
|
+
}, "strip", z.ZodTypeAny, {
|
|
4739
|
+
sourceId: string;
|
|
4740
|
+
fileId?: string | undefined;
|
|
4741
|
+
}, {
|
|
4742
|
+
sourceId: string;
|
|
4743
|
+
fileId?: string | undefined;
|
|
4744
|
+
}>;
|
|
4745
|
+
data: z.ZodObject<{
|
|
4746
|
+
figmaNodeId: z.ZodString;
|
|
4747
|
+
isValid: z.ZodBoolean;
|
|
4748
|
+
assetId: z.ZodString;
|
|
4749
|
+
assetUrl: z.ZodString;
|
|
4750
|
+
assetScale: z.ZodNumber;
|
|
4751
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
4752
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
4753
|
+
}, "strip", z.ZodTypeAny, {
|
|
4754
|
+
figmaNodeId: string;
|
|
4755
|
+
isValid: boolean;
|
|
4756
|
+
assetId: string;
|
|
4757
|
+
assetUrl: string;
|
|
4758
|
+
assetScale: number;
|
|
4759
|
+
assetWidth?: number | undefined;
|
|
4760
|
+
assetHeight?: number | undefined;
|
|
4761
|
+
}, {
|
|
4762
|
+
figmaNodeId: string;
|
|
4763
|
+
isValid: boolean;
|
|
4764
|
+
assetId: string;
|
|
4765
|
+
assetUrl: string;
|
|
4766
|
+
assetScale: number;
|
|
4767
|
+
assetWidth?: number | undefined;
|
|
4768
|
+
assetHeight?: number | undefined;
|
|
4769
|
+
}>;
|
|
4770
|
+
}, "strip", z.ZodTypeAny, {
|
|
4771
|
+
id: string;
|
|
4772
|
+
createdAt: Date;
|
|
4773
|
+
updatedAt: Date;
|
|
4774
|
+
meta: {
|
|
4775
|
+
name: string;
|
|
4776
|
+
description?: string | undefined;
|
|
4777
|
+
};
|
|
4778
|
+
persistentId: string;
|
|
4779
|
+
designSystemVersionId: string;
|
|
4780
|
+
data: {
|
|
4781
|
+
figmaNodeId: string;
|
|
4782
|
+
isValid: boolean;
|
|
4783
|
+
assetId: string;
|
|
4784
|
+
assetUrl: string;
|
|
4785
|
+
assetScale: number;
|
|
4786
|
+
assetWidth?: number | undefined;
|
|
4787
|
+
assetHeight?: number | undefined;
|
|
4788
|
+
};
|
|
4789
|
+
origin: {
|
|
4790
|
+
sourceId: string;
|
|
4791
|
+
fileId?: string | undefined;
|
|
4792
|
+
};
|
|
4793
|
+
}, {
|
|
4794
|
+
id: string;
|
|
4795
|
+
createdAt: Date;
|
|
4796
|
+
updatedAt: Date;
|
|
4797
|
+
meta: {
|
|
4798
|
+
name: string;
|
|
4799
|
+
description?: string | undefined;
|
|
4800
|
+
};
|
|
4801
|
+
persistentId: string;
|
|
4802
|
+
designSystemVersionId: string;
|
|
4803
|
+
data: {
|
|
4804
|
+
figmaNodeId: string;
|
|
4805
|
+
isValid: boolean;
|
|
4806
|
+
assetId: string;
|
|
4807
|
+
assetUrl: string;
|
|
4808
|
+
assetScale: number;
|
|
4809
|
+
assetWidth?: number | undefined;
|
|
4810
|
+
assetHeight?: number | undefined;
|
|
4811
|
+
};
|
|
4812
|
+
origin: {
|
|
4813
|
+
sourceId: string;
|
|
4814
|
+
fileId?: string | undefined;
|
|
4815
|
+
};
|
|
4816
|
+
}>;
|
|
4817
|
+
type DTOFigmaNode = z.infer<typeof DTOFigmaNode>;
|
|
4818
|
+
declare const DTOFigmaNodeCreateInput: z.ZodObject<{
|
|
4819
|
+
sourceId: z.ZodString;
|
|
4820
|
+
figmaFileNodeId: z.ZodString;
|
|
4821
|
+
}, "strip", z.ZodTypeAny, {
|
|
4822
|
+
sourceId: string;
|
|
4823
|
+
figmaFileNodeId: string;
|
|
4824
|
+
}, {
|
|
4825
|
+
sourceId: string;
|
|
4826
|
+
figmaFileNodeId: string;
|
|
4827
|
+
}>;
|
|
4828
|
+
type DTOFigmaNodeCreateInput = z.infer<typeof DTOFigmaNodeCreateInput>;
|
|
4829
|
+
|
|
4830
|
+
declare const DTOFigmaNodeActionOutput: z.ZodObject<{
|
|
4831
|
+
type: z.ZodLiteral<"FigmaNodeRender">;
|
|
4832
|
+
figmaNodes: z.ZodArray<z.ZodObject<{
|
|
4833
|
+
id: z.ZodString;
|
|
4834
|
+
createdAt: z.ZodDate;
|
|
4835
|
+
updatedAt: z.ZodDate;
|
|
4836
|
+
meta: z.ZodObject<{
|
|
4837
|
+
name: z.ZodString;
|
|
4838
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4839
|
+
}, "strip", z.ZodTypeAny, {
|
|
4840
|
+
name: string;
|
|
4841
|
+
description?: string | undefined;
|
|
4842
|
+
}, {
|
|
4843
|
+
name: string;
|
|
4844
|
+
description?: string | undefined;
|
|
4845
|
+
}>;
|
|
4846
|
+
persistentId: z.ZodString;
|
|
4847
|
+
designSystemVersionId: z.ZodString;
|
|
4848
|
+
origin: z.ZodObject<{
|
|
4849
|
+
sourceId: z.ZodString;
|
|
4850
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
4851
|
+
}, "strip", z.ZodTypeAny, {
|
|
4852
|
+
sourceId: string;
|
|
4853
|
+
fileId?: string | undefined;
|
|
4854
|
+
}, {
|
|
4855
|
+
sourceId: string;
|
|
4856
|
+
fileId?: string | undefined;
|
|
4857
|
+
}>;
|
|
4858
|
+
data: z.ZodObject<{
|
|
4859
|
+
figmaNodeId: z.ZodString;
|
|
4860
|
+
isValid: z.ZodBoolean;
|
|
4861
|
+
assetId: z.ZodString;
|
|
4862
|
+
assetUrl: z.ZodString;
|
|
4863
|
+
assetScale: z.ZodNumber;
|
|
4864
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
4865
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
4866
|
+
}, "strip", z.ZodTypeAny, {
|
|
4867
|
+
figmaNodeId: string;
|
|
4868
|
+
isValid: boolean;
|
|
4869
|
+
assetId: string;
|
|
4870
|
+
assetUrl: string;
|
|
4871
|
+
assetScale: number;
|
|
4872
|
+
assetWidth?: number | undefined;
|
|
4873
|
+
assetHeight?: number | undefined;
|
|
4874
|
+
}, {
|
|
4875
|
+
figmaNodeId: string;
|
|
4876
|
+
isValid: boolean;
|
|
4877
|
+
assetId: string;
|
|
4878
|
+
assetUrl: string;
|
|
4879
|
+
assetScale: number;
|
|
4880
|
+
assetWidth?: number | undefined;
|
|
4881
|
+
assetHeight?: number | undefined;
|
|
4882
|
+
}>;
|
|
4883
|
+
}, "strip", z.ZodTypeAny, {
|
|
4884
|
+
id: string;
|
|
4885
|
+
createdAt: Date;
|
|
4886
|
+
updatedAt: Date;
|
|
4887
|
+
meta: {
|
|
4888
|
+
name: string;
|
|
4889
|
+
description?: string | undefined;
|
|
4890
|
+
};
|
|
4891
|
+
persistentId: string;
|
|
4892
|
+
designSystemVersionId: string;
|
|
4893
|
+
data: {
|
|
4894
|
+
figmaNodeId: string;
|
|
4895
|
+
isValid: boolean;
|
|
4896
|
+
assetId: string;
|
|
4897
|
+
assetUrl: string;
|
|
4898
|
+
assetScale: number;
|
|
4899
|
+
assetWidth?: number | undefined;
|
|
4900
|
+
assetHeight?: number | undefined;
|
|
4901
|
+
};
|
|
4902
|
+
origin: {
|
|
4903
|
+
sourceId: string;
|
|
4904
|
+
fileId?: string | undefined;
|
|
4905
|
+
};
|
|
4906
|
+
}, {
|
|
4907
|
+
id: string;
|
|
4908
|
+
createdAt: Date;
|
|
4909
|
+
updatedAt: Date;
|
|
4910
|
+
meta: {
|
|
4911
|
+
name: string;
|
|
4912
|
+
description?: string | undefined;
|
|
4913
|
+
};
|
|
4914
|
+
persistentId: string;
|
|
4915
|
+
designSystemVersionId: string;
|
|
4916
|
+
data: {
|
|
4917
|
+
figmaNodeId: string;
|
|
4918
|
+
isValid: boolean;
|
|
4919
|
+
assetId: string;
|
|
4920
|
+
assetUrl: string;
|
|
4921
|
+
assetScale: number;
|
|
4922
|
+
assetWidth?: number | undefined;
|
|
4923
|
+
assetHeight?: number | undefined;
|
|
4924
|
+
};
|
|
4925
|
+
origin: {
|
|
4926
|
+
sourceId: string;
|
|
4927
|
+
fileId?: string | undefined;
|
|
4928
|
+
};
|
|
4929
|
+
}>, "many">;
|
|
4930
|
+
}, "strip", z.ZodTypeAny, {
|
|
4931
|
+
type: "FigmaNodeRender";
|
|
4932
|
+
figmaNodes: {
|
|
4933
|
+
id: string;
|
|
4934
|
+
createdAt: Date;
|
|
4935
|
+
updatedAt: Date;
|
|
4936
|
+
meta: {
|
|
4937
|
+
name: string;
|
|
4938
|
+
description?: string | undefined;
|
|
4939
|
+
};
|
|
4940
|
+
persistentId: string;
|
|
4941
|
+
designSystemVersionId: string;
|
|
4942
|
+
data: {
|
|
4943
|
+
figmaNodeId: string;
|
|
4944
|
+
isValid: boolean;
|
|
4945
|
+
assetId: string;
|
|
4946
|
+
assetUrl: string;
|
|
4947
|
+
assetScale: number;
|
|
4948
|
+
assetWidth?: number | undefined;
|
|
4949
|
+
assetHeight?: number | undefined;
|
|
4950
|
+
};
|
|
4951
|
+
origin: {
|
|
4952
|
+
sourceId: string;
|
|
4953
|
+
fileId?: string | undefined;
|
|
4954
|
+
};
|
|
4955
|
+
}[];
|
|
4956
|
+
}, {
|
|
4957
|
+
type: "FigmaNodeRender";
|
|
4958
|
+
figmaNodes: {
|
|
4959
|
+
id: string;
|
|
4960
|
+
createdAt: Date;
|
|
4961
|
+
updatedAt: Date;
|
|
4962
|
+
meta: {
|
|
4963
|
+
name: string;
|
|
4964
|
+
description?: string | undefined;
|
|
4965
|
+
};
|
|
4966
|
+
persistentId: string;
|
|
4967
|
+
designSystemVersionId: string;
|
|
4968
|
+
data: {
|
|
4969
|
+
figmaNodeId: string;
|
|
4970
|
+
isValid: boolean;
|
|
4971
|
+
assetId: string;
|
|
4972
|
+
assetUrl: string;
|
|
4973
|
+
assetScale: number;
|
|
4974
|
+
assetWidth?: number | undefined;
|
|
4975
|
+
assetHeight?: number | undefined;
|
|
4976
|
+
};
|
|
4977
|
+
origin: {
|
|
4978
|
+
sourceId: string;
|
|
4979
|
+
fileId?: string | undefined;
|
|
4980
|
+
};
|
|
4981
|
+
}[];
|
|
4982
|
+
}>;
|
|
4983
|
+
type DTOFigmaNodeActionOutput = z.infer<typeof DTOFigmaNodeActionOutput>;
|
|
4984
|
+
declare const DTOFigmaNodeActionInput: z.ZodObject<{
|
|
4985
|
+
type: z.ZodLiteral<"FigmaNodeRender">;
|
|
4986
|
+
input: z.ZodArray<z.ZodObject<{
|
|
4987
|
+
sourceId: z.ZodString;
|
|
4988
|
+
figmaFileNodeId: z.ZodString;
|
|
4989
|
+
}, "strip", z.ZodTypeAny, {
|
|
4990
|
+
sourceId: string;
|
|
4991
|
+
figmaFileNodeId: string;
|
|
4992
|
+
}, {
|
|
4993
|
+
sourceId: string;
|
|
4994
|
+
figmaFileNodeId: string;
|
|
4995
|
+
}>, "many">;
|
|
4996
|
+
}, "strip", z.ZodTypeAny, {
|
|
4997
|
+
type: "FigmaNodeRender";
|
|
4998
|
+
input: {
|
|
4999
|
+
sourceId: string;
|
|
5000
|
+
figmaFileNodeId: string;
|
|
5001
|
+
}[];
|
|
5002
|
+
}, {
|
|
5003
|
+
type: "FigmaNodeRender";
|
|
5004
|
+
input: {
|
|
5005
|
+
sourceId: string;
|
|
5006
|
+
figmaFileNodeId: string;
|
|
5007
|
+
}[];
|
|
5008
|
+
}>;
|
|
5009
|
+
type DTOFigmaNodeActionInput = z.infer<typeof DTOFigmaNodeActionInput>;
|
|
5010
|
+
|
|
4693
5011
|
declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4694
5012
|
type: z.ZodLiteral<"DocumentationPageCreate">;
|
|
4695
5013
|
output: z.ZodObject<{
|
|
@@ -4918,6 +5236,158 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4918
5236
|
output: {
|
|
4919
5237
|
success: true;
|
|
4920
5238
|
};
|
|
5239
|
+
}>, z.ZodObject<{
|
|
5240
|
+
type: z.ZodLiteral<"FigmaNodeRender">;
|
|
5241
|
+
figmaNodes: z.ZodArray<z.ZodObject<{
|
|
5242
|
+
id: z.ZodString;
|
|
5243
|
+
createdAt: z.ZodDate;
|
|
5244
|
+
updatedAt: z.ZodDate;
|
|
5245
|
+
meta: z.ZodObject<{
|
|
5246
|
+
name: z.ZodString;
|
|
5247
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5248
|
+
}, "strip", z.ZodTypeAny, {
|
|
5249
|
+
name: string;
|
|
5250
|
+
description?: string | undefined;
|
|
5251
|
+
}, {
|
|
5252
|
+
name: string;
|
|
5253
|
+
description?: string | undefined;
|
|
5254
|
+
}>;
|
|
5255
|
+
persistentId: z.ZodString;
|
|
5256
|
+
designSystemVersionId: z.ZodString;
|
|
5257
|
+
origin: z.ZodObject<{
|
|
5258
|
+
sourceId: z.ZodString;
|
|
5259
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
5260
|
+
}, "strip", z.ZodTypeAny, {
|
|
5261
|
+
sourceId: string;
|
|
5262
|
+
fileId?: string | undefined;
|
|
5263
|
+
}, {
|
|
5264
|
+
sourceId: string;
|
|
5265
|
+
fileId?: string | undefined;
|
|
5266
|
+
}>;
|
|
5267
|
+
data: z.ZodObject<{
|
|
5268
|
+
figmaNodeId: z.ZodString;
|
|
5269
|
+
isValid: z.ZodBoolean;
|
|
5270
|
+
assetId: z.ZodString;
|
|
5271
|
+
assetUrl: z.ZodString;
|
|
5272
|
+
assetScale: z.ZodNumber;
|
|
5273
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
5274
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
5275
|
+
}, "strip", z.ZodTypeAny, {
|
|
5276
|
+
figmaNodeId: string;
|
|
5277
|
+
isValid: boolean;
|
|
5278
|
+
assetId: string;
|
|
5279
|
+
assetUrl: string;
|
|
5280
|
+
assetScale: number;
|
|
5281
|
+
assetWidth?: number | undefined;
|
|
5282
|
+
assetHeight?: number | undefined;
|
|
5283
|
+
}, {
|
|
5284
|
+
figmaNodeId: string;
|
|
5285
|
+
isValid: boolean;
|
|
5286
|
+
assetId: string;
|
|
5287
|
+
assetUrl: string;
|
|
5288
|
+
assetScale: number;
|
|
5289
|
+
assetWidth?: number | undefined;
|
|
5290
|
+
assetHeight?: number | undefined;
|
|
5291
|
+
}>;
|
|
5292
|
+
}, "strip", z.ZodTypeAny, {
|
|
5293
|
+
id: string;
|
|
5294
|
+
createdAt: Date;
|
|
5295
|
+
updatedAt: Date;
|
|
5296
|
+
meta: {
|
|
5297
|
+
name: string;
|
|
5298
|
+
description?: string | undefined;
|
|
5299
|
+
};
|
|
5300
|
+
persistentId: string;
|
|
5301
|
+
designSystemVersionId: string;
|
|
5302
|
+
data: {
|
|
5303
|
+
figmaNodeId: string;
|
|
5304
|
+
isValid: boolean;
|
|
5305
|
+
assetId: string;
|
|
5306
|
+
assetUrl: string;
|
|
5307
|
+
assetScale: number;
|
|
5308
|
+
assetWidth?: number | undefined;
|
|
5309
|
+
assetHeight?: number | undefined;
|
|
5310
|
+
};
|
|
5311
|
+
origin: {
|
|
5312
|
+
sourceId: string;
|
|
5313
|
+
fileId?: string | undefined;
|
|
5314
|
+
};
|
|
5315
|
+
}, {
|
|
5316
|
+
id: string;
|
|
5317
|
+
createdAt: Date;
|
|
5318
|
+
updatedAt: Date;
|
|
5319
|
+
meta: {
|
|
5320
|
+
name: string;
|
|
5321
|
+
description?: string | undefined;
|
|
5322
|
+
};
|
|
5323
|
+
persistentId: string;
|
|
5324
|
+
designSystemVersionId: string;
|
|
5325
|
+
data: {
|
|
5326
|
+
figmaNodeId: string;
|
|
5327
|
+
isValid: boolean;
|
|
5328
|
+
assetId: string;
|
|
5329
|
+
assetUrl: string;
|
|
5330
|
+
assetScale: number;
|
|
5331
|
+
assetWidth?: number | undefined;
|
|
5332
|
+
assetHeight?: number | undefined;
|
|
5333
|
+
};
|
|
5334
|
+
origin: {
|
|
5335
|
+
sourceId: string;
|
|
5336
|
+
fileId?: string | undefined;
|
|
5337
|
+
};
|
|
5338
|
+
}>, "many">;
|
|
5339
|
+
}, "strip", z.ZodTypeAny, {
|
|
5340
|
+
type: "FigmaNodeRender";
|
|
5341
|
+
figmaNodes: {
|
|
5342
|
+
id: string;
|
|
5343
|
+
createdAt: Date;
|
|
5344
|
+
updatedAt: Date;
|
|
5345
|
+
meta: {
|
|
5346
|
+
name: string;
|
|
5347
|
+
description?: string | undefined;
|
|
5348
|
+
};
|
|
5349
|
+
persistentId: string;
|
|
5350
|
+
designSystemVersionId: string;
|
|
5351
|
+
data: {
|
|
5352
|
+
figmaNodeId: string;
|
|
5353
|
+
isValid: boolean;
|
|
5354
|
+
assetId: string;
|
|
5355
|
+
assetUrl: string;
|
|
5356
|
+
assetScale: number;
|
|
5357
|
+
assetWidth?: number | undefined;
|
|
5358
|
+
assetHeight?: number | undefined;
|
|
5359
|
+
};
|
|
5360
|
+
origin: {
|
|
5361
|
+
sourceId: string;
|
|
5362
|
+
fileId?: string | undefined;
|
|
5363
|
+
};
|
|
5364
|
+
}[];
|
|
5365
|
+
}, {
|
|
5366
|
+
type: "FigmaNodeRender";
|
|
5367
|
+
figmaNodes: {
|
|
5368
|
+
id: string;
|
|
5369
|
+
createdAt: Date;
|
|
5370
|
+
updatedAt: Date;
|
|
5371
|
+
meta: {
|
|
5372
|
+
name: string;
|
|
5373
|
+
description?: string | undefined;
|
|
5374
|
+
};
|
|
5375
|
+
persistentId: string;
|
|
5376
|
+
designSystemVersionId: string;
|
|
5377
|
+
data: {
|
|
5378
|
+
figmaNodeId: string;
|
|
5379
|
+
isValid: boolean;
|
|
5380
|
+
assetId: string;
|
|
5381
|
+
assetUrl: string;
|
|
5382
|
+
assetScale: number;
|
|
5383
|
+
assetWidth?: number | undefined;
|
|
5384
|
+
assetHeight?: number | undefined;
|
|
5385
|
+
};
|
|
5386
|
+
origin: {
|
|
5387
|
+
sourceId: string;
|
|
5388
|
+
fileId?: string | undefined;
|
|
5389
|
+
};
|
|
5390
|
+
}[];
|
|
4921
5391
|
}>]>;
|
|
4922
5392
|
type DTOElementActionOutput = z.infer<typeof DTOElementActionOutput>;
|
|
4923
5393
|
declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -4973,7 +5443,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
4973
5443
|
frameReferenceId: string;
|
|
4974
5444
|
}>>;
|
|
4975
5445
|
}, "strip", z.ZodTypeAny, {
|
|
4976
|
-
type: "
|
|
5446
|
+
type: "FigmaNode" | "Resource";
|
|
4977
5447
|
resource?: {
|
|
4978
5448
|
url: string;
|
|
4979
5449
|
resourceId: string;
|
|
@@ -4983,7 +5453,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
4983
5453
|
frameReferenceId: string;
|
|
4984
5454
|
} | undefined;
|
|
4985
5455
|
}, {
|
|
4986
|
-
type: "
|
|
5456
|
+
type: "FigmaNode" | "Resource";
|
|
4987
5457
|
resource?: {
|
|
4988
5458
|
url: string;
|
|
4989
5459
|
resourceId: string;
|
|
@@ -5012,7 +5482,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5012
5482
|
referencedTokenId?: string | undefined;
|
|
5013
5483
|
} | null | undefined;
|
|
5014
5484
|
backgroundImageAsset?: {
|
|
5015
|
-
type: "
|
|
5485
|
+
type: "FigmaNode" | "Resource";
|
|
5016
5486
|
resource?: {
|
|
5017
5487
|
url: string;
|
|
5018
5488
|
resourceId: string;
|
|
@@ -5038,7 +5508,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5038
5508
|
referencedTokenId?: string | undefined;
|
|
5039
5509
|
} | null | undefined;
|
|
5040
5510
|
backgroundImageAsset?: {
|
|
5041
|
-
type: "
|
|
5511
|
+
type: "FigmaNode" | "Resource";
|
|
5042
5512
|
resource?: {
|
|
5043
5513
|
url: string;
|
|
5044
5514
|
resourceId: string;
|
|
@@ -5067,7 +5537,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5067
5537
|
referencedTokenId?: string | undefined;
|
|
5068
5538
|
} | null | undefined;
|
|
5069
5539
|
backgroundImageAsset?: {
|
|
5070
|
-
type: "
|
|
5540
|
+
type: "FigmaNode" | "Resource";
|
|
5071
5541
|
resource?: {
|
|
5072
5542
|
url: string;
|
|
5073
5543
|
resourceId: string;
|
|
@@ -5096,7 +5566,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5096
5566
|
referencedTokenId?: string | undefined;
|
|
5097
5567
|
} | null | undefined;
|
|
5098
5568
|
backgroundImageAsset?: {
|
|
5099
|
-
type: "
|
|
5569
|
+
type: "FigmaNode" | "Resource";
|
|
5100
5570
|
resource?: {
|
|
5101
5571
|
url: string;
|
|
5102
5572
|
resourceId: string;
|
|
@@ -5132,7 +5602,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5132
5602
|
referencedTokenId?: string | undefined;
|
|
5133
5603
|
} | null | undefined;
|
|
5134
5604
|
backgroundImageAsset?: {
|
|
5135
|
-
type: "
|
|
5605
|
+
type: "FigmaNode" | "Resource";
|
|
5136
5606
|
resource?: {
|
|
5137
5607
|
url: string;
|
|
5138
5608
|
resourceId: string;
|
|
@@ -5167,7 +5637,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5167
5637
|
referencedTokenId?: string | undefined;
|
|
5168
5638
|
} | null | undefined;
|
|
5169
5639
|
backgroundImageAsset?: {
|
|
5170
|
-
type: "
|
|
5640
|
+
type: "FigmaNode" | "Resource";
|
|
5171
5641
|
resource?: {
|
|
5172
5642
|
url: string;
|
|
5173
5643
|
resourceId: string;
|
|
@@ -5205,7 +5675,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5205
5675
|
referencedTokenId?: string | undefined;
|
|
5206
5676
|
} | null | undefined;
|
|
5207
5677
|
backgroundImageAsset?: {
|
|
5208
|
-
type: "
|
|
5678
|
+
type: "FigmaNode" | "Resource";
|
|
5209
5679
|
resource?: {
|
|
5210
5680
|
url: string;
|
|
5211
5681
|
resourceId: string;
|
|
@@ -5243,7 +5713,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5243
5713
|
referencedTokenId?: string | undefined;
|
|
5244
5714
|
} | null | undefined;
|
|
5245
5715
|
backgroundImageAsset?: {
|
|
5246
|
-
type: "
|
|
5716
|
+
type: "FigmaNode" | "Resource";
|
|
5247
5717
|
resource?: {
|
|
5248
5718
|
url: string;
|
|
5249
5719
|
resourceId: string;
|
|
@@ -5311,7 +5781,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5311
5781
|
frameReferenceId: string;
|
|
5312
5782
|
}>>;
|
|
5313
5783
|
}, "strip", z.ZodTypeAny, {
|
|
5314
|
-
type: "
|
|
5784
|
+
type: "FigmaNode" | "Resource";
|
|
5315
5785
|
resource?: {
|
|
5316
5786
|
url: string;
|
|
5317
5787
|
resourceId: string;
|
|
@@ -5321,7 +5791,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5321
5791
|
frameReferenceId: string;
|
|
5322
5792
|
} | undefined;
|
|
5323
5793
|
}, {
|
|
5324
|
-
type: "
|
|
5794
|
+
type: "FigmaNode" | "Resource";
|
|
5325
5795
|
resource?: {
|
|
5326
5796
|
url: string;
|
|
5327
5797
|
resourceId: string;
|
|
@@ -5350,7 +5820,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5350
5820
|
referencedTokenId?: string | undefined;
|
|
5351
5821
|
} | null | undefined;
|
|
5352
5822
|
backgroundImageAsset?: {
|
|
5353
|
-
type: "
|
|
5823
|
+
type: "FigmaNode" | "Resource";
|
|
5354
5824
|
resource?: {
|
|
5355
5825
|
url: string;
|
|
5356
5826
|
resourceId: string;
|
|
@@ -5376,7 +5846,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5376
5846
|
referencedTokenId?: string | undefined;
|
|
5377
5847
|
} | null | undefined;
|
|
5378
5848
|
backgroundImageAsset?: {
|
|
5379
|
-
type: "
|
|
5849
|
+
type: "FigmaNode" | "Resource";
|
|
5380
5850
|
resource?: {
|
|
5381
5851
|
url: string;
|
|
5382
5852
|
resourceId: string;
|
|
@@ -5405,7 +5875,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5405
5875
|
referencedTokenId?: string | undefined;
|
|
5406
5876
|
} | null | undefined;
|
|
5407
5877
|
backgroundImageAsset?: {
|
|
5408
|
-
type: "
|
|
5878
|
+
type: "FigmaNode" | "Resource";
|
|
5409
5879
|
resource?: {
|
|
5410
5880
|
url: string;
|
|
5411
5881
|
resourceId: string;
|
|
@@ -5434,7 +5904,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5434
5904
|
referencedTokenId?: string | undefined;
|
|
5435
5905
|
} | null | undefined;
|
|
5436
5906
|
backgroundImageAsset?: {
|
|
5437
|
-
type: "
|
|
5907
|
+
type: "FigmaNode" | "Resource";
|
|
5438
5908
|
resource?: {
|
|
5439
5909
|
url: string;
|
|
5440
5910
|
resourceId: string;
|
|
@@ -5467,7 +5937,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5467
5937
|
referencedTokenId?: string | undefined;
|
|
5468
5938
|
} | null | undefined;
|
|
5469
5939
|
backgroundImageAsset?: {
|
|
5470
|
-
type: "
|
|
5940
|
+
type: "FigmaNode" | "Resource";
|
|
5471
5941
|
resource?: {
|
|
5472
5942
|
url: string;
|
|
5473
5943
|
resourceId: string;
|
|
@@ -5500,7 +5970,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5500
5970
|
referencedTokenId?: string | undefined;
|
|
5501
5971
|
} | null | undefined;
|
|
5502
5972
|
backgroundImageAsset?: {
|
|
5503
|
-
type: "
|
|
5973
|
+
type: "FigmaNode" | "Resource";
|
|
5504
5974
|
resource?: {
|
|
5505
5975
|
url: string;
|
|
5506
5976
|
resourceId: string;
|
|
@@ -5536,7 +6006,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5536
6006
|
referencedTokenId?: string | undefined;
|
|
5537
6007
|
} | null | undefined;
|
|
5538
6008
|
backgroundImageAsset?: {
|
|
5539
|
-
type: "
|
|
6009
|
+
type: "FigmaNode" | "Resource";
|
|
5540
6010
|
resource?: {
|
|
5541
6011
|
url: string;
|
|
5542
6012
|
resourceId: string;
|
|
@@ -5572,7 +6042,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5572
6042
|
referencedTokenId?: string | undefined;
|
|
5573
6043
|
} | null | undefined;
|
|
5574
6044
|
backgroundImageAsset?: {
|
|
5575
|
-
type: "
|
|
6045
|
+
type: "FigmaNode" | "Resource";
|
|
5576
6046
|
resource?: {
|
|
5577
6047
|
url: string;
|
|
5578
6048
|
resourceId: string;
|
|
@@ -5721,7 +6191,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5721
6191
|
frameReferenceId: string;
|
|
5722
6192
|
}>>;
|
|
5723
6193
|
}, "strip", z.ZodTypeAny, {
|
|
5724
|
-
type: "
|
|
6194
|
+
type: "FigmaNode" | "Resource";
|
|
5725
6195
|
resource?: {
|
|
5726
6196
|
url: string;
|
|
5727
6197
|
resourceId: string;
|
|
@@ -5731,7 +6201,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5731
6201
|
frameReferenceId: string;
|
|
5732
6202
|
} | undefined;
|
|
5733
6203
|
}, {
|
|
5734
|
-
type: "
|
|
6204
|
+
type: "FigmaNode" | "Resource";
|
|
5735
6205
|
resource?: {
|
|
5736
6206
|
url: string;
|
|
5737
6207
|
resourceId: string;
|
|
@@ -5760,7 +6230,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5760
6230
|
referencedTokenId?: string | undefined;
|
|
5761
6231
|
} | null | undefined;
|
|
5762
6232
|
backgroundImageAsset?: {
|
|
5763
|
-
type: "
|
|
6233
|
+
type: "FigmaNode" | "Resource";
|
|
5764
6234
|
resource?: {
|
|
5765
6235
|
url: string;
|
|
5766
6236
|
resourceId: string;
|
|
@@ -5786,7 +6256,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5786
6256
|
referencedTokenId?: string | undefined;
|
|
5787
6257
|
} | null | undefined;
|
|
5788
6258
|
backgroundImageAsset?: {
|
|
5789
|
-
type: "
|
|
6259
|
+
type: "FigmaNode" | "Resource";
|
|
5790
6260
|
resource?: {
|
|
5791
6261
|
url: string;
|
|
5792
6262
|
resourceId: string;
|
|
@@ -5815,7 +6285,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5815
6285
|
referencedTokenId?: string | undefined;
|
|
5816
6286
|
} | null | undefined;
|
|
5817
6287
|
backgroundImageAsset?: {
|
|
5818
|
-
type: "
|
|
6288
|
+
type: "FigmaNode" | "Resource";
|
|
5819
6289
|
resource?: {
|
|
5820
6290
|
url: string;
|
|
5821
6291
|
resourceId: string;
|
|
@@ -5844,7 +6314,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5844
6314
|
referencedTokenId?: string | undefined;
|
|
5845
6315
|
} | null | undefined;
|
|
5846
6316
|
backgroundImageAsset?: {
|
|
5847
|
-
type: "
|
|
6317
|
+
type: "FigmaNode" | "Resource";
|
|
5848
6318
|
resource?: {
|
|
5849
6319
|
url: string;
|
|
5850
6320
|
resourceId: string;
|
|
@@ -5880,7 +6350,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5880
6350
|
referencedTokenId?: string | undefined;
|
|
5881
6351
|
} | null | undefined;
|
|
5882
6352
|
backgroundImageAsset?: {
|
|
5883
|
-
type: "
|
|
6353
|
+
type: "FigmaNode" | "Resource";
|
|
5884
6354
|
resource?: {
|
|
5885
6355
|
url: string;
|
|
5886
6356
|
resourceId: string;
|
|
@@ -5915,7 +6385,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5915
6385
|
referencedTokenId?: string | undefined;
|
|
5916
6386
|
} | null | undefined;
|
|
5917
6387
|
backgroundImageAsset?: {
|
|
5918
|
-
type: "
|
|
6388
|
+
type: "FigmaNode" | "Resource";
|
|
5919
6389
|
resource?: {
|
|
5920
6390
|
url: string;
|
|
5921
6391
|
resourceId: string;
|
|
@@ -5953,7 +6423,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5953
6423
|
referencedTokenId?: string | undefined;
|
|
5954
6424
|
} | null | undefined;
|
|
5955
6425
|
backgroundImageAsset?: {
|
|
5956
|
-
type: "
|
|
6426
|
+
type: "FigmaNode" | "Resource";
|
|
5957
6427
|
resource?: {
|
|
5958
6428
|
url: string;
|
|
5959
6429
|
resourceId: string;
|
|
@@ -5991,7 +6461,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
5991
6461
|
referencedTokenId?: string | undefined;
|
|
5992
6462
|
} | null | undefined;
|
|
5993
6463
|
backgroundImageAsset?: {
|
|
5994
|
-
type: "
|
|
6464
|
+
type: "FigmaNode" | "Resource";
|
|
5995
6465
|
resource?: {
|
|
5996
6466
|
url: string;
|
|
5997
6467
|
resourceId: string;
|
|
@@ -6088,7 +6558,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6088
6558
|
frameReferenceId: string;
|
|
6089
6559
|
}>>;
|
|
6090
6560
|
}, "strip", z.ZodTypeAny, {
|
|
6091
|
-
type: "
|
|
6561
|
+
type: "FigmaNode" | "Resource";
|
|
6092
6562
|
resource?: {
|
|
6093
6563
|
url: string;
|
|
6094
6564
|
resourceId: string;
|
|
@@ -6098,7 +6568,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6098
6568
|
frameReferenceId: string;
|
|
6099
6569
|
} | undefined;
|
|
6100
6570
|
}, {
|
|
6101
|
-
type: "
|
|
6571
|
+
type: "FigmaNode" | "Resource";
|
|
6102
6572
|
resource?: {
|
|
6103
6573
|
url: string;
|
|
6104
6574
|
resourceId: string;
|
|
@@ -6127,7 +6597,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6127
6597
|
referencedTokenId?: string | undefined;
|
|
6128
6598
|
} | null | undefined;
|
|
6129
6599
|
backgroundImageAsset?: {
|
|
6130
|
-
type: "
|
|
6600
|
+
type: "FigmaNode" | "Resource";
|
|
6131
6601
|
resource?: {
|
|
6132
6602
|
url: string;
|
|
6133
6603
|
resourceId: string;
|
|
@@ -6153,7 +6623,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6153
6623
|
referencedTokenId?: string | undefined;
|
|
6154
6624
|
} | null | undefined;
|
|
6155
6625
|
backgroundImageAsset?: {
|
|
6156
|
-
type: "
|
|
6626
|
+
type: "FigmaNode" | "Resource";
|
|
6157
6627
|
resource?: {
|
|
6158
6628
|
url: string;
|
|
6159
6629
|
resourceId: string;
|
|
@@ -6182,7 +6652,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6182
6652
|
referencedTokenId?: string | undefined;
|
|
6183
6653
|
} | null | undefined;
|
|
6184
6654
|
backgroundImageAsset?: {
|
|
6185
|
-
type: "
|
|
6655
|
+
type: "FigmaNode" | "Resource";
|
|
6186
6656
|
resource?: {
|
|
6187
6657
|
url: string;
|
|
6188
6658
|
resourceId: string;
|
|
@@ -6211,7 +6681,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6211
6681
|
referencedTokenId?: string | undefined;
|
|
6212
6682
|
} | null | undefined;
|
|
6213
6683
|
backgroundImageAsset?: {
|
|
6214
|
-
type: "
|
|
6684
|
+
type: "FigmaNode" | "Resource";
|
|
6215
6685
|
resource?: {
|
|
6216
6686
|
url: string;
|
|
6217
6687
|
resourceId: string;
|
|
@@ -6244,7 +6714,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6244
6714
|
referencedTokenId?: string | undefined;
|
|
6245
6715
|
} | null | undefined;
|
|
6246
6716
|
backgroundImageAsset?: {
|
|
6247
|
-
type: "
|
|
6717
|
+
type: "FigmaNode" | "Resource";
|
|
6248
6718
|
resource?: {
|
|
6249
6719
|
url: string;
|
|
6250
6720
|
resourceId: string;
|
|
@@ -6277,7 +6747,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6277
6747
|
referencedTokenId?: string | undefined;
|
|
6278
6748
|
} | null | undefined;
|
|
6279
6749
|
backgroundImageAsset?: {
|
|
6280
|
-
type: "
|
|
6750
|
+
type: "FigmaNode" | "Resource";
|
|
6281
6751
|
resource?: {
|
|
6282
6752
|
url: string;
|
|
6283
6753
|
resourceId: string;
|
|
@@ -6313,7 +6783,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6313
6783
|
referencedTokenId?: string | undefined;
|
|
6314
6784
|
} | null | undefined;
|
|
6315
6785
|
backgroundImageAsset?: {
|
|
6316
|
-
type: "
|
|
6786
|
+
type: "FigmaNode" | "Resource";
|
|
6317
6787
|
resource?: {
|
|
6318
6788
|
url: string;
|
|
6319
6789
|
resourceId: string;
|
|
@@ -6349,7 +6819,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6349
6819
|
referencedTokenId?: string | undefined;
|
|
6350
6820
|
} | null | undefined;
|
|
6351
6821
|
backgroundImageAsset?: {
|
|
6352
|
-
type: "
|
|
6822
|
+
type: "FigmaNode" | "Resource";
|
|
6353
6823
|
resource?: {
|
|
6354
6824
|
url: string;
|
|
6355
6825
|
resourceId: string;
|
|
@@ -6469,9 +6939,196 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6469
6939
|
input: {
|
|
6470
6940
|
id: string;
|
|
6471
6941
|
};
|
|
6942
|
+
}>, z.ZodObject<{
|
|
6943
|
+
type: z.ZodLiteral<"FigmaNodeRender">;
|
|
6944
|
+
input: z.ZodArray<z.ZodObject<{
|
|
6945
|
+
sourceId: z.ZodString;
|
|
6946
|
+
figmaFileNodeId: z.ZodString;
|
|
6947
|
+
}, "strip", z.ZodTypeAny, {
|
|
6948
|
+
sourceId: string;
|
|
6949
|
+
figmaFileNodeId: string;
|
|
6950
|
+
}, {
|
|
6951
|
+
sourceId: string;
|
|
6952
|
+
figmaFileNodeId: string;
|
|
6953
|
+
}>, "many">;
|
|
6954
|
+
}, "strip", z.ZodTypeAny, {
|
|
6955
|
+
type: "FigmaNodeRender";
|
|
6956
|
+
input: {
|
|
6957
|
+
sourceId: string;
|
|
6958
|
+
figmaFileNodeId: string;
|
|
6959
|
+
}[];
|
|
6960
|
+
}, {
|
|
6961
|
+
type: "FigmaNodeRender";
|
|
6962
|
+
input: {
|
|
6963
|
+
sourceId: string;
|
|
6964
|
+
figmaFileNodeId: string;
|
|
6965
|
+
}[];
|
|
6472
6966
|
}>]>;
|
|
6473
6967
|
type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
|
|
6474
6968
|
|
|
6969
|
+
declare const DTOElementGetQuerySchema: z.ZodObject<{
|
|
6970
|
+
types: z.ZodEffects<z.ZodString, "FigmaNode"[], string>;
|
|
6971
|
+
}, "strip", z.ZodTypeAny, {
|
|
6972
|
+
types: "FigmaNode"[];
|
|
6973
|
+
}, {
|
|
6974
|
+
types: string;
|
|
6975
|
+
}>;
|
|
6976
|
+
declare const DTOElementsGetOutput: z.ZodObject<{
|
|
6977
|
+
figmaNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6978
|
+
id: z.ZodString;
|
|
6979
|
+
createdAt: z.ZodDate;
|
|
6980
|
+
updatedAt: z.ZodDate;
|
|
6981
|
+
meta: z.ZodObject<{
|
|
6982
|
+
name: z.ZodString;
|
|
6983
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6984
|
+
}, "strip", z.ZodTypeAny, {
|
|
6985
|
+
name: string;
|
|
6986
|
+
description?: string | undefined;
|
|
6987
|
+
}, {
|
|
6988
|
+
name: string;
|
|
6989
|
+
description?: string | undefined;
|
|
6990
|
+
}>;
|
|
6991
|
+
persistentId: z.ZodString;
|
|
6992
|
+
designSystemVersionId: z.ZodString;
|
|
6993
|
+
origin: z.ZodObject<{
|
|
6994
|
+
sourceId: z.ZodString;
|
|
6995
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
6996
|
+
}, "strip", z.ZodTypeAny, {
|
|
6997
|
+
sourceId: string;
|
|
6998
|
+
fileId?: string | undefined;
|
|
6999
|
+
}, {
|
|
7000
|
+
sourceId: string;
|
|
7001
|
+
fileId?: string | undefined;
|
|
7002
|
+
}>;
|
|
7003
|
+
data: z.ZodObject<{
|
|
7004
|
+
figmaNodeId: z.ZodString;
|
|
7005
|
+
isValid: z.ZodBoolean;
|
|
7006
|
+
assetId: z.ZodString;
|
|
7007
|
+
assetUrl: z.ZodString;
|
|
7008
|
+
assetScale: z.ZodNumber;
|
|
7009
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
7010
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
7011
|
+
}, "strip", z.ZodTypeAny, {
|
|
7012
|
+
figmaNodeId: string;
|
|
7013
|
+
isValid: boolean;
|
|
7014
|
+
assetId: string;
|
|
7015
|
+
assetUrl: string;
|
|
7016
|
+
assetScale: number;
|
|
7017
|
+
assetWidth?: number | undefined;
|
|
7018
|
+
assetHeight?: number | undefined;
|
|
7019
|
+
}, {
|
|
7020
|
+
figmaNodeId: string;
|
|
7021
|
+
isValid: boolean;
|
|
7022
|
+
assetId: string;
|
|
7023
|
+
assetUrl: string;
|
|
7024
|
+
assetScale: number;
|
|
7025
|
+
assetWidth?: number | undefined;
|
|
7026
|
+
assetHeight?: number | undefined;
|
|
7027
|
+
}>;
|
|
7028
|
+
}, "strip", z.ZodTypeAny, {
|
|
7029
|
+
id: string;
|
|
7030
|
+
createdAt: Date;
|
|
7031
|
+
updatedAt: Date;
|
|
7032
|
+
meta: {
|
|
7033
|
+
name: string;
|
|
7034
|
+
description?: string | undefined;
|
|
7035
|
+
};
|
|
7036
|
+
persistentId: string;
|
|
7037
|
+
designSystemVersionId: string;
|
|
7038
|
+
data: {
|
|
7039
|
+
figmaNodeId: string;
|
|
7040
|
+
isValid: boolean;
|
|
7041
|
+
assetId: string;
|
|
7042
|
+
assetUrl: string;
|
|
7043
|
+
assetScale: number;
|
|
7044
|
+
assetWidth?: number | undefined;
|
|
7045
|
+
assetHeight?: number | undefined;
|
|
7046
|
+
};
|
|
7047
|
+
origin: {
|
|
7048
|
+
sourceId: string;
|
|
7049
|
+
fileId?: string | undefined;
|
|
7050
|
+
};
|
|
7051
|
+
}, {
|
|
7052
|
+
id: string;
|
|
7053
|
+
createdAt: Date;
|
|
7054
|
+
updatedAt: Date;
|
|
7055
|
+
meta: {
|
|
7056
|
+
name: string;
|
|
7057
|
+
description?: string | undefined;
|
|
7058
|
+
};
|
|
7059
|
+
persistentId: string;
|
|
7060
|
+
designSystemVersionId: string;
|
|
7061
|
+
data: {
|
|
7062
|
+
figmaNodeId: string;
|
|
7063
|
+
isValid: boolean;
|
|
7064
|
+
assetId: string;
|
|
7065
|
+
assetUrl: string;
|
|
7066
|
+
assetScale: number;
|
|
7067
|
+
assetWidth?: number | undefined;
|
|
7068
|
+
assetHeight?: number | undefined;
|
|
7069
|
+
};
|
|
7070
|
+
origin: {
|
|
7071
|
+
sourceId: string;
|
|
7072
|
+
fileId?: string | undefined;
|
|
7073
|
+
};
|
|
7074
|
+
}>, "many">>;
|
|
7075
|
+
}, "strip", z.ZodTypeAny, {
|
|
7076
|
+
figmaNodes?: {
|
|
7077
|
+
id: string;
|
|
7078
|
+
createdAt: Date;
|
|
7079
|
+
updatedAt: Date;
|
|
7080
|
+
meta: {
|
|
7081
|
+
name: string;
|
|
7082
|
+
description?: string | undefined;
|
|
7083
|
+
};
|
|
7084
|
+
persistentId: string;
|
|
7085
|
+
designSystemVersionId: string;
|
|
7086
|
+
data: {
|
|
7087
|
+
figmaNodeId: string;
|
|
7088
|
+
isValid: boolean;
|
|
7089
|
+
assetId: string;
|
|
7090
|
+
assetUrl: string;
|
|
7091
|
+
assetScale: number;
|
|
7092
|
+
assetWidth?: number | undefined;
|
|
7093
|
+
assetHeight?: number | undefined;
|
|
7094
|
+
};
|
|
7095
|
+
origin: {
|
|
7096
|
+
sourceId: string;
|
|
7097
|
+
fileId?: string | undefined;
|
|
7098
|
+
};
|
|
7099
|
+
}[] | undefined;
|
|
7100
|
+
}, {
|
|
7101
|
+
figmaNodes?: {
|
|
7102
|
+
id: string;
|
|
7103
|
+
createdAt: Date;
|
|
7104
|
+
updatedAt: Date;
|
|
7105
|
+
meta: {
|
|
7106
|
+
name: string;
|
|
7107
|
+
description?: string | undefined;
|
|
7108
|
+
};
|
|
7109
|
+
persistentId: string;
|
|
7110
|
+
designSystemVersionId: string;
|
|
7111
|
+
data: {
|
|
7112
|
+
figmaNodeId: string;
|
|
7113
|
+
isValid: boolean;
|
|
7114
|
+
assetId: string;
|
|
7115
|
+
assetUrl: string;
|
|
7116
|
+
assetScale: number;
|
|
7117
|
+
assetWidth?: number | undefined;
|
|
7118
|
+
assetHeight?: number | undefined;
|
|
7119
|
+
};
|
|
7120
|
+
origin: {
|
|
7121
|
+
sourceId: string;
|
|
7122
|
+
fileId?: string | undefined;
|
|
7123
|
+
};
|
|
7124
|
+
}[] | undefined;
|
|
7125
|
+
}>;
|
|
7126
|
+
type DTOElementsGetOutput = z.infer<typeof DTOElementsGetOutput>;
|
|
7127
|
+
type DTOElementGetQueryRaw = z.input<typeof DTOElementGetQuerySchema>;
|
|
7128
|
+
type DTOElementGetQueryParsed = z.output<typeof DTOElementGetQuerySchema>;
|
|
7129
|
+
declare const DTOElementGetTypeFilter: z.ZodEnum<["FigmaNode"]>;
|
|
7130
|
+
type DTOElementGetTypeFilter = z.infer<typeof DTOElementGetTypeFilter>;
|
|
7131
|
+
|
|
6475
7132
|
declare function documentationElementsToHierarchyDto(docPages: DocumentationPageV2[], docGroups: ElementGroup[]): DTODocumentationHierarchyV2;
|
|
6476
7133
|
|
|
6477
7134
|
declare function elementGroupsToDocumentationGroupStructureDTO(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupStructureV2[];
|
|
@@ -7097,7 +7754,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
|
7097
7754
|
frameReferenceId: string;
|
|
7098
7755
|
}>>;
|
|
7099
7756
|
}, "strip", z.ZodTypeAny, {
|
|
7100
|
-
type: "
|
|
7757
|
+
type: "FigmaNode" | "Resource";
|
|
7101
7758
|
resource?: {
|
|
7102
7759
|
url: string;
|
|
7103
7760
|
resourceId: string;
|
|
@@ -7107,7 +7764,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
|
7107
7764
|
frameReferenceId: string;
|
|
7108
7765
|
} | undefined;
|
|
7109
7766
|
}, {
|
|
7110
|
-
type: "
|
|
7767
|
+
type: "FigmaNode" | "Resource";
|
|
7111
7768
|
resource?: {
|
|
7112
7769
|
url: string;
|
|
7113
7770
|
resourceId: string;
|
|
@@ -7136,7 +7793,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
|
7136
7793
|
referencedTokenId?: string | undefined;
|
|
7137
7794
|
} | null | undefined;
|
|
7138
7795
|
backgroundImageAsset?: {
|
|
7139
|
-
type: "
|
|
7796
|
+
type: "FigmaNode" | "Resource";
|
|
7140
7797
|
resource?: {
|
|
7141
7798
|
url: string;
|
|
7142
7799
|
resourceId: string;
|
|
@@ -7162,7 +7819,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
|
7162
7819
|
referencedTokenId?: string | undefined;
|
|
7163
7820
|
} | null | undefined;
|
|
7164
7821
|
backgroundImageAsset?: {
|
|
7165
|
-
type: "
|
|
7822
|
+
type: "FigmaNode" | "Resource";
|
|
7166
7823
|
resource?: {
|
|
7167
7824
|
url: string;
|
|
7168
7825
|
resourceId: string;
|
|
@@ -7191,7 +7848,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
|
7191
7848
|
referencedTokenId?: string | undefined;
|
|
7192
7849
|
} | null | undefined;
|
|
7193
7850
|
backgroundImageAsset?: {
|
|
7194
|
-
type: "
|
|
7851
|
+
type: "FigmaNode" | "Resource";
|
|
7195
7852
|
resource?: {
|
|
7196
7853
|
url: string;
|
|
7197
7854
|
resourceId: string;
|
|
@@ -7220,7 +7877,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
|
7220
7877
|
referencedTokenId?: string | undefined;
|
|
7221
7878
|
} | null | undefined;
|
|
7222
7879
|
backgroundImageAsset?: {
|
|
7223
|
-
type: "
|
|
7880
|
+
type: "FigmaNode" | "Resource";
|
|
7224
7881
|
resource?: {
|
|
7225
7882
|
url: string;
|
|
7226
7883
|
resourceId: string;
|
|
@@ -7252,7 +7909,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
|
7252
7909
|
referencedTokenId?: string | undefined;
|
|
7253
7910
|
} | null | undefined;
|
|
7254
7911
|
backgroundImageAsset?: {
|
|
7255
|
-
type: "
|
|
7912
|
+
type: "FigmaNode" | "Resource";
|
|
7256
7913
|
resource?: {
|
|
7257
7914
|
url: string;
|
|
7258
7915
|
resourceId: string;
|
|
@@ -7284,7 +7941,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
|
|
|
7284
7941
|
referencedTokenId?: string | undefined;
|
|
7285
7942
|
} | null | undefined;
|
|
7286
7943
|
backgroundImageAsset?: {
|
|
7287
|
-
type: "
|
|
7944
|
+
type: "FigmaNode" | "Resource";
|
|
7288
7945
|
resource?: {
|
|
7289
7946
|
url: string;
|
|
7290
7947
|
resourceId: string;
|
|
@@ -7349,7 +8006,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
|
7349
8006
|
frameReferenceId: string;
|
|
7350
8007
|
}>>;
|
|
7351
8008
|
}, "strip", z.ZodTypeAny, {
|
|
7352
|
-
type: "
|
|
8009
|
+
type: "FigmaNode" | "Resource";
|
|
7353
8010
|
resource?: {
|
|
7354
8011
|
url: string;
|
|
7355
8012
|
resourceId: string;
|
|
@@ -7359,7 +8016,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
|
7359
8016
|
frameReferenceId: string;
|
|
7360
8017
|
} | undefined;
|
|
7361
8018
|
}, {
|
|
7362
|
-
type: "
|
|
8019
|
+
type: "FigmaNode" | "Resource";
|
|
7363
8020
|
resource?: {
|
|
7364
8021
|
url: string;
|
|
7365
8022
|
resourceId: string;
|
|
@@ -7385,7 +8042,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
|
7385
8042
|
referencedTokenId?: string | undefined;
|
|
7386
8043
|
} | null | undefined;
|
|
7387
8044
|
backgroundImageAsset?: {
|
|
7388
|
-
type: "
|
|
8045
|
+
type: "FigmaNode" | "Resource";
|
|
7389
8046
|
resource?: {
|
|
7390
8047
|
url: string;
|
|
7391
8048
|
resourceId: string;
|
|
@@ -7411,7 +8068,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
|
7411
8068
|
referencedTokenId?: string | undefined;
|
|
7412
8069
|
} | null | undefined;
|
|
7413
8070
|
backgroundImageAsset?: {
|
|
7414
|
-
type: "
|
|
8071
|
+
type: "FigmaNode" | "Resource";
|
|
7415
8072
|
resource?: {
|
|
7416
8073
|
url: string;
|
|
7417
8074
|
resourceId: string;
|
|
@@ -7440,7 +8097,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
|
7440
8097
|
referencedTokenId?: string | undefined;
|
|
7441
8098
|
} | null | undefined;
|
|
7442
8099
|
backgroundImageAsset?: {
|
|
7443
|
-
type: "
|
|
8100
|
+
type: "FigmaNode" | "Resource";
|
|
7444
8101
|
resource?: {
|
|
7445
8102
|
url: string;
|
|
7446
8103
|
resourceId: string;
|
|
@@ -7469,7 +8126,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
|
7469
8126
|
referencedTokenId?: string | undefined;
|
|
7470
8127
|
} | null | undefined;
|
|
7471
8128
|
backgroundImageAsset?: {
|
|
7472
|
-
type: "
|
|
8129
|
+
type: "FigmaNode" | "Resource";
|
|
7473
8130
|
resource?: {
|
|
7474
8131
|
url: string;
|
|
7475
8132
|
resourceId: string;
|
|
@@ -7501,7 +8158,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
|
7501
8158
|
referencedTokenId?: string | undefined;
|
|
7502
8159
|
} | null | undefined;
|
|
7503
8160
|
backgroundImageAsset?: {
|
|
7504
|
-
type: "
|
|
8161
|
+
type: "FigmaNode" | "Resource";
|
|
7505
8162
|
resource?: {
|
|
7506
8163
|
url: string;
|
|
7507
8164
|
resourceId: string;
|
|
@@ -7533,7 +8190,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
|
|
|
7533
8190
|
referencedTokenId?: string | undefined;
|
|
7534
8191
|
} | null | undefined;
|
|
7535
8192
|
backgroundImageAsset?: {
|
|
7536
|
-
type: "
|
|
8193
|
+
type: "FigmaNode" | "Resource";
|
|
7537
8194
|
resource?: {
|
|
7538
8195
|
url: string;
|
|
7539
8196
|
resourceId: string;
|
|
@@ -8167,4 +8824,4 @@ declare const BlockDefinitionUtils: {
|
|
|
8167
8824
|
};
|
|
8168
8825
|
};
|
|
8169
8826
|
|
|
8170
|
-
export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
|
8827
|
+
export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, type DTOElementGetQueryParsed, type DTOElementGetQueryRaw, DTOElementGetQuerySchema, DTOElementGetTypeFilter, DTOElementsGetOutput, DTOFigmaNode, DTOFigmaNodeActionInput, DTOFigmaNodeActionOutput, DTOFigmaNodeCreateInput, DTOFigmaNodeData, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|