@supernova-studio/model 1.4.15 → 1.4.17
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 +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -84567,6 +84567,8 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
|
|
|
84567
84567
|
createdAt: z.ZodDate;
|
|
84568
84568
|
updatedAt: z.ZodDate;
|
|
84569
84569
|
importState: z.ZodEnum<["InProgress", "Success", "Failed"]>;
|
|
84570
|
+
error: z.ZodOptional<z.ZodString>;
|
|
84571
|
+
chunkSize: z.ZodOptional<z.ZodNumber>;
|
|
84570
84572
|
isFromLegacyStorage: z.ZodBoolean;
|
|
84571
84573
|
}, "strip", z.ZodTypeAny, {
|
|
84572
84574
|
id: string;
|
|
@@ -84576,7 +84578,9 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
|
|
|
84576
84578
|
sourceId: string;
|
|
84577
84579
|
importState: "InProgress" | "Success" | "Failed";
|
|
84578
84580
|
isFromLegacyStorage: boolean;
|
|
84581
|
+
error?: string | undefined;
|
|
84579
84582
|
storagePath?: string | undefined;
|
|
84583
|
+
chunkSize?: number | undefined;
|
|
84580
84584
|
}, {
|
|
84581
84585
|
id: string;
|
|
84582
84586
|
createdAt: Date;
|
|
@@ -84585,7 +84589,9 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
|
|
|
84585
84589
|
sourceId: string;
|
|
84586
84590
|
importState: "InProgress" | "Success" | "Failed";
|
|
84587
84591
|
isFromLegacyStorage: boolean;
|
|
84592
|
+
error?: string | undefined;
|
|
84588
84593
|
storagePath?: string | undefined;
|
|
84594
|
+
chunkSize?: number | undefined;
|
|
84589
84595
|
}>;
|
|
84590
84596
|
type FigmaNodeStructureV2 = z.infer<typeof FigmaNodeStructureV2>;
|
|
84591
84597
|
type CreateFigmaNodeStructureV2 = OmitStrict<DbCreateInputOmit<FigmaNodeStructureV2>, "isFromLegacyStorage">;
|
|
@@ -150712,6 +150718,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
150712
150718
|
brandId: z.ZodOptional<z.ZodString>;
|
|
150713
150719
|
themeId: z.ZodOptional<z.ZodString>;
|
|
150714
150720
|
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
150721
|
+
previewMode: z.ZodOptional<z.ZodBoolean>;
|
|
150715
150722
|
exporterName: z.ZodString;
|
|
150716
150723
|
documentation: z.ZodOptional<z.ZodObject<{
|
|
150717
150724
|
isSingleVersionDocs: z.ZodBoolean;
|
|
@@ -150742,6 +150749,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
150742
150749
|
brandId?: string | undefined;
|
|
150743
150750
|
themeId?: string | undefined;
|
|
150744
150751
|
themePersistentIds?: string[] | undefined;
|
|
150752
|
+
previewMode?: boolean | undefined;
|
|
150745
150753
|
}, {
|
|
150746
150754
|
designSystemId: string;
|
|
150747
150755
|
accessToken: string;
|
|
@@ -150758,6 +150766,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
150758
150766
|
brandId?: string | undefined;
|
|
150759
150767
|
themeId?: string | undefined;
|
|
150760
150768
|
themePersistentIds?: string[] | undefined;
|
|
150769
|
+
previewMode?: boolean | undefined;
|
|
150761
150770
|
}>;
|
|
150762
150771
|
type ExportJobContext = z.infer<typeof ExportJobContext>;
|
|
150763
150772
|
|
|
@@ -152874,6 +152883,7 @@ declare const ExportJob: z.ZodObject<{
|
|
|
152874
152883
|
}>>;
|
|
152875
152884
|
createdByUserId: z.ZodOptional<z.ZodString>;
|
|
152876
152885
|
exporterPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>, z.ZodString]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
152886
|
+
previewMode: z.ZodOptional<z.ZodBoolean>;
|
|
152877
152887
|
}, "strip", z.ZodTypeAny, {
|
|
152878
152888
|
status: "Timeout" | "InProgress" | "Success" | "Failed";
|
|
152879
152889
|
id: string;
|
|
@@ -152960,6 +152970,7 @@ declare const ExportJob: z.ZodObject<{
|
|
|
152960
152970
|
themePersistentIds?: string[] | undefined;
|
|
152961
152971
|
exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
152962
152972
|
finishedAt?: Date | undefined;
|
|
152973
|
+
previewMode?: boolean | undefined;
|
|
152963
152974
|
scheduleId?: string | null | undefined;
|
|
152964
152975
|
estimatedExecutionTime?: number | undefined;
|
|
152965
152976
|
result?: {
|
|
@@ -153080,6 +153091,7 @@ declare const ExportJob: z.ZodObject<{
|
|
|
153080
153091
|
themePersistentIds?: string[] | undefined;
|
|
153081
153092
|
exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
153082
153093
|
finishedAt?: Date | undefined;
|
|
153094
|
+
previewMode?: boolean | undefined;
|
|
153083
153095
|
scheduleId?: string | null | undefined;
|
|
153084
153096
|
estimatedExecutionTime?: number | undefined;
|
|
153085
153097
|
result?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -84567,6 +84567,8 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
|
|
|
84567
84567
|
createdAt: z.ZodDate;
|
|
84568
84568
|
updatedAt: z.ZodDate;
|
|
84569
84569
|
importState: z.ZodEnum<["InProgress", "Success", "Failed"]>;
|
|
84570
|
+
error: z.ZodOptional<z.ZodString>;
|
|
84571
|
+
chunkSize: z.ZodOptional<z.ZodNumber>;
|
|
84570
84572
|
isFromLegacyStorage: z.ZodBoolean;
|
|
84571
84573
|
}, "strip", z.ZodTypeAny, {
|
|
84572
84574
|
id: string;
|
|
@@ -84576,7 +84578,9 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
|
|
|
84576
84578
|
sourceId: string;
|
|
84577
84579
|
importState: "InProgress" | "Success" | "Failed";
|
|
84578
84580
|
isFromLegacyStorage: boolean;
|
|
84581
|
+
error?: string | undefined;
|
|
84579
84582
|
storagePath?: string | undefined;
|
|
84583
|
+
chunkSize?: number | undefined;
|
|
84580
84584
|
}, {
|
|
84581
84585
|
id: string;
|
|
84582
84586
|
createdAt: Date;
|
|
@@ -84585,7 +84589,9 @@ declare const FigmaNodeStructureV2: z.ZodObject<{
|
|
|
84585
84589
|
sourceId: string;
|
|
84586
84590
|
importState: "InProgress" | "Success" | "Failed";
|
|
84587
84591
|
isFromLegacyStorage: boolean;
|
|
84592
|
+
error?: string | undefined;
|
|
84588
84593
|
storagePath?: string | undefined;
|
|
84594
|
+
chunkSize?: number | undefined;
|
|
84589
84595
|
}>;
|
|
84590
84596
|
type FigmaNodeStructureV2 = z.infer<typeof FigmaNodeStructureV2>;
|
|
84591
84597
|
type CreateFigmaNodeStructureV2 = OmitStrict<DbCreateInputOmit<FigmaNodeStructureV2>, "isFromLegacyStorage">;
|
|
@@ -150712,6 +150718,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
150712
150718
|
brandId: z.ZodOptional<z.ZodString>;
|
|
150713
150719
|
themeId: z.ZodOptional<z.ZodString>;
|
|
150714
150720
|
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
150721
|
+
previewMode: z.ZodOptional<z.ZodBoolean>;
|
|
150715
150722
|
exporterName: z.ZodString;
|
|
150716
150723
|
documentation: z.ZodOptional<z.ZodObject<{
|
|
150717
150724
|
isSingleVersionDocs: z.ZodBoolean;
|
|
@@ -150742,6 +150749,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
150742
150749
|
brandId?: string | undefined;
|
|
150743
150750
|
themeId?: string | undefined;
|
|
150744
150751
|
themePersistentIds?: string[] | undefined;
|
|
150752
|
+
previewMode?: boolean | undefined;
|
|
150745
150753
|
}, {
|
|
150746
150754
|
designSystemId: string;
|
|
150747
150755
|
accessToken: string;
|
|
@@ -150758,6 +150766,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
150758
150766
|
brandId?: string | undefined;
|
|
150759
150767
|
themeId?: string | undefined;
|
|
150760
150768
|
themePersistentIds?: string[] | undefined;
|
|
150769
|
+
previewMode?: boolean | undefined;
|
|
150761
150770
|
}>;
|
|
150762
150771
|
type ExportJobContext = z.infer<typeof ExportJobContext>;
|
|
150763
150772
|
|
|
@@ -152874,6 +152883,7 @@ declare const ExportJob: z.ZodObject<{
|
|
|
152874
152883
|
}>>;
|
|
152875
152884
|
createdByUserId: z.ZodOptional<z.ZodString>;
|
|
152876
152885
|
exporterPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>, z.ZodString]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
152886
|
+
previewMode: z.ZodOptional<z.ZodBoolean>;
|
|
152877
152887
|
}, "strip", z.ZodTypeAny, {
|
|
152878
152888
|
status: "Timeout" | "InProgress" | "Success" | "Failed";
|
|
152879
152889
|
id: string;
|
|
@@ -152960,6 +152970,7 @@ declare const ExportJob: z.ZodObject<{
|
|
|
152960
152970
|
themePersistentIds?: string[] | undefined;
|
|
152961
152971
|
exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
152962
152972
|
finishedAt?: Date | undefined;
|
|
152973
|
+
previewMode?: boolean | undefined;
|
|
152963
152974
|
scheduleId?: string | null | undefined;
|
|
152964
152975
|
estimatedExecutionTime?: number | undefined;
|
|
152965
152976
|
result?: {
|
|
@@ -153080,6 +153091,7 @@ declare const ExportJob: z.ZodObject<{
|
|
|
153080
153091
|
themePersistentIds?: string[] | undefined;
|
|
153081
153092
|
exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
153082
153093
|
finishedAt?: Date | undefined;
|
|
153094
|
+
previewMode?: boolean | undefined;
|
|
153083
153095
|
scheduleId?: string | null | undefined;
|
|
153084
153096
|
estimatedExecutionTime?: number | undefined;
|
|
153085
153097
|
result?: {
|
package/dist/index.js
CHANGED
|
@@ -4389,6 +4389,8 @@ var FigmaNodeStructureV2 = _zod.z.object({
|
|
|
4389
4389
|
createdAt: _zod.z.coerce.date(),
|
|
4390
4390
|
updatedAt: _zod.z.coerce.date(),
|
|
4391
4391
|
importState: FigmaNodeStructureStateV2,
|
|
4392
|
+
error: _zod.z.string().optional(),
|
|
4393
|
+
chunkSize: _zod.z.number().optional(),
|
|
4392
4394
|
// TODO Artem: remove after migration
|
|
4393
4395
|
isFromLegacyStorage: _zod.z.boolean()
|
|
4394
4396
|
});
|
|
@@ -5462,6 +5464,7 @@ var ExportJobContext = _zod.z.object({
|
|
|
5462
5464
|
brandId: _zod.z.string().optional(),
|
|
5463
5465
|
themeId: _zod.z.string().optional(),
|
|
5464
5466
|
themePersistentIds: _zod.z.string().array().optional(),
|
|
5467
|
+
previewMode: _zod.z.boolean().optional(),
|
|
5465
5468
|
exporterName: _zod.z.string(),
|
|
5466
5469
|
documentation: ExportJobDocumentationContext.optional()
|
|
5467
5470
|
});
|
|
@@ -5540,6 +5543,7 @@ var ExportJob = _zod.z.object({
|
|
|
5540
5543
|
result: ExportJobResult.optional(),
|
|
5541
5544
|
createdByUserId: _zod.z.string().optional(),
|
|
5542
5545
|
exporterPropertyValues: ExporterPropertyValueMap.optional(),
|
|
5546
|
+
previewMode: _zod.z.boolean().optional(),
|
|
5543
5547
|
// Destinations
|
|
5544
5548
|
...ExportDestinationsMap.shape
|
|
5545
5549
|
});
|