@supernova-studio/model 0.48.22 → 0.48.24

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.mjs CHANGED
@@ -3976,18 +3976,18 @@ var DesignSystemWithWorkspace = z115.object({
3976
3976
  // src/dsm/design-system-update.ts
3977
3977
  var DS_NAME_MIN_LENGTH = 2;
3978
3978
  var DS_NAME_MAX_LENGTH = 64;
3979
- var DS_DESC_MAX_LENGTH = 64;
3979
+ var DS_DESC_MAX_LENGTH = 2048;
3980
3980
  var DesignSystemUpdateInputMetadata = z116.object({
3981
3981
  name: z116.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
3982
3982
  description: z116.string().max(DS_DESC_MAX_LENGTH).trim().optional()
3983
3983
  });
3984
3984
  var DesignSystemUpdateInput = DesignSystem.partial().omit({
3985
3985
  id: true,
3986
+ workspaceId: true,
3986
3987
  createdAt: true,
3987
3988
  updatedAt: true,
3988
3989
  docSlug: true,
3989
- docViewUrl: true,
3990
- designSystemSwitcher: true
3990
+ docViewUrl: true
3991
3991
  }).extend({
3992
3992
  meta: DesignSystemUpdateInputMetadata.optional()
3993
3993
  });
@@ -4267,12 +4267,15 @@ var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.ex
4267
4267
  pageItems: z126.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
4268
4268
  blockDefinitions: z126.array(PageBlockDefinition)
4269
4269
  });
4270
+ var DocumentationPageRestorationType = z126.enum(["Restore", "Revert"]);
4270
4271
  var RestoredDocumentationPage = z126.object({
4271
4272
  page: DocumentationPageV2,
4272
4273
  pageParent: ElementGroup,
4273
4274
  pageContent: DocumentationPageContentData,
4274
4275
  contentHash: z126.string(),
4275
- roomId: z126.string().optional()
4276
+ snapshotId: z126.string(),
4277
+ roomId: z126.string().optional(),
4278
+ type: DocumentationPageRestorationType
4276
4279
  });
4277
4280
  var RestoredDocumentationGroup = z126.object({
4278
4281
  group: ElementGroup,
@@ -5126,6 +5129,7 @@ export {
5126
5129
  DocumentationPageDataV1,
5127
5130
  DocumentationPageDataV2,
5128
5131
  DocumentationPageGroup,
5132
+ DocumentationPageRestorationType,
5129
5133
  DocumentationPageRoom,
5130
5134
  DocumentationPageRoomDump,
5131
5135
  DocumentationPageRoomInitialStateUpdate,