@supernova-studio/model 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 +77 -21
- package/dist/index.d.ts +77 -21
- package/dist/index.js +14 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4133,15 +4133,20 @@ var Collection = z99.object({
|
|
|
4133
4133
|
// src/dsm/import/collection.ts
|
|
4134
4134
|
var CollectionImportModelInput = z100.object({
|
|
4135
4135
|
id: z100.string(),
|
|
4136
|
+
legacyId: z100.string(),
|
|
4136
4137
|
name: z100.string(),
|
|
4137
4138
|
parentId: z100.string().optional(),
|
|
4139
|
+
parentLegacyId: z100.string().optional(),
|
|
4138
4140
|
parentPersistentId: z100.string().optional()
|
|
4139
4141
|
});
|
|
4140
4142
|
var CollectionImportModel = z100.object({
|
|
4141
4143
|
id: z100.string(),
|
|
4144
|
+
legacyId: z100.string(),
|
|
4145
|
+
parentId: z100.string().optional(),
|
|
4146
|
+
parentLegacyId: z100.string().optional(),
|
|
4142
4147
|
name: z100.string(),
|
|
4143
|
-
|
|
4144
|
-
|
|
4148
|
+
origin: CollectionOrigin,
|
|
4149
|
+
parentPersistentId: z100.string().optional()
|
|
4145
4150
|
});
|
|
4146
4151
|
|
|
4147
4152
|
// src/dsm/import/component.ts
|
|
@@ -4284,20 +4289,22 @@ var ThemeOverrideImportModelInput = ThemeOverrideImportModelBase.and(
|
|
|
4284
4289
|
})
|
|
4285
4290
|
);
|
|
4286
4291
|
var ThemeImportModel = z106.object({
|
|
4292
|
+
id: z106.string(),
|
|
4293
|
+
parentId: z106.string().optional(),
|
|
4287
4294
|
meta: ObjectMeta,
|
|
4288
4295
|
brandPersistentId: z106.string(),
|
|
4289
4296
|
originSource: ThemeOriginSource,
|
|
4290
4297
|
overrides: z106.array(ThemeOverrideImportModel),
|
|
4291
4298
|
sortOrder: z106.number(),
|
|
4292
|
-
collectionIds: z106.array(z106.string()).optional()
|
|
4293
|
-
parentPersistentId: z106.string().optional()
|
|
4299
|
+
collectionIds: z106.array(z106.string()).optional()
|
|
4294
4300
|
});
|
|
4295
4301
|
var ThemeImportModelInput = z106.object({
|
|
4302
|
+
id: z106.string(),
|
|
4303
|
+
parentId: z106.string().optional(),
|
|
4296
4304
|
meta: ObjectMeta,
|
|
4297
4305
|
originObjects: z106.array(ThemeOriginObject),
|
|
4298
4306
|
overrides: z106.array(ThemeOverrideImportModelInput),
|
|
4299
|
-
collectionIds: z106.array(z106.string()).optional()
|
|
4300
|
-
parentPersistentId: z106.string().optional()
|
|
4307
|
+
collectionIds: z106.array(z106.string()).optional()
|
|
4301
4308
|
});
|
|
4302
4309
|
var ThemeUpdateImportModel = z106.object({
|
|
4303
4310
|
themePersistentId: z106.string(),
|
|
@@ -4879,7 +4886,6 @@ var svgNodeObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
|
4879
4886
|
});
|
|
4880
4887
|
var componentInstanceObjectSchema = baseDesignNodeObjectSchema.extend({
|
|
4881
4888
|
type: z125.literal("COMPONENT_INSTANCE"),
|
|
4882
|
-
supernovaId: z125.string(),
|
|
4883
4889
|
componentSetName: z125.string(),
|
|
4884
4890
|
componentSetDescription: z125.string(),
|
|
4885
4891
|
componentName: z125.string(),
|
|
@@ -5511,6 +5517,7 @@ var ForgeProjectInvitation = z155.object({
|
|
|
5511
5517
|
forgeProjectId: z155.string(),
|
|
5512
5518
|
workspaceInvitationId: z155.string(),
|
|
5513
5519
|
role: ForgeProjectRole,
|
|
5520
|
+
effectiveRole: ForgeProjectRole,
|
|
5514
5521
|
createdAt: z155.coerce.date(),
|
|
5515
5522
|
updatedAt: z155.coerce.date(),
|
|
5516
5523
|
createdById: z155.string()
|