@supernova-studio/model 0.48.23 → 0.48.25
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 +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js +5 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/design-system-update.ts +2 -2
- package/src/liveblocks/rooms/documentation-page-room.ts +1 -5
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 =
|
|
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,15 +4267,13 @@ 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"]);
|
|
4271
4270
|
var RestoredDocumentationPage = z126.object({
|
|
4272
4271
|
page: DocumentationPageV2,
|
|
4273
4272
|
pageParent: ElementGroup,
|
|
4274
4273
|
pageContent: DocumentationPageContentData,
|
|
4275
4274
|
contentHash: z126.string(),
|
|
4276
4275
|
snapshotId: z126.string(),
|
|
4277
|
-
roomId: z126.string().optional()
|
|
4278
|
-
type: DocumentationPageRestorationType
|
|
4276
|
+
roomId: z126.string().optional()
|
|
4279
4277
|
});
|
|
4280
4278
|
var RestoredDocumentationGroup = z126.object({
|
|
4281
4279
|
group: ElementGroup,
|
|
@@ -5129,7 +5127,6 @@ export {
|
|
|
5129
5127
|
DocumentationPageDataV1,
|
|
5130
5128
|
DocumentationPageDataV2,
|
|
5131
5129
|
DocumentationPageGroup,
|
|
5132
|
-
DocumentationPageRestorationType,
|
|
5133
5130
|
DocumentationPageRoom,
|
|
5134
5131
|
DocumentationPageRoomDump,
|
|
5135
5132
|
DocumentationPageRoomInitialStateUpdate,
|