@supernova-studio/client 1.69.7 → 1.71.2
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 +41 -3
- package/dist/index.d.ts +41 -3
- package/dist/index.js +17 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3719,15 +3719,20 @@ var Collection = _zod.z.object({
|
|
|
3719
3719
|
});
|
|
3720
3720
|
var CollectionImportModelInput = _zod.z.object({
|
|
3721
3721
|
id: _zod.z.string(),
|
|
3722
|
+
legacyId: _zod.z.string(),
|
|
3722
3723
|
name: _zod.z.string(),
|
|
3723
3724
|
parentId: _zod.z.string().optional(),
|
|
3725
|
+
parentLegacyId: _zod.z.string().optional(),
|
|
3724
3726
|
parentPersistentId: _zod.z.string().optional()
|
|
3725
3727
|
});
|
|
3726
3728
|
var CollectionImportModel = _zod.z.object({
|
|
3727
3729
|
id: _zod.z.string(),
|
|
3730
|
+
legacyId: _zod.z.string(),
|
|
3731
|
+
parentId: _zod.z.string().optional(),
|
|
3732
|
+
parentLegacyId: _zod.z.string().optional(),
|
|
3728
3733
|
name: _zod.z.string(),
|
|
3729
|
-
|
|
3730
|
-
|
|
3734
|
+
origin: CollectionOrigin,
|
|
3735
|
+
parentPersistentId: _zod.z.string().optional()
|
|
3731
3736
|
});
|
|
3732
3737
|
var ImportModelBase = _zod.z.object({
|
|
3733
3738
|
id: _zod.z.string(),
|
|
@@ -3831,20 +3836,22 @@ var ThemeOverrideImportModelInput = ThemeOverrideImportModelBase.and(
|
|
|
3831
3836
|
})
|
|
3832
3837
|
);
|
|
3833
3838
|
var ThemeImportModel = _zod.z.object({
|
|
3839
|
+
id: _zod.z.string(),
|
|
3840
|
+
parentId: _zod.z.string().optional(),
|
|
3834
3841
|
meta: ObjectMeta,
|
|
3835
3842
|
brandPersistentId: _zod.z.string(),
|
|
3836
3843
|
originSource: ThemeOriginSource,
|
|
3837
3844
|
overrides: _zod.z.array(ThemeOverrideImportModel),
|
|
3838
3845
|
sortOrder: _zod.z.number(),
|
|
3839
|
-
collectionIds: _zod.z.array(_zod.z.string()).optional()
|
|
3840
|
-
parentPersistentId: _zod.z.string().optional()
|
|
3846
|
+
collectionIds: _zod.z.array(_zod.z.string()).optional()
|
|
3841
3847
|
});
|
|
3842
3848
|
var ThemeImportModelInput = _zod.z.object({
|
|
3849
|
+
id: _zod.z.string(),
|
|
3850
|
+
parentId: _zod.z.string().optional(),
|
|
3843
3851
|
meta: ObjectMeta,
|
|
3844
3852
|
originObjects: _zod.z.array(ThemeOriginObject),
|
|
3845
3853
|
overrides: _zod.z.array(ThemeOverrideImportModelInput),
|
|
3846
|
-
collectionIds: _zod.z.array(_zod.z.string()).optional()
|
|
3847
|
-
parentPersistentId: _zod.z.string().optional()
|
|
3854
|
+
collectionIds: _zod.z.array(_zod.z.string()).optional()
|
|
3848
3855
|
});
|
|
3849
3856
|
var ThemeUpdateImportModel = _zod.z.object({
|
|
3850
3857
|
themePersistentId: _zod.z.string(),
|
|
@@ -4352,7 +4359,6 @@ var svgNodeObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
|
4352
4359
|
});
|
|
4353
4360
|
var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
4354
4361
|
type: _zod.z.literal("COMPONENT_INSTANCE"),
|
|
4355
|
-
supernovaId: _zod.z.string(),
|
|
4356
4362
|
componentSetName: _zod.z.string(),
|
|
4357
4363
|
componentSetDescription: _zod.z.string(),
|
|
4358
4364
|
componentName: _zod.z.string(),
|
|
@@ -4836,6 +4842,7 @@ var ForgeProjectInvitation = _zod.z.object({
|
|
|
4836
4842
|
forgeProjectId: _zod.z.string(),
|
|
4837
4843
|
workspaceInvitationId: _zod.z.string(),
|
|
4838
4844
|
role: ForgeProjectRole,
|
|
4845
|
+
effectiveRole: ForgeProjectRole,
|
|
4839
4846
|
createdAt: _zod.z.coerce.date(),
|
|
4840
4847
|
updatedAt: _zod.z.coerce.date(),
|
|
4841
4848
|
createdById: _zod.z.string()
|
|
@@ -11208,12 +11215,13 @@ var DTOFigmaExportNodeConfiguration = _zod.z.object({
|
|
|
11208
11215
|
});
|
|
11209
11216
|
var DTOFigmaExportNodePayload = _zod.z.object({
|
|
11210
11217
|
designSystemId: _zod.z.string(),
|
|
11211
|
-
versionId: _zod.z.string().optional(),
|
|
11212
11218
|
figmaUrl: _zod.z.string(),
|
|
11213
11219
|
configuration: DTOFigmaExportNodeConfiguration
|
|
11214
11220
|
});
|
|
11215
11221
|
var DTOFigmaExportNodeResponse = _zod.z.object({
|
|
11216
|
-
file: DTOFile
|
|
11222
|
+
file: DTOFile,
|
|
11223
|
+
// TODO (jovanblazek): Remove sceneNodes from response when done with development
|
|
11224
|
+
sceneNodes: _zod.z.array(_zod.z.any()).optional()
|
|
11217
11225
|
});
|
|
11218
11226
|
|
|
11219
11227
|
// src/api/dto/liveblocks/auth-response.ts
|