@superdoc/sdk 2.20.0-next.5 → 2.20.0-next.7
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/embedded-tools.generated.cjs +5 -5
- package/dist/embedded-tools.generated.js +5 -5
- package/dist/generated/client.d.ts +1303 -134
- package/dist/generated/contract.cjs +1 -1
- package/dist/generated/contract.js +1 -1
- package/dist/runtime/sdk-version.generated.cjs +1 -1
- package/dist/runtime/sdk-version.generated.d.ts +1 -1
- package/dist/runtime/sdk-version.generated.js +1 -1
- package/package.json +6 -6
- package/tools/catalog.json +242 -1
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +242 -1
- package/tools/tools.generic.json +242 -1
- package/tools/tools.openai.json +242 -1
- package/tools/tools.vercel.json +242 -1
|
@@ -20927,109 +20927,7 @@ export interface DocMutationsPreviewParams {
|
|
|
20927
20927
|
};
|
|
20928
20928
|
}) | ({
|
|
20929
20929
|
id: string;
|
|
20930
|
-
op: "
|
|
20931
|
-
where: {
|
|
20932
|
-
by: "select";
|
|
20933
|
-
select: ({
|
|
20934
|
-
type: "text";
|
|
20935
|
-
pattern: string;
|
|
20936
|
-
mode?: "contains" | "regex";
|
|
20937
|
-
caseSensitive?: boolean;
|
|
20938
|
-
wholeWord?: boolean;
|
|
20939
|
-
includeDeletedText?: boolean;
|
|
20940
|
-
}) | ({
|
|
20941
|
-
type: "node";
|
|
20942
|
-
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
20943
|
-
kind?: "block" | "inline";
|
|
20944
|
-
});
|
|
20945
|
-
within?: {
|
|
20946
|
-
kind: "block";
|
|
20947
|
-
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
20948
|
-
nodeId: string;
|
|
20949
|
-
story?: ({
|
|
20950
|
-
kind: "story";
|
|
20951
|
-
storyType: "body";
|
|
20952
|
-
}) | ({
|
|
20953
|
-
kind: "story";
|
|
20954
|
-
storyType: "headerFooterSlot";
|
|
20955
|
-
section: {
|
|
20956
|
-
kind: "section";
|
|
20957
|
-
sectionId: string;
|
|
20958
|
-
};
|
|
20959
|
-
headerFooterKind: "header" | "footer";
|
|
20960
|
-
variant: "default" | "first" | "even";
|
|
20961
|
-
resolution?: "effective" | "explicit";
|
|
20962
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
20963
|
-
}) | ({
|
|
20964
|
-
kind: "story";
|
|
20965
|
-
storyType: "headerFooterPart";
|
|
20966
|
-
refId: string;
|
|
20967
|
-
}) | ({
|
|
20968
|
-
kind: "story";
|
|
20969
|
-
storyType: "footnote";
|
|
20970
|
-
noteId: string;
|
|
20971
|
-
}) | ({
|
|
20972
|
-
kind: "story";
|
|
20973
|
-
storyType: "endnote";
|
|
20974
|
-
noteId: string;
|
|
20975
|
-
}) | ({
|
|
20976
|
-
kind: "story";
|
|
20977
|
-
storyType: "textbox";
|
|
20978
|
-
textboxId: string;
|
|
20979
|
-
});
|
|
20980
|
-
};
|
|
20981
|
-
};
|
|
20982
|
-
args: {
|
|
20983
|
-
expectCount: number;
|
|
20984
|
-
};
|
|
20985
|
-
})>;
|
|
20986
|
-
detail?: {
|
|
20987
|
-
offset?: number;
|
|
20988
|
-
limit?: number;
|
|
20989
|
-
};
|
|
20990
|
-
}
|
|
20991
|
-
export interface DocMutationsApplyParams {
|
|
20992
|
-
doc?: string;
|
|
20993
|
-
sessionId?: string;
|
|
20994
|
-
out?: string;
|
|
20995
|
-
force?: boolean;
|
|
20996
|
-
expectedRevision?: string;
|
|
20997
|
-
changeMode?: string;
|
|
20998
|
-
in?: ({
|
|
20999
|
-
kind: "story";
|
|
21000
|
-
storyType: "body";
|
|
21001
|
-
}) | ({
|
|
21002
|
-
kind: "story";
|
|
21003
|
-
storyType: "headerFooterSlot";
|
|
21004
|
-
section: {
|
|
21005
|
-
kind: "section";
|
|
21006
|
-
sectionId: string;
|
|
21007
|
-
};
|
|
21008
|
-
headerFooterKind: "header" | "footer";
|
|
21009
|
-
variant: "default" | "first" | "even";
|
|
21010
|
-
resolution?: "effective" | "explicit";
|
|
21011
|
-
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
21012
|
-
}) | ({
|
|
21013
|
-
kind: "story";
|
|
21014
|
-
storyType: "headerFooterPart";
|
|
21015
|
-
refId: string;
|
|
21016
|
-
}) | ({
|
|
21017
|
-
kind: "story";
|
|
21018
|
-
storyType: "footnote";
|
|
21019
|
-
noteId: string;
|
|
21020
|
-
}) | ({
|
|
21021
|
-
kind: "story";
|
|
21022
|
-
storyType: "endnote";
|
|
21023
|
-
noteId: string;
|
|
21024
|
-
}) | ({
|
|
21025
|
-
kind: "story";
|
|
21026
|
-
storyType: "textbox";
|
|
21027
|
-
textboxId: string;
|
|
21028
|
-
});
|
|
21029
|
-
atomic: boolean;
|
|
21030
|
-
steps: Array<({
|
|
21031
|
-
id: string;
|
|
21032
|
-
op: "text.rewrite";
|
|
20930
|
+
op: "structural.replace";
|
|
21033
20931
|
where: ({
|
|
21034
20932
|
by: "select";
|
|
21035
20933
|
select: ({
|
|
@@ -21313,35 +21211,116 @@ export interface DocMutationsApplyParams {
|
|
|
21313
21211
|
nodeId: string;
|
|
21314
21212
|
});
|
|
21315
21213
|
args: {
|
|
21316
|
-
|
|
21317
|
-
|
|
21214
|
+
content: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
21215
|
+
nestingPolicy?: {
|
|
21216
|
+
tables?: "forbid" | "allow";
|
|
21217
|
+
};
|
|
21218
|
+
};
|
|
21219
|
+
}) | ({
|
|
21220
|
+
id: string;
|
|
21221
|
+
op: "assert";
|
|
21222
|
+
where: {
|
|
21223
|
+
by: "select";
|
|
21224
|
+
select: ({
|
|
21225
|
+
type: "text";
|
|
21226
|
+
pattern: string;
|
|
21227
|
+
mode?: "contains" | "regex";
|
|
21228
|
+
caseSensitive?: boolean;
|
|
21229
|
+
wholeWord?: boolean;
|
|
21230
|
+
includeDeletedText?: boolean;
|
|
21318
21231
|
}) | ({
|
|
21319
|
-
|
|
21320
|
-
|
|
21321
|
-
|
|
21232
|
+
type: "node";
|
|
21233
|
+
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
21234
|
+
kind?: "block" | "inline";
|
|
21322
21235
|
});
|
|
21323
|
-
|
|
21324
|
-
|
|
21325
|
-
|
|
21326
|
-
|
|
21327
|
-
|
|
21328
|
-
|
|
21329
|
-
|
|
21330
|
-
|
|
21331
|
-
|
|
21332
|
-
|
|
21333
|
-
|
|
21334
|
-
|
|
21236
|
+
within?: {
|
|
21237
|
+
kind: "block";
|
|
21238
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
21239
|
+
nodeId: string;
|
|
21240
|
+
story?: ({
|
|
21241
|
+
kind: "story";
|
|
21242
|
+
storyType: "body";
|
|
21243
|
+
}) | ({
|
|
21244
|
+
kind: "story";
|
|
21245
|
+
storyType: "headerFooterSlot";
|
|
21246
|
+
section: {
|
|
21247
|
+
kind: "section";
|
|
21248
|
+
sectionId: string;
|
|
21335
21249
|
};
|
|
21336
|
-
|
|
21337
|
-
|
|
21338
|
-
|
|
21339
|
-
|
|
21250
|
+
headerFooterKind: "header" | "footer";
|
|
21251
|
+
variant: "default" | "first" | "even";
|
|
21252
|
+
resolution?: "effective" | "explicit";
|
|
21253
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
21254
|
+
}) | ({
|
|
21255
|
+
kind: "story";
|
|
21256
|
+
storyType: "headerFooterPart";
|
|
21257
|
+
refId: string;
|
|
21258
|
+
}) | ({
|
|
21259
|
+
kind: "story";
|
|
21260
|
+
storyType: "footnote";
|
|
21261
|
+
noteId: string;
|
|
21262
|
+
}) | ({
|
|
21263
|
+
kind: "story";
|
|
21264
|
+
storyType: "endnote";
|
|
21265
|
+
noteId: string;
|
|
21266
|
+
}) | ({
|
|
21267
|
+
kind: "story";
|
|
21268
|
+
storyType: "textbox";
|
|
21269
|
+
textboxId: string;
|
|
21270
|
+
});
|
|
21340
21271
|
};
|
|
21341
21272
|
};
|
|
21273
|
+
args: {
|
|
21274
|
+
expectCount: number;
|
|
21275
|
+
};
|
|
21276
|
+
})>;
|
|
21277
|
+
detail?: {
|
|
21278
|
+
offset?: number;
|
|
21279
|
+
limit?: number;
|
|
21280
|
+
};
|
|
21281
|
+
}
|
|
21282
|
+
export interface DocMutationsApplyParams {
|
|
21283
|
+
doc?: string;
|
|
21284
|
+
sessionId?: string;
|
|
21285
|
+
out?: string;
|
|
21286
|
+
force?: boolean;
|
|
21287
|
+
expectedRevision?: string;
|
|
21288
|
+
changeMode?: string;
|
|
21289
|
+
in?: ({
|
|
21290
|
+
kind: "story";
|
|
21291
|
+
storyType: "body";
|
|
21342
21292
|
}) | ({
|
|
21293
|
+
kind: "story";
|
|
21294
|
+
storyType: "headerFooterSlot";
|
|
21295
|
+
section: {
|
|
21296
|
+
kind: "section";
|
|
21297
|
+
sectionId: string;
|
|
21298
|
+
};
|
|
21299
|
+
headerFooterKind: "header" | "footer";
|
|
21300
|
+
variant: "default" | "first" | "even";
|
|
21301
|
+
resolution?: "effective" | "explicit";
|
|
21302
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
21303
|
+
}) | ({
|
|
21304
|
+
kind: "story";
|
|
21305
|
+
storyType: "headerFooterPart";
|
|
21306
|
+
refId: string;
|
|
21307
|
+
}) | ({
|
|
21308
|
+
kind: "story";
|
|
21309
|
+
storyType: "footnote";
|
|
21310
|
+
noteId: string;
|
|
21311
|
+
}) | ({
|
|
21312
|
+
kind: "story";
|
|
21313
|
+
storyType: "endnote";
|
|
21314
|
+
noteId: string;
|
|
21315
|
+
}) | ({
|
|
21316
|
+
kind: "story";
|
|
21317
|
+
storyType: "textbox";
|
|
21318
|
+
textboxId: string;
|
|
21319
|
+
});
|
|
21320
|
+
atomic: boolean;
|
|
21321
|
+
steps: Array<({
|
|
21343
21322
|
id: string;
|
|
21344
|
-
op: "text.
|
|
21323
|
+
op: "text.rewrite";
|
|
21345
21324
|
where: ({
|
|
21346
21325
|
by: "select";
|
|
21347
21326
|
select: ({
|
|
@@ -21392,7 +21371,7 @@ export interface DocMutationsApplyParams {
|
|
|
21392
21371
|
textboxId: string;
|
|
21393
21372
|
});
|
|
21394
21373
|
};
|
|
21395
|
-
require: "first" | "exactlyOne";
|
|
21374
|
+
require: "first" | "exactlyOne" | "all";
|
|
21396
21375
|
}) | ({
|
|
21397
21376
|
by: "ref";
|
|
21398
21377
|
ref: string;
|
|
@@ -21625,13 +21604,20 @@ export interface DocMutationsApplyParams {
|
|
|
21625
21604
|
nodeId: string;
|
|
21626
21605
|
});
|
|
21627
21606
|
args: {
|
|
21628
|
-
|
|
21629
|
-
content: {
|
|
21607
|
+
replacement: ({
|
|
21630
21608
|
text: string;
|
|
21631
|
-
}
|
|
21609
|
+
}) | ({
|
|
21610
|
+
blocks: Array<{
|
|
21611
|
+
text: string;
|
|
21612
|
+
}>;
|
|
21613
|
+
});
|
|
21614
|
+
replacementMode?: "literal" | "regex-template";
|
|
21615
|
+
caseHandling?: "exact" | "preserve-match";
|
|
21632
21616
|
style?: {
|
|
21633
21617
|
inline: {
|
|
21634
|
-
mode: "
|
|
21618
|
+
mode: "preserve" | "set" | "clear" | "merge";
|
|
21619
|
+
requireUniform?: boolean;
|
|
21620
|
+
onNonUniform?: "error" | "useLeadingRun" | "majority" | "union";
|
|
21635
21621
|
setMarks?: {
|
|
21636
21622
|
bold?: "on" | "off" | "clear";
|
|
21637
21623
|
italic?: "on" | "off" | "clear";
|
|
@@ -21639,11 +21625,14 @@ export interface DocMutationsApplyParams {
|
|
|
21639
21625
|
strike?: "on" | "off" | "clear";
|
|
21640
21626
|
};
|
|
21641
21627
|
};
|
|
21628
|
+
paragraph?: {
|
|
21629
|
+
mode: "preserve" | "set" | "clear";
|
|
21630
|
+
};
|
|
21642
21631
|
};
|
|
21643
21632
|
};
|
|
21644
21633
|
}) | ({
|
|
21645
21634
|
id: string;
|
|
21646
|
-
op: "text.
|
|
21635
|
+
op: "text.insert";
|
|
21647
21636
|
where: ({
|
|
21648
21637
|
by: "select";
|
|
21649
21638
|
select: ({
|
|
@@ -21694,7 +21683,7 @@ export interface DocMutationsApplyParams {
|
|
|
21694
21683
|
textboxId: string;
|
|
21695
21684
|
});
|
|
21696
21685
|
};
|
|
21697
|
-
require: "first" | "exactlyOne"
|
|
21686
|
+
require: "first" | "exactlyOne";
|
|
21698
21687
|
}) | ({
|
|
21699
21688
|
by: "ref";
|
|
21700
21689
|
ref: string;
|
|
@@ -21927,11 +21916,313 @@ export interface DocMutationsApplyParams {
|
|
|
21927
21916
|
nodeId: string;
|
|
21928
21917
|
});
|
|
21929
21918
|
args: {
|
|
21930
|
-
|
|
21919
|
+
position: "before" | "after";
|
|
21920
|
+
content: {
|
|
21921
|
+
text: string;
|
|
21922
|
+
};
|
|
21923
|
+
style?: {
|
|
21924
|
+
inline: {
|
|
21925
|
+
mode: "inherit" | "set" | "clear";
|
|
21926
|
+
setMarks?: {
|
|
21927
|
+
bold?: "on" | "off" | "clear";
|
|
21928
|
+
italic?: "on" | "off" | "clear";
|
|
21929
|
+
underline?: "on" | "off" | "clear";
|
|
21930
|
+
strike?: "on" | "off" | "clear";
|
|
21931
|
+
};
|
|
21932
|
+
};
|
|
21933
|
+
};
|
|
21931
21934
|
};
|
|
21932
21935
|
}) | ({
|
|
21933
21936
|
id: string;
|
|
21934
|
-
op: "
|
|
21937
|
+
op: "text.delete";
|
|
21938
|
+
where: ({
|
|
21939
|
+
by: "select";
|
|
21940
|
+
select: ({
|
|
21941
|
+
type: "text";
|
|
21942
|
+
pattern: string;
|
|
21943
|
+
mode?: "contains" | "regex";
|
|
21944
|
+
caseSensitive?: boolean;
|
|
21945
|
+
wholeWord?: boolean;
|
|
21946
|
+
includeDeletedText?: boolean;
|
|
21947
|
+
}) | ({
|
|
21948
|
+
type: "node";
|
|
21949
|
+
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
21950
|
+
kind?: "block" | "inline";
|
|
21951
|
+
});
|
|
21952
|
+
within?: {
|
|
21953
|
+
kind: "block";
|
|
21954
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
21955
|
+
nodeId: string;
|
|
21956
|
+
story?: ({
|
|
21957
|
+
kind: "story";
|
|
21958
|
+
storyType: "body";
|
|
21959
|
+
}) | ({
|
|
21960
|
+
kind: "story";
|
|
21961
|
+
storyType: "headerFooterSlot";
|
|
21962
|
+
section: {
|
|
21963
|
+
kind: "section";
|
|
21964
|
+
sectionId: string;
|
|
21965
|
+
};
|
|
21966
|
+
headerFooterKind: "header" | "footer";
|
|
21967
|
+
variant: "default" | "first" | "even";
|
|
21968
|
+
resolution?: "effective" | "explicit";
|
|
21969
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
21970
|
+
}) | ({
|
|
21971
|
+
kind: "story";
|
|
21972
|
+
storyType: "headerFooterPart";
|
|
21973
|
+
refId: string;
|
|
21974
|
+
}) | ({
|
|
21975
|
+
kind: "story";
|
|
21976
|
+
storyType: "footnote";
|
|
21977
|
+
noteId: string;
|
|
21978
|
+
}) | ({
|
|
21979
|
+
kind: "story";
|
|
21980
|
+
storyType: "endnote";
|
|
21981
|
+
noteId: string;
|
|
21982
|
+
}) | ({
|
|
21983
|
+
kind: "story";
|
|
21984
|
+
storyType: "textbox";
|
|
21985
|
+
textboxId: string;
|
|
21986
|
+
});
|
|
21987
|
+
};
|
|
21988
|
+
require: "first" | "exactlyOne" | "all";
|
|
21989
|
+
}) | ({
|
|
21990
|
+
by: "ref";
|
|
21991
|
+
ref: string;
|
|
21992
|
+
within?: {
|
|
21993
|
+
kind: "block";
|
|
21994
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
21995
|
+
nodeId: string;
|
|
21996
|
+
story?: ({
|
|
21997
|
+
kind: "story";
|
|
21998
|
+
storyType: "body";
|
|
21999
|
+
}) | ({
|
|
22000
|
+
kind: "story";
|
|
22001
|
+
storyType: "headerFooterSlot";
|
|
22002
|
+
section: {
|
|
22003
|
+
kind: "section";
|
|
22004
|
+
sectionId: string;
|
|
22005
|
+
};
|
|
22006
|
+
headerFooterKind: "header" | "footer";
|
|
22007
|
+
variant: "default" | "first" | "even";
|
|
22008
|
+
resolution?: "effective" | "explicit";
|
|
22009
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22010
|
+
}) | ({
|
|
22011
|
+
kind: "story";
|
|
22012
|
+
storyType: "headerFooterPart";
|
|
22013
|
+
refId: string;
|
|
22014
|
+
}) | ({
|
|
22015
|
+
kind: "story";
|
|
22016
|
+
storyType: "footnote";
|
|
22017
|
+
noteId: string;
|
|
22018
|
+
}) | ({
|
|
22019
|
+
kind: "story";
|
|
22020
|
+
storyType: "endnote";
|
|
22021
|
+
noteId: string;
|
|
22022
|
+
}) | ({
|
|
22023
|
+
kind: "story";
|
|
22024
|
+
storyType: "textbox";
|
|
22025
|
+
textboxId: string;
|
|
22026
|
+
});
|
|
22027
|
+
};
|
|
22028
|
+
}) | ({
|
|
22029
|
+
by: "target";
|
|
22030
|
+
target: {
|
|
22031
|
+
kind: "selection";
|
|
22032
|
+
start: ({
|
|
22033
|
+
kind: "text";
|
|
22034
|
+
blockId: string;
|
|
22035
|
+
offset: number;
|
|
22036
|
+
story?: ({
|
|
22037
|
+
kind: "story";
|
|
22038
|
+
storyType: "body";
|
|
22039
|
+
}) | ({
|
|
22040
|
+
kind: "story";
|
|
22041
|
+
storyType: "headerFooterSlot";
|
|
22042
|
+
section: {
|
|
22043
|
+
kind: "section";
|
|
22044
|
+
sectionId: string;
|
|
22045
|
+
};
|
|
22046
|
+
headerFooterKind: "header" | "footer";
|
|
22047
|
+
variant: "default" | "first" | "even";
|
|
22048
|
+
resolution?: "effective" | "explicit";
|
|
22049
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22050
|
+
}) | ({
|
|
22051
|
+
kind: "story";
|
|
22052
|
+
storyType: "headerFooterPart";
|
|
22053
|
+
refId: string;
|
|
22054
|
+
}) | ({
|
|
22055
|
+
kind: "story";
|
|
22056
|
+
storyType: "footnote";
|
|
22057
|
+
noteId: string;
|
|
22058
|
+
}) | ({
|
|
22059
|
+
kind: "story";
|
|
22060
|
+
storyType: "endnote";
|
|
22061
|
+
noteId: string;
|
|
22062
|
+
}) | ({
|
|
22063
|
+
kind: "story";
|
|
22064
|
+
storyType: "textbox";
|
|
22065
|
+
textboxId: string;
|
|
22066
|
+
});
|
|
22067
|
+
}) | ({
|
|
22068
|
+
kind: "nodeEdge";
|
|
22069
|
+
node: {
|
|
22070
|
+
kind: "block";
|
|
22071
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
22072
|
+
nodeId: string;
|
|
22073
|
+
story?: ({
|
|
22074
|
+
kind: "story";
|
|
22075
|
+
storyType: "body";
|
|
22076
|
+
}) | ({
|
|
22077
|
+
kind: "story";
|
|
22078
|
+
storyType: "headerFooterSlot";
|
|
22079
|
+
section: {
|
|
22080
|
+
kind: "section";
|
|
22081
|
+
sectionId: string;
|
|
22082
|
+
};
|
|
22083
|
+
headerFooterKind: "header" | "footer";
|
|
22084
|
+
variant: "default" | "first" | "even";
|
|
22085
|
+
resolution?: "effective" | "explicit";
|
|
22086
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22087
|
+
}) | ({
|
|
22088
|
+
kind: "story";
|
|
22089
|
+
storyType: "headerFooterPart";
|
|
22090
|
+
refId: string;
|
|
22091
|
+
}) | ({
|
|
22092
|
+
kind: "story";
|
|
22093
|
+
storyType: "footnote";
|
|
22094
|
+
noteId: string;
|
|
22095
|
+
}) | ({
|
|
22096
|
+
kind: "story";
|
|
22097
|
+
storyType: "endnote";
|
|
22098
|
+
noteId: string;
|
|
22099
|
+
}) | ({
|
|
22100
|
+
kind: "story";
|
|
22101
|
+
storyType: "textbox";
|
|
22102
|
+
textboxId: string;
|
|
22103
|
+
});
|
|
22104
|
+
};
|
|
22105
|
+
edge: "before" | "after";
|
|
22106
|
+
});
|
|
22107
|
+
end: ({
|
|
22108
|
+
kind: "text";
|
|
22109
|
+
blockId: string;
|
|
22110
|
+
offset: number;
|
|
22111
|
+
story?: ({
|
|
22112
|
+
kind: "story";
|
|
22113
|
+
storyType: "body";
|
|
22114
|
+
}) | ({
|
|
22115
|
+
kind: "story";
|
|
22116
|
+
storyType: "headerFooterSlot";
|
|
22117
|
+
section: {
|
|
22118
|
+
kind: "section";
|
|
22119
|
+
sectionId: string;
|
|
22120
|
+
};
|
|
22121
|
+
headerFooterKind: "header" | "footer";
|
|
22122
|
+
variant: "default" | "first" | "even";
|
|
22123
|
+
resolution?: "effective" | "explicit";
|
|
22124
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22125
|
+
}) | ({
|
|
22126
|
+
kind: "story";
|
|
22127
|
+
storyType: "headerFooterPart";
|
|
22128
|
+
refId: string;
|
|
22129
|
+
}) | ({
|
|
22130
|
+
kind: "story";
|
|
22131
|
+
storyType: "footnote";
|
|
22132
|
+
noteId: string;
|
|
22133
|
+
}) | ({
|
|
22134
|
+
kind: "story";
|
|
22135
|
+
storyType: "endnote";
|
|
22136
|
+
noteId: string;
|
|
22137
|
+
}) | ({
|
|
22138
|
+
kind: "story";
|
|
22139
|
+
storyType: "textbox";
|
|
22140
|
+
textboxId: string;
|
|
22141
|
+
});
|
|
22142
|
+
}) | ({
|
|
22143
|
+
kind: "nodeEdge";
|
|
22144
|
+
node: {
|
|
22145
|
+
kind: "block";
|
|
22146
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
22147
|
+
nodeId: string;
|
|
22148
|
+
story?: ({
|
|
22149
|
+
kind: "story";
|
|
22150
|
+
storyType: "body";
|
|
22151
|
+
}) | ({
|
|
22152
|
+
kind: "story";
|
|
22153
|
+
storyType: "headerFooterSlot";
|
|
22154
|
+
section: {
|
|
22155
|
+
kind: "section";
|
|
22156
|
+
sectionId: string;
|
|
22157
|
+
};
|
|
22158
|
+
headerFooterKind: "header" | "footer";
|
|
22159
|
+
variant: "default" | "first" | "even";
|
|
22160
|
+
resolution?: "effective" | "explicit";
|
|
22161
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22162
|
+
}) | ({
|
|
22163
|
+
kind: "story";
|
|
22164
|
+
storyType: "headerFooterPart";
|
|
22165
|
+
refId: string;
|
|
22166
|
+
}) | ({
|
|
22167
|
+
kind: "story";
|
|
22168
|
+
storyType: "footnote";
|
|
22169
|
+
noteId: string;
|
|
22170
|
+
}) | ({
|
|
22171
|
+
kind: "story";
|
|
22172
|
+
storyType: "endnote";
|
|
22173
|
+
noteId: string;
|
|
22174
|
+
}) | ({
|
|
22175
|
+
kind: "story";
|
|
22176
|
+
storyType: "textbox";
|
|
22177
|
+
textboxId: string;
|
|
22178
|
+
});
|
|
22179
|
+
};
|
|
22180
|
+
edge: "before" | "after";
|
|
22181
|
+
});
|
|
22182
|
+
story?: ({
|
|
22183
|
+
kind: "story";
|
|
22184
|
+
storyType: "body";
|
|
22185
|
+
}) | ({
|
|
22186
|
+
kind: "story";
|
|
22187
|
+
storyType: "headerFooterSlot";
|
|
22188
|
+
section: {
|
|
22189
|
+
kind: "section";
|
|
22190
|
+
sectionId: string;
|
|
22191
|
+
};
|
|
22192
|
+
headerFooterKind: "header" | "footer";
|
|
22193
|
+
variant: "default" | "first" | "even";
|
|
22194
|
+
resolution?: "effective" | "explicit";
|
|
22195
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22196
|
+
}) | ({
|
|
22197
|
+
kind: "story";
|
|
22198
|
+
storyType: "headerFooterPart";
|
|
22199
|
+
refId: string;
|
|
22200
|
+
}) | ({
|
|
22201
|
+
kind: "story";
|
|
22202
|
+
storyType: "footnote";
|
|
22203
|
+
noteId: string;
|
|
22204
|
+
}) | ({
|
|
22205
|
+
kind: "story";
|
|
22206
|
+
storyType: "endnote";
|
|
22207
|
+
noteId: string;
|
|
22208
|
+
}) | ({
|
|
22209
|
+
kind: "story";
|
|
22210
|
+
storyType: "textbox";
|
|
22211
|
+
textboxId: string;
|
|
22212
|
+
});
|
|
22213
|
+
coordinateSpace?: "visible" | "tracked";
|
|
22214
|
+
};
|
|
22215
|
+
}) | ({
|
|
22216
|
+
by: "block";
|
|
22217
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
22218
|
+
nodeId: string;
|
|
22219
|
+
});
|
|
22220
|
+
args: {
|
|
22221
|
+
behavior?: "selection" | "exact";
|
|
22222
|
+
};
|
|
22223
|
+
}) | ({
|
|
22224
|
+
id: string;
|
|
22225
|
+
op: "format.apply";
|
|
21935
22226
|
where: ({
|
|
21936
22227
|
by: "select";
|
|
21937
22228
|
select: ({
|
|
@@ -22302,6 +22593,297 @@ export interface DocMutationsApplyParams {
|
|
|
22302
22593
|
alignment?: "left" | "center" | "right" | "justify";
|
|
22303
22594
|
scope?: "match" | "block";
|
|
22304
22595
|
};
|
|
22596
|
+
}) | ({
|
|
22597
|
+
id: string;
|
|
22598
|
+
op: "structural.replace";
|
|
22599
|
+
where: ({
|
|
22600
|
+
by: "select";
|
|
22601
|
+
select: ({
|
|
22602
|
+
type: "text";
|
|
22603
|
+
pattern: string;
|
|
22604
|
+
mode?: "contains" | "regex";
|
|
22605
|
+
caseSensitive?: boolean;
|
|
22606
|
+
wholeWord?: boolean;
|
|
22607
|
+
includeDeletedText?: boolean;
|
|
22608
|
+
}) | ({
|
|
22609
|
+
type: "node";
|
|
22610
|
+
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
22611
|
+
kind?: "block" | "inline";
|
|
22612
|
+
});
|
|
22613
|
+
within?: {
|
|
22614
|
+
kind: "block";
|
|
22615
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
22616
|
+
nodeId: string;
|
|
22617
|
+
story?: ({
|
|
22618
|
+
kind: "story";
|
|
22619
|
+
storyType: "body";
|
|
22620
|
+
}) | ({
|
|
22621
|
+
kind: "story";
|
|
22622
|
+
storyType: "headerFooterSlot";
|
|
22623
|
+
section: {
|
|
22624
|
+
kind: "section";
|
|
22625
|
+
sectionId: string;
|
|
22626
|
+
};
|
|
22627
|
+
headerFooterKind: "header" | "footer";
|
|
22628
|
+
variant: "default" | "first" | "even";
|
|
22629
|
+
resolution?: "effective" | "explicit";
|
|
22630
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22631
|
+
}) | ({
|
|
22632
|
+
kind: "story";
|
|
22633
|
+
storyType: "headerFooterPart";
|
|
22634
|
+
refId: string;
|
|
22635
|
+
}) | ({
|
|
22636
|
+
kind: "story";
|
|
22637
|
+
storyType: "footnote";
|
|
22638
|
+
noteId: string;
|
|
22639
|
+
}) | ({
|
|
22640
|
+
kind: "story";
|
|
22641
|
+
storyType: "endnote";
|
|
22642
|
+
noteId: string;
|
|
22643
|
+
}) | ({
|
|
22644
|
+
kind: "story";
|
|
22645
|
+
storyType: "textbox";
|
|
22646
|
+
textboxId: string;
|
|
22647
|
+
});
|
|
22648
|
+
};
|
|
22649
|
+
require: "first" | "exactlyOne" | "all";
|
|
22650
|
+
}) | ({
|
|
22651
|
+
by: "ref";
|
|
22652
|
+
ref: string;
|
|
22653
|
+
within?: {
|
|
22654
|
+
kind: "block";
|
|
22655
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
22656
|
+
nodeId: string;
|
|
22657
|
+
story?: ({
|
|
22658
|
+
kind: "story";
|
|
22659
|
+
storyType: "body";
|
|
22660
|
+
}) | ({
|
|
22661
|
+
kind: "story";
|
|
22662
|
+
storyType: "headerFooterSlot";
|
|
22663
|
+
section: {
|
|
22664
|
+
kind: "section";
|
|
22665
|
+
sectionId: string;
|
|
22666
|
+
};
|
|
22667
|
+
headerFooterKind: "header" | "footer";
|
|
22668
|
+
variant: "default" | "first" | "even";
|
|
22669
|
+
resolution?: "effective" | "explicit";
|
|
22670
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22671
|
+
}) | ({
|
|
22672
|
+
kind: "story";
|
|
22673
|
+
storyType: "headerFooterPart";
|
|
22674
|
+
refId: string;
|
|
22675
|
+
}) | ({
|
|
22676
|
+
kind: "story";
|
|
22677
|
+
storyType: "footnote";
|
|
22678
|
+
noteId: string;
|
|
22679
|
+
}) | ({
|
|
22680
|
+
kind: "story";
|
|
22681
|
+
storyType: "endnote";
|
|
22682
|
+
noteId: string;
|
|
22683
|
+
}) | ({
|
|
22684
|
+
kind: "story";
|
|
22685
|
+
storyType: "textbox";
|
|
22686
|
+
textboxId: string;
|
|
22687
|
+
});
|
|
22688
|
+
};
|
|
22689
|
+
}) | ({
|
|
22690
|
+
by: "target";
|
|
22691
|
+
target: {
|
|
22692
|
+
kind: "selection";
|
|
22693
|
+
start: ({
|
|
22694
|
+
kind: "text";
|
|
22695
|
+
blockId: string;
|
|
22696
|
+
offset: number;
|
|
22697
|
+
story?: ({
|
|
22698
|
+
kind: "story";
|
|
22699
|
+
storyType: "body";
|
|
22700
|
+
}) | ({
|
|
22701
|
+
kind: "story";
|
|
22702
|
+
storyType: "headerFooterSlot";
|
|
22703
|
+
section: {
|
|
22704
|
+
kind: "section";
|
|
22705
|
+
sectionId: string;
|
|
22706
|
+
};
|
|
22707
|
+
headerFooterKind: "header" | "footer";
|
|
22708
|
+
variant: "default" | "first" | "even";
|
|
22709
|
+
resolution?: "effective" | "explicit";
|
|
22710
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22711
|
+
}) | ({
|
|
22712
|
+
kind: "story";
|
|
22713
|
+
storyType: "headerFooterPart";
|
|
22714
|
+
refId: string;
|
|
22715
|
+
}) | ({
|
|
22716
|
+
kind: "story";
|
|
22717
|
+
storyType: "footnote";
|
|
22718
|
+
noteId: string;
|
|
22719
|
+
}) | ({
|
|
22720
|
+
kind: "story";
|
|
22721
|
+
storyType: "endnote";
|
|
22722
|
+
noteId: string;
|
|
22723
|
+
}) | ({
|
|
22724
|
+
kind: "story";
|
|
22725
|
+
storyType: "textbox";
|
|
22726
|
+
textboxId: string;
|
|
22727
|
+
});
|
|
22728
|
+
}) | ({
|
|
22729
|
+
kind: "nodeEdge";
|
|
22730
|
+
node: {
|
|
22731
|
+
kind: "block";
|
|
22732
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
22733
|
+
nodeId: string;
|
|
22734
|
+
story?: ({
|
|
22735
|
+
kind: "story";
|
|
22736
|
+
storyType: "body";
|
|
22737
|
+
}) | ({
|
|
22738
|
+
kind: "story";
|
|
22739
|
+
storyType: "headerFooterSlot";
|
|
22740
|
+
section: {
|
|
22741
|
+
kind: "section";
|
|
22742
|
+
sectionId: string;
|
|
22743
|
+
};
|
|
22744
|
+
headerFooterKind: "header" | "footer";
|
|
22745
|
+
variant: "default" | "first" | "even";
|
|
22746
|
+
resolution?: "effective" | "explicit";
|
|
22747
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22748
|
+
}) | ({
|
|
22749
|
+
kind: "story";
|
|
22750
|
+
storyType: "headerFooterPart";
|
|
22751
|
+
refId: string;
|
|
22752
|
+
}) | ({
|
|
22753
|
+
kind: "story";
|
|
22754
|
+
storyType: "footnote";
|
|
22755
|
+
noteId: string;
|
|
22756
|
+
}) | ({
|
|
22757
|
+
kind: "story";
|
|
22758
|
+
storyType: "endnote";
|
|
22759
|
+
noteId: string;
|
|
22760
|
+
}) | ({
|
|
22761
|
+
kind: "story";
|
|
22762
|
+
storyType: "textbox";
|
|
22763
|
+
textboxId: string;
|
|
22764
|
+
});
|
|
22765
|
+
};
|
|
22766
|
+
edge: "before" | "after";
|
|
22767
|
+
});
|
|
22768
|
+
end: ({
|
|
22769
|
+
kind: "text";
|
|
22770
|
+
blockId: string;
|
|
22771
|
+
offset: number;
|
|
22772
|
+
story?: ({
|
|
22773
|
+
kind: "story";
|
|
22774
|
+
storyType: "body";
|
|
22775
|
+
}) | ({
|
|
22776
|
+
kind: "story";
|
|
22777
|
+
storyType: "headerFooterSlot";
|
|
22778
|
+
section: {
|
|
22779
|
+
kind: "section";
|
|
22780
|
+
sectionId: string;
|
|
22781
|
+
};
|
|
22782
|
+
headerFooterKind: "header" | "footer";
|
|
22783
|
+
variant: "default" | "first" | "even";
|
|
22784
|
+
resolution?: "effective" | "explicit";
|
|
22785
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22786
|
+
}) | ({
|
|
22787
|
+
kind: "story";
|
|
22788
|
+
storyType: "headerFooterPart";
|
|
22789
|
+
refId: string;
|
|
22790
|
+
}) | ({
|
|
22791
|
+
kind: "story";
|
|
22792
|
+
storyType: "footnote";
|
|
22793
|
+
noteId: string;
|
|
22794
|
+
}) | ({
|
|
22795
|
+
kind: "story";
|
|
22796
|
+
storyType: "endnote";
|
|
22797
|
+
noteId: string;
|
|
22798
|
+
}) | ({
|
|
22799
|
+
kind: "story";
|
|
22800
|
+
storyType: "textbox";
|
|
22801
|
+
textboxId: string;
|
|
22802
|
+
});
|
|
22803
|
+
}) | ({
|
|
22804
|
+
kind: "nodeEdge";
|
|
22805
|
+
node: {
|
|
22806
|
+
kind: "block";
|
|
22807
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
22808
|
+
nodeId: string;
|
|
22809
|
+
story?: ({
|
|
22810
|
+
kind: "story";
|
|
22811
|
+
storyType: "body";
|
|
22812
|
+
}) | ({
|
|
22813
|
+
kind: "story";
|
|
22814
|
+
storyType: "headerFooterSlot";
|
|
22815
|
+
section: {
|
|
22816
|
+
kind: "section";
|
|
22817
|
+
sectionId: string;
|
|
22818
|
+
};
|
|
22819
|
+
headerFooterKind: "header" | "footer";
|
|
22820
|
+
variant: "default" | "first" | "even";
|
|
22821
|
+
resolution?: "effective" | "explicit";
|
|
22822
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22823
|
+
}) | ({
|
|
22824
|
+
kind: "story";
|
|
22825
|
+
storyType: "headerFooterPart";
|
|
22826
|
+
refId: string;
|
|
22827
|
+
}) | ({
|
|
22828
|
+
kind: "story";
|
|
22829
|
+
storyType: "footnote";
|
|
22830
|
+
noteId: string;
|
|
22831
|
+
}) | ({
|
|
22832
|
+
kind: "story";
|
|
22833
|
+
storyType: "endnote";
|
|
22834
|
+
noteId: string;
|
|
22835
|
+
}) | ({
|
|
22836
|
+
kind: "story";
|
|
22837
|
+
storyType: "textbox";
|
|
22838
|
+
textboxId: string;
|
|
22839
|
+
});
|
|
22840
|
+
};
|
|
22841
|
+
edge: "before" | "after";
|
|
22842
|
+
});
|
|
22843
|
+
story?: ({
|
|
22844
|
+
kind: "story";
|
|
22845
|
+
storyType: "body";
|
|
22846
|
+
}) | ({
|
|
22847
|
+
kind: "story";
|
|
22848
|
+
storyType: "headerFooterSlot";
|
|
22849
|
+
section: {
|
|
22850
|
+
kind: "section";
|
|
22851
|
+
sectionId: string;
|
|
22852
|
+
};
|
|
22853
|
+
headerFooterKind: "header" | "footer";
|
|
22854
|
+
variant: "default" | "first" | "even";
|
|
22855
|
+
resolution?: "effective" | "explicit";
|
|
22856
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
22857
|
+
}) | ({
|
|
22858
|
+
kind: "story";
|
|
22859
|
+
storyType: "headerFooterPart";
|
|
22860
|
+
refId: string;
|
|
22861
|
+
}) | ({
|
|
22862
|
+
kind: "story";
|
|
22863
|
+
storyType: "footnote";
|
|
22864
|
+
noteId: string;
|
|
22865
|
+
}) | ({
|
|
22866
|
+
kind: "story";
|
|
22867
|
+
storyType: "endnote";
|
|
22868
|
+
noteId: string;
|
|
22869
|
+
}) | ({
|
|
22870
|
+
kind: "story";
|
|
22871
|
+
storyType: "textbox";
|
|
22872
|
+
textboxId: string;
|
|
22873
|
+
});
|
|
22874
|
+
coordinateSpace?: "visible" | "tracked";
|
|
22875
|
+
};
|
|
22876
|
+
}) | ({
|
|
22877
|
+
by: "block";
|
|
22878
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
22879
|
+
nodeId: string;
|
|
22880
|
+
});
|
|
22881
|
+
args: {
|
|
22882
|
+
content: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
22883
|
+
nestingPolicy?: {
|
|
22884
|
+
tables?: "forbid" | "allow";
|
|
22885
|
+
};
|
|
22886
|
+
};
|
|
22305
22887
|
}) | ({
|
|
22306
22888
|
id: string;
|
|
22307
22889
|
op: "assert";
|
|
@@ -106848,6 +107430,11 @@ export type DocCapabilitiesGetResult = {
|
|
|
106848
107430
|
};
|
|
106849
107431
|
planEngine: {
|
|
106850
107432
|
supportedStepOps: Array<string>;
|
|
107433
|
+
supportedTargets?: Array<string>;
|
|
107434
|
+
unsupported?: Array<{
|
|
107435
|
+
cell: string;
|
|
107436
|
+
reason: string;
|
|
107437
|
+
}>;
|
|
106851
107438
|
supportedNonUniformStrategies: Array<string>;
|
|
106852
107439
|
supportedSetMarks: Array<string>;
|
|
106853
107440
|
regex: {
|
|
@@ -143641,6 +144228,297 @@ export interface DocMutationsPreviewBoundParams {
|
|
|
143641
144228
|
alignment?: "left" | "center" | "right" | "justify";
|
|
143642
144229
|
scope?: "match" | "block";
|
|
143643
144230
|
};
|
|
144231
|
+
}) | ({
|
|
144232
|
+
id: string;
|
|
144233
|
+
op: "structural.replace";
|
|
144234
|
+
where: ({
|
|
144235
|
+
by: "select";
|
|
144236
|
+
select: ({
|
|
144237
|
+
type: "text";
|
|
144238
|
+
pattern: string;
|
|
144239
|
+
mode?: "contains" | "regex";
|
|
144240
|
+
caseSensitive?: boolean;
|
|
144241
|
+
wholeWord?: boolean;
|
|
144242
|
+
includeDeletedText?: boolean;
|
|
144243
|
+
}) | ({
|
|
144244
|
+
type: "node";
|
|
144245
|
+
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
144246
|
+
kind?: "block" | "inline";
|
|
144247
|
+
});
|
|
144248
|
+
within?: {
|
|
144249
|
+
kind: "block";
|
|
144250
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
144251
|
+
nodeId: string;
|
|
144252
|
+
story?: ({
|
|
144253
|
+
kind: "story";
|
|
144254
|
+
storyType: "body";
|
|
144255
|
+
}) | ({
|
|
144256
|
+
kind: "story";
|
|
144257
|
+
storyType: "headerFooterSlot";
|
|
144258
|
+
section: {
|
|
144259
|
+
kind: "section";
|
|
144260
|
+
sectionId: string;
|
|
144261
|
+
};
|
|
144262
|
+
headerFooterKind: "header" | "footer";
|
|
144263
|
+
variant: "default" | "first" | "even";
|
|
144264
|
+
resolution?: "effective" | "explicit";
|
|
144265
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
144266
|
+
}) | ({
|
|
144267
|
+
kind: "story";
|
|
144268
|
+
storyType: "headerFooterPart";
|
|
144269
|
+
refId: string;
|
|
144270
|
+
}) | ({
|
|
144271
|
+
kind: "story";
|
|
144272
|
+
storyType: "footnote";
|
|
144273
|
+
noteId: string;
|
|
144274
|
+
}) | ({
|
|
144275
|
+
kind: "story";
|
|
144276
|
+
storyType: "endnote";
|
|
144277
|
+
noteId: string;
|
|
144278
|
+
}) | ({
|
|
144279
|
+
kind: "story";
|
|
144280
|
+
storyType: "textbox";
|
|
144281
|
+
textboxId: string;
|
|
144282
|
+
});
|
|
144283
|
+
};
|
|
144284
|
+
require: "first" | "exactlyOne" | "all";
|
|
144285
|
+
}) | ({
|
|
144286
|
+
by: "ref";
|
|
144287
|
+
ref: string;
|
|
144288
|
+
within?: {
|
|
144289
|
+
kind: "block";
|
|
144290
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
144291
|
+
nodeId: string;
|
|
144292
|
+
story?: ({
|
|
144293
|
+
kind: "story";
|
|
144294
|
+
storyType: "body";
|
|
144295
|
+
}) | ({
|
|
144296
|
+
kind: "story";
|
|
144297
|
+
storyType: "headerFooterSlot";
|
|
144298
|
+
section: {
|
|
144299
|
+
kind: "section";
|
|
144300
|
+
sectionId: string;
|
|
144301
|
+
};
|
|
144302
|
+
headerFooterKind: "header" | "footer";
|
|
144303
|
+
variant: "default" | "first" | "even";
|
|
144304
|
+
resolution?: "effective" | "explicit";
|
|
144305
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
144306
|
+
}) | ({
|
|
144307
|
+
kind: "story";
|
|
144308
|
+
storyType: "headerFooterPart";
|
|
144309
|
+
refId: string;
|
|
144310
|
+
}) | ({
|
|
144311
|
+
kind: "story";
|
|
144312
|
+
storyType: "footnote";
|
|
144313
|
+
noteId: string;
|
|
144314
|
+
}) | ({
|
|
144315
|
+
kind: "story";
|
|
144316
|
+
storyType: "endnote";
|
|
144317
|
+
noteId: string;
|
|
144318
|
+
}) | ({
|
|
144319
|
+
kind: "story";
|
|
144320
|
+
storyType: "textbox";
|
|
144321
|
+
textboxId: string;
|
|
144322
|
+
});
|
|
144323
|
+
};
|
|
144324
|
+
}) | ({
|
|
144325
|
+
by: "target";
|
|
144326
|
+
target: {
|
|
144327
|
+
kind: "selection";
|
|
144328
|
+
start: ({
|
|
144329
|
+
kind: "text";
|
|
144330
|
+
blockId: string;
|
|
144331
|
+
offset: number;
|
|
144332
|
+
story?: ({
|
|
144333
|
+
kind: "story";
|
|
144334
|
+
storyType: "body";
|
|
144335
|
+
}) | ({
|
|
144336
|
+
kind: "story";
|
|
144337
|
+
storyType: "headerFooterSlot";
|
|
144338
|
+
section: {
|
|
144339
|
+
kind: "section";
|
|
144340
|
+
sectionId: string;
|
|
144341
|
+
};
|
|
144342
|
+
headerFooterKind: "header" | "footer";
|
|
144343
|
+
variant: "default" | "first" | "even";
|
|
144344
|
+
resolution?: "effective" | "explicit";
|
|
144345
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
144346
|
+
}) | ({
|
|
144347
|
+
kind: "story";
|
|
144348
|
+
storyType: "headerFooterPart";
|
|
144349
|
+
refId: string;
|
|
144350
|
+
}) | ({
|
|
144351
|
+
kind: "story";
|
|
144352
|
+
storyType: "footnote";
|
|
144353
|
+
noteId: string;
|
|
144354
|
+
}) | ({
|
|
144355
|
+
kind: "story";
|
|
144356
|
+
storyType: "endnote";
|
|
144357
|
+
noteId: string;
|
|
144358
|
+
}) | ({
|
|
144359
|
+
kind: "story";
|
|
144360
|
+
storyType: "textbox";
|
|
144361
|
+
textboxId: string;
|
|
144362
|
+
});
|
|
144363
|
+
}) | ({
|
|
144364
|
+
kind: "nodeEdge";
|
|
144365
|
+
node: {
|
|
144366
|
+
kind: "block";
|
|
144367
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
144368
|
+
nodeId: string;
|
|
144369
|
+
story?: ({
|
|
144370
|
+
kind: "story";
|
|
144371
|
+
storyType: "body";
|
|
144372
|
+
}) | ({
|
|
144373
|
+
kind: "story";
|
|
144374
|
+
storyType: "headerFooterSlot";
|
|
144375
|
+
section: {
|
|
144376
|
+
kind: "section";
|
|
144377
|
+
sectionId: string;
|
|
144378
|
+
};
|
|
144379
|
+
headerFooterKind: "header" | "footer";
|
|
144380
|
+
variant: "default" | "first" | "even";
|
|
144381
|
+
resolution?: "effective" | "explicit";
|
|
144382
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
144383
|
+
}) | ({
|
|
144384
|
+
kind: "story";
|
|
144385
|
+
storyType: "headerFooterPart";
|
|
144386
|
+
refId: string;
|
|
144387
|
+
}) | ({
|
|
144388
|
+
kind: "story";
|
|
144389
|
+
storyType: "footnote";
|
|
144390
|
+
noteId: string;
|
|
144391
|
+
}) | ({
|
|
144392
|
+
kind: "story";
|
|
144393
|
+
storyType: "endnote";
|
|
144394
|
+
noteId: string;
|
|
144395
|
+
}) | ({
|
|
144396
|
+
kind: "story";
|
|
144397
|
+
storyType: "textbox";
|
|
144398
|
+
textboxId: string;
|
|
144399
|
+
});
|
|
144400
|
+
};
|
|
144401
|
+
edge: "before" | "after";
|
|
144402
|
+
});
|
|
144403
|
+
end: ({
|
|
144404
|
+
kind: "text";
|
|
144405
|
+
blockId: string;
|
|
144406
|
+
offset: number;
|
|
144407
|
+
story?: ({
|
|
144408
|
+
kind: "story";
|
|
144409
|
+
storyType: "body";
|
|
144410
|
+
}) | ({
|
|
144411
|
+
kind: "story";
|
|
144412
|
+
storyType: "headerFooterSlot";
|
|
144413
|
+
section: {
|
|
144414
|
+
kind: "section";
|
|
144415
|
+
sectionId: string;
|
|
144416
|
+
};
|
|
144417
|
+
headerFooterKind: "header" | "footer";
|
|
144418
|
+
variant: "default" | "first" | "even";
|
|
144419
|
+
resolution?: "effective" | "explicit";
|
|
144420
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
144421
|
+
}) | ({
|
|
144422
|
+
kind: "story";
|
|
144423
|
+
storyType: "headerFooterPart";
|
|
144424
|
+
refId: string;
|
|
144425
|
+
}) | ({
|
|
144426
|
+
kind: "story";
|
|
144427
|
+
storyType: "footnote";
|
|
144428
|
+
noteId: string;
|
|
144429
|
+
}) | ({
|
|
144430
|
+
kind: "story";
|
|
144431
|
+
storyType: "endnote";
|
|
144432
|
+
noteId: string;
|
|
144433
|
+
}) | ({
|
|
144434
|
+
kind: "story";
|
|
144435
|
+
storyType: "textbox";
|
|
144436
|
+
textboxId: string;
|
|
144437
|
+
});
|
|
144438
|
+
}) | ({
|
|
144439
|
+
kind: "nodeEdge";
|
|
144440
|
+
node: {
|
|
144441
|
+
kind: "block";
|
|
144442
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
144443
|
+
nodeId: string;
|
|
144444
|
+
story?: ({
|
|
144445
|
+
kind: "story";
|
|
144446
|
+
storyType: "body";
|
|
144447
|
+
}) | ({
|
|
144448
|
+
kind: "story";
|
|
144449
|
+
storyType: "headerFooterSlot";
|
|
144450
|
+
section: {
|
|
144451
|
+
kind: "section";
|
|
144452
|
+
sectionId: string;
|
|
144453
|
+
};
|
|
144454
|
+
headerFooterKind: "header" | "footer";
|
|
144455
|
+
variant: "default" | "first" | "even";
|
|
144456
|
+
resolution?: "effective" | "explicit";
|
|
144457
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
144458
|
+
}) | ({
|
|
144459
|
+
kind: "story";
|
|
144460
|
+
storyType: "headerFooterPart";
|
|
144461
|
+
refId: string;
|
|
144462
|
+
}) | ({
|
|
144463
|
+
kind: "story";
|
|
144464
|
+
storyType: "footnote";
|
|
144465
|
+
noteId: string;
|
|
144466
|
+
}) | ({
|
|
144467
|
+
kind: "story";
|
|
144468
|
+
storyType: "endnote";
|
|
144469
|
+
noteId: string;
|
|
144470
|
+
}) | ({
|
|
144471
|
+
kind: "story";
|
|
144472
|
+
storyType: "textbox";
|
|
144473
|
+
textboxId: string;
|
|
144474
|
+
});
|
|
144475
|
+
};
|
|
144476
|
+
edge: "before" | "after";
|
|
144477
|
+
});
|
|
144478
|
+
story?: ({
|
|
144479
|
+
kind: "story";
|
|
144480
|
+
storyType: "body";
|
|
144481
|
+
}) | ({
|
|
144482
|
+
kind: "story";
|
|
144483
|
+
storyType: "headerFooterSlot";
|
|
144484
|
+
section: {
|
|
144485
|
+
kind: "section";
|
|
144486
|
+
sectionId: string;
|
|
144487
|
+
};
|
|
144488
|
+
headerFooterKind: "header" | "footer";
|
|
144489
|
+
variant: "default" | "first" | "even";
|
|
144490
|
+
resolution?: "effective" | "explicit";
|
|
144491
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
144492
|
+
}) | ({
|
|
144493
|
+
kind: "story";
|
|
144494
|
+
storyType: "headerFooterPart";
|
|
144495
|
+
refId: string;
|
|
144496
|
+
}) | ({
|
|
144497
|
+
kind: "story";
|
|
144498
|
+
storyType: "footnote";
|
|
144499
|
+
noteId: string;
|
|
144500
|
+
}) | ({
|
|
144501
|
+
kind: "story";
|
|
144502
|
+
storyType: "endnote";
|
|
144503
|
+
noteId: string;
|
|
144504
|
+
}) | ({
|
|
144505
|
+
kind: "story";
|
|
144506
|
+
storyType: "textbox";
|
|
144507
|
+
textboxId: string;
|
|
144508
|
+
});
|
|
144509
|
+
coordinateSpace?: "visible" | "tracked";
|
|
144510
|
+
};
|
|
144511
|
+
}) | ({
|
|
144512
|
+
by: "block";
|
|
144513
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
144514
|
+
nodeId: string;
|
|
144515
|
+
});
|
|
144516
|
+
args: {
|
|
144517
|
+
content: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
144518
|
+
nestingPolicy?: {
|
|
144519
|
+
tables?: "forbid" | "allow";
|
|
144520
|
+
};
|
|
144521
|
+
};
|
|
143644
144522
|
}) | ({
|
|
143645
144523
|
id: string;
|
|
143646
144524
|
op: "assert";
|
|
@@ -145016,6 +145894,297 @@ export interface DocMutationsApplyBoundParams {
|
|
|
145016
145894
|
alignment?: "left" | "center" | "right" | "justify";
|
|
145017
145895
|
scope?: "match" | "block";
|
|
145018
145896
|
};
|
|
145897
|
+
}) | ({
|
|
145898
|
+
id: string;
|
|
145899
|
+
op: "structural.replace";
|
|
145900
|
+
where: ({
|
|
145901
|
+
by: "select";
|
|
145902
|
+
select: ({
|
|
145903
|
+
type: "text";
|
|
145904
|
+
pattern: string;
|
|
145905
|
+
mode?: "contains" | "regex";
|
|
145906
|
+
caseSensitive?: boolean;
|
|
145907
|
+
wholeWord?: boolean;
|
|
145908
|
+
includeDeletedText?: boolean;
|
|
145909
|
+
}) | ({
|
|
145910
|
+
type: "node";
|
|
145911
|
+
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
145912
|
+
kind?: "block" | "inline";
|
|
145913
|
+
});
|
|
145914
|
+
within?: {
|
|
145915
|
+
kind: "block";
|
|
145916
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
145917
|
+
nodeId: string;
|
|
145918
|
+
story?: ({
|
|
145919
|
+
kind: "story";
|
|
145920
|
+
storyType: "body";
|
|
145921
|
+
}) | ({
|
|
145922
|
+
kind: "story";
|
|
145923
|
+
storyType: "headerFooterSlot";
|
|
145924
|
+
section: {
|
|
145925
|
+
kind: "section";
|
|
145926
|
+
sectionId: string;
|
|
145927
|
+
};
|
|
145928
|
+
headerFooterKind: "header" | "footer";
|
|
145929
|
+
variant: "default" | "first" | "even";
|
|
145930
|
+
resolution?: "effective" | "explicit";
|
|
145931
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
145932
|
+
}) | ({
|
|
145933
|
+
kind: "story";
|
|
145934
|
+
storyType: "headerFooterPart";
|
|
145935
|
+
refId: string;
|
|
145936
|
+
}) | ({
|
|
145937
|
+
kind: "story";
|
|
145938
|
+
storyType: "footnote";
|
|
145939
|
+
noteId: string;
|
|
145940
|
+
}) | ({
|
|
145941
|
+
kind: "story";
|
|
145942
|
+
storyType: "endnote";
|
|
145943
|
+
noteId: string;
|
|
145944
|
+
}) | ({
|
|
145945
|
+
kind: "story";
|
|
145946
|
+
storyType: "textbox";
|
|
145947
|
+
textboxId: string;
|
|
145948
|
+
});
|
|
145949
|
+
};
|
|
145950
|
+
require: "first" | "exactlyOne" | "all";
|
|
145951
|
+
}) | ({
|
|
145952
|
+
by: "ref";
|
|
145953
|
+
ref: string;
|
|
145954
|
+
within?: {
|
|
145955
|
+
kind: "block";
|
|
145956
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
145957
|
+
nodeId: string;
|
|
145958
|
+
story?: ({
|
|
145959
|
+
kind: "story";
|
|
145960
|
+
storyType: "body";
|
|
145961
|
+
}) | ({
|
|
145962
|
+
kind: "story";
|
|
145963
|
+
storyType: "headerFooterSlot";
|
|
145964
|
+
section: {
|
|
145965
|
+
kind: "section";
|
|
145966
|
+
sectionId: string;
|
|
145967
|
+
};
|
|
145968
|
+
headerFooterKind: "header" | "footer";
|
|
145969
|
+
variant: "default" | "first" | "even";
|
|
145970
|
+
resolution?: "effective" | "explicit";
|
|
145971
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
145972
|
+
}) | ({
|
|
145973
|
+
kind: "story";
|
|
145974
|
+
storyType: "headerFooterPart";
|
|
145975
|
+
refId: string;
|
|
145976
|
+
}) | ({
|
|
145977
|
+
kind: "story";
|
|
145978
|
+
storyType: "footnote";
|
|
145979
|
+
noteId: string;
|
|
145980
|
+
}) | ({
|
|
145981
|
+
kind: "story";
|
|
145982
|
+
storyType: "endnote";
|
|
145983
|
+
noteId: string;
|
|
145984
|
+
}) | ({
|
|
145985
|
+
kind: "story";
|
|
145986
|
+
storyType: "textbox";
|
|
145987
|
+
textboxId: string;
|
|
145988
|
+
});
|
|
145989
|
+
};
|
|
145990
|
+
}) | ({
|
|
145991
|
+
by: "target";
|
|
145992
|
+
target: {
|
|
145993
|
+
kind: "selection";
|
|
145994
|
+
start: ({
|
|
145995
|
+
kind: "text";
|
|
145996
|
+
blockId: string;
|
|
145997
|
+
offset: number;
|
|
145998
|
+
story?: ({
|
|
145999
|
+
kind: "story";
|
|
146000
|
+
storyType: "body";
|
|
146001
|
+
}) | ({
|
|
146002
|
+
kind: "story";
|
|
146003
|
+
storyType: "headerFooterSlot";
|
|
146004
|
+
section: {
|
|
146005
|
+
kind: "section";
|
|
146006
|
+
sectionId: string;
|
|
146007
|
+
};
|
|
146008
|
+
headerFooterKind: "header" | "footer";
|
|
146009
|
+
variant: "default" | "first" | "even";
|
|
146010
|
+
resolution?: "effective" | "explicit";
|
|
146011
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
146012
|
+
}) | ({
|
|
146013
|
+
kind: "story";
|
|
146014
|
+
storyType: "headerFooterPart";
|
|
146015
|
+
refId: string;
|
|
146016
|
+
}) | ({
|
|
146017
|
+
kind: "story";
|
|
146018
|
+
storyType: "footnote";
|
|
146019
|
+
noteId: string;
|
|
146020
|
+
}) | ({
|
|
146021
|
+
kind: "story";
|
|
146022
|
+
storyType: "endnote";
|
|
146023
|
+
noteId: string;
|
|
146024
|
+
}) | ({
|
|
146025
|
+
kind: "story";
|
|
146026
|
+
storyType: "textbox";
|
|
146027
|
+
textboxId: string;
|
|
146028
|
+
});
|
|
146029
|
+
}) | ({
|
|
146030
|
+
kind: "nodeEdge";
|
|
146031
|
+
node: {
|
|
146032
|
+
kind: "block";
|
|
146033
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
146034
|
+
nodeId: string;
|
|
146035
|
+
story?: ({
|
|
146036
|
+
kind: "story";
|
|
146037
|
+
storyType: "body";
|
|
146038
|
+
}) | ({
|
|
146039
|
+
kind: "story";
|
|
146040
|
+
storyType: "headerFooterSlot";
|
|
146041
|
+
section: {
|
|
146042
|
+
kind: "section";
|
|
146043
|
+
sectionId: string;
|
|
146044
|
+
};
|
|
146045
|
+
headerFooterKind: "header" | "footer";
|
|
146046
|
+
variant: "default" | "first" | "even";
|
|
146047
|
+
resolution?: "effective" | "explicit";
|
|
146048
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
146049
|
+
}) | ({
|
|
146050
|
+
kind: "story";
|
|
146051
|
+
storyType: "headerFooterPart";
|
|
146052
|
+
refId: string;
|
|
146053
|
+
}) | ({
|
|
146054
|
+
kind: "story";
|
|
146055
|
+
storyType: "footnote";
|
|
146056
|
+
noteId: string;
|
|
146057
|
+
}) | ({
|
|
146058
|
+
kind: "story";
|
|
146059
|
+
storyType: "endnote";
|
|
146060
|
+
noteId: string;
|
|
146061
|
+
}) | ({
|
|
146062
|
+
kind: "story";
|
|
146063
|
+
storyType: "textbox";
|
|
146064
|
+
textboxId: string;
|
|
146065
|
+
});
|
|
146066
|
+
};
|
|
146067
|
+
edge: "before" | "after";
|
|
146068
|
+
});
|
|
146069
|
+
end: ({
|
|
146070
|
+
kind: "text";
|
|
146071
|
+
blockId: string;
|
|
146072
|
+
offset: number;
|
|
146073
|
+
story?: ({
|
|
146074
|
+
kind: "story";
|
|
146075
|
+
storyType: "body";
|
|
146076
|
+
}) | ({
|
|
146077
|
+
kind: "story";
|
|
146078
|
+
storyType: "headerFooterSlot";
|
|
146079
|
+
section: {
|
|
146080
|
+
kind: "section";
|
|
146081
|
+
sectionId: string;
|
|
146082
|
+
};
|
|
146083
|
+
headerFooterKind: "header" | "footer";
|
|
146084
|
+
variant: "default" | "first" | "even";
|
|
146085
|
+
resolution?: "effective" | "explicit";
|
|
146086
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
146087
|
+
}) | ({
|
|
146088
|
+
kind: "story";
|
|
146089
|
+
storyType: "headerFooterPart";
|
|
146090
|
+
refId: string;
|
|
146091
|
+
}) | ({
|
|
146092
|
+
kind: "story";
|
|
146093
|
+
storyType: "footnote";
|
|
146094
|
+
noteId: string;
|
|
146095
|
+
}) | ({
|
|
146096
|
+
kind: "story";
|
|
146097
|
+
storyType: "endnote";
|
|
146098
|
+
noteId: string;
|
|
146099
|
+
}) | ({
|
|
146100
|
+
kind: "story";
|
|
146101
|
+
storyType: "textbox";
|
|
146102
|
+
textboxId: string;
|
|
146103
|
+
});
|
|
146104
|
+
}) | ({
|
|
146105
|
+
kind: "nodeEdge";
|
|
146106
|
+
node: {
|
|
146107
|
+
kind: "block";
|
|
146108
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableOfContents" | "sdt" | "image";
|
|
146109
|
+
nodeId: string;
|
|
146110
|
+
story?: ({
|
|
146111
|
+
kind: "story";
|
|
146112
|
+
storyType: "body";
|
|
146113
|
+
}) | ({
|
|
146114
|
+
kind: "story";
|
|
146115
|
+
storyType: "headerFooterSlot";
|
|
146116
|
+
section: {
|
|
146117
|
+
kind: "section";
|
|
146118
|
+
sectionId: string;
|
|
146119
|
+
};
|
|
146120
|
+
headerFooterKind: "header" | "footer";
|
|
146121
|
+
variant: "default" | "first" | "even";
|
|
146122
|
+
resolution?: "effective" | "explicit";
|
|
146123
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
146124
|
+
}) | ({
|
|
146125
|
+
kind: "story";
|
|
146126
|
+
storyType: "headerFooterPart";
|
|
146127
|
+
refId: string;
|
|
146128
|
+
}) | ({
|
|
146129
|
+
kind: "story";
|
|
146130
|
+
storyType: "footnote";
|
|
146131
|
+
noteId: string;
|
|
146132
|
+
}) | ({
|
|
146133
|
+
kind: "story";
|
|
146134
|
+
storyType: "endnote";
|
|
146135
|
+
noteId: string;
|
|
146136
|
+
}) | ({
|
|
146137
|
+
kind: "story";
|
|
146138
|
+
storyType: "textbox";
|
|
146139
|
+
textboxId: string;
|
|
146140
|
+
});
|
|
146141
|
+
};
|
|
146142
|
+
edge: "before" | "after";
|
|
146143
|
+
});
|
|
146144
|
+
story?: ({
|
|
146145
|
+
kind: "story";
|
|
146146
|
+
storyType: "body";
|
|
146147
|
+
}) | ({
|
|
146148
|
+
kind: "story";
|
|
146149
|
+
storyType: "headerFooterSlot";
|
|
146150
|
+
section: {
|
|
146151
|
+
kind: "section";
|
|
146152
|
+
sectionId: string;
|
|
146153
|
+
};
|
|
146154
|
+
headerFooterKind: "header" | "footer";
|
|
146155
|
+
variant: "default" | "first" | "even";
|
|
146156
|
+
resolution?: "effective" | "explicit";
|
|
146157
|
+
onWrite?: "materializeIfInherited" | "editResolvedPart" | "error";
|
|
146158
|
+
}) | ({
|
|
146159
|
+
kind: "story";
|
|
146160
|
+
storyType: "headerFooterPart";
|
|
146161
|
+
refId: string;
|
|
146162
|
+
}) | ({
|
|
146163
|
+
kind: "story";
|
|
146164
|
+
storyType: "footnote";
|
|
146165
|
+
noteId: string;
|
|
146166
|
+
}) | ({
|
|
146167
|
+
kind: "story";
|
|
146168
|
+
storyType: "endnote";
|
|
146169
|
+
noteId: string;
|
|
146170
|
+
}) | ({
|
|
146171
|
+
kind: "story";
|
|
146172
|
+
storyType: "textbox";
|
|
146173
|
+
textboxId: string;
|
|
146174
|
+
});
|
|
146175
|
+
coordinateSpace?: "visible" | "tracked";
|
|
146176
|
+
};
|
|
146177
|
+
}) | ({
|
|
146178
|
+
by: "block";
|
|
146179
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
146180
|
+
nodeId: string;
|
|
146181
|
+
});
|
|
146182
|
+
args: {
|
|
146183
|
+
content: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
146184
|
+
nestingPolicy?: {
|
|
146185
|
+
tables?: "forbid" | "allow";
|
|
146186
|
+
};
|
|
146187
|
+
};
|
|
145019
146188
|
}) | ({
|
|
145020
146189
|
id: string;
|
|
145021
146190
|
op: "assert";
|