@supernova-studio/client 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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -58718,6 +58718,7 @@ declare const DTOExportJobCreateInput: z.ZodObject<{
|
|
|
58718
58718
|
webhookUrl?: string | undefined;
|
|
58719
58719
|
}>;
|
|
58720
58720
|
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>]>>>;
|
|
58721
|
+
previewMode: z.ZodOptional<z.ZodBoolean>;
|
|
58721
58722
|
}, "strip", z.ZodTypeAny, {
|
|
58722
58723
|
designSystemVersionId: string;
|
|
58723
58724
|
designSystemId: string;
|
|
@@ -58800,6 +58801,7 @@ declare const DTOExportJobCreateInput: z.ZodObject<{
|
|
|
58800
58801
|
themeId?: string | undefined;
|
|
58801
58802
|
themePersistentIds?: string[] | undefined;
|
|
58802
58803
|
exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
58804
|
+
previewMode?: boolean | undefined;
|
|
58803
58805
|
}, {
|
|
58804
58806
|
designSystemVersionId: string;
|
|
58805
58807
|
designSystemId: string;
|
|
@@ -58882,6 +58884,7 @@ declare const DTOExportJobCreateInput: z.ZodObject<{
|
|
|
58882
58884
|
themeId?: string | undefined;
|
|
58883
58885
|
themePersistentIds?: string[] | undefined;
|
|
58884
58886
|
exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
58887
|
+
previewMode?: boolean | undefined;
|
|
58885
58888
|
}>;
|
|
58886
58889
|
type DTOExportJobCreateInput = z.infer<typeof DTOExportJobCreateInput>;
|
|
58887
58890
|
|
package/dist/index.d.ts
CHANGED
|
@@ -58718,6 +58718,7 @@ declare const DTOExportJobCreateInput: z.ZodObject<{
|
|
|
58718
58718
|
webhookUrl?: string | undefined;
|
|
58719
58719
|
}>;
|
|
58720
58720
|
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>]>>>;
|
|
58721
|
+
previewMode: z.ZodOptional<z.ZodBoolean>;
|
|
58721
58722
|
}, "strip", z.ZodTypeAny, {
|
|
58722
58723
|
designSystemVersionId: string;
|
|
58723
58724
|
designSystemId: string;
|
|
@@ -58800,6 +58801,7 @@ declare const DTOExportJobCreateInput: z.ZodObject<{
|
|
|
58800
58801
|
themeId?: string | undefined;
|
|
58801
58802
|
themePersistentIds?: string[] | undefined;
|
|
58802
58803
|
exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
58804
|
+
previewMode?: boolean | undefined;
|
|
58803
58805
|
}, {
|
|
58804
58806
|
designSystemVersionId: string;
|
|
58805
58807
|
designSystemId: string;
|
|
@@ -58882,6 +58884,7 @@ declare const DTOExportJobCreateInput: z.ZodObject<{
|
|
|
58882
58884
|
themeId?: string | undefined;
|
|
58883
58885
|
themePersistentIds?: string[] | undefined;
|
|
58884
58886
|
exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
|
|
58887
|
+
previewMode?: boolean | undefined;
|
|
58885
58888
|
}>;
|
|
58886
58889
|
type DTOExportJobCreateInput = z.infer<typeof DTOExportJobCreateInput>;
|
|
58887
58890
|
|
package/dist/index.js
CHANGED
|
@@ -3858,6 +3858,8 @@ var FigmaNodeStructureV2 = _zod.z.object({
|
|
|
3858
3858
|
createdAt: _zod.z.coerce.date(),
|
|
3859
3859
|
updatedAt: _zod.z.coerce.date(),
|
|
3860
3860
|
importState: FigmaNodeStructureStateV2,
|
|
3861
|
+
error: _zod.z.string().optional(),
|
|
3862
|
+
chunkSize: _zod.z.number().optional(),
|
|
3861
3863
|
// TODO Artem: remove after migration
|
|
3862
3864
|
isFromLegacyStorage: _zod.z.boolean()
|
|
3863
3865
|
});
|
|
@@ -4738,6 +4740,7 @@ var ExportJobContext = _zod.z.object({
|
|
|
4738
4740
|
brandId: _zod.z.string().optional(),
|
|
4739
4741
|
themeId: _zod.z.string().optional(),
|
|
4740
4742
|
themePersistentIds: _zod.z.string().array().optional(),
|
|
4743
|
+
previewMode: _zod.z.boolean().optional(),
|
|
4741
4744
|
exporterName: _zod.z.string(),
|
|
4742
4745
|
documentation: ExportJobDocumentationContext.optional()
|
|
4743
4746
|
});
|
|
@@ -4810,6 +4813,7 @@ var ExportJob = _zod.z.object({
|
|
|
4810
4813
|
result: ExportJobResult.optional(),
|
|
4811
4814
|
createdByUserId: _zod.z.string().optional(),
|
|
4812
4815
|
exporterPropertyValues: ExporterPropertyValueMap.optional(),
|
|
4816
|
+
previewMode: _zod.z.boolean().optional(),
|
|
4813
4817
|
// Destinations
|
|
4814
4818
|
...ExportDestinationsMap.shape
|
|
4815
4819
|
});
|
|
@@ -6838,7 +6842,8 @@ var DTOExportJobCreateInput = _zod.z.object({
|
|
|
6838
6842
|
themeId: _zod.z.string().optional(),
|
|
6839
6843
|
themePersistentIds: _zod.z.string().array().optional(),
|
|
6840
6844
|
destinations: DTOExportJobDestinations,
|
|
6841
|
-
exporterPropertyValues: DTOExporterPropertyValueMap.optional()
|
|
6845
|
+
exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
|
|
6846
|
+
previewMode: _zod.z.boolean().optional()
|
|
6842
6847
|
});
|
|
6843
6848
|
|
|
6844
6849
|
// src/api/dto/export/pipeline.ts
|