@supernova-studio/client 0.20.1 → 0.21.1
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 +1527 -5431
- package/dist/index.d.ts +1527 -5431
- package/dist/index.js +26 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/documentation/group.ts +1 -1
- package/src/api/dto/elements/documentation/page-v2.ts +1 -1
- package/src/yjs/docs-editor/blocks-to-prosemirror.ts +1 -1
- package/src/yjs/docs-editor/prosemirror-to-blocks.ts +5 -2
package/package.json
CHANGED
|
@@ -64,8 +64,8 @@ export const DTOMoveDocumentationGroupInput = z.object({
|
|
|
64
64
|
id: z.string().uuid(),
|
|
65
65
|
|
|
66
66
|
// Group placement properties
|
|
67
|
-
afterPersistentId: z.string().uuid(),
|
|
68
67
|
parentPersistentId: z.string().uuid(),
|
|
68
|
+
afterPersistentId: z.string().uuid().optional(),
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
export const DTODuplicateDocumentationGroupInput = z.object({
|
|
@@ -67,7 +67,7 @@ export const DTOMoveDocumentationPageInputV2 = z.object({
|
|
|
67
67
|
|
|
68
68
|
// Page placement properties
|
|
69
69
|
parentPersistentId: z.string().uuid(),
|
|
70
|
-
afterPersistentId: z.string().uuid(),
|
|
70
|
+
afterPersistentId: z.string().uuid().optional(),
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
export const DTODuplicateDocumentationPageInputV2 = z.object({
|
|
@@ -392,8 +392,11 @@ function parseAsTableNode(prosemirrorNode: ProsemirrorNode): PageBlockItemTableN
|
|
|
392
392
|
return {
|
|
393
393
|
type: "Image",
|
|
394
394
|
value: {
|
|
395
|
-
type: "
|
|
396
|
-
|
|
395
|
+
type: "Resource",
|
|
396
|
+
resource: {
|
|
397
|
+
resourceId: "",
|
|
398
|
+
url: url,
|
|
399
|
+
},
|
|
397
400
|
},
|
|
398
401
|
};
|
|
399
402
|
|