@supernova-studio/model 1.67.1 → 1.69.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 +128 -0
- package/dist/index.d.ts +128 -0
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3756,7 +3756,8 @@ var ThemeElementData = z93.object({
|
|
|
3756
3756
|
var ThemeOriginPart = z93.object({});
|
|
3757
3757
|
var ThemeOriginObject = z93.object({
|
|
3758
3758
|
id: z93.string(),
|
|
3759
|
-
name: z93.string()
|
|
3759
|
+
name: z93.string(),
|
|
3760
|
+
parentModeId: z93.string().optional()
|
|
3760
3761
|
});
|
|
3761
3762
|
var ThemeOriginSource = z93.object({
|
|
3762
3763
|
sourceId: z93.string(),
|
|
@@ -4100,6 +4101,7 @@ import { z as z100 } from "zod";
|
|
|
4100
4101
|
import { z as z99 } from "zod";
|
|
4101
4102
|
var CollectionOrigin = z99.object({
|
|
4102
4103
|
id: z99.string(),
|
|
4104
|
+
parentId: z99.string().optional(),
|
|
4103
4105
|
sourceId: z99.string()
|
|
4104
4106
|
});
|
|
4105
4107
|
var Collection = z99.object({
|
|
@@ -4131,11 +4133,14 @@ var Collection = z99.object({
|
|
|
4131
4133
|
// src/dsm/import/collection.ts
|
|
4132
4134
|
var CollectionImportModelInput = z100.object({
|
|
4133
4135
|
id: z100.string(),
|
|
4134
|
-
name: z100.string()
|
|
4136
|
+
name: z100.string(),
|
|
4137
|
+
parentId: z100.string().optional(),
|
|
4138
|
+
parentPersistentId: z100.string().optional()
|
|
4135
4139
|
});
|
|
4136
4140
|
var CollectionImportModel = z100.object({
|
|
4137
4141
|
id: z100.string(),
|
|
4138
4142
|
name: z100.string(),
|
|
4143
|
+
parentPersistentId: z100.string().optional(),
|
|
4139
4144
|
origin: CollectionOrigin
|
|
4140
4145
|
});
|
|
4141
4146
|
|
|
@@ -4283,12 +4288,16 @@ var ThemeImportModel = z106.object({
|
|
|
4283
4288
|
brandPersistentId: z106.string(),
|
|
4284
4289
|
originSource: ThemeOriginSource,
|
|
4285
4290
|
overrides: z106.array(ThemeOverrideImportModel),
|
|
4286
|
-
sortOrder: z106.number()
|
|
4291
|
+
sortOrder: z106.number(),
|
|
4292
|
+
collectionIds: z106.array(z106.string()).optional(),
|
|
4293
|
+
parentPersistentId: z106.string().optional()
|
|
4287
4294
|
});
|
|
4288
4295
|
var ThemeImportModelInput = z106.object({
|
|
4289
4296
|
meta: ObjectMeta,
|
|
4290
4297
|
originObjects: z106.array(ThemeOriginObject),
|
|
4291
|
-
overrides: z106.array(ThemeOverrideImportModelInput)
|
|
4298
|
+
overrides: z106.array(ThemeOverrideImportModelInput),
|
|
4299
|
+
collectionIds: z106.array(z106.string()).optional(),
|
|
4300
|
+
parentPersistentId: z106.string().optional()
|
|
4292
4301
|
});
|
|
4293
4302
|
var ThemeUpdateImportModel = z106.object({
|
|
4294
4303
|
themePersistentId: z106.string(),
|