@supernova-studio/client 0.10.2 → 0.11.0
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 +59 -59
- package/dist/index.d.ts +59 -59
- package/dist/index.js +284 -953
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +284 -953
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/requests/post-bulk-doc-page-elements.ts +13 -17
- package/src/api/requests/post-liveblocks-auth.ts +0 -2
- package/src/docs-editor/blocks-to-prosemirror.ts +5 -54
- package/src/docs-editor/prosemirror/schema.ts +270 -869
- package/src/docs-editor/prosemirror-to-blocks.ts +3 -49
package/dist/index.d.mts
CHANGED
|
@@ -2442,9 +2442,10 @@ declare const DocumentationGroupDTO: z.ZodObject<{
|
|
|
2442
2442
|
type DocumentationGroupDTO = z.infer<typeof DocumentationGroupDTO>;
|
|
2443
2443
|
|
|
2444
2444
|
declare const CreateBulkElementsInput: z.ZodObject<{
|
|
2445
|
+
parentPersistentId: z.ZodString;
|
|
2445
2446
|
persistentId: z.ZodString;
|
|
2446
2447
|
title: z.ZodString;
|
|
2447
|
-
configuration: z.ZodObject<{
|
|
2448
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
2448
2449
|
showSidebar: z.ZodBoolean;
|
|
2449
2450
|
header: z.ZodObject<{
|
|
2450
2451
|
description: z.ZodString;
|
|
@@ -3077,12 +3078,13 @@ declare const CreateBulkElementsInput: z.ZodObject<{
|
|
|
3077
3078
|
} | null | undefined;
|
|
3078
3079
|
minHeight?: number | null | undefined;
|
|
3079
3080
|
};
|
|
3080
|
-
}
|
|
3081
|
-
|
|
3082
|
-
afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3081
|
+
}>>;
|
|
3082
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
3083
3083
|
}, "strip", z.ZodTypeAny, {
|
|
3084
3084
|
persistentId: string;
|
|
3085
|
-
|
|
3085
|
+
parentPersistentId: string;
|
|
3086
|
+
title: string;
|
|
3087
|
+
configuration?: {
|
|
3086
3088
|
showSidebar: boolean;
|
|
3087
3089
|
header: {
|
|
3088
3090
|
description: string;
|
|
@@ -3155,13 +3157,13 @@ declare const CreateBulkElementsInput: z.ZodObject<{
|
|
|
3155
3157
|
} | null | undefined;
|
|
3156
3158
|
minHeight?: number | null | undefined;
|
|
3157
3159
|
};
|
|
3158
|
-
};
|
|
3159
|
-
|
|
3160
|
-
parentPersistentId?: string | null | undefined;
|
|
3161
|
-
afterPersistentId?: string | null | undefined;
|
|
3160
|
+
} | undefined;
|
|
3161
|
+
afterPersistentId?: string | undefined;
|
|
3162
3162
|
}, {
|
|
3163
3163
|
persistentId: string;
|
|
3164
|
-
|
|
3164
|
+
parentPersistentId: string;
|
|
3165
|
+
title: string;
|
|
3166
|
+
configuration?: {
|
|
3165
3167
|
showSidebar: boolean;
|
|
3166
3168
|
header: {
|
|
3167
3169
|
description: string;
|
|
@@ -3234,10 +3236,8 @@ declare const CreateBulkElementsInput: z.ZodObject<{
|
|
|
3234
3236
|
} | null | undefined;
|
|
3235
3237
|
minHeight?: number | null | undefined;
|
|
3236
3238
|
};
|
|
3237
|
-
};
|
|
3238
|
-
|
|
3239
|
-
parentPersistentId?: string | null | undefined;
|
|
3240
|
-
afterPersistentId?: string | null | undefined;
|
|
3239
|
+
} | undefined;
|
|
3240
|
+
afterPersistentId?: string | undefined;
|
|
3241
3241
|
}>;
|
|
3242
3242
|
type CreateBulkElementsInput = z.infer<typeof CreateBulkElementsInput>;
|
|
3243
3243
|
declare const UpdateBulkElementsInput: z.ZodObject<{
|
|
@@ -4045,25 +4045,26 @@ declare const DuplicateBulkElementsInput: z.ZodObject<{
|
|
|
4045
4045
|
id: z.ZodString;
|
|
4046
4046
|
persistentId: z.ZodString;
|
|
4047
4047
|
parentPersistentId: z.ZodString;
|
|
4048
|
-
afterPersistentId: z.ZodOptional<z.
|
|
4048
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
4049
4049
|
}, "strip", z.ZodTypeAny, {
|
|
4050
4050
|
id: string;
|
|
4051
4051
|
persistentId: string;
|
|
4052
4052
|
parentPersistentId: string;
|
|
4053
|
-
afterPersistentId?: string |
|
|
4053
|
+
afterPersistentId?: string | undefined;
|
|
4054
4054
|
}, {
|
|
4055
4055
|
id: string;
|
|
4056
4056
|
persistentId: string;
|
|
4057
4057
|
parentPersistentId: string;
|
|
4058
|
-
afterPersistentId?: string |
|
|
4058
|
+
afterPersistentId?: string | undefined;
|
|
4059
4059
|
}>;
|
|
4060
4060
|
type DuplicateBulkElementsInput = z.infer<typeof DuplicateBulkElementsInput>;
|
|
4061
4061
|
declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
4062
4062
|
documentationPages: z.ZodObject<{
|
|
4063
4063
|
create: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4064
|
+
parentPersistentId: z.ZodString;
|
|
4064
4065
|
persistentId: z.ZodString;
|
|
4065
4066
|
title: z.ZodString;
|
|
4066
|
-
configuration: z.ZodObject<{
|
|
4067
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
4067
4068
|
showSidebar: z.ZodBoolean;
|
|
4068
4069
|
header: z.ZodObject<{
|
|
4069
4070
|
description: z.ZodString;
|
|
@@ -4696,12 +4697,13 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
4696
4697
|
} | null | undefined;
|
|
4697
4698
|
minHeight?: number | null | undefined;
|
|
4698
4699
|
};
|
|
4699
|
-
}
|
|
4700
|
-
|
|
4701
|
-
afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4700
|
+
}>>;
|
|
4701
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
4702
4702
|
}, "strip", z.ZodTypeAny, {
|
|
4703
4703
|
persistentId: string;
|
|
4704
|
-
|
|
4704
|
+
parentPersistentId: string;
|
|
4705
|
+
title: string;
|
|
4706
|
+
configuration?: {
|
|
4705
4707
|
showSidebar: boolean;
|
|
4706
4708
|
header: {
|
|
4707
4709
|
description: string;
|
|
@@ -4774,13 +4776,13 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
4774
4776
|
} | null | undefined;
|
|
4775
4777
|
minHeight?: number | null | undefined;
|
|
4776
4778
|
};
|
|
4777
|
-
};
|
|
4778
|
-
|
|
4779
|
-
parentPersistentId?: string | null | undefined;
|
|
4780
|
-
afterPersistentId?: string | null | undefined;
|
|
4779
|
+
} | undefined;
|
|
4780
|
+
afterPersistentId?: string | undefined;
|
|
4781
4781
|
}, {
|
|
4782
4782
|
persistentId: string;
|
|
4783
|
-
|
|
4783
|
+
parentPersistentId: string;
|
|
4784
|
+
title: string;
|
|
4785
|
+
configuration?: {
|
|
4784
4786
|
showSidebar: boolean;
|
|
4785
4787
|
header: {
|
|
4786
4788
|
description: string;
|
|
@@ -4853,10 +4855,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
4853
4855
|
} | null | undefined;
|
|
4854
4856
|
minHeight?: number | null | undefined;
|
|
4855
4857
|
};
|
|
4856
|
-
};
|
|
4857
|
-
|
|
4858
|
-
parentPersistentId?: string | null | undefined;
|
|
4859
|
-
afterPersistentId?: string | null | undefined;
|
|
4858
|
+
} | undefined;
|
|
4859
|
+
afterPersistentId?: string | undefined;
|
|
4860
4860
|
}>, "many">>;
|
|
4861
4861
|
update: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4862
4862
|
id: z.ZodString;
|
|
@@ -5661,22 +5661,24 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5661
5661
|
id: z.ZodString;
|
|
5662
5662
|
persistentId: z.ZodString;
|
|
5663
5663
|
parentPersistentId: z.ZodString;
|
|
5664
|
-
afterPersistentId: z.ZodOptional<z.
|
|
5664
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
5665
5665
|
}, "strip", z.ZodTypeAny, {
|
|
5666
5666
|
id: string;
|
|
5667
5667
|
persistentId: string;
|
|
5668
5668
|
parentPersistentId: string;
|
|
5669
|
-
afterPersistentId?: string |
|
|
5669
|
+
afterPersistentId?: string | undefined;
|
|
5670
5670
|
}, {
|
|
5671
5671
|
id: string;
|
|
5672
5672
|
persistentId: string;
|
|
5673
5673
|
parentPersistentId: string;
|
|
5674
|
-
afterPersistentId?: string |
|
|
5674
|
+
afterPersistentId?: string | undefined;
|
|
5675
5675
|
}>, "many">>;
|
|
5676
5676
|
}, "strip", z.ZodTypeAny, {
|
|
5677
5677
|
create?: {
|
|
5678
5678
|
persistentId: string;
|
|
5679
|
-
|
|
5679
|
+
parentPersistentId: string;
|
|
5680
|
+
title: string;
|
|
5681
|
+
configuration?: {
|
|
5680
5682
|
showSidebar: boolean;
|
|
5681
5683
|
header: {
|
|
5682
5684
|
description: string;
|
|
@@ -5749,10 +5751,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5749
5751
|
} | null | undefined;
|
|
5750
5752
|
minHeight?: number | null | undefined;
|
|
5751
5753
|
};
|
|
5752
|
-
};
|
|
5753
|
-
|
|
5754
|
-
parentPersistentId?: string | null | undefined;
|
|
5755
|
-
afterPersistentId?: string | null | undefined;
|
|
5754
|
+
} | undefined;
|
|
5755
|
+
afterPersistentId?: string | undefined;
|
|
5756
5756
|
}[] | undefined;
|
|
5757
5757
|
update?: {
|
|
5758
5758
|
id: string;
|
|
@@ -5839,12 +5839,14 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5839
5839
|
id: string;
|
|
5840
5840
|
persistentId: string;
|
|
5841
5841
|
parentPersistentId: string;
|
|
5842
|
-
afterPersistentId?: string |
|
|
5842
|
+
afterPersistentId?: string | undefined;
|
|
5843
5843
|
}[] | undefined;
|
|
5844
5844
|
}, {
|
|
5845
5845
|
create?: {
|
|
5846
5846
|
persistentId: string;
|
|
5847
|
-
|
|
5847
|
+
parentPersistentId: string;
|
|
5848
|
+
title: string;
|
|
5849
|
+
configuration?: {
|
|
5848
5850
|
showSidebar: boolean;
|
|
5849
5851
|
header: {
|
|
5850
5852
|
description: string;
|
|
@@ -5917,10 +5919,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5917
5919
|
} | null | undefined;
|
|
5918
5920
|
minHeight?: number | null | undefined;
|
|
5919
5921
|
};
|
|
5920
|
-
};
|
|
5921
|
-
|
|
5922
|
-
parentPersistentId?: string | null | undefined;
|
|
5923
|
-
afterPersistentId?: string | null | undefined;
|
|
5922
|
+
} | undefined;
|
|
5923
|
+
afterPersistentId?: string | undefined;
|
|
5924
5924
|
}[] | undefined;
|
|
5925
5925
|
update?: {
|
|
5926
5926
|
id: string;
|
|
@@ -6007,14 +6007,16 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6007
6007
|
id: string;
|
|
6008
6008
|
persistentId: string;
|
|
6009
6009
|
parentPersistentId: string;
|
|
6010
|
-
afterPersistentId?: string |
|
|
6010
|
+
afterPersistentId?: string | undefined;
|
|
6011
6011
|
}[] | undefined;
|
|
6012
6012
|
}>;
|
|
6013
6013
|
}, "strip", z.ZodTypeAny, {
|
|
6014
6014
|
documentationPages: {
|
|
6015
6015
|
create?: {
|
|
6016
6016
|
persistentId: string;
|
|
6017
|
-
|
|
6017
|
+
parentPersistentId: string;
|
|
6018
|
+
title: string;
|
|
6019
|
+
configuration?: {
|
|
6018
6020
|
showSidebar: boolean;
|
|
6019
6021
|
header: {
|
|
6020
6022
|
description: string;
|
|
@@ -6087,10 +6089,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6087
6089
|
} | null | undefined;
|
|
6088
6090
|
minHeight?: number | null | undefined;
|
|
6089
6091
|
};
|
|
6090
|
-
};
|
|
6091
|
-
|
|
6092
|
-
parentPersistentId?: string | null | undefined;
|
|
6093
|
-
afterPersistentId?: string | null | undefined;
|
|
6092
|
+
} | undefined;
|
|
6093
|
+
afterPersistentId?: string | undefined;
|
|
6094
6094
|
}[] | undefined;
|
|
6095
6095
|
update?: {
|
|
6096
6096
|
id: string;
|
|
@@ -6177,14 +6177,16 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6177
6177
|
id: string;
|
|
6178
6178
|
persistentId: string;
|
|
6179
6179
|
parentPersistentId: string;
|
|
6180
|
-
afterPersistentId?: string |
|
|
6180
|
+
afterPersistentId?: string | undefined;
|
|
6181
6181
|
}[] | undefined;
|
|
6182
6182
|
};
|
|
6183
6183
|
}, {
|
|
6184
6184
|
documentationPages: {
|
|
6185
6185
|
create?: {
|
|
6186
6186
|
persistentId: string;
|
|
6187
|
-
|
|
6187
|
+
parentPersistentId: string;
|
|
6188
|
+
title: string;
|
|
6189
|
+
configuration?: {
|
|
6188
6190
|
showSidebar: boolean;
|
|
6189
6191
|
header: {
|
|
6190
6192
|
description: string;
|
|
@@ -6257,10 +6259,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6257
6259
|
} | null | undefined;
|
|
6258
6260
|
minHeight?: number | null | undefined;
|
|
6259
6261
|
};
|
|
6260
|
-
};
|
|
6261
|
-
|
|
6262
|
-
parentPersistentId?: string | null | undefined;
|
|
6263
|
-
afterPersistentId?: string | null | undefined;
|
|
6262
|
+
} | undefined;
|
|
6263
|
+
afterPersistentId?: string | undefined;
|
|
6264
6264
|
}[] | undefined;
|
|
6265
6265
|
update?: {
|
|
6266
6266
|
id: string;
|
|
@@ -6347,7 +6347,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6347
6347
|
id: string;
|
|
6348
6348
|
persistentId: string;
|
|
6349
6349
|
parentPersistentId: string;
|
|
6350
|
-
afterPersistentId?: string |
|
|
6350
|
+
afterPersistentId?: string | undefined;
|
|
6351
6351
|
}[] | undefined;
|
|
6352
6352
|
};
|
|
6353
6353
|
}>;
|
|
@@ -7600,7 +7600,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
|
|
|
7600
7600
|
}>;
|
|
7601
7601
|
type DocumentationPageEditorModel = z.infer<typeof DocumentationPageEditorModel>;
|
|
7602
7602
|
|
|
7603
|
-
declare const pmSchema: Schema<"
|
|
7603
|
+
declare const pmSchema: Schema<"table" | "tableContainer" | "blockquote" | "sectionItem" | "sectionItemColumn" | "callout" | "image" | "paragraph" | "reactComponent" | "tableRow" | "tableCell" | "tableHeader" | "hardBreak" | "text" | "heading" | "listItem" | "orderedList" | "bulletList" | "horizontalRule" | "plainSection" | "tabsSection" | "doc" | "blockNode" | "embed", "code" | "link" | "bold" | "italic" | "strike">;
|
|
7604
7604
|
|
|
7605
7605
|
type ProsemirrorNode = {
|
|
7606
7606
|
type: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2442,9 +2442,10 @@ declare const DocumentationGroupDTO: z.ZodObject<{
|
|
|
2442
2442
|
type DocumentationGroupDTO = z.infer<typeof DocumentationGroupDTO>;
|
|
2443
2443
|
|
|
2444
2444
|
declare const CreateBulkElementsInput: z.ZodObject<{
|
|
2445
|
+
parentPersistentId: z.ZodString;
|
|
2445
2446
|
persistentId: z.ZodString;
|
|
2446
2447
|
title: z.ZodString;
|
|
2447
|
-
configuration: z.ZodObject<{
|
|
2448
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
2448
2449
|
showSidebar: z.ZodBoolean;
|
|
2449
2450
|
header: z.ZodObject<{
|
|
2450
2451
|
description: z.ZodString;
|
|
@@ -3077,12 +3078,13 @@ declare const CreateBulkElementsInput: z.ZodObject<{
|
|
|
3077
3078
|
} | null | undefined;
|
|
3078
3079
|
minHeight?: number | null | undefined;
|
|
3079
3080
|
};
|
|
3080
|
-
}
|
|
3081
|
-
|
|
3082
|
-
afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3081
|
+
}>>;
|
|
3082
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
3083
3083
|
}, "strip", z.ZodTypeAny, {
|
|
3084
3084
|
persistentId: string;
|
|
3085
|
-
|
|
3085
|
+
parentPersistentId: string;
|
|
3086
|
+
title: string;
|
|
3087
|
+
configuration?: {
|
|
3086
3088
|
showSidebar: boolean;
|
|
3087
3089
|
header: {
|
|
3088
3090
|
description: string;
|
|
@@ -3155,13 +3157,13 @@ declare const CreateBulkElementsInput: z.ZodObject<{
|
|
|
3155
3157
|
} | null | undefined;
|
|
3156
3158
|
minHeight?: number | null | undefined;
|
|
3157
3159
|
};
|
|
3158
|
-
};
|
|
3159
|
-
|
|
3160
|
-
parentPersistentId?: string | null | undefined;
|
|
3161
|
-
afterPersistentId?: string | null | undefined;
|
|
3160
|
+
} | undefined;
|
|
3161
|
+
afterPersistentId?: string | undefined;
|
|
3162
3162
|
}, {
|
|
3163
3163
|
persistentId: string;
|
|
3164
|
-
|
|
3164
|
+
parentPersistentId: string;
|
|
3165
|
+
title: string;
|
|
3166
|
+
configuration?: {
|
|
3165
3167
|
showSidebar: boolean;
|
|
3166
3168
|
header: {
|
|
3167
3169
|
description: string;
|
|
@@ -3234,10 +3236,8 @@ declare const CreateBulkElementsInput: z.ZodObject<{
|
|
|
3234
3236
|
} | null | undefined;
|
|
3235
3237
|
minHeight?: number | null | undefined;
|
|
3236
3238
|
};
|
|
3237
|
-
};
|
|
3238
|
-
|
|
3239
|
-
parentPersistentId?: string | null | undefined;
|
|
3240
|
-
afterPersistentId?: string | null | undefined;
|
|
3239
|
+
} | undefined;
|
|
3240
|
+
afterPersistentId?: string | undefined;
|
|
3241
3241
|
}>;
|
|
3242
3242
|
type CreateBulkElementsInput = z.infer<typeof CreateBulkElementsInput>;
|
|
3243
3243
|
declare const UpdateBulkElementsInput: z.ZodObject<{
|
|
@@ -4045,25 +4045,26 @@ declare const DuplicateBulkElementsInput: z.ZodObject<{
|
|
|
4045
4045
|
id: z.ZodString;
|
|
4046
4046
|
persistentId: z.ZodString;
|
|
4047
4047
|
parentPersistentId: z.ZodString;
|
|
4048
|
-
afterPersistentId: z.ZodOptional<z.
|
|
4048
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
4049
4049
|
}, "strip", z.ZodTypeAny, {
|
|
4050
4050
|
id: string;
|
|
4051
4051
|
persistentId: string;
|
|
4052
4052
|
parentPersistentId: string;
|
|
4053
|
-
afterPersistentId?: string |
|
|
4053
|
+
afterPersistentId?: string | undefined;
|
|
4054
4054
|
}, {
|
|
4055
4055
|
id: string;
|
|
4056
4056
|
persistentId: string;
|
|
4057
4057
|
parentPersistentId: string;
|
|
4058
|
-
afterPersistentId?: string |
|
|
4058
|
+
afterPersistentId?: string | undefined;
|
|
4059
4059
|
}>;
|
|
4060
4060
|
type DuplicateBulkElementsInput = z.infer<typeof DuplicateBulkElementsInput>;
|
|
4061
4061
|
declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
4062
4062
|
documentationPages: z.ZodObject<{
|
|
4063
4063
|
create: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4064
|
+
parentPersistentId: z.ZodString;
|
|
4064
4065
|
persistentId: z.ZodString;
|
|
4065
4066
|
title: z.ZodString;
|
|
4066
|
-
configuration: z.ZodObject<{
|
|
4067
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
4067
4068
|
showSidebar: z.ZodBoolean;
|
|
4068
4069
|
header: z.ZodObject<{
|
|
4069
4070
|
description: z.ZodString;
|
|
@@ -4696,12 +4697,13 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
4696
4697
|
} | null | undefined;
|
|
4697
4698
|
minHeight?: number | null | undefined;
|
|
4698
4699
|
};
|
|
4699
|
-
}
|
|
4700
|
-
|
|
4701
|
-
afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4700
|
+
}>>;
|
|
4701
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
4702
4702
|
}, "strip", z.ZodTypeAny, {
|
|
4703
4703
|
persistentId: string;
|
|
4704
|
-
|
|
4704
|
+
parentPersistentId: string;
|
|
4705
|
+
title: string;
|
|
4706
|
+
configuration?: {
|
|
4705
4707
|
showSidebar: boolean;
|
|
4706
4708
|
header: {
|
|
4707
4709
|
description: string;
|
|
@@ -4774,13 +4776,13 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
4774
4776
|
} | null | undefined;
|
|
4775
4777
|
minHeight?: number | null | undefined;
|
|
4776
4778
|
};
|
|
4777
|
-
};
|
|
4778
|
-
|
|
4779
|
-
parentPersistentId?: string | null | undefined;
|
|
4780
|
-
afterPersistentId?: string | null | undefined;
|
|
4779
|
+
} | undefined;
|
|
4780
|
+
afterPersistentId?: string | undefined;
|
|
4781
4781
|
}, {
|
|
4782
4782
|
persistentId: string;
|
|
4783
|
-
|
|
4783
|
+
parentPersistentId: string;
|
|
4784
|
+
title: string;
|
|
4785
|
+
configuration?: {
|
|
4784
4786
|
showSidebar: boolean;
|
|
4785
4787
|
header: {
|
|
4786
4788
|
description: string;
|
|
@@ -4853,10 +4855,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
4853
4855
|
} | null | undefined;
|
|
4854
4856
|
minHeight?: number | null | undefined;
|
|
4855
4857
|
};
|
|
4856
|
-
};
|
|
4857
|
-
|
|
4858
|
-
parentPersistentId?: string | null | undefined;
|
|
4859
|
-
afterPersistentId?: string | null | undefined;
|
|
4858
|
+
} | undefined;
|
|
4859
|
+
afterPersistentId?: string | undefined;
|
|
4860
4860
|
}>, "many">>;
|
|
4861
4861
|
update: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4862
4862
|
id: z.ZodString;
|
|
@@ -5661,22 +5661,24 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5661
5661
|
id: z.ZodString;
|
|
5662
5662
|
persistentId: z.ZodString;
|
|
5663
5663
|
parentPersistentId: z.ZodString;
|
|
5664
|
-
afterPersistentId: z.ZodOptional<z.
|
|
5664
|
+
afterPersistentId: z.ZodOptional<z.ZodString>;
|
|
5665
5665
|
}, "strip", z.ZodTypeAny, {
|
|
5666
5666
|
id: string;
|
|
5667
5667
|
persistentId: string;
|
|
5668
5668
|
parentPersistentId: string;
|
|
5669
|
-
afterPersistentId?: string |
|
|
5669
|
+
afterPersistentId?: string | undefined;
|
|
5670
5670
|
}, {
|
|
5671
5671
|
id: string;
|
|
5672
5672
|
persistentId: string;
|
|
5673
5673
|
parentPersistentId: string;
|
|
5674
|
-
afterPersistentId?: string |
|
|
5674
|
+
afterPersistentId?: string | undefined;
|
|
5675
5675
|
}>, "many">>;
|
|
5676
5676
|
}, "strip", z.ZodTypeAny, {
|
|
5677
5677
|
create?: {
|
|
5678
5678
|
persistentId: string;
|
|
5679
|
-
|
|
5679
|
+
parentPersistentId: string;
|
|
5680
|
+
title: string;
|
|
5681
|
+
configuration?: {
|
|
5680
5682
|
showSidebar: boolean;
|
|
5681
5683
|
header: {
|
|
5682
5684
|
description: string;
|
|
@@ -5749,10 +5751,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5749
5751
|
} | null | undefined;
|
|
5750
5752
|
minHeight?: number | null | undefined;
|
|
5751
5753
|
};
|
|
5752
|
-
};
|
|
5753
|
-
|
|
5754
|
-
parentPersistentId?: string | null | undefined;
|
|
5755
|
-
afterPersistentId?: string | null | undefined;
|
|
5754
|
+
} | undefined;
|
|
5755
|
+
afterPersistentId?: string | undefined;
|
|
5756
5756
|
}[] | undefined;
|
|
5757
5757
|
update?: {
|
|
5758
5758
|
id: string;
|
|
@@ -5839,12 +5839,14 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5839
5839
|
id: string;
|
|
5840
5840
|
persistentId: string;
|
|
5841
5841
|
parentPersistentId: string;
|
|
5842
|
-
afterPersistentId?: string |
|
|
5842
|
+
afterPersistentId?: string | undefined;
|
|
5843
5843
|
}[] | undefined;
|
|
5844
5844
|
}, {
|
|
5845
5845
|
create?: {
|
|
5846
5846
|
persistentId: string;
|
|
5847
|
-
|
|
5847
|
+
parentPersistentId: string;
|
|
5848
|
+
title: string;
|
|
5849
|
+
configuration?: {
|
|
5848
5850
|
showSidebar: boolean;
|
|
5849
5851
|
header: {
|
|
5850
5852
|
description: string;
|
|
@@ -5917,10 +5919,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
5917
5919
|
} | null | undefined;
|
|
5918
5920
|
minHeight?: number | null | undefined;
|
|
5919
5921
|
};
|
|
5920
|
-
};
|
|
5921
|
-
|
|
5922
|
-
parentPersistentId?: string | null | undefined;
|
|
5923
|
-
afterPersistentId?: string | null | undefined;
|
|
5922
|
+
} | undefined;
|
|
5923
|
+
afterPersistentId?: string | undefined;
|
|
5924
5924
|
}[] | undefined;
|
|
5925
5925
|
update?: {
|
|
5926
5926
|
id: string;
|
|
@@ -6007,14 +6007,16 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6007
6007
|
id: string;
|
|
6008
6008
|
persistentId: string;
|
|
6009
6009
|
parentPersistentId: string;
|
|
6010
|
-
afterPersistentId?: string |
|
|
6010
|
+
afterPersistentId?: string | undefined;
|
|
6011
6011
|
}[] | undefined;
|
|
6012
6012
|
}>;
|
|
6013
6013
|
}, "strip", z.ZodTypeAny, {
|
|
6014
6014
|
documentationPages: {
|
|
6015
6015
|
create?: {
|
|
6016
6016
|
persistentId: string;
|
|
6017
|
-
|
|
6017
|
+
parentPersistentId: string;
|
|
6018
|
+
title: string;
|
|
6019
|
+
configuration?: {
|
|
6018
6020
|
showSidebar: boolean;
|
|
6019
6021
|
header: {
|
|
6020
6022
|
description: string;
|
|
@@ -6087,10 +6089,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6087
6089
|
} | null | undefined;
|
|
6088
6090
|
minHeight?: number | null | undefined;
|
|
6089
6091
|
};
|
|
6090
|
-
};
|
|
6091
|
-
|
|
6092
|
-
parentPersistentId?: string | null | undefined;
|
|
6093
|
-
afterPersistentId?: string | null | undefined;
|
|
6092
|
+
} | undefined;
|
|
6093
|
+
afterPersistentId?: string | undefined;
|
|
6094
6094
|
}[] | undefined;
|
|
6095
6095
|
update?: {
|
|
6096
6096
|
id: string;
|
|
@@ -6177,14 +6177,16 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6177
6177
|
id: string;
|
|
6178
6178
|
persistentId: string;
|
|
6179
6179
|
parentPersistentId: string;
|
|
6180
|
-
afterPersistentId?: string |
|
|
6180
|
+
afterPersistentId?: string | undefined;
|
|
6181
6181
|
}[] | undefined;
|
|
6182
6182
|
};
|
|
6183
6183
|
}, {
|
|
6184
6184
|
documentationPages: {
|
|
6185
6185
|
create?: {
|
|
6186
6186
|
persistentId: string;
|
|
6187
|
-
|
|
6187
|
+
parentPersistentId: string;
|
|
6188
|
+
title: string;
|
|
6189
|
+
configuration?: {
|
|
6188
6190
|
showSidebar: boolean;
|
|
6189
6191
|
header: {
|
|
6190
6192
|
description: string;
|
|
@@ -6257,10 +6259,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6257
6259
|
} | null | undefined;
|
|
6258
6260
|
minHeight?: number | null | undefined;
|
|
6259
6261
|
};
|
|
6260
|
-
};
|
|
6261
|
-
|
|
6262
|
-
parentPersistentId?: string | null | undefined;
|
|
6263
|
-
afterPersistentId?: string | null | undefined;
|
|
6262
|
+
} | undefined;
|
|
6263
|
+
afterPersistentId?: string | undefined;
|
|
6264
6264
|
}[] | undefined;
|
|
6265
6265
|
update?: {
|
|
6266
6266
|
id: string;
|
|
@@ -6347,7 +6347,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
|
|
|
6347
6347
|
id: string;
|
|
6348
6348
|
persistentId: string;
|
|
6349
6349
|
parentPersistentId: string;
|
|
6350
|
-
afterPersistentId?: string |
|
|
6350
|
+
afterPersistentId?: string | undefined;
|
|
6351
6351
|
}[] | undefined;
|
|
6352
6352
|
};
|
|
6353
6353
|
}>;
|
|
@@ -7600,7 +7600,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
|
|
|
7600
7600
|
}>;
|
|
7601
7601
|
type DocumentationPageEditorModel = z.infer<typeof DocumentationPageEditorModel>;
|
|
7602
7602
|
|
|
7603
|
-
declare const pmSchema: Schema<"
|
|
7603
|
+
declare const pmSchema: Schema<"table" | "tableContainer" | "blockquote" | "sectionItem" | "sectionItemColumn" | "callout" | "image" | "paragraph" | "reactComponent" | "tableRow" | "tableCell" | "tableHeader" | "hardBreak" | "text" | "heading" | "listItem" | "orderedList" | "bulletList" | "horizontalRule" | "plainSection" | "tabsSection" | "doc" | "blockNode" | "embed", "code" | "link" | "bold" | "italic" | "strike">;
|
|
7604
7604
|
|
|
7605
7605
|
type ProsemirrorNode = {
|
|
7606
7606
|
type: string;
|