@supernova-studio/client 0.48.27 → 0.48.29
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 +19 -7
- package/dist/index.d.ts +19 -7
- package/dist/index.js +2088 -2034
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2108 -2054
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/yjs/docs-editor/blocks-to-prosemirror.ts +8 -0
- package/src/yjs/docs-editor/prosemirror/schema.ts +56 -28
- package/src/yjs/docs-editor/prosemirror-to-blocks.ts +15 -0
package/dist/index.d.mts
CHANGED
|
@@ -19206,11 +19206,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
19206
19206
|
spans: {
|
|
19207
19207
|
text: string;
|
|
19208
19208
|
attributes: {
|
|
19209
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
19209
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
19210
19210
|
link?: string | null | undefined;
|
|
19211
19211
|
documentationItemId?: string | null | undefined;
|
|
19212
19212
|
openInNewTab?: boolean | null | undefined;
|
|
19213
19213
|
openInNewWindow?: boolean | null | undefined;
|
|
19214
|
+
commentHighlightId?: string | null | undefined;
|
|
19215
|
+
commentIsResolved?: boolean | null | undefined;
|
|
19214
19216
|
}[];
|
|
19215
19217
|
}[];
|
|
19216
19218
|
} | null | undefined;
|
|
@@ -19767,11 +19769,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
19767
19769
|
spans: {
|
|
19768
19770
|
text: string;
|
|
19769
19771
|
attributes: {
|
|
19770
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
19772
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
19771
19773
|
link?: string | null | undefined;
|
|
19772
19774
|
documentationItemId?: string | null | undefined;
|
|
19773
19775
|
openInNewTab?: boolean | null | undefined;
|
|
19774
19776
|
openInNewWindow?: boolean | null | undefined;
|
|
19777
|
+
commentHighlightId?: string | null | undefined;
|
|
19778
|
+
commentIsResolved?: boolean | null | undefined;
|
|
19775
19779
|
}[];
|
|
19776
19780
|
}[];
|
|
19777
19781
|
} | null | undefined;
|
|
@@ -20552,11 +20556,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20552
20556
|
spans: {
|
|
20553
20557
|
text: string;
|
|
20554
20558
|
attributes: {
|
|
20555
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
20559
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
20556
20560
|
link?: string | null | undefined;
|
|
20557
20561
|
documentationItemId?: string | null | undefined;
|
|
20558
20562
|
openInNewTab?: boolean | null | undefined;
|
|
20559
20563
|
openInNewWindow?: boolean | null | undefined;
|
|
20564
|
+
commentHighlightId?: string | null | undefined;
|
|
20565
|
+
commentIsResolved?: boolean | null | undefined;
|
|
20560
20566
|
}[];
|
|
20561
20567
|
}[];
|
|
20562
20568
|
} | null | undefined;
|
|
@@ -20766,11 +20772,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20766
20772
|
spans: {
|
|
20767
20773
|
text: string;
|
|
20768
20774
|
attributes: {
|
|
20769
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
20775
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
20770
20776
|
link?: string | null | undefined;
|
|
20771
20777
|
documentationItemId?: string | null | undefined;
|
|
20772
20778
|
openInNewTab?: boolean | null | undefined;
|
|
20773
20779
|
openInNewWindow?: boolean | null | undefined;
|
|
20780
|
+
commentHighlightId?: string | null | undefined;
|
|
20781
|
+
commentIsResolved?: boolean | null | undefined;
|
|
20774
20782
|
}[];
|
|
20775
20783
|
}[];
|
|
20776
20784
|
} | null | undefined;
|
|
@@ -21098,11 +21106,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21098
21106
|
spans: {
|
|
21099
21107
|
text: string;
|
|
21100
21108
|
attributes: {
|
|
21101
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
21109
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
21102
21110
|
link?: string | null | undefined;
|
|
21103
21111
|
documentationItemId?: string | null | undefined;
|
|
21104
21112
|
openInNewTab?: boolean | null | undefined;
|
|
21105
21113
|
openInNewWindow?: boolean | null | undefined;
|
|
21114
|
+
commentHighlightId?: string | null | undefined;
|
|
21115
|
+
commentIsResolved?: boolean | null | undefined;
|
|
21106
21116
|
}[];
|
|
21107
21117
|
}[];
|
|
21108
21118
|
} | null | undefined;
|
|
@@ -21312,11 +21322,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21312
21322
|
spans: {
|
|
21313
21323
|
text: string;
|
|
21314
21324
|
attributes: {
|
|
21315
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
21325
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
21316
21326
|
link?: string | null | undefined;
|
|
21317
21327
|
documentationItemId?: string | null | undefined;
|
|
21318
21328
|
openInNewTab?: boolean | null | undefined;
|
|
21319
21329
|
openInNewWindow?: boolean | null | undefined;
|
|
21330
|
+
commentHighlightId?: string | null | undefined;
|
|
21331
|
+
commentIsResolved?: boolean | null | undefined;
|
|
21320
21332
|
}[];
|
|
21321
21333
|
}[];
|
|
21322
21334
|
} | null | undefined;
|
|
@@ -42332,7 +42344,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
|
|
|
42332
42344
|
}>;
|
|
42333
42345
|
type DocumentationPageEditorModel = z.infer<typeof DocumentationPageEditorModel>;
|
|
42334
42346
|
|
|
42335
|
-
declare const pmSchema: Schema<"image" | "table" | "tableContainer" | "blockquote" | "sectionItem" | "sectionItemColumn" | "callout" | "paragraph" | "reactComponent" | "tableRow" | "tableCell" | "tableHeader" | "hardBreak" | "text" | "heading" | "listItem" | "orderedList" | "bulletList" | "horizontalRule" | "plainSection" | "tabsSection" | "doc" | "blockNode" | "embed", "code" | "bold" | "link" | "strike" | "italic">;
|
|
42347
|
+
declare const pmSchema: Schema<"image" | "table" | "tableContainer" | "blockquote" | "sectionItem" | "sectionItemColumn" | "callout" | "paragraph" | "reactComponent" | "tableRow" | "tableCell" | "tableHeader" | "hardBreak" | "text" | "heading" | "listItem" | "orderedList" | "bulletList" | "horizontalRule" | "plainSection" | "tabsSection" | "doc" | "blockNode" | "embed", "code" | "bold" | "link" | "strike" | "commentHighlight" | "italic">;
|
|
42336
42348
|
|
|
42337
42349
|
type ProsemirrorNode = {
|
|
42338
42350
|
type: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -19206,11 +19206,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
19206
19206
|
spans: {
|
|
19207
19207
|
text: string;
|
|
19208
19208
|
attributes: {
|
|
19209
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
19209
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
19210
19210
|
link?: string | null | undefined;
|
|
19211
19211
|
documentationItemId?: string | null | undefined;
|
|
19212
19212
|
openInNewTab?: boolean | null | undefined;
|
|
19213
19213
|
openInNewWindow?: boolean | null | undefined;
|
|
19214
|
+
commentHighlightId?: string | null | undefined;
|
|
19215
|
+
commentIsResolved?: boolean | null | undefined;
|
|
19214
19216
|
}[];
|
|
19215
19217
|
}[];
|
|
19216
19218
|
} | null | undefined;
|
|
@@ -19767,11 +19769,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
19767
19769
|
spans: {
|
|
19768
19770
|
text: string;
|
|
19769
19771
|
attributes: {
|
|
19770
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
19772
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
19771
19773
|
link?: string | null | undefined;
|
|
19772
19774
|
documentationItemId?: string | null | undefined;
|
|
19773
19775
|
openInNewTab?: boolean | null | undefined;
|
|
19774
19776
|
openInNewWindow?: boolean | null | undefined;
|
|
19777
|
+
commentHighlightId?: string | null | undefined;
|
|
19778
|
+
commentIsResolved?: boolean | null | undefined;
|
|
19775
19779
|
}[];
|
|
19776
19780
|
}[];
|
|
19777
19781
|
} | null | undefined;
|
|
@@ -20552,11 +20556,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20552
20556
|
spans: {
|
|
20553
20557
|
text: string;
|
|
20554
20558
|
attributes: {
|
|
20555
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
20559
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
20556
20560
|
link?: string | null | undefined;
|
|
20557
20561
|
documentationItemId?: string | null | undefined;
|
|
20558
20562
|
openInNewTab?: boolean | null | undefined;
|
|
20559
20563
|
openInNewWindow?: boolean | null | undefined;
|
|
20564
|
+
commentHighlightId?: string | null | undefined;
|
|
20565
|
+
commentIsResolved?: boolean | null | undefined;
|
|
20560
20566
|
}[];
|
|
20561
20567
|
}[];
|
|
20562
20568
|
} | null | undefined;
|
|
@@ -20766,11 +20772,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
20766
20772
|
spans: {
|
|
20767
20773
|
text: string;
|
|
20768
20774
|
attributes: {
|
|
20769
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
20775
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
20770
20776
|
link?: string | null | undefined;
|
|
20771
20777
|
documentationItemId?: string | null | undefined;
|
|
20772
20778
|
openInNewTab?: boolean | null | undefined;
|
|
20773
20779
|
openInNewWindow?: boolean | null | undefined;
|
|
20780
|
+
commentHighlightId?: string | null | undefined;
|
|
20781
|
+
commentIsResolved?: boolean | null | undefined;
|
|
20774
20782
|
}[];
|
|
20775
20783
|
}[];
|
|
20776
20784
|
} | null | undefined;
|
|
@@ -21098,11 +21106,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21098
21106
|
spans: {
|
|
21099
21107
|
text: string;
|
|
21100
21108
|
attributes: {
|
|
21101
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
21109
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
21102
21110
|
link?: string | null | undefined;
|
|
21103
21111
|
documentationItemId?: string | null | undefined;
|
|
21104
21112
|
openInNewTab?: boolean | null | undefined;
|
|
21105
21113
|
openInNewWindow?: boolean | null | undefined;
|
|
21114
|
+
commentHighlightId?: string | null | undefined;
|
|
21115
|
+
commentIsResolved?: boolean | null | undefined;
|
|
21106
21116
|
}[];
|
|
21107
21117
|
}[];
|
|
21108
21118
|
} | null | undefined;
|
|
@@ -21312,11 +21322,13 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
21312
21322
|
spans: {
|
|
21313
21323
|
text: string;
|
|
21314
21324
|
attributes: {
|
|
21315
|
-
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
|
|
21325
|
+
type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough" | "Comment";
|
|
21316
21326
|
link?: string | null | undefined;
|
|
21317
21327
|
documentationItemId?: string | null | undefined;
|
|
21318
21328
|
openInNewTab?: boolean | null | undefined;
|
|
21319
21329
|
openInNewWindow?: boolean | null | undefined;
|
|
21330
|
+
commentHighlightId?: string | null | undefined;
|
|
21331
|
+
commentIsResolved?: boolean | null | undefined;
|
|
21320
21332
|
}[];
|
|
21321
21333
|
}[];
|
|
21322
21334
|
} | null | undefined;
|
|
@@ -42332,7 +42344,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
|
|
|
42332
42344
|
}>;
|
|
42333
42345
|
type DocumentationPageEditorModel = z.infer<typeof DocumentationPageEditorModel>;
|
|
42334
42346
|
|
|
42335
|
-
declare const pmSchema: Schema<"image" | "table" | "tableContainer" | "blockquote" | "sectionItem" | "sectionItemColumn" | "callout" | "paragraph" | "reactComponent" | "tableRow" | "tableCell" | "tableHeader" | "hardBreak" | "text" | "heading" | "listItem" | "orderedList" | "bulletList" | "horizontalRule" | "plainSection" | "tabsSection" | "doc" | "blockNode" | "embed", "code" | "bold" | "link" | "strike" | "italic">;
|
|
42347
|
+
declare const pmSchema: Schema<"image" | "table" | "tableContainer" | "blockquote" | "sectionItem" | "sectionItemColumn" | "callout" | "paragraph" | "reactComponent" | "tableRow" | "tableCell" | "tableHeader" | "hardBreak" | "text" | "heading" | "listItem" | "orderedList" | "bulletList" | "horizontalRule" | "plainSection" | "tabsSection" | "doc" | "blockNode" | "embed", "code" | "bold" | "link" | "strike" | "commentHighlight" | "italic">;
|
|
42336
42348
|
|
|
42337
42349
|
type ProsemirrorNode = {
|
|
42338
42350
|
type: string;
|