@supernova-studio/model 0.48.21 → 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 +47 -1
- package/dist/index.d.ts +47 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/liveblocks/rooms/documentation-page-room.ts +5 -0
- package/src/users/user-profile.ts +1 -0
package/package.json
CHANGED
|
@@ -44,12 +44,17 @@ export const DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoom
|
|
|
44
44
|
blockDefinitions: z.array(PageBlockDefinition),
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
+
export const DocumentationPageRestorationType = z.enum(["Restore", "Revert"]);
|
|
48
|
+
export type DocumentationPageRestorationType = z.infer<typeof DocumentationPageRestorationType>;
|
|
49
|
+
|
|
47
50
|
export const RestoredDocumentationPage = z.object({
|
|
48
51
|
page: DocumentationPageV2,
|
|
49
52
|
pageParent: ElementGroup,
|
|
50
53
|
pageContent: DocumentationPageContentData,
|
|
51
54
|
contentHash: z.string(),
|
|
55
|
+
snapshotId: z.string(),
|
|
52
56
|
roomId: z.string().optional(),
|
|
57
|
+
type: DocumentationPageRestorationType,
|
|
53
58
|
});
|
|
54
59
|
|
|
55
60
|
export const RestoredDocumentationGroup = z.object({
|
|
@@ -15,6 +15,7 @@ export const UserOnboarding = z.object({
|
|
|
15
15
|
designSystemName: z.string().optional(),
|
|
16
16
|
defaultDestination: z.string().optional(),
|
|
17
17
|
figmaUrl: z.string().optional(),
|
|
18
|
+
isPageDraftOnboardingFinished: z.boolean().optional(),
|
|
18
19
|
});
|
|
19
20
|
|
|
20
21
|
export type UserOnboarding = z.infer<typeof UserOnboarding>;
|