@supernova-studio/model 0.47.70 → 0.47.71
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 +4538 -1
- package/dist/index.d.ts +4538 -1
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/data/documentation-page-v2.ts +0 -1
- package/src/liveblocks/rooms/design-system-version-room.ts +1 -0
- package/src/liveblocks/rooms/documentation-page-room.ts +16 -0
package/dist/index.mjs
CHANGED
|
@@ -3299,7 +3299,8 @@ var DesignSystemVersionRoomUpdate = z123.object({
|
|
|
3299
3299
|
pageSnapshots: z123.array(DocumentationPageSnapshot),
|
|
3300
3300
|
groupSnapshots: z123.array(ElementGroupSnapshot),
|
|
3301
3301
|
pageSnapshotIdsToDelete: z123.array(z123.string()),
|
|
3302
|
-
groupSnapshotIdsToDelete: z123.array(z123.string())
|
|
3302
|
+
groupSnapshotIdsToDelete: z123.array(z123.string()),
|
|
3303
|
+
pageHashesToUpdate: z123.record(z123.string(), z123.string())
|
|
3303
3304
|
});
|
|
3304
3305
|
|
|
3305
3306
|
// src/liveblocks/rooms/documentation-page-room.ts
|
|
@@ -3322,6 +3323,17 @@ var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.ex
|
|
|
3322
3323
|
pageItems: z124.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
|
|
3323
3324
|
blockDefinitions: z124.array(PageBlockDefinition)
|
|
3324
3325
|
});
|
|
3326
|
+
var RestoredDocumentationPage = z124.object({
|
|
3327
|
+
page: DocumentationPageV2,
|
|
3328
|
+
pageParent: ElementGroup,
|
|
3329
|
+
pageContent: DocumentationPageContentData,
|
|
3330
|
+
contentHash: z124.string(),
|
|
3331
|
+
roomId: z124.string().optional()
|
|
3332
|
+
});
|
|
3333
|
+
var RestoredDocumentationGroup = z124.object({
|
|
3334
|
+
group: ElementGroup,
|
|
3335
|
+
parent: ElementGroup
|
|
3336
|
+
});
|
|
3325
3337
|
|
|
3326
3338
|
// src/liveblocks/rooms/room-type.ts
|
|
3327
3339
|
import { z as z125 } from "zod";
|
|
@@ -5357,6 +5369,8 @@ export {
|
|
|
5357
5369
|
RESERVED_SLUG_PREFIX,
|
|
5358
5370
|
RenderedAssetFile,
|
|
5359
5371
|
ResolvedAsset,
|
|
5372
|
+
RestoredDocumentationGroup,
|
|
5373
|
+
RestoredDocumentationPage,
|
|
5360
5374
|
RoomType,
|
|
5361
5375
|
RoomTypeEnum,
|
|
5362
5376
|
RoomTypeSchema,
|