@supernova-studio/model 0.48.22 → 0.48.23
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 +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/liveblocks/rooms/documentation-page-room.ts +5 -0
package/dist/index.mjs
CHANGED
|
@@ -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
|
-
|
|
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,
|