@superdoc-dev/sdk 1.6.0-next.9 → 1.7.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/generated/client.d.ts +301 -12
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/contract.cjs +2018 -494
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +2018 -494
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/tools.cjs +53 -5
- package/dist/tools.d.ts +12 -1
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +52 -5
- package/package.json +6 -6
- package/tools/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
- package/tools/catalog.json +432 -74
- package/tools/prompt-templates/system-prompt-core.md +276 -0
- package/tools/prompt-templates/system-prompt-mcp-header.md +50 -0
- package/tools/prompt-templates/system-prompt-sdk-header.md +5 -0
- package/tools/system-prompt-mcp.md +325 -0
- package/tools/system-prompt.md +101 -15
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +432 -74
- package/tools/tools.generic.json +432 -74
- package/tools/tools.openai.json +432 -74
- package/tools/tools.vercel.json +432 -74
|
@@ -472,6 +472,7 @@ export interface DocBlocksListParams {
|
|
|
472
472
|
offset?: number;
|
|
473
473
|
limit?: number;
|
|
474
474
|
nodeTypes?: Array<"paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt">;
|
|
475
|
+
includeText?: boolean;
|
|
475
476
|
}
|
|
476
477
|
export interface DocBlocksDeleteParams {
|
|
477
478
|
doc?: string;
|
|
@@ -4724,6 +4725,10 @@ export interface DocMutationsPreviewParams {
|
|
|
4724
4725
|
edge: "before" | "after";
|
|
4725
4726
|
});
|
|
4726
4727
|
};
|
|
4728
|
+
}) | ({
|
|
4729
|
+
by: "block";
|
|
4730
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
4731
|
+
nodeId: string;
|
|
4727
4732
|
});
|
|
4728
4733
|
args: {
|
|
4729
4734
|
replacement: ({
|
|
@@ -4753,7 +4758,7 @@ export interface DocMutationsPreviewParams {
|
|
|
4753
4758
|
}) | ({
|
|
4754
4759
|
id: string;
|
|
4755
4760
|
op: "text.insert";
|
|
4756
|
-
where: {
|
|
4761
|
+
where: ({
|
|
4757
4762
|
by: "select";
|
|
4758
4763
|
select: ({
|
|
4759
4764
|
type: "text";
|
|
@@ -4771,7 +4776,50 @@ export interface DocMutationsPreviewParams {
|
|
|
4771
4776
|
nodeId: string;
|
|
4772
4777
|
};
|
|
4773
4778
|
require: "first" | "exactlyOne";
|
|
4774
|
-
}
|
|
4779
|
+
}) | ({
|
|
4780
|
+
by: "ref";
|
|
4781
|
+
ref: string;
|
|
4782
|
+
within?: {
|
|
4783
|
+
kind: "block";
|
|
4784
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
4785
|
+
nodeId: string;
|
|
4786
|
+
};
|
|
4787
|
+
}) | ({
|
|
4788
|
+
by: "target";
|
|
4789
|
+
target: {
|
|
4790
|
+
kind: "selection";
|
|
4791
|
+
start: ({
|
|
4792
|
+
kind: "text";
|
|
4793
|
+
blockId: string;
|
|
4794
|
+
offset: number;
|
|
4795
|
+
}) | ({
|
|
4796
|
+
kind: "nodeEdge";
|
|
4797
|
+
node: {
|
|
4798
|
+
kind: "block";
|
|
4799
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4800
|
+
nodeId: string;
|
|
4801
|
+
};
|
|
4802
|
+
edge: "before" | "after";
|
|
4803
|
+
});
|
|
4804
|
+
end: ({
|
|
4805
|
+
kind: "text";
|
|
4806
|
+
blockId: string;
|
|
4807
|
+
offset: number;
|
|
4808
|
+
}) | ({
|
|
4809
|
+
kind: "nodeEdge";
|
|
4810
|
+
node: {
|
|
4811
|
+
kind: "block";
|
|
4812
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4813
|
+
nodeId: string;
|
|
4814
|
+
};
|
|
4815
|
+
edge: "before" | "after";
|
|
4816
|
+
});
|
|
4817
|
+
};
|
|
4818
|
+
}) | ({
|
|
4819
|
+
by: "block";
|
|
4820
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
4821
|
+
nodeId: string;
|
|
4822
|
+
});
|
|
4775
4823
|
args: {
|
|
4776
4824
|
position: "before" | "after";
|
|
4777
4825
|
content: {
|
|
@@ -4849,6 +4897,10 @@ export interface DocMutationsPreviewParams {
|
|
|
4849
4897
|
edge: "before" | "after";
|
|
4850
4898
|
});
|
|
4851
4899
|
};
|
|
4900
|
+
}) | ({
|
|
4901
|
+
by: "block";
|
|
4902
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
4903
|
+
nodeId: string;
|
|
4852
4904
|
});
|
|
4853
4905
|
args: {
|
|
4854
4906
|
behavior?: "selection" | "exact";
|
|
@@ -4913,9 +4965,13 @@ export interface DocMutationsPreviewParams {
|
|
|
4913
4965
|
edge: "before" | "after";
|
|
4914
4966
|
});
|
|
4915
4967
|
};
|
|
4968
|
+
}) | ({
|
|
4969
|
+
by: "block";
|
|
4970
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
4971
|
+
nodeId: string;
|
|
4916
4972
|
});
|
|
4917
4973
|
args: {
|
|
4918
|
-
inline
|
|
4974
|
+
inline?: {
|
|
4919
4975
|
bold?: boolean | unknown;
|
|
4920
4976
|
italic?: boolean | unknown;
|
|
4921
4977
|
strike?: boolean | unknown;
|
|
@@ -4999,6 +5055,8 @@ export interface DocMutationsPreviewParams {
|
|
|
4999
5055
|
}>) | unknown;
|
|
5000
5056
|
contextualAlternates?: boolean | unknown;
|
|
5001
5057
|
};
|
|
5058
|
+
alignment?: "left" | "center" | "right" | "justify";
|
|
5059
|
+
scope?: "match" | "block";
|
|
5002
5060
|
};
|
|
5003
5061
|
}) | ({
|
|
5004
5062
|
id: string;
|
|
@@ -5121,6 +5179,10 @@ export interface DocMutationsApplyParams {
|
|
|
5121
5179
|
edge: "before" | "after";
|
|
5122
5180
|
});
|
|
5123
5181
|
};
|
|
5182
|
+
}) | ({
|
|
5183
|
+
by: "block";
|
|
5184
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
5185
|
+
nodeId: string;
|
|
5124
5186
|
});
|
|
5125
5187
|
args: {
|
|
5126
5188
|
replacement: ({
|
|
@@ -5150,7 +5212,7 @@ export interface DocMutationsApplyParams {
|
|
|
5150
5212
|
}) | ({
|
|
5151
5213
|
id: string;
|
|
5152
5214
|
op: "text.insert";
|
|
5153
|
-
where: {
|
|
5215
|
+
where: ({
|
|
5154
5216
|
by: "select";
|
|
5155
5217
|
select: ({
|
|
5156
5218
|
type: "text";
|
|
@@ -5168,7 +5230,50 @@ export interface DocMutationsApplyParams {
|
|
|
5168
5230
|
nodeId: string;
|
|
5169
5231
|
};
|
|
5170
5232
|
require: "first" | "exactlyOne";
|
|
5171
|
-
}
|
|
5233
|
+
}) | ({
|
|
5234
|
+
by: "ref";
|
|
5235
|
+
ref: string;
|
|
5236
|
+
within?: {
|
|
5237
|
+
kind: "block";
|
|
5238
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
5239
|
+
nodeId: string;
|
|
5240
|
+
};
|
|
5241
|
+
}) | ({
|
|
5242
|
+
by: "target";
|
|
5243
|
+
target: {
|
|
5244
|
+
kind: "selection";
|
|
5245
|
+
start: ({
|
|
5246
|
+
kind: "text";
|
|
5247
|
+
blockId: string;
|
|
5248
|
+
offset: number;
|
|
5249
|
+
}) | ({
|
|
5250
|
+
kind: "nodeEdge";
|
|
5251
|
+
node: {
|
|
5252
|
+
kind: "block";
|
|
5253
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
5254
|
+
nodeId: string;
|
|
5255
|
+
};
|
|
5256
|
+
edge: "before" | "after";
|
|
5257
|
+
});
|
|
5258
|
+
end: ({
|
|
5259
|
+
kind: "text";
|
|
5260
|
+
blockId: string;
|
|
5261
|
+
offset: number;
|
|
5262
|
+
}) | ({
|
|
5263
|
+
kind: "nodeEdge";
|
|
5264
|
+
node: {
|
|
5265
|
+
kind: "block";
|
|
5266
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
5267
|
+
nodeId: string;
|
|
5268
|
+
};
|
|
5269
|
+
edge: "before" | "after";
|
|
5270
|
+
});
|
|
5271
|
+
};
|
|
5272
|
+
}) | ({
|
|
5273
|
+
by: "block";
|
|
5274
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
5275
|
+
nodeId: string;
|
|
5276
|
+
});
|
|
5172
5277
|
args: {
|
|
5173
5278
|
position: "before" | "after";
|
|
5174
5279
|
content: {
|
|
@@ -5246,6 +5351,10 @@ export interface DocMutationsApplyParams {
|
|
|
5246
5351
|
edge: "before" | "after";
|
|
5247
5352
|
});
|
|
5248
5353
|
};
|
|
5354
|
+
}) | ({
|
|
5355
|
+
by: "block";
|
|
5356
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
5357
|
+
nodeId: string;
|
|
5249
5358
|
});
|
|
5250
5359
|
args: {
|
|
5251
5360
|
behavior?: "selection" | "exact";
|
|
@@ -5310,9 +5419,13 @@ export interface DocMutationsApplyParams {
|
|
|
5310
5419
|
edge: "before" | "after";
|
|
5311
5420
|
});
|
|
5312
5421
|
};
|
|
5422
|
+
}) | ({
|
|
5423
|
+
by: "block";
|
|
5424
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
5425
|
+
nodeId: string;
|
|
5313
5426
|
});
|
|
5314
5427
|
args: {
|
|
5315
|
-
inline
|
|
5428
|
+
inline?: {
|
|
5316
5429
|
bold?: boolean | unknown;
|
|
5317
5430
|
italic?: boolean | unknown;
|
|
5318
5431
|
strike?: boolean | unknown;
|
|
@@ -5396,6 +5509,8 @@ export interface DocMutationsApplyParams {
|
|
|
5396
5509
|
}>) | unknown;
|
|
5397
5510
|
contextualAlternates?: boolean | unknown;
|
|
5398
5511
|
};
|
|
5512
|
+
alignment?: "left" | "center" | "right" | "justify";
|
|
5513
|
+
scope?: "match" | "block";
|
|
5399
5514
|
};
|
|
5400
5515
|
}) | ({
|
|
5401
5516
|
id: string;
|
|
@@ -7196,6 +7311,35 @@ export interface DocCreateContentControlParams {
|
|
|
7196
7311
|
nodeType: "sdt";
|
|
7197
7312
|
nodeId: string;
|
|
7198
7313
|
};
|
|
7314
|
+
at?: {
|
|
7315
|
+
kind: "selection";
|
|
7316
|
+
start: ({
|
|
7317
|
+
kind: "text";
|
|
7318
|
+
blockId: string;
|
|
7319
|
+
offset: number;
|
|
7320
|
+
}) | ({
|
|
7321
|
+
kind: "nodeEdge";
|
|
7322
|
+
node: {
|
|
7323
|
+
kind: "block";
|
|
7324
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
7325
|
+
nodeId: string;
|
|
7326
|
+
};
|
|
7327
|
+
edge: "before" | "after";
|
|
7328
|
+
});
|
|
7329
|
+
end: ({
|
|
7330
|
+
kind: "text";
|
|
7331
|
+
blockId: string;
|
|
7332
|
+
offset: number;
|
|
7333
|
+
}) | ({
|
|
7334
|
+
kind: "nodeEdge";
|
|
7335
|
+
node: {
|
|
7336
|
+
kind: "block";
|
|
7337
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
7338
|
+
nodeId: string;
|
|
7339
|
+
};
|
|
7340
|
+
edge: "before" | "after";
|
|
7341
|
+
});
|
|
7342
|
+
};
|
|
7199
7343
|
tag?: string;
|
|
7200
7344
|
alias?: string;
|
|
7201
7345
|
lockMode?: string;
|
|
@@ -9714,6 +9858,7 @@ export type DocBlocksListResult = {
|
|
|
9714
9858
|
nodeId: string;
|
|
9715
9859
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
9716
9860
|
textPreview?: string | null;
|
|
9861
|
+
text?: string | null;
|
|
9717
9862
|
isEmpty?: boolean;
|
|
9718
9863
|
styleId?: string | null;
|
|
9719
9864
|
fontFamily?: string;
|
|
@@ -20906,6 +21051,7 @@ export interface DocBlocksListBoundParams {
|
|
|
20906
21051
|
offset?: number;
|
|
20907
21052
|
limit?: number;
|
|
20908
21053
|
nodeTypes?: Array<"paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt">;
|
|
21054
|
+
includeText?: boolean;
|
|
20909
21055
|
}
|
|
20910
21056
|
export interface DocBlocksDeleteBoundParams {
|
|
20911
21057
|
out?: string;
|
|
@@ -24886,6 +25032,10 @@ export interface DocMutationsPreviewBoundParams {
|
|
|
24886
25032
|
edge: "before" | "after";
|
|
24887
25033
|
});
|
|
24888
25034
|
};
|
|
25035
|
+
}) | ({
|
|
25036
|
+
by: "block";
|
|
25037
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25038
|
+
nodeId: string;
|
|
24889
25039
|
});
|
|
24890
25040
|
args: {
|
|
24891
25041
|
replacement: ({
|
|
@@ -24915,7 +25065,7 @@ export interface DocMutationsPreviewBoundParams {
|
|
|
24915
25065
|
}) | ({
|
|
24916
25066
|
id: string;
|
|
24917
25067
|
op: "text.insert";
|
|
24918
|
-
where: {
|
|
25068
|
+
where: ({
|
|
24919
25069
|
by: "select";
|
|
24920
25070
|
select: ({
|
|
24921
25071
|
type: "text";
|
|
@@ -24933,7 +25083,50 @@ export interface DocMutationsPreviewBoundParams {
|
|
|
24933
25083
|
nodeId: string;
|
|
24934
25084
|
};
|
|
24935
25085
|
require: "first" | "exactlyOne";
|
|
24936
|
-
}
|
|
25086
|
+
}) | ({
|
|
25087
|
+
by: "ref";
|
|
25088
|
+
ref: string;
|
|
25089
|
+
within?: {
|
|
25090
|
+
kind: "block";
|
|
25091
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25092
|
+
nodeId: string;
|
|
25093
|
+
};
|
|
25094
|
+
}) | ({
|
|
25095
|
+
by: "target";
|
|
25096
|
+
target: {
|
|
25097
|
+
kind: "selection";
|
|
25098
|
+
start: ({
|
|
25099
|
+
kind: "text";
|
|
25100
|
+
blockId: string;
|
|
25101
|
+
offset: number;
|
|
25102
|
+
}) | ({
|
|
25103
|
+
kind: "nodeEdge";
|
|
25104
|
+
node: {
|
|
25105
|
+
kind: "block";
|
|
25106
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
25107
|
+
nodeId: string;
|
|
25108
|
+
};
|
|
25109
|
+
edge: "before" | "after";
|
|
25110
|
+
});
|
|
25111
|
+
end: ({
|
|
25112
|
+
kind: "text";
|
|
25113
|
+
blockId: string;
|
|
25114
|
+
offset: number;
|
|
25115
|
+
}) | ({
|
|
25116
|
+
kind: "nodeEdge";
|
|
25117
|
+
node: {
|
|
25118
|
+
kind: "block";
|
|
25119
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
25120
|
+
nodeId: string;
|
|
25121
|
+
};
|
|
25122
|
+
edge: "before" | "after";
|
|
25123
|
+
});
|
|
25124
|
+
};
|
|
25125
|
+
}) | ({
|
|
25126
|
+
by: "block";
|
|
25127
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25128
|
+
nodeId: string;
|
|
25129
|
+
});
|
|
24937
25130
|
args: {
|
|
24938
25131
|
position: "before" | "after";
|
|
24939
25132
|
content: {
|
|
@@ -25011,6 +25204,10 @@ export interface DocMutationsPreviewBoundParams {
|
|
|
25011
25204
|
edge: "before" | "after";
|
|
25012
25205
|
});
|
|
25013
25206
|
};
|
|
25207
|
+
}) | ({
|
|
25208
|
+
by: "block";
|
|
25209
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25210
|
+
nodeId: string;
|
|
25014
25211
|
});
|
|
25015
25212
|
args: {
|
|
25016
25213
|
behavior?: "selection" | "exact";
|
|
@@ -25075,9 +25272,13 @@ export interface DocMutationsPreviewBoundParams {
|
|
|
25075
25272
|
edge: "before" | "after";
|
|
25076
25273
|
});
|
|
25077
25274
|
};
|
|
25275
|
+
}) | ({
|
|
25276
|
+
by: "block";
|
|
25277
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25278
|
+
nodeId: string;
|
|
25078
25279
|
});
|
|
25079
25280
|
args: {
|
|
25080
|
-
inline
|
|
25281
|
+
inline?: {
|
|
25081
25282
|
bold?: boolean | unknown;
|
|
25082
25283
|
italic?: boolean | unknown;
|
|
25083
25284
|
strike?: boolean | unknown;
|
|
@@ -25161,6 +25362,8 @@ export interface DocMutationsPreviewBoundParams {
|
|
|
25161
25362
|
}>) | unknown;
|
|
25162
25363
|
contextualAlternates?: boolean | unknown;
|
|
25163
25364
|
};
|
|
25365
|
+
alignment?: "left" | "center" | "right" | "justify";
|
|
25366
|
+
scope?: "match" | "block";
|
|
25164
25367
|
};
|
|
25165
25368
|
}) | ({
|
|
25166
25369
|
id: string;
|
|
@@ -25281,6 +25484,10 @@ export interface DocMutationsApplyBoundParams {
|
|
|
25281
25484
|
edge: "before" | "after";
|
|
25282
25485
|
});
|
|
25283
25486
|
};
|
|
25487
|
+
}) | ({
|
|
25488
|
+
by: "block";
|
|
25489
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25490
|
+
nodeId: string;
|
|
25284
25491
|
});
|
|
25285
25492
|
args: {
|
|
25286
25493
|
replacement: ({
|
|
@@ -25310,7 +25517,7 @@ export interface DocMutationsApplyBoundParams {
|
|
|
25310
25517
|
}) | ({
|
|
25311
25518
|
id: string;
|
|
25312
25519
|
op: "text.insert";
|
|
25313
|
-
where: {
|
|
25520
|
+
where: ({
|
|
25314
25521
|
by: "select";
|
|
25315
25522
|
select: ({
|
|
25316
25523
|
type: "text";
|
|
@@ -25328,7 +25535,50 @@ export interface DocMutationsApplyBoundParams {
|
|
|
25328
25535
|
nodeId: string;
|
|
25329
25536
|
};
|
|
25330
25537
|
require: "first" | "exactlyOne";
|
|
25331
|
-
}
|
|
25538
|
+
}) | ({
|
|
25539
|
+
by: "ref";
|
|
25540
|
+
ref: string;
|
|
25541
|
+
within?: {
|
|
25542
|
+
kind: "block";
|
|
25543
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25544
|
+
nodeId: string;
|
|
25545
|
+
};
|
|
25546
|
+
}) | ({
|
|
25547
|
+
by: "target";
|
|
25548
|
+
target: {
|
|
25549
|
+
kind: "selection";
|
|
25550
|
+
start: ({
|
|
25551
|
+
kind: "text";
|
|
25552
|
+
blockId: string;
|
|
25553
|
+
offset: number;
|
|
25554
|
+
}) | ({
|
|
25555
|
+
kind: "nodeEdge";
|
|
25556
|
+
node: {
|
|
25557
|
+
kind: "block";
|
|
25558
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
25559
|
+
nodeId: string;
|
|
25560
|
+
};
|
|
25561
|
+
edge: "before" | "after";
|
|
25562
|
+
});
|
|
25563
|
+
end: ({
|
|
25564
|
+
kind: "text";
|
|
25565
|
+
blockId: string;
|
|
25566
|
+
offset: number;
|
|
25567
|
+
}) | ({
|
|
25568
|
+
kind: "nodeEdge";
|
|
25569
|
+
node: {
|
|
25570
|
+
kind: "block";
|
|
25571
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
25572
|
+
nodeId: string;
|
|
25573
|
+
};
|
|
25574
|
+
edge: "before" | "after";
|
|
25575
|
+
});
|
|
25576
|
+
};
|
|
25577
|
+
}) | ({
|
|
25578
|
+
by: "block";
|
|
25579
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25580
|
+
nodeId: string;
|
|
25581
|
+
});
|
|
25332
25582
|
args: {
|
|
25333
25583
|
position: "before" | "after";
|
|
25334
25584
|
content: {
|
|
@@ -25406,6 +25656,10 @@ export interface DocMutationsApplyBoundParams {
|
|
|
25406
25656
|
edge: "before" | "after";
|
|
25407
25657
|
});
|
|
25408
25658
|
};
|
|
25659
|
+
}) | ({
|
|
25660
|
+
by: "block";
|
|
25661
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25662
|
+
nodeId: string;
|
|
25409
25663
|
});
|
|
25410
25664
|
args: {
|
|
25411
25665
|
behavior?: "selection" | "exact";
|
|
@@ -25470,9 +25724,13 @@ export interface DocMutationsApplyBoundParams {
|
|
|
25470
25724
|
edge: "before" | "after";
|
|
25471
25725
|
});
|
|
25472
25726
|
};
|
|
25727
|
+
}) | ({
|
|
25728
|
+
by: "block";
|
|
25729
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
25730
|
+
nodeId: string;
|
|
25473
25731
|
});
|
|
25474
25732
|
args: {
|
|
25475
|
-
inline
|
|
25733
|
+
inline?: {
|
|
25476
25734
|
bold?: boolean | unknown;
|
|
25477
25735
|
italic?: boolean | unknown;
|
|
25478
25736
|
strike?: boolean | unknown;
|
|
@@ -25556,6 +25814,8 @@ export interface DocMutationsApplyBoundParams {
|
|
|
25556
25814
|
}>) | unknown;
|
|
25557
25815
|
contextualAlternates?: boolean | unknown;
|
|
25558
25816
|
};
|
|
25817
|
+
alignment?: "left" | "center" | "right" | "justify";
|
|
25818
|
+
scope?: "match" | "block";
|
|
25559
25819
|
};
|
|
25560
25820
|
}) | ({
|
|
25561
25821
|
id: string;
|
|
@@ -27147,6 +27407,35 @@ export interface DocCreateContentControlBoundParams {
|
|
|
27147
27407
|
nodeType: "sdt";
|
|
27148
27408
|
nodeId: string;
|
|
27149
27409
|
};
|
|
27410
|
+
at?: {
|
|
27411
|
+
kind: "selection";
|
|
27412
|
+
start: ({
|
|
27413
|
+
kind: "text";
|
|
27414
|
+
blockId: string;
|
|
27415
|
+
offset: number;
|
|
27416
|
+
}) | ({
|
|
27417
|
+
kind: "nodeEdge";
|
|
27418
|
+
node: {
|
|
27419
|
+
kind: "block";
|
|
27420
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
27421
|
+
nodeId: string;
|
|
27422
|
+
};
|
|
27423
|
+
edge: "before" | "after";
|
|
27424
|
+
});
|
|
27425
|
+
end: ({
|
|
27426
|
+
kind: "text";
|
|
27427
|
+
blockId: string;
|
|
27428
|
+
offset: number;
|
|
27429
|
+
}) | ({
|
|
27430
|
+
kind: "nodeEdge";
|
|
27431
|
+
node: {
|
|
27432
|
+
kind: "block";
|
|
27433
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
27434
|
+
nodeId: string;
|
|
27435
|
+
};
|
|
27436
|
+
edge: "before" | "after";
|
|
27437
|
+
});
|
|
27438
|
+
};
|
|
27150
27439
|
tag?: string;
|
|
27151
27440
|
alias?: string;
|
|
27152
27441
|
lockMode?: string;
|