@supernova-studio/client 0.57.19 → 0.58.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 +25 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-systems/data-source.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -5004,9 +5004,11 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
|
|
|
5004
5004
|
lastImportedAt: z.ZodOptional<z.ZodDate>;
|
|
5005
5005
|
lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5006
5006
|
isTokenTypeSplitEnabled: z.ZodBoolean;
|
|
5007
|
+
isCollectionsMigrationCompleted: z.ZodDefault<z.ZodBoolean>;
|
|
5007
5008
|
}, "strip", z.ZodTypeAny, {
|
|
5008
5009
|
fileId: string;
|
|
5009
5010
|
isTokenTypeSplitEnabled: boolean;
|
|
5011
|
+
isCollectionsMigrationCompleted: boolean;
|
|
5010
5012
|
lastImportedAt?: Date | undefined;
|
|
5011
5013
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5012
5014
|
}, {
|
|
@@ -5014,6 +5016,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
|
|
|
5014
5016
|
isTokenTypeSplitEnabled: boolean;
|
|
5015
5017
|
lastImportedAt?: Date | undefined;
|
|
5016
5018
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5019
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
5017
5020
|
}>;
|
|
5018
5021
|
}, "strip", z.ZodTypeAny, {
|
|
5019
5022
|
type: "FigmaVariablesPlugin";
|
|
@@ -5030,6 +5033,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
|
|
|
5030
5033
|
figmaVariablesPlugin: {
|
|
5031
5034
|
fileId: string;
|
|
5032
5035
|
isTokenTypeSplitEnabled: boolean;
|
|
5036
|
+
isCollectionsMigrationCompleted: boolean;
|
|
5033
5037
|
lastImportedAt?: Date | undefined;
|
|
5034
5038
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5035
5039
|
};
|
|
@@ -5050,6 +5054,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
|
|
|
5050
5054
|
isTokenTypeSplitEnabled: boolean;
|
|
5051
5055
|
lastImportedAt?: Date | undefined;
|
|
5052
5056
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5057
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
5053
5058
|
};
|
|
5054
5059
|
}>;
|
|
5055
5060
|
type DTODataSourceFigmaVariablesPlugin = z.infer<typeof DTODataSourceFigmaVariablesPlugin>;
|
|
@@ -5518,9 +5523,11 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5518
5523
|
lastImportedAt: z.ZodOptional<z.ZodDate>;
|
|
5519
5524
|
lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5520
5525
|
isTokenTypeSplitEnabled: z.ZodBoolean;
|
|
5526
|
+
isCollectionsMigrationCompleted: z.ZodDefault<z.ZodBoolean>;
|
|
5521
5527
|
}, "strip", z.ZodTypeAny, {
|
|
5522
5528
|
fileId: string;
|
|
5523
5529
|
isTokenTypeSplitEnabled: boolean;
|
|
5530
|
+
isCollectionsMigrationCompleted: boolean;
|
|
5524
5531
|
lastImportedAt?: Date | undefined;
|
|
5525
5532
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5526
5533
|
}, {
|
|
@@ -5528,6 +5535,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5528
5535
|
isTokenTypeSplitEnabled: boolean;
|
|
5529
5536
|
lastImportedAt?: Date | undefined;
|
|
5530
5537
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5538
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
5531
5539
|
}>;
|
|
5532
5540
|
}, "strip", z.ZodTypeAny, {
|
|
5533
5541
|
type: "FigmaVariablesPlugin";
|
|
@@ -5544,6 +5552,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5544
5552
|
figmaVariablesPlugin: {
|
|
5545
5553
|
fileId: string;
|
|
5546
5554
|
isTokenTypeSplitEnabled: boolean;
|
|
5555
|
+
isCollectionsMigrationCompleted: boolean;
|
|
5547
5556
|
lastImportedAt?: Date | undefined;
|
|
5548
5557
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5549
5558
|
};
|
|
@@ -5564,6 +5573,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5564
5573
|
isTokenTypeSplitEnabled: boolean;
|
|
5565
5574
|
lastImportedAt?: Date | undefined;
|
|
5566
5575
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5576
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
5567
5577
|
};
|
|
5568
5578
|
}>, z.ZodObject<{
|
|
5569
5579
|
id: z.ZodString;
|
|
@@ -6185,9 +6195,11 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6185
6195
|
lastImportedAt: z.ZodOptional<z.ZodDate>;
|
|
6186
6196
|
lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6187
6197
|
isTokenTypeSplitEnabled: z.ZodBoolean;
|
|
6198
|
+
isCollectionsMigrationCompleted: z.ZodDefault<z.ZodBoolean>;
|
|
6188
6199
|
}, "strip", z.ZodTypeAny, {
|
|
6189
6200
|
fileId: string;
|
|
6190
6201
|
isTokenTypeSplitEnabled: boolean;
|
|
6202
|
+
isCollectionsMigrationCompleted: boolean;
|
|
6191
6203
|
lastImportedAt?: Date | undefined;
|
|
6192
6204
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6193
6205
|
}, {
|
|
@@ -6195,6 +6207,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6195
6207
|
isTokenTypeSplitEnabled: boolean;
|
|
6196
6208
|
lastImportedAt?: Date | undefined;
|
|
6197
6209
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6210
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
6198
6211
|
}>;
|
|
6199
6212
|
}, "strip", z.ZodTypeAny, {
|
|
6200
6213
|
type: "FigmaVariablesPlugin";
|
|
@@ -6211,6 +6224,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6211
6224
|
figmaVariablesPlugin: {
|
|
6212
6225
|
fileId: string;
|
|
6213
6226
|
isTokenTypeSplitEnabled: boolean;
|
|
6227
|
+
isCollectionsMigrationCompleted: boolean;
|
|
6214
6228
|
lastImportedAt?: Date | undefined;
|
|
6215
6229
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6216
6230
|
};
|
|
@@ -6231,6 +6245,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6231
6245
|
isTokenTypeSplitEnabled: boolean;
|
|
6232
6246
|
lastImportedAt?: Date | undefined;
|
|
6233
6247
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6248
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
6234
6249
|
};
|
|
6235
6250
|
}>, z.ZodObject<{
|
|
6236
6251
|
id: z.ZodString;
|
|
@@ -6495,6 +6510,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6495
6510
|
figmaVariablesPlugin: {
|
|
6496
6511
|
fileId: string;
|
|
6497
6512
|
isTokenTypeSplitEnabled: boolean;
|
|
6513
|
+
isCollectionsMigrationCompleted: boolean;
|
|
6498
6514
|
lastImportedAt?: Date | undefined;
|
|
6499
6515
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6500
6516
|
};
|
|
@@ -6611,6 +6627,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6611
6627
|
isTokenTypeSplitEnabled: boolean;
|
|
6612
6628
|
lastImportedAt?: Date | undefined;
|
|
6613
6629
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6630
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
6614
6631
|
};
|
|
6615
6632
|
};
|
|
6616
6633
|
}>;
|
|
@@ -7081,9 +7098,11 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7081
7098
|
lastImportedAt: z.ZodOptional<z.ZodDate>;
|
|
7082
7099
|
lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7083
7100
|
isTokenTypeSplitEnabled: z.ZodBoolean;
|
|
7101
|
+
isCollectionsMigrationCompleted: z.ZodDefault<z.ZodBoolean>;
|
|
7084
7102
|
}, "strip", z.ZodTypeAny, {
|
|
7085
7103
|
fileId: string;
|
|
7086
7104
|
isTokenTypeSplitEnabled: boolean;
|
|
7105
|
+
isCollectionsMigrationCompleted: boolean;
|
|
7087
7106
|
lastImportedAt?: Date | undefined;
|
|
7088
7107
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7089
7108
|
}, {
|
|
@@ -7091,6 +7110,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7091
7110
|
isTokenTypeSplitEnabled: boolean;
|
|
7092
7111
|
lastImportedAt?: Date | undefined;
|
|
7093
7112
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7113
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
7094
7114
|
}>;
|
|
7095
7115
|
}, "strip", z.ZodTypeAny, {
|
|
7096
7116
|
type: "FigmaVariablesPlugin";
|
|
@@ -7107,6 +7127,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7107
7127
|
figmaVariablesPlugin: {
|
|
7108
7128
|
fileId: string;
|
|
7109
7129
|
isTokenTypeSplitEnabled: boolean;
|
|
7130
|
+
isCollectionsMigrationCompleted: boolean;
|
|
7110
7131
|
lastImportedAt?: Date | undefined;
|
|
7111
7132
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7112
7133
|
};
|
|
@@ -7127,6 +7148,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7127
7148
|
isTokenTypeSplitEnabled: boolean;
|
|
7128
7149
|
lastImportedAt?: Date | undefined;
|
|
7129
7150
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7151
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
7130
7152
|
};
|
|
7131
7153
|
}>, z.ZodObject<{
|
|
7132
7154
|
id: z.ZodString;
|
|
@@ -7391,6 +7413,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7391
7413
|
figmaVariablesPlugin: {
|
|
7392
7414
|
fileId: string;
|
|
7393
7415
|
isTokenTypeSplitEnabled: boolean;
|
|
7416
|
+
isCollectionsMigrationCompleted: boolean;
|
|
7394
7417
|
lastImportedAt?: Date | undefined;
|
|
7395
7418
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7396
7419
|
};
|
|
@@ -7507,6 +7530,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7507
7530
|
isTokenTypeSplitEnabled: boolean;
|
|
7508
7531
|
lastImportedAt?: Date | undefined;
|
|
7509
7532
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7533
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
7510
7534
|
};
|
|
7511
7535
|
})[];
|
|
7512
7536
|
}>;
|
|
@@ -87248,6 +87272,7 @@ declare class DesignSystemSourcesEndpoint {
|
|
|
87248
87272
|
figmaVariablesPlugin: {
|
|
87249
87273
|
fileId: string;
|
|
87250
87274
|
isTokenTypeSplitEnabled: boolean;
|
|
87275
|
+
isCollectionsMigrationCompleted: boolean;
|
|
87251
87276
|
lastImportedAt?: Date | undefined;
|
|
87252
87277
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
87253
87278
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5004,9 +5004,11 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
|
|
|
5004
5004
|
lastImportedAt: z.ZodOptional<z.ZodDate>;
|
|
5005
5005
|
lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5006
5006
|
isTokenTypeSplitEnabled: z.ZodBoolean;
|
|
5007
|
+
isCollectionsMigrationCompleted: z.ZodDefault<z.ZodBoolean>;
|
|
5007
5008
|
}, "strip", z.ZodTypeAny, {
|
|
5008
5009
|
fileId: string;
|
|
5009
5010
|
isTokenTypeSplitEnabled: boolean;
|
|
5011
|
+
isCollectionsMigrationCompleted: boolean;
|
|
5010
5012
|
lastImportedAt?: Date | undefined;
|
|
5011
5013
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5012
5014
|
}, {
|
|
@@ -5014,6 +5016,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
|
|
|
5014
5016
|
isTokenTypeSplitEnabled: boolean;
|
|
5015
5017
|
lastImportedAt?: Date | undefined;
|
|
5016
5018
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5019
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
5017
5020
|
}>;
|
|
5018
5021
|
}, "strip", z.ZodTypeAny, {
|
|
5019
5022
|
type: "FigmaVariablesPlugin";
|
|
@@ -5030,6 +5033,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
|
|
|
5030
5033
|
figmaVariablesPlugin: {
|
|
5031
5034
|
fileId: string;
|
|
5032
5035
|
isTokenTypeSplitEnabled: boolean;
|
|
5036
|
+
isCollectionsMigrationCompleted: boolean;
|
|
5033
5037
|
lastImportedAt?: Date | undefined;
|
|
5034
5038
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5035
5039
|
};
|
|
@@ -5050,6 +5054,7 @@ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
|
|
|
5050
5054
|
isTokenTypeSplitEnabled: boolean;
|
|
5051
5055
|
lastImportedAt?: Date | undefined;
|
|
5052
5056
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5057
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
5053
5058
|
};
|
|
5054
5059
|
}>;
|
|
5055
5060
|
type DTODataSourceFigmaVariablesPlugin = z.infer<typeof DTODataSourceFigmaVariablesPlugin>;
|
|
@@ -5518,9 +5523,11 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5518
5523
|
lastImportedAt: z.ZodOptional<z.ZodDate>;
|
|
5519
5524
|
lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5520
5525
|
isTokenTypeSplitEnabled: z.ZodBoolean;
|
|
5526
|
+
isCollectionsMigrationCompleted: z.ZodDefault<z.ZodBoolean>;
|
|
5521
5527
|
}, "strip", z.ZodTypeAny, {
|
|
5522
5528
|
fileId: string;
|
|
5523
5529
|
isTokenTypeSplitEnabled: boolean;
|
|
5530
|
+
isCollectionsMigrationCompleted: boolean;
|
|
5524
5531
|
lastImportedAt?: Date | undefined;
|
|
5525
5532
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5526
5533
|
}, {
|
|
@@ -5528,6 +5535,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5528
5535
|
isTokenTypeSplitEnabled: boolean;
|
|
5529
5536
|
lastImportedAt?: Date | undefined;
|
|
5530
5537
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5538
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
5531
5539
|
}>;
|
|
5532
5540
|
}, "strip", z.ZodTypeAny, {
|
|
5533
5541
|
type: "FigmaVariablesPlugin";
|
|
@@ -5544,6 +5552,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5544
5552
|
figmaVariablesPlugin: {
|
|
5545
5553
|
fileId: string;
|
|
5546
5554
|
isTokenTypeSplitEnabled: boolean;
|
|
5555
|
+
isCollectionsMigrationCompleted: boolean;
|
|
5547
5556
|
lastImportedAt?: Date | undefined;
|
|
5548
5557
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5549
5558
|
};
|
|
@@ -5564,6 +5573,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5564
5573
|
isTokenTypeSplitEnabled: boolean;
|
|
5565
5574
|
lastImportedAt?: Date | undefined;
|
|
5566
5575
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
5576
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
5567
5577
|
};
|
|
5568
5578
|
}>, z.ZodObject<{
|
|
5569
5579
|
id: z.ZodString;
|
|
@@ -6185,9 +6195,11 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6185
6195
|
lastImportedAt: z.ZodOptional<z.ZodDate>;
|
|
6186
6196
|
lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6187
6197
|
isTokenTypeSplitEnabled: z.ZodBoolean;
|
|
6198
|
+
isCollectionsMigrationCompleted: z.ZodDefault<z.ZodBoolean>;
|
|
6188
6199
|
}, "strip", z.ZodTypeAny, {
|
|
6189
6200
|
fileId: string;
|
|
6190
6201
|
isTokenTypeSplitEnabled: boolean;
|
|
6202
|
+
isCollectionsMigrationCompleted: boolean;
|
|
6191
6203
|
lastImportedAt?: Date | undefined;
|
|
6192
6204
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6193
6205
|
}, {
|
|
@@ -6195,6 +6207,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6195
6207
|
isTokenTypeSplitEnabled: boolean;
|
|
6196
6208
|
lastImportedAt?: Date | undefined;
|
|
6197
6209
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6210
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
6198
6211
|
}>;
|
|
6199
6212
|
}, "strip", z.ZodTypeAny, {
|
|
6200
6213
|
type: "FigmaVariablesPlugin";
|
|
@@ -6211,6 +6224,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6211
6224
|
figmaVariablesPlugin: {
|
|
6212
6225
|
fileId: string;
|
|
6213
6226
|
isTokenTypeSplitEnabled: boolean;
|
|
6227
|
+
isCollectionsMigrationCompleted: boolean;
|
|
6214
6228
|
lastImportedAt?: Date | undefined;
|
|
6215
6229
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6216
6230
|
};
|
|
@@ -6231,6 +6245,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6231
6245
|
isTokenTypeSplitEnabled: boolean;
|
|
6232
6246
|
lastImportedAt?: Date | undefined;
|
|
6233
6247
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6248
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
6234
6249
|
};
|
|
6235
6250
|
}>, z.ZodObject<{
|
|
6236
6251
|
id: z.ZodString;
|
|
@@ -6495,6 +6510,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6495
6510
|
figmaVariablesPlugin: {
|
|
6496
6511
|
fileId: string;
|
|
6497
6512
|
isTokenTypeSplitEnabled: boolean;
|
|
6513
|
+
isCollectionsMigrationCompleted: boolean;
|
|
6498
6514
|
lastImportedAt?: Date | undefined;
|
|
6499
6515
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6500
6516
|
};
|
|
@@ -6611,6 +6627,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6611
6627
|
isTokenTypeSplitEnabled: boolean;
|
|
6612
6628
|
lastImportedAt?: Date | undefined;
|
|
6613
6629
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
6630
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
6614
6631
|
};
|
|
6615
6632
|
};
|
|
6616
6633
|
}>;
|
|
@@ -7081,9 +7098,11 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7081
7098
|
lastImportedAt: z.ZodOptional<z.ZodDate>;
|
|
7082
7099
|
lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7083
7100
|
isTokenTypeSplitEnabled: z.ZodBoolean;
|
|
7101
|
+
isCollectionsMigrationCompleted: z.ZodDefault<z.ZodBoolean>;
|
|
7084
7102
|
}, "strip", z.ZodTypeAny, {
|
|
7085
7103
|
fileId: string;
|
|
7086
7104
|
isTokenTypeSplitEnabled: boolean;
|
|
7105
|
+
isCollectionsMigrationCompleted: boolean;
|
|
7087
7106
|
lastImportedAt?: Date | undefined;
|
|
7088
7107
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7089
7108
|
}, {
|
|
@@ -7091,6 +7110,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7091
7110
|
isTokenTypeSplitEnabled: boolean;
|
|
7092
7111
|
lastImportedAt?: Date | undefined;
|
|
7093
7112
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7113
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
7094
7114
|
}>;
|
|
7095
7115
|
}, "strip", z.ZodTypeAny, {
|
|
7096
7116
|
type: "FigmaVariablesPlugin";
|
|
@@ -7107,6 +7127,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7107
7127
|
figmaVariablesPlugin: {
|
|
7108
7128
|
fileId: string;
|
|
7109
7129
|
isTokenTypeSplitEnabled: boolean;
|
|
7130
|
+
isCollectionsMigrationCompleted: boolean;
|
|
7110
7131
|
lastImportedAt?: Date | undefined;
|
|
7111
7132
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7112
7133
|
};
|
|
@@ -7127,6 +7148,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7127
7148
|
isTokenTypeSplitEnabled: boolean;
|
|
7128
7149
|
lastImportedAt?: Date | undefined;
|
|
7129
7150
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7151
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
7130
7152
|
};
|
|
7131
7153
|
}>, z.ZodObject<{
|
|
7132
7154
|
id: z.ZodString;
|
|
@@ -7391,6 +7413,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7391
7413
|
figmaVariablesPlugin: {
|
|
7392
7414
|
fileId: string;
|
|
7393
7415
|
isTokenTypeSplitEnabled: boolean;
|
|
7416
|
+
isCollectionsMigrationCompleted: boolean;
|
|
7394
7417
|
lastImportedAt?: Date | undefined;
|
|
7395
7418
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7396
7419
|
};
|
|
@@ -7507,6 +7530,7 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7507
7530
|
isTokenTypeSplitEnabled: boolean;
|
|
7508
7531
|
lastImportedAt?: Date | undefined;
|
|
7509
7532
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
7533
|
+
isCollectionsMigrationCompleted?: boolean | undefined;
|
|
7510
7534
|
};
|
|
7511
7535
|
})[];
|
|
7512
7536
|
}>;
|
|
@@ -87248,6 +87272,7 @@ declare class DesignSystemSourcesEndpoint {
|
|
|
87248
87272
|
figmaVariablesPlugin: {
|
|
87249
87273
|
fileId: string;
|
|
87250
87274
|
isTokenTypeSplitEnabled: boolean;
|
|
87275
|
+
isCollectionsMigrationCompleted: boolean;
|
|
87251
87276
|
lastImportedAt?: Date | undefined;
|
|
87252
87277
|
lastImportMetadata?: Record<string, any> | undefined;
|
|
87253
87278
|
};
|
package/dist/index.js
CHANGED
|
@@ -2175,6 +2175,8 @@ var PageBlockImageAlignment = _zod.z.enum(["Left", "Center", "Stretch"]);
|
|
|
2175
2175
|
var PageBlockTableCellAlignment = _zod.z.enum(["Left", "Center", "Right"]);
|
|
2176
2176
|
var PageBlockPreviewContainerSize = _zod.z.enum(["Centered", "NaturalHeight"]);
|
|
2177
2177
|
var PageBlockThemeDisplayMode = _zod.z.enum(["Split", "Override"]);
|
|
2178
|
+
var PageBlockTokenNameFormat = _zod.z.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
|
|
2179
|
+
var PageBlockTokenValueFormat = _zod.z.enum(["ResolvedValue", "ReferenceName", "NoValue"]);
|
|
2178
2180
|
var PageBlockImageResourceReference = _zod.z.object({
|
|
2179
2181
|
resourceId: _zod.z.string(),
|
|
2180
2182
|
url: _zod.z.string()
|
|
@@ -2238,7 +2240,9 @@ var PageBlockDataV2 = _zod.z.object({
|
|
|
2238
2240
|
var PageBlockItemAssetValue = _zod.z.object({
|
|
2239
2241
|
selectedPropertyIds: _zod.z.array(_zod.z.string()).optional(),
|
|
2240
2242
|
showSearch: _zod.z.boolean().optional(),
|
|
2243
|
+
showAssetDescription: _zod.z.boolean().optional(),
|
|
2241
2244
|
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
2245
|
+
previewContainerHeight: _zod.z.number().optional(),
|
|
2242
2246
|
backgroundColor: PageBlockColorV2.optional(),
|
|
2243
2247
|
value: _zod.z.array(
|
|
2244
2248
|
_zod.z.object({
|
|
@@ -2257,6 +2261,7 @@ var PageBlockItemFigmaComponentValue = _zod.z.object({
|
|
|
2257
2261
|
showPropertyList: _zod.z.boolean().optional(),
|
|
2258
2262
|
previewOrderIds: _zod.z.array(_zod.z.string()).optional(),
|
|
2259
2263
|
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
2264
|
+
previewContainerHeight: _zod.z.number().optional(),
|
|
2260
2265
|
backgroundColor: PageBlockColorV2.optional(),
|
|
2261
2266
|
value: _zod.z.array(
|
|
2262
2267
|
_zod.z.object({
|
|
@@ -2313,6 +2318,7 @@ var PageBlockItemEmbedValue = _zod.z.object({
|
|
|
2313
2318
|
var PageBlockItemFigmaNodeValue = _zod.z.object({
|
|
2314
2319
|
showSearch: _zod.z.boolean().optional(),
|
|
2315
2320
|
previewContainerSize: PageBlockPreviewContainerSize.optional(),
|
|
2321
|
+
previewContainerHeight: _zod.z.number().optional(),
|
|
2316
2322
|
backgroundColor: PageBlockColorV2.optional(),
|
|
2317
2323
|
showFrameDetails: _zod.z.boolean().optional(),
|
|
2318
2324
|
value: _zod.z.array(
|
|
@@ -2326,6 +2332,8 @@ var PageBlockItemImageValue = _zod.z.object({
|
|
|
2326
2332
|
alt: _zod.z.string().optional(),
|
|
2327
2333
|
caption: _zod.z.string().optional(),
|
|
2328
2334
|
alignment: PageBlockImageAlignment.optional(),
|
|
2335
|
+
openLightbox: _zod.z.boolean().optional(),
|
|
2336
|
+
isBordered: _zod.z.boolean().optional(),
|
|
2329
2337
|
value: PageBlockImageReference.optional()
|
|
2330
2338
|
});
|
|
2331
2339
|
var PageBlockItemMarkdownValue = _zod.z.object({
|
|
@@ -2365,6 +2373,9 @@ var PageBlockItemTokenValue = _zod.z.object({
|
|
|
2365
2373
|
selectedThemeIds: _zod.z.array(_zod.z.string()).optional(),
|
|
2366
2374
|
swatches: _zod.z.array(PageBlockItemSwatch).optional(),
|
|
2367
2375
|
themeDisplayMode: PageBlockThemeDisplayMode.optional(),
|
|
2376
|
+
tokenNameFormat: PageBlockTokenNameFormat.optional(),
|
|
2377
|
+
tokenNameCustomPropertyId: _zod.z.string().optional(),
|
|
2378
|
+
tokenValueFormat: PageBlockTokenValueFormat.optional(),
|
|
2368
2379
|
value: _zod.z.array(
|
|
2369
2380
|
_zod.z.object({
|
|
2370
2381
|
entityId: _zod.z.string(),
|
|
@@ -3140,7 +3151,8 @@ var DataSourceUploadRemote = _zod.z.object({
|
|
|
3140
3151
|
remoteSourceType: DataSourceUploadRemoteSource,
|
|
3141
3152
|
lastImportMetadata: DataSourceUploadImportMetadata.optional(),
|
|
3142
3153
|
warnings: nullishToOptional(ImportWarning.array()),
|
|
3143
|
-
isTokenTypeSplitEnabled: _zod.z.boolean()
|
|
3154
|
+
isTokenTypeSplitEnabled: _zod.z.boolean(),
|
|
3155
|
+
isCollectionsMigrationCompleted: _zod.z.boolean()
|
|
3144
3156
|
});
|
|
3145
3157
|
var DataSourceRemote = _zod.z.discriminatedUnion("type", [
|
|
3146
3158
|
DataSourceFigmaRemote,
|
|
@@ -5281,7 +5293,8 @@ var DTODataSourceFigmaVariablesPlugin = _zod.z.object({
|
|
|
5281
5293
|
fileId: _zod.z.string(),
|
|
5282
5294
|
lastImportedAt: _zod.z.coerce.date().optional(),
|
|
5283
5295
|
lastImportMetadata: DataSourceUploadImportMetadata.optional(),
|
|
5284
|
-
isTokenTypeSplitEnabled: _zod.z.boolean()
|
|
5296
|
+
isTokenTypeSplitEnabled: _zod.z.boolean(),
|
|
5297
|
+
isCollectionsMigrationCompleted: _zod.z.boolean().default(false)
|
|
5285
5298
|
})
|
|
5286
5299
|
});
|
|
5287
5300
|
var DTODataSource = _zod.z.discriminatedUnion("type", [
|