@superdoc-dev/sdk 1.0.0-alpha.43 → 1.0.0-alpha.45
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/README.md +20 -10
- package/dist/generated/client.cjs +5 -0
- package/dist/generated/client.d.ts +1970 -678
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +5 -0
- package/dist/generated/contract.cjs +21883 -12555
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +21883 -12555
- package/dist/generated/intent-dispatch.generated.cjs +93 -0
- package/dist/generated/intent-dispatch.generated.d.ts +2 -0
- package/dist/generated/intent-dispatch.generated.d.ts.map +1 -0
- package/dist/generated/intent-dispatch.generated.js +89 -0
- package/dist/index.cjs +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/tools.cjs +135 -211
- package/dist/tools.d.ts +17 -55
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +134 -209
- package/package.json +7 -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 +3801 -61266
- package/tools/intent_dispatch_generated.py +120 -0
- package/tools/system-prompt.md +94 -0
- package/tools/tools-policy.json +40 -94
- package/tools/tools.anthropic.json +2966 -25000
- package/tools/tools.generic.json +3561 -59081
- package/tools/tools.openai.json +2952 -25931
- package/tools/tools.vercel.json +2952 -25931
- package/tools/tool-name-map.json +0 -325
|
@@ -12,21 +12,9 @@ export interface DocFindParams {
|
|
|
12
12
|
doc?: string;
|
|
13
13
|
sessionId?: string;
|
|
14
14
|
within?: {
|
|
15
|
-
kind: "
|
|
16
|
-
|
|
17
|
-
nodeId
|
|
18
|
-
anchor?: {
|
|
19
|
-
start?: {
|
|
20
|
-
blockId: string;
|
|
21
|
-
offset: number;
|
|
22
|
-
};
|
|
23
|
-
end?: {
|
|
24
|
-
blockId: string;
|
|
25
|
-
offset: number;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
evaluatedRevision?: string;
|
|
29
|
-
path?: Array<string | number>;
|
|
15
|
+
kind: "block";
|
|
16
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
17
|
+
nodeId: string;
|
|
30
18
|
};
|
|
31
19
|
limit?: number;
|
|
32
20
|
offset?: number;
|
|
@@ -47,6 +35,19 @@ export interface DocFindParams {
|
|
|
47
35
|
export interface DocGetNodeParams {
|
|
48
36
|
doc?: string;
|
|
49
37
|
sessionId?: string;
|
|
38
|
+
kind?: string;
|
|
39
|
+
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
40
|
+
nodeId?: string;
|
|
41
|
+
anchor?: {
|
|
42
|
+
start: {
|
|
43
|
+
blockId: string;
|
|
44
|
+
offset: number;
|
|
45
|
+
};
|
|
46
|
+
end: {
|
|
47
|
+
blockId: string;
|
|
48
|
+
offset: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
50
51
|
address?: Record<string, unknown> | unknown[];
|
|
51
52
|
}
|
|
52
53
|
export interface DocGetNodeByIdParams {
|
|
@@ -93,16 +94,25 @@ export interface DocInsertParams {
|
|
|
93
94
|
expectedRevision?: number;
|
|
94
95
|
changeMode?: string;
|
|
95
96
|
dryRun?: boolean;
|
|
96
|
-
target?: {
|
|
97
|
+
target?: ({
|
|
97
98
|
kind: "text";
|
|
98
99
|
blockId: string;
|
|
99
100
|
range: {
|
|
100
101
|
start: number;
|
|
101
102
|
end: number;
|
|
102
103
|
};
|
|
103
|
-
}
|
|
104
|
+
}) | ({
|
|
105
|
+
kind: "block";
|
|
106
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
107
|
+
nodeId: string;
|
|
108
|
+
});
|
|
104
109
|
value?: string;
|
|
105
110
|
type?: string;
|
|
111
|
+
content?: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
112
|
+
placement?: string;
|
|
113
|
+
nestingPolicy?: {
|
|
114
|
+
tables?: "forbid" | "allow";
|
|
115
|
+
};
|
|
106
116
|
blockId?: string;
|
|
107
117
|
offset?: number;
|
|
108
118
|
}
|
|
@@ -114,15 +124,45 @@ export interface DocReplaceParams {
|
|
|
114
124
|
expectedRevision?: number;
|
|
115
125
|
changeMode?: string;
|
|
116
126
|
dryRun?: boolean;
|
|
117
|
-
target?: {
|
|
118
|
-
kind: "
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
127
|
+
target?: ({
|
|
128
|
+
kind: "selection";
|
|
129
|
+
start: ({
|
|
130
|
+
kind: "text";
|
|
131
|
+
blockId: string;
|
|
132
|
+
offset: number;
|
|
133
|
+
}) | ({
|
|
134
|
+
kind: "nodeEdge";
|
|
135
|
+
node: {
|
|
136
|
+
kind: "block";
|
|
137
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
138
|
+
nodeId: string;
|
|
139
|
+
};
|
|
140
|
+
edge: "before" | "after";
|
|
141
|
+
});
|
|
142
|
+
end: ({
|
|
143
|
+
kind: "text";
|
|
144
|
+
blockId: string;
|
|
145
|
+
offset: number;
|
|
146
|
+
}) | ({
|
|
147
|
+
kind: "nodeEdge";
|
|
148
|
+
node: {
|
|
149
|
+
kind: "block";
|
|
150
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
151
|
+
nodeId: string;
|
|
152
|
+
};
|
|
153
|
+
edge: "before" | "after";
|
|
154
|
+
});
|
|
155
|
+
}) | ({
|
|
156
|
+
kind: "block";
|
|
157
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
158
|
+
nodeId: string;
|
|
159
|
+
});
|
|
125
160
|
text?: string;
|
|
161
|
+
ref?: string;
|
|
162
|
+
content?: Record<string, unknown> | Array<Record<string, unknown>>;
|
|
163
|
+
nestingPolicy?: {
|
|
164
|
+
tables?: "forbid" | "allow";
|
|
165
|
+
};
|
|
126
166
|
blockId?: string;
|
|
127
167
|
start?: number;
|
|
128
168
|
end?: number;
|
|
@@ -136,17 +176,47 @@ export interface DocDeleteParams {
|
|
|
136
176
|
changeMode?: string;
|
|
137
177
|
dryRun?: boolean;
|
|
138
178
|
target?: {
|
|
139
|
-
kind: "
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
179
|
+
kind: "selection";
|
|
180
|
+
start: ({
|
|
181
|
+
kind: "text";
|
|
182
|
+
blockId: string;
|
|
183
|
+
offset: number;
|
|
184
|
+
}) | ({
|
|
185
|
+
kind: "nodeEdge";
|
|
186
|
+
node: {
|
|
187
|
+
kind: "block";
|
|
188
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
189
|
+
nodeId: string;
|
|
190
|
+
};
|
|
191
|
+
edge: "before" | "after";
|
|
192
|
+
});
|
|
193
|
+
end: ({
|
|
194
|
+
kind: "text";
|
|
195
|
+
blockId: string;
|
|
196
|
+
offset: number;
|
|
197
|
+
}) | ({
|
|
198
|
+
kind: "nodeEdge";
|
|
199
|
+
node: {
|
|
200
|
+
kind: "block";
|
|
201
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
202
|
+
nodeId: string;
|
|
203
|
+
};
|
|
204
|
+
edge: "before" | "after";
|
|
205
|
+
});
|
|
145
206
|
};
|
|
207
|
+
behavior?: string;
|
|
208
|
+
ref?: string;
|
|
146
209
|
blockId?: string;
|
|
147
210
|
start?: number;
|
|
148
211
|
end?: number;
|
|
149
212
|
}
|
|
213
|
+
export interface DocBlocksListParams {
|
|
214
|
+
doc?: string;
|
|
215
|
+
sessionId?: string;
|
|
216
|
+
offset?: number;
|
|
217
|
+
limit?: number;
|
|
218
|
+
nodeTypes?: Array<"paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt">;
|
|
219
|
+
}
|
|
150
220
|
export interface DocBlocksDeleteParams {
|
|
151
221
|
doc?: string;
|
|
152
222
|
sessionId?: string;
|
|
@@ -163,6 +233,25 @@ export interface DocBlocksDeleteParams {
|
|
|
163
233
|
nodeType?: string;
|
|
164
234
|
nodeId?: string;
|
|
165
235
|
}
|
|
236
|
+
export interface DocBlocksDeleteRangeParams {
|
|
237
|
+
doc?: string;
|
|
238
|
+
sessionId?: string;
|
|
239
|
+
out?: string;
|
|
240
|
+
force?: boolean;
|
|
241
|
+
expectedRevision?: number;
|
|
242
|
+
changeMode?: string;
|
|
243
|
+
dryRun?: boolean;
|
|
244
|
+
start?: {
|
|
245
|
+
kind: "block";
|
|
246
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
247
|
+
nodeId: string;
|
|
248
|
+
};
|
|
249
|
+
end?: {
|
|
250
|
+
kind: "block";
|
|
251
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
252
|
+
nodeId: string;
|
|
253
|
+
};
|
|
254
|
+
}
|
|
166
255
|
export interface DocFormatApplyParams {
|
|
167
256
|
doc?: string;
|
|
168
257
|
sessionId?: string;
|
|
@@ -172,12 +261,33 @@ export interface DocFormatApplyParams {
|
|
|
172
261
|
changeMode?: string;
|
|
173
262
|
dryRun?: boolean;
|
|
174
263
|
target?: {
|
|
175
|
-
kind: "
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
264
|
+
kind: "selection";
|
|
265
|
+
start: ({
|
|
266
|
+
kind: "text";
|
|
267
|
+
blockId: string;
|
|
268
|
+
offset: number;
|
|
269
|
+
}) | ({
|
|
270
|
+
kind: "nodeEdge";
|
|
271
|
+
node: {
|
|
272
|
+
kind: "block";
|
|
273
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
274
|
+
nodeId: string;
|
|
275
|
+
};
|
|
276
|
+
edge: "before" | "after";
|
|
277
|
+
});
|
|
278
|
+
end: ({
|
|
279
|
+
kind: "text";
|
|
280
|
+
blockId: string;
|
|
281
|
+
offset: number;
|
|
282
|
+
}) | ({
|
|
283
|
+
kind: "nodeEdge";
|
|
284
|
+
node: {
|
|
285
|
+
kind: "block";
|
|
286
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
287
|
+
nodeId: string;
|
|
288
|
+
};
|
|
289
|
+
edge: "before" | "after";
|
|
290
|
+
});
|
|
181
291
|
};
|
|
182
292
|
inline?: {
|
|
183
293
|
bold?: boolean | unknown;
|
|
@@ -263,6 +373,7 @@ export interface DocFormatApplyParams {
|
|
|
263
373
|
}>) | unknown;
|
|
264
374
|
contextualAlternates?: boolean | unknown;
|
|
265
375
|
};
|
|
376
|
+
ref?: string;
|
|
266
377
|
blockId?: string;
|
|
267
378
|
start?: number;
|
|
268
379
|
end?: number;
|
|
@@ -276,14 +387,36 @@ export interface DocFormatBoldParams {
|
|
|
276
387
|
changeMode?: string;
|
|
277
388
|
dryRun?: boolean;
|
|
278
389
|
target?: {
|
|
279
|
-
kind: "
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
}
|
|
390
|
+
kind: "selection";
|
|
391
|
+
start: ({
|
|
392
|
+
kind: "text";
|
|
393
|
+
blockId: string;
|
|
394
|
+
offset: number;
|
|
395
|
+
}) | ({
|
|
396
|
+
kind: "nodeEdge";
|
|
397
|
+
node: {
|
|
398
|
+
kind: "block";
|
|
399
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
400
|
+
nodeId: string;
|
|
401
|
+
};
|
|
402
|
+
edge: "before" | "after";
|
|
403
|
+
});
|
|
404
|
+
end: ({
|
|
405
|
+
kind: "text";
|
|
406
|
+
blockId: string;
|
|
407
|
+
offset: number;
|
|
408
|
+
}) | ({
|
|
409
|
+
kind: "nodeEdge";
|
|
410
|
+
node: {
|
|
411
|
+
kind: "block";
|
|
412
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
413
|
+
nodeId: string;
|
|
414
|
+
};
|
|
415
|
+
edge: "before" | "after";
|
|
416
|
+
});
|
|
285
417
|
};
|
|
286
418
|
value?: boolean | unknown;
|
|
419
|
+
ref?: string;
|
|
287
420
|
blockId?: string;
|
|
288
421
|
start?: number;
|
|
289
422
|
end?: number;
|
|
@@ -297,14 +430,36 @@ export interface DocFormatItalicParams {
|
|
|
297
430
|
changeMode?: string;
|
|
298
431
|
dryRun?: boolean;
|
|
299
432
|
target?: {
|
|
300
|
-
kind: "
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
433
|
+
kind: "selection";
|
|
434
|
+
start: ({
|
|
435
|
+
kind: "text";
|
|
436
|
+
blockId: string;
|
|
437
|
+
offset: number;
|
|
438
|
+
}) | ({
|
|
439
|
+
kind: "nodeEdge";
|
|
440
|
+
node: {
|
|
441
|
+
kind: "block";
|
|
442
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
443
|
+
nodeId: string;
|
|
444
|
+
};
|
|
445
|
+
edge: "before" | "after";
|
|
446
|
+
});
|
|
447
|
+
end: ({
|
|
448
|
+
kind: "text";
|
|
449
|
+
blockId: string;
|
|
450
|
+
offset: number;
|
|
451
|
+
}) | ({
|
|
452
|
+
kind: "nodeEdge";
|
|
453
|
+
node: {
|
|
454
|
+
kind: "block";
|
|
455
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
456
|
+
nodeId: string;
|
|
457
|
+
};
|
|
458
|
+
edge: "before" | "after";
|
|
459
|
+
});
|
|
306
460
|
};
|
|
307
461
|
value?: boolean | unknown;
|
|
462
|
+
ref?: string;
|
|
308
463
|
blockId?: string;
|
|
309
464
|
start?: number;
|
|
310
465
|
end?: number;
|
|
@@ -318,14 +473,36 @@ export interface DocFormatStrikeParams {
|
|
|
318
473
|
changeMode?: string;
|
|
319
474
|
dryRun?: boolean;
|
|
320
475
|
target?: {
|
|
321
|
-
kind: "
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
476
|
+
kind: "selection";
|
|
477
|
+
start: ({
|
|
478
|
+
kind: "text";
|
|
479
|
+
blockId: string;
|
|
480
|
+
offset: number;
|
|
481
|
+
}) | ({
|
|
482
|
+
kind: "nodeEdge";
|
|
483
|
+
node: {
|
|
484
|
+
kind: "block";
|
|
485
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
486
|
+
nodeId: string;
|
|
487
|
+
};
|
|
488
|
+
edge: "before" | "after";
|
|
489
|
+
});
|
|
490
|
+
end: ({
|
|
491
|
+
kind: "text";
|
|
492
|
+
blockId: string;
|
|
493
|
+
offset: number;
|
|
494
|
+
}) | ({
|
|
495
|
+
kind: "nodeEdge";
|
|
496
|
+
node: {
|
|
497
|
+
kind: "block";
|
|
498
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
499
|
+
nodeId: string;
|
|
500
|
+
};
|
|
501
|
+
edge: "before" | "after";
|
|
502
|
+
});
|
|
327
503
|
};
|
|
328
504
|
value?: boolean | unknown;
|
|
505
|
+
ref?: string;
|
|
329
506
|
blockId?: string;
|
|
330
507
|
start?: number;
|
|
331
508
|
end?: number;
|
|
@@ -339,18 +516,40 @@ export interface DocFormatUnderlineParams {
|
|
|
339
516
|
changeMode?: string;
|
|
340
517
|
dryRun?: boolean;
|
|
341
518
|
target?: {
|
|
342
|
-
kind: "
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
}
|
|
519
|
+
kind: "selection";
|
|
520
|
+
start: ({
|
|
521
|
+
kind: "text";
|
|
522
|
+
blockId: string;
|
|
523
|
+
offset: number;
|
|
524
|
+
}) | ({
|
|
525
|
+
kind: "nodeEdge";
|
|
526
|
+
node: {
|
|
527
|
+
kind: "block";
|
|
528
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
529
|
+
nodeId: string;
|
|
530
|
+
};
|
|
531
|
+
edge: "before" | "after";
|
|
532
|
+
});
|
|
533
|
+
end: ({
|
|
534
|
+
kind: "text";
|
|
535
|
+
blockId: string;
|
|
536
|
+
offset: number;
|
|
537
|
+
}) | ({
|
|
538
|
+
kind: "nodeEdge";
|
|
539
|
+
node: {
|
|
540
|
+
kind: "block";
|
|
541
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
542
|
+
nodeId: string;
|
|
543
|
+
};
|
|
544
|
+
edge: "before" | "after";
|
|
545
|
+
});
|
|
348
546
|
};
|
|
349
547
|
value?: boolean | unknown | ({
|
|
350
548
|
style?: string | unknown;
|
|
351
549
|
color?: string | unknown;
|
|
352
550
|
themeColor?: string | unknown;
|
|
353
551
|
});
|
|
552
|
+
ref?: string;
|
|
354
553
|
blockId?: string;
|
|
355
554
|
start?: number;
|
|
356
555
|
end?: number;
|
|
@@ -364,14 +563,36 @@ export interface DocFormatHighlightParams {
|
|
|
364
563
|
changeMode?: string;
|
|
365
564
|
dryRun?: boolean;
|
|
366
565
|
target?: {
|
|
367
|
-
kind: "
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}
|
|
566
|
+
kind: "selection";
|
|
567
|
+
start: ({
|
|
568
|
+
kind: "text";
|
|
569
|
+
blockId: string;
|
|
570
|
+
offset: number;
|
|
571
|
+
}) | ({
|
|
572
|
+
kind: "nodeEdge";
|
|
573
|
+
node: {
|
|
574
|
+
kind: "block";
|
|
575
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
576
|
+
nodeId: string;
|
|
577
|
+
};
|
|
578
|
+
edge: "before" | "after";
|
|
579
|
+
});
|
|
580
|
+
end: ({
|
|
581
|
+
kind: "text";
|
|
582
|
+
blockId: string;
|
|
583
|
+
offset: number;
|
|
584
|
+
}) | ({
|
|
585
|
+
kind: "nodeEdge";
|
|
586
|
+
node: {
|
|
587
|
+
kind: "block";
|
|
588
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
589
|
+
nodeId: string;
|
|
590
|
+
};
|
|
591
|
+
edge: "before" | "after";
|
|
592
|
+
});
|
|
373
593
|
};
|
|
374
594
|
value?: string | unknown;
|
|
595
|
+
ref?: string;
|
|
375
596
|
blockId?: string;
|
|
376
597
|
start?: number;
|
|
377
598
|
end?: number;
|
|
@@ -385,14 +606,36 @@ export interface DocFormatColorParams {
|
|
|
385
606
|
changeMode?: string;
|
|
386
607
|
dryRun?: boolean;
|
|
387
608
|
target?: {
|
|
388
|
-
kind: "
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
}
|
|
609
|
+
kind: "selection";
|
|
610
|
+
start: ({
|
|
611
|
+
kind: "text";
|
|
612
|
+
blockId: string;
|
|
613
|
+
offset: number;
|
|
614
|
+
}) | ({
|
|
615
|
+
kind: "nodeEdge";
|
|
616
|
+
node: {
|
|
617
|
+
kind: "block";
|
|
618
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
619
|
+
nodeId: string;
|
|
620
|
+
};
|
|
621
|
+
edge: "before" | "after";
|
|
622
|
+
});
|
|
623
|
+
end: ({
|
|
624
|
+
kind: "text";
|
|
625
|
+
blockId: string;
|
|
626
|
+
offset: number;
|
|
627
|
+
}) | ({
|
|
628
|
+
kind: "nodeEdge";
|
|
629
|
+
node: {
|
|
630
|
+
kind: "block";
|
|
631
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
632
|
+
nodeId: string;
|
|
633
|
+
};
|
|
634
|
+
edge: "before" | "after";
|
|
635
|
+
});
|
|
394
636
|
};
|
|
395
637
|
value?: string | unknown;
|
|
638
|
+
ref?: string;
|
|
396
639
|
blockId?: string;
|
|
397
640
|
start?: number;
|
|
398
641
|
end?: number;
|
|
@@ -406,14 +649,36 @@ export interface DocFormatFontSizeParams {
|
|
|
406
649
|
changeMode?: string;
|
|
407
650
|
dryRun?: boolean;
|
|
408
651
|
target?: {
|
|
409
|
-
kind: "
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
}
|
|
652
|
+
kind: "selection";
|
|
653
|
+
start: ({
|
|
654
|
+
kind: "text";
|
|
655
|
+
blockId: string;
|
|
656
|
+
offset: number;
|
|
657
|
+
}) | ({
|
|
658
|
+
kind: "nodeEdge";
|
|
659
|
+
node: {
|
|
660
|
+
kind: "block";
|
|
661
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
662
|
+
nodeId: string;
|
|
663
|
+
};
|
|
664
|
+
edge: "before" | "after";
|
|
665
|
+
});
|
|
666
|
+
end: ({
|
|
667
|
+
kind: "text";
|
|
668
|
+
blockId: string;
|
|
669
|
+
offset: number;
|
|
670
|
+
}) | ({
|
|
671
|
+
kind: "nodeEdge";
|
|
672
|
+
node: {
|
|
673
|
+
kind: "block";
|
|
674
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
675
|
+
nodeId: string;
|
|
676
|
+
};
|
|
677
|
+
edge: "before" | "after";
|
|
678
|
+
});
|
|
415
679
|
};
|
|
416
680
|
value?: number | unknown;
|
|
681
|
+
ref?: string;
|
|
417
682
|
blockId?: string;
|
|
418
683
|
start?: number;
|
|
419
684
|
end?: number;
|
|
@@ -427,14 +692,36 @@ export interface DocFormatFontFamilyParams {
|
|
|
427
692
|
changeMode?: string;
|
|
428
693
|
dryRun?: boolean;
|
|
429
694
|
target?: {
|
|
430
|
-
kind: "
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
}
|
|
695
|
+
kind: "selection";
|
|
696
|
+
start: ({
|
|
697
|
+
kind: "text";
|
|
698
|
+
blockId: string;
|
|
699
|
+
offset: number;
|
|
700
|
+
}) | ({
|
|
701
|
+
kind: "nodeEdge";
|
|
702
|
+
node: {
|
|
703
|
+
kind: "block";
|
|
704
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
705
|
+
nodeId: string;
|
|
706
|
+
};
|
|
707
|
+
edge: "before" | "after";
|
|
708
|
+
});
|
|
709
|
+
end: ({
|
|
710
|
+
kind: "text";
|
|
711
|
+
blockId: string;
|
|
712
|
+
offset: number;
|
|
713
|
+
}) | ({
|
|
714
|
+
kind: "nodeEdge";
|
|
715
|
+
node: {
|
|
716
|
+
kind: "block";
|
|
717
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
718
|
+
nodeId: string;
|
|
719
|
+
};
|
|
720
|
+
edge: "before" | "after";
|
|
721
|
+
});
|
|
436
722
|
};
|
|
437
723
|
value?: string | unknown;
|
|
724
|
+
ref?: string;
|
|
438
725
|
blockId?: string;
|
|
439
726
|
start?: number;
|
|
440
727
|
end?: number;
|
|
@@ -448,14 +735,36 @@ export interface DocFormatLetterSpacingParams {
|
|
|
448
735
|
changeMode?: string;
|
|
449
736
|
dryRun?: boolean;
|
|
450
737
|
target?: {
|
|
451
|
-
kind: "
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
}
|
|
738
|
+
kind: "selection";
|
|
739
|
+
start: ({
|
|
740
|
+
kind: "text";
|
|
741
|
+
blockId: string;
|
|
742
|
+
offset: number;
|
|
743
|
+
}) | ({
|
|
744
|
+
kind: "nodeEdge";
|
|
745
|
+
node: {
|
|
746
|
+
kind: "block";
|
|
747
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
748
|
+
nodeId: string;
|
|
749
|
+
};
|
|
750
|
+
edge: "before" | "after";
|
|
751
|
+
});
|
|
752
|
+
end: ({
|
|
753
|
+
kind: "text";
|
|
754
|
+
blockId: string;
|
|
755
|
+
offset: number;
|
|
756
|
+
}) | ({
|
|
757
|
+
kind: "nodeEdge";
|
|
758
|
+
node: {
|
|
759
|
+
kind: "block";
|
|
760
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
761
|
+
nodeId: string;
|
|
762
|
+
};
|
|
763
|
+
edge: "before" | "after";
|
|
764
|
+
});
|
|
457
765
|
};
|
|
458
766
|
value?: number | unknown;
|
|
767
|
+
ref?: string;
|
|
459
768
|
blockId?: string;
|
|
460
769
|
start?: number;
|
|
461
770
|
end?: number;
|
|
@@ -469,14 +778,36 @@ export interface DocFormatVertAlignParams {
|
|
|
469
778
|
changeMode?: string;
|
|
470
779
|
dryRun?: boolean;
|
|
471
780
|
target?: {
|
|
472
|
-
kind: "
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
}
|
|
781
|
+
kind: "selection";
|
|
782
|
+
start: ({
|
|
783
|
+
kind: "text";
|
|
784
|
+
blockId: string;
|
|
785
|
+
offset: number;
|
|
786
|
+
}) | ({
|
|
787
|
+
kind: "nodeEdge";
|
|
788
|
+
node: {
|
|
789
|
+
kind: "block";
|
|
790
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
791
|
+
nodeId: string;
|
|
792
|
+
};
|
|
793
|
+
edge: "before" | "after";
|
|
794
|
+
});
|
|
795
|
+
end: ({
|
|
796
|
+
kind: "text";
|
|
797
|
+
blockId: string;
|
|
798
|
+
offset: number;
|
|
799
|
+
}) | ({
|
|
800
|
+
kind: "nodeEdge";
|
|
801
|
+
node: {
|
|
802
|
+
kind: "block";
|
|
803
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
804
|
+
nodeId: string;
|
|
805
|
+
};
|
|
806
|
+
edge: "before" | "after";
|
|
807
|
+
});
|
|
478
808
|
};
|
|
479
809
|
value?: "superscript" | "subscript" | "baseline" | unknown;
|
|
810
|
+
ref?: string;
|
|
480
811
|
blockId?: string;
|
|
481
812
|
start?: number;
|
|
482
813
|
end?: number;
|
|
@@ -490,14 +821,36 @@ export interface DocFormatPositionParams {
|
|
|
490
821
|
changeMode?: string;
|
|
491
822
|
dryRun?: boolean;
|
|
492
823
|
target?: {
|
|
493
|
-
kind: "
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
}
|
|
824
|
+
kind: "selection";
|
|
825
|
+
start: ({
|
|
826
|
+
kind: "text";
|
|
827
|
+
blockId: string;
|
|
828
|
+
offset: number;
|
|
829
|
+
}) | ({
|
|
830
|
+
kind: "nodeEdge";
|
|
831
|
+
node: {
|
|
832
|
+
kind: "block";
|
|
833
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
834
|
+
nodeId: string;
|
|
835
|
+
};
|
|
836
|
+
edge: "before" | "after";
|
|
837
|
+
});
|
|
838
|
+
end: ({
|
|
839
|
+
kind: "text";
|
|
840
|
+
blockId: string;
|
|
841
|
+
offset: number;
|
|
842
|
+
}) | ({
|
|
843
|
+
kind: "nodeEdge";
|
|
844
|
+
node: {
|
|
845
|
+
kind: "block";
|
|
846
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
847
|
+
nodeId: string;
|
|
848
|
+
};
|
|
849
|
+
edge: "before" | "after";
|
|
850
|
+
});
|
|
499
851
|
};
|
|
500
852
|
value?: number | unknown;
|
|
853
|
+
ref?: string;
|
|
501
854
|
blockId?: string;
|
|
502
855
|
start?: number;
|
|
503
856
|
end?: number;
|
|
@@ -511,14 +864,36 @@ export interface DocFormatDstrikeParams {
|
|
|
511
864
|
changeMode?: string;
|
|
512
865
|
dryRun?: boolean;
|
|
513
866
|
target?: {
|
|
514
|
-
kind: "
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
}
|
|
867
|
+
kind: "selection";
|
|
868
|
+
start: ({
|
|
869
|
+
kind: "text";
|
|
870
|
+
blockId: string;
|
|
871
|
+
offset: number;
|
|
872
|
+
}) | ({
|
|
873
|
+
kind: "nodeEdge";
|
|
874
|
+
node: {
|
|
875
|
+
kind: "block";
|
|
876
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
877
|
+
nodeId: string;
|
|
878
|
+
};
|
|
879
|
+
edge: "before" | "after";
|
|
880
|
+
});
|
|
881
|
+
end: ({
|
|
882
|
+
kind: "text";
|
|
883
|
+
blockId: string;
|
|
884
|
+
offset: number;
|
|
885
|
+
}) | ({
|
|
886
|
+
kind: "nodeEdge";
|
|
887
|
+
node: {
|
|
888
|
+
kind: "block";
|
|
889
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
890
|
+
nodeId: string;
|
|
891
|
+
};
|
|
892
|
+
edge: "before" | "after";
|
|
893
|
+
});
|
|
520
894
|
};
|
|
521
895
|
value?: boolean | unknown;
|
|
896
|
+
ref?: string;
|
|
522
897
|
blockId?: string;
|
|
523
898
|
start?: number;
|
|
524
899
|
end?: number;
|
|
@@ -532,14 +907,36 @@ export interface DocFormatSmallCapsParams {
|
|
|
532
907
|
changeMode?: string;
|
|
533
908
|
dryRun?: boolean;
|
|
534
909
|
target?: {
|
|
535
|
-
kind: "
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
}
|
|
910
|
+
kind: "selection";
|
|
911
|
+
start: ({
|
|
912
|
+
kind: "text";
|
|
913
|
+
blockId: string;
|
|
914
|
+
offset: number;
|
|
915
|
+
}) | ({
|
|
916
|
+
kind: "nodeEdge";
|
|
917
|
+
node: {
|
|
918
|
+
kind: "block";
|
|
919
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
920
|
+
nodeId: string;
|
|
921
|
+
};
|
|
922
|
+
edge: "before" | "after";
|
|
923
|
+
});
|
|
924
|
+
end: ({
|
|
925
|
+
kind: "text";
|
|
926
|
+
blockId: string;
|
|
927
|
+
offset: number;
|
|
928
|
+
}) | ({
|
|
929
|
+
kind: "nodeEdge";
|
|
930
|
+
node: {
|
|
931
|
+
kind: "block";
|
|
932
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
933
|
+
nodeId: string;
|
|
934
|
+
};
|
|
935
|
+
edge: "before" | "after";
|
|
936
|
+
});
|
|
541
937
|
};
|
|
542
938
|
value?: boolean | unknown;
|
|
939
|
+
ref?: string;
|
|
543
940
|
blockId?: string;
|
|
544
941
|
start?: number;
|
|
545
942
|
end?: number;
|
|
@@ -553,14 +950,36 @@ export interface DocFormatCapsParams {
|
|
|
553
950
|
changeMode?: string;
|
|
554
951
|
dryRun?: boolean;
|
|
555
952
|
target?: {
|
|
556
|
-
kind: "
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
}
|
|
953
|
+
kind: "selection";
|
|
954
|
+
start: ({
|
|
955
|
+
kind: "text";
|
|
956
|
+
blockId: string;
|
|
957
|
+
offset: number;
|
|
958
|
+
}) | ({
|
|
959
|
+
kind: "nodeEdge";
|
|
960
|
+
node: {
|
|
961
|
+
kind: "block";
|
|
962
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
963
|
+
nodeId: string;
|
|
964
|
+
};
|
|
965
|
+
edge: "before" | "after";
|
|
966
|
+
});
|
|
967
|
+
end: ({
|
|
968
|
+
kind: "text";
|
|
969
|
+
blockId: string;
|
|
970
|
+
offset: number;
|
|
971
|
+
}) | ({
|
|
972
|
+
kind: "nodeEdge";
|
|
973
|
+
node: {
|
|
974
|
+
kind: "block";
|
|
975
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
976
|
+
nodeId: string;
|
|
977
|
+
};
|
|
978
|
+
edge: "before" | "after";
|
|
979
|
+
});
|
|
562
980
|
};
|
|
563
981
|
value?: boolean | unknown;
|
|
982
|
+
ref?: string;
|
|
564
983
|
blockId?: string;
|
|
565
984
|
start?: number;
|
|
566
985
|
end?: number;
|
|
@@ -574,18 +993,40 @@ export interface DocFormatShadingParams {
|
|
|
574
993
|
changeMode?: string;
|
|
575
994
|
dryRun?: boolean;
|
|
576
995
|
target?: {
|
|
577
|
-
kind: "
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
}
|
|
996
|
+
kind: "selection";
|
|
997
|
+
start: ({
|
|
998
|
+
kind: "text";
|
|
999
|
+
blockId: string;
|
|
1000
|
+
offset: number;
|
|
1001
|
+
}) | ({
|
|
1002
|
+
kind: "nodeEdge";
|
|
1003
|
+
node: {
|
|
1004
|
+
kind: "block";
|
|
1005
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1006
|
+
nodeId: string;
|
|
1007
|
+
};
|
|
1008
|
+
edge: "before" | "after";
|
|
1009
|
+
});
|
|
1010
|
+
end: ({
|
|
1011
|
+
kind: "text";
|
|
1012
|
+
blockId: string;
|
|
1013
|
+
offset: number;
|
|
1014
|
+
}) | ({
|
|
1015
|
+
kind: "nodeEdge";
|
|
1016
|
+
node: {
|
|
1017
|
+
kind: "block";
|
|
1018
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1019
|
+
nodeId: string;
|
|
1020
|
+
};
|
|
1021
|
+
edge: "before" | "after";
|
|
1022
|
+
});
|
|
583
1023
|
};
|
|
584
1024
|
value?: ({
|
|
585
1025
|
fill?: string | unknown;
|
|
586
1026
|
color?: string | unknown;
|
|
587
1027
|
val?: string | unknown;
|
|
588
1028
|
}) | unknown;
|
|
1029
|
+
ref?: string;
|
|
589
1030
|
blockId?: string;
|
|
590
1031
|
start?: number;
|
|
591
1032
|
end?: number;
|
|
@@ -599,12 +1040,33 @@ export interface DocFormatBorderParams {
|
|
|
599
1040
|
changeMode?: string;
|
|
600
1041
|
dryRun?: boolean;
|
|
601
1042
|
target?: {
|
|
602
|
-
kind: "
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
}
|
|
1043
|
+
kind: "selection";
|
|
1044
|
+
start: ({
|
|
1045
|
+
kind: "text";
|
|
1046
|
+
blockId: string;
|
|
1047
|
+
offset: number;
|
|
1048
|
+
}) | ({
|
|
1049
|
+
kind: "nodeEdge";
|
|
1050
|
+
node: {
|
|
1051
|
+
kind: "block";
|
|
1052
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1053
|
+
nodeId: string;
|
|
1054
|
+
};
|
|
1055
|
+
edge: "before" | "after";
|
|
1056
|
+
});
|
|
1057
|
+
end: ({
|
|
1058
|
+
kind: "text";
|
|
1059
|
+
blockId: string;
|
|
1060
|
+
offset: number;
|
|
1061
|
+
}) | ({
|
|
1062
|
+
kind: "nodeEdge";
|
|
1063
|
+
node: {
|
|
1064
|
+
kind: "block";
|
|
1065
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1066
|
+
nodeId: string;
|
|
1067
|
+
};
|
|
1068
|
+
edge: "before" | "after";
|
|
1069
|
+
});
|
|
608
1070
|
};
|
|
609
1071
|
value?: ({
|
|
610
1072
|
val?: string | unknown;
|
|
@@ -612,6 +1074,7 @@ export interface DocFormatBorderParams {
|
|
|
612
1074
|
color?: string | unknown;
|
|
613
1075
|
space?: number | unknown;
|
|
614
1076
|
}) | unknown;
|
|
1077
|
+
ref?: string;
|
|
615
1078
|
blockId?: string;
|
|
616
1079
|
start?: number;
|
|
617
1080
|
end?: number;
|
|
@@ -625,14 +1088,36 @@ export interface DocFormatOutlineParams {
|
|
|
625
1088
|
changeMode?: string;
|
|
626
1089
|
dryRun?: boolean;
|
|
627
1090
|
target?: {
|
|
628
|
-
kind: "
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
}
|
|
1091
|
+
kind: "selection";
|
|
1092
|
+
start: ({
|
|
1093
|
+
kind: "text";
|
|
1094
|
+
blockId: string;
|
|
1095
|
+
offset: number;
|
|
1096
|
+
}) | ({
|
|
1097
|
+
kind: "nodeEdge";
|
|
1098
|
+
node: {
|
|
1099
|
+
kind: "block";
|
|
1100
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1101
|
+
nodeId: string;
|
|
1102
|
+
};
|
|
1103
|
+
edge: "before" | "after";
|
|
1104
|
+
});
|
|
1105
|
+
end: ({
|
|
1106
|
+
kind: "text";
|
|
1107
|
+
blockId: string;
|
|
1108
|
+
offset: number;
|
|
1109
|
+
}) | ({
|
|
1110
|
+
kind: "nodeEdge";
|
|
1111
|
+
node: {
|
|
1112
|
+
kind: "block";
|
|
1113
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1114
|
+
nodeId: string;
|
|
1115
|
+
};
|
|
1116
|
+
edge: "before" | "after";
|
|
1117
|
+
});
|
|
634
1118
|
};
|
|
635
1119
|
value?: boolean | unknown;
|
|
1120
|
+
ref?: string;
|
|
636
1121
|
blockId?: string;
|
|
637
1122
|
start?: number;
|
|
638
1123
|
end?: number;
|
|
@@ -646,14 +1131,36 @@ export interface DocFormatShadowParams {
|
|
|
646
1131
|
changeMode?: string;
|
|
647
1132
|
dryRun?: boolean;
|
|
648
1133
|
target?: {
|
|
649
|
-
kind: "
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
}
|
|
1134
|
+
kind: "selection";
|
|
1135
|
+
start: ({
|
|
1136
|
+
kind: "text";
|
|
1137
|
+
blockId: string;
|
|
1138
|
+
offset: number;
|
|
1139
|
+
}) | ({
|
|
1140
|
+
kind: "nodeEdge";
|
|
1141
|
+
node: {
|
|
1142
|
+
kind: "block";
|
|
1143
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1144
|
+
nodeId: string;
|
|
1145
|
+
};
|
|
1146
|
+
edge: "before" | "after";
|
|
1147
|
+
});
|
|
1148
|
+
end: ({
|
|
1149
|
+
kind: "text";
|
|
1150
|
+
blockId: string;
|
|
1151
|
+
offset: number;
|
|
1152
|
+
}) | ({
|
|
1153
|
+
kind: "nodeEdge";
|
|
1154
|
+
node: {
|
|
1155
|
+
kind: "block";
|
|
1156
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1157
|
+
nodeId: string;
|
|
1158
|
+
};
|
|
1159
|
+
edge: "before" | "after";
|
|
1160
|
+
});
|
|
655
1161
|
};
|
|
656
1162
|
value?: boolean | unknown;
|
|
1163
|
+
ref?: string;
|
|
657
1164
|
blockId?: string;
|
|
658
1165
|
start?: number;
|
|
659
1166
|
end?: number;
|
|
@@ -667,14 +1174,36 @@ export interface DocFormatEmbossParams {
|
|
|
667
1174
|
changeMode?: string;
|
|
668
1175
|
dryRun?: boolean;
|
|
669
1176
|
target?: {
|
|
670
|
-
kind: "
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
}
|
|
1177
|
+
kind: "selection";
|
|
1178
|
+
start: ({
|
|
1179
|
+
kind: "text";
|
|
1180
|
+
blockId: string;
|
|
1181
|
+
offset: number;
|
|
1182
|
+
}) | ({
|
|
1183
|
+
kind: "nodeEdge";
|
|
1184
|
+
node: {
|
|
1185
|
+
kind: "block";
|
|
1186
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1187
|
+
nodeId: string;
|
|
1188
|
+
};
|
|
1189
|
+
edge: "before" | "after";
|
|
1190
|
+
});
|
|
1191
|
+
end: ({
|
|
1192
|
+
kind: "text";
|
|
1193
|
+
blockId: string;
|
|
1194
|
+
offset: number;
|
|
1195
|
+
}) | ({
|
|
1196
|
+
kind: "nodeEdge";
|
|
1197
|
+
node: {
|
|
1198
|
+
kind: "block";
|
|
1199
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1200
|
+
nodeId: string;
|
|
1201
|
+
};
|
|
1202
|
+
edge: "before" | "after";
|
|
1203
|
+
});
|
|
676
1204
|
};
|
|
677
1205
|
value?: boolean | unknown;
|
|
1206
|
+
ref?: string;
|
|
678
1207
|
blockId?: string;
|
|
679
1208
|
start?: number;
|
|
680
1209
|
end?: number;
|
|
@@ -688,14 +1217,36 @@ export interface DocFormatImprintParams {
|
|
|
688
1217
|
changeMode?: string;
|
|
689
1218
|
dryRun?: boolean;
|
|
690
1219
|
target?: {
|
|
691
|
-
kind: "
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
}
|
|
1220
|
+
kind: "selection";
|
|
1221
|
+
start: ({
|
|
1222
|
+
kind: "text";
|
|
1223
|
+
blockId: string;
|
|
1224
|
+
offset: number;
|
|
1225
|
+
}) | ({
|
|
1226
|
+
kind: "nodeEdge";
|
|
1227
|
+
node: {
|
|
1228
|
+
kind: "block";
|
|
1229
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1230
|
+
nodeId: string;
|
|
1231
|
+
};
|
|
1232
|
+
edge: "before" | "after";
|
|
1233
|
+
});
|
|
1234
|
+
end: ({
|
|
1235
|
+
kind: "text";
|
|
1236
|
+
blockId: string;
|
|
1237
|
+
offset: number;
|
|
1238
|
+
}) | ({
|
|
1239
|
+
kind: "nodeEdge";
|
|
1240
|
+
node: {
|
|
1241
|
+
kind: "block";
|
|
1242
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1243
|
+
nodeId: string;
|
|
1244
|
+
};
|
|
1245
|
+
edge: "before" | "after";
|
|
1246
|
+
});
|
|
697
1247
|
};
|
|
698
1248
|
value?: boolean | unknown;
|
|
1249
|
+
ref?: string;
|
|
699
1250
|
blockId?: string;
|
|
700
1251
|
start?: number;
|
|
701
1252
|
end?: number;
|
|
@@ -709,14 +1260,36 @@ export interface DocFormatCharScaleParams {
|
|
|
709
1260
|
changeMode?: string;
|
|
710
1261
|
dryRun?: boolean;
|
|
711
1262
|
target?: {
|
|
712
|
-
kind: "
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
}
|
|
1263
|
+
kind: "selection";
|
|
1264
|
+
start: ({
|
|
1265
|
+
kind: "text";
|
|
1266
|
+
blockId: string;
|
|
1267
|
+
offset: number;
|
|
1268
|
+
}) | ({
|
|
1269
|
+
kind: "nodeEdge";
|
|
1270
|
+
node: {
|
|
1271
|
+
kind: "block";
|
|
1272
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1273
|
+
nodeId: string;
|
|
1274
|
+
};
|
|
1275
|
+
edge: "before" | "after";
|
|
1276
|
+
});
|
|
1277
|
+
end: ({
|
|
1278
|
+
kind: "text";
|
|
1279
|
+
blockId: string;
|
|
1280
|
+
offset: number;
|
|
1281
|
+
}) | ({
|
|
1282
|
+
kind: "nodeEdge";
|
|
1283
|
+
node: {
|
|
1284
|
+
kind: "block";
|
|
1285
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1286
|
+
nodeId: string;
|
|
1287
|
+
};
|
|
1288
|
+
edge: "before" | "after";
|
|
1289
|
+
});
|
|
718
1290
|
};
|
|
719
1291
|
value?: number | unknown;
|
|
1292
|
+
ref?: string;
|
|
720
1293
|
blockId?: string;
|
|
721
1294
|
start?: number;
|
|
722
1295
|
end?: number;
|
|
@@ -730,14 +1303,36 @@ export interface DocFormatKerningParams {
|
|
|
730
1303
|
changeMode?: string;
|
|
731
1304
|
dryRun?: boolean;
|
|
732
1305
|
target?: {
|
|
733
|
-
kind: "
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
}
|
|
1306
|
+
kind: "selection";
|
|
1307
|
+
start: ({
|
|
1308
|
+
kind: "text";
|
|
1309
|
+
blockId: string;
|
|
1310
|
+
offset: number;
|
|
1311
|
+
}) | ({
|
|
1312
|
+
kind: "nodeEdge";
|
|
1313
|
+
node: {
|
|
1314
|
+
kind: "block";
|
|
1315
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1316
|
+
nodeId: string;
|
|
1317
|
+
};
|
|
1318
|
+
edge: "before" | "after";
|
|
1319
|
+
});
|
|
1320
|
+
end: ({
|
|
1321
|
+
kind: "text";
|
|
1322
|
+
blockId: string;
|
|
1323
|
+
offset: number;
|
|
1324
|
+
}) | ({
|
|
1325
|
+
kind: "nodeEdge";
|
|
1326
|
+
node: {
|
|
1327
|
+
kind: "block";
|
|
1328
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1329
|
+
nodeId: string;
|
|
1330
|
+
};
|
|
1331
|
+
edge: "before" | "after";
|
|
1332
|
+
});
|
|
739
1333
|
};
|
|
740
1334
|
value?: number | unknown;
|
|
1335
|
+
ref?: string;
|
|
741
1336
|
blockId?: string;
|
|
742
1337
|
start?: number;
|
|
743
1338
|
end?: number;
|
|
@@ -751,14 +1346,36 @@ export interface DocFormatVanishParams {
|
|
|
751
1346
|
changeMode?: string;
|
|
752
1347
|
dryRun?: boolean;
|
|
753
1348
|
target?: {
|
|
754
|
-
kind: "
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
}
|
|
1349
|
+
kind: "selection";
|
|
1350
|
+
start: ({
|
|
1351
|
+
kind: "text";
|
|
1352
|
+
blockId: string;
|
|
1353
|
+
offset: number;
|
|
1354
|
+
}) | ({
|
|
1355
|
+
kind: "nodeEdge";
|
|
1356
|
+
node: {
|
|
1357
|
+
kind: "block";
|
|
1358
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1359
|
+
nodeId: string;
|
|
1360
|
+
};
|
|
1361
|
+
edge: "before" | "after";
|
|
1362
|
+
});
|
|
1363
|
+
end: ({
|
|
1364
|
+
kind: "text";
|
|
1365
|
+
blockId: string;
|
|
1366
|
+
offset: number;
|
|
1367
|
+
}) | ({
|
|
1368
|
+
kind: "nodeEdge";
|
|
1369
|
+
node: {
|
|
1370
|
+
kind: "block";
|
|
1371
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1372
|
+
nodeId: string;
|
|
1373
|
+
};
|
|
1374
|
+
edge: "before" | "after";
|
|
1375
|
+
});
|
|
760
1376
|
};
|
|
761
1377
|
value?: boolean | unknown;
|
|
1378
|
+
ref?: string;
|
|
762
1379
|
blockId?: string;
|
|
763
1380
|
start?: number;
|
|
764
1381
|
end?: number;
|
|
@@ -772,14 +1389,36 @@ export interface DocFormatWebHiddenParams {
|
|
|
772
1389
|
changeMode?: string;
|
|
773
1390
|
dryRun?: boolean;
|
|
774
1391
|
target?: {
|
|
775
|
-
kind: "
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
}
|
|
1392
|
+
kind: "selection";
|
|
1393
|
+
start: ({
|
|
1394
|
+
kind: "text";
|
|
1395
|
+
blockId: string;
|
|
1396
|
+
offset: number;
|
|
1397
|
+
}) | ({
|
|
1398
|
+
kind: "nodeEdge";
|
|
1399
|
+
node: {
|
|
1400
|
+
kind: "block";
|
|
1401
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1402
|
+
nodeId: string;
|
|
1403
|
+
};
|
|
1404
|
+
edge: "before" | "after";
|
|
1405
|
+
});
|
|
1406
|
+
end: ({
|
|
1407
|
+
kind: "text";
|
|
1408
|
+
blockId: string;
|
|
1409
|
+
offset: number;
|
|
1410
|
+
}) | ({
|
|
1411
|
+
kind: "nodeEdge";
|
|
1412
|
+
node: {
|
|
1413
|
+
kind: "block";
|
|
1414
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1415
|
+
nodeId: string;
|
|
1416
|
+
};
|
|
1417
|
+
edge: "before" | "after";
|
|
1418
|
+
});
|
|
781
1419
|
};
|
|
782
1420
|
value?: boolean | unknown;
|
|
1421
|
+
ref?: string;
|
|
783
1422
|
blockId?: string;
|
|
784
1423
|
start?: number;
|
|
785
1424
|
end?: number;
|
|
@@ -793,14 +1432,36 @@ export interface DocFormatSpecVanishParams {
|
|
|
793
1432
|
changeMode?: string;
|
|
794
1433
|
dryRun?: boolean;
|
|
795
1434
|
target?: {
|
|
796
|
-
kind: "
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
}
|
|
1435
|
+
kind: "selection";
|
|
1436
|
+
start: ({
|
|
1437
|
+
kind: "text";
|
|
1438
|
+
blockId: string;
|
|
1439
|
+
offset: number;
|
|
1440
|
+
}) | ({
|
|
1441
|
+
kind: "nodeEdge";
|
|
1442
|
+
node: {
|
|
1443
|
+
kind: "block";
|
|
1444
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1445
|
+
nodeId: string;
|
|
1446
|
+
};
|
|
1447
|
+
edge: "before" | "after";
|
|
1448
|
+
});
|
|
1449
|
+
end: ({
|
|
1450
|
+
kind: "text";
|
|
1451
|
+
blockId: string;
|
|
1452
|
+
offset: number;
|
|
1453
|
+
}) | ({
|
|
1454
|
+
kind: "nodeEdge";
|
|
1455
|
+
node: {
|
|
1456
|
+
kind: "block";
|
|
1457
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1458
|
+
nodeId: string;
|
|
1459
|
+
};
|
|
1460
|
+
edge: "before" | "after";
|
|
1461
|
+
});
|
|
802
1462
|
};
|
|
803
1463
|
value?: boolean | unknown;
|
|
1464
|
+
ref?: string;
|
|
804
1465
|
blockId?: string;
|
|
805
1466
|
start?: number;
|
|
806
1467
|
end?: number;
|
|
@@ -814,14 +1475,36 @@ export interface DocFormatRtlParams {
|
|
|
814
1475
|
changeMode?: string;
|
|
815
1476
|
dryRun?: boolean;
|
|
816
1477
|
target?: {
|
|
817
|
-
kind: "
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
}
|
|
1478
|
+
kind: "selection";
|
|
1479
|
+
start: ({
|
|
1480
|
+
kind: "text";
|
|
1481
|
+
blockId: string;
|
|
1482
|
+
offset: number;
|
|
1483
|
+
}) | ({
|
|
1484
|
+
kind: "nodeEdge";
|
|
1485
|
+
node: {
|
|
1486
|
+
kind: "block";
|
|
1487
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1488
|
+
nodeId: string;
|
|
1489
|
+
};
|
|
1490
|
+
edge: "before" | "after";
|
|
1491
|
+
});
|
|
1492
|
+
end: ({
|
|
1493
|
+
kind: "text";
|
|
1494
|
+
blockId: string;
|
|
1495
|
+
offset: number;
|
|
1496
|
+
}) | ({
|
|
1497
|
+
kind: "nodeEdge";
|
|
1498
|
+
node: {
|
|
1499
|
+
kind: "block";
|
|
1500
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1501
|
+
nodeId: string;
|
|
1502
|
+
};
|
|
1503
|
+
edge: "before" | "after";
|
|
1504
|
+
});
|
|
823
1505
|
};
|
|
824
1506
|
value?: boolean | unknown;
|
|
1507
|
+
ref?: string;
|
|
825
1508
|
blockId?: string;
|
|
826
1509
|
start?: number;
|
|
827
1510
|
end?: number;
|
|
@@ -835,14 +1518,36 @@ export interface DocFormatCsParams {
|
|
|
835
1518
|
changeMode?: string;
|
|
836
1519
|
dryRun?: boolean;
|
|
837
1520
|
target?: {
|
|
838
|
-
kind: "
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
}
|
|
1521
|
+
kind: "selection";
|
|
1522
|
+
start: ({
|
|
1523
|
+
kind: "text";
|
|
1524
|
+
blockId: string;
|
|
1525
|
+
offset: number;
|
|
1526
|
+
}) | ({
|
|
1527
|
+
kind: "nodeEdge";
|
|
1528
|
+
node: {
|
|
1529
|
+
kind: "block";
|
|
1530
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1531
|
+
nodeId: string;
|
|
1532
|
+
};
|
|
1533
|
+
edge: "before" | "after";
|
|
1534
|
+
});
|
|
1535
|
+
end: ({
|
|
1536
|
+
kind: "text";
|
|
1537
|
+
blockId: string;
|
|
1538
|
+
offset: number;
|
|
1539
|
+
}) | ({
|
|
1540
|
+
kind: "nodeEdge";
|
|
1541
|
+
node: {
|
|
1542
|
+
kind: "block";
|
|
1543
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1544
|
+
nodeId: string;
|
|
1545
|
+
};
|
|
1546
|
+
edge: "before" | "after";
|
|
1547
|
+
});
|
|
844
1548
|
};
|
|
845
1549
|
value?: boolean | unknown;
|
|
1550
|
+
ref?: string;
|
|
846
1551
|
blockId?: string;
|
|
847
1552
|
start?: number;
|
|
848
1553
|
end?: number;
|
|
@@ -856,14 +1561,36 @@ export interface DocFormatBCsParams {
|
|
|
856
1561
|
changeMode?: string;
|
|
857
1562
|
dryRun?: boolean;
|
|
858
1563
|
target?: {
|
|
859
|
-
kind: "
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
}
|
|
1564
|
+
kind: "selection";
|
|
1565
|
+
start: ({
|
|
1566
|
+
kind: "text";
|
|
1567
|
+
blockId: string;
|
|
1568
|
+
offset: number;
|
|
1569
|
+
}) | ({
|
|
1570
|
+
kind: "nodeEdge";
|
|
1571
|
+
node: {
|
|
1572
|
+
kind: "block";
|
|
1573
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1574
|
+
nodeId: string;
|
|
1575
|
+
};
|
|
1576
|
+
edge: "before" | "after";
|
|
1577
|
+
});
|
|
1578
|
+
end: ({
|
|
1579
|
+
kind: "text";
|
|
1580
|
+
blockId: string;
|
|
1581
|
+
offset: number;
|
|
1582
|
+
}) | ({
|
|
1583
|
+
kind: "nodeEdge";
|
|
1584
|
+
node: {
|
|
1585
|
+
kind: "block";
|
|
1586
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1587
|
+
nodeId: string;
|
|
1588
|
+
};
|
|
1589
|
+
edge: "before" | "after";
|
|
1590
|
+
});
|
|
865
1591
|
};
|
|
866
1592
|
value?: boolean | unknown;
|
|
1593
|
+
ref?: string;
|
|
867
1594
|
blockId?: string;
|
|
868
1595
|
start?: number;
|
|
869
1596
|
end?: number;
|
|
@@ -877,14 +1604,36 @@ export interface DocFormatICsParams {
|
|
|
877
1604
|
changeMode?: string;
|
|
878
1605
|
dryRun?: boolean;
|
|
879
1606
|
target?: {
|
|
880
|
-
kind: "
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
}
|
|
1607
|
+
kind: "selection";
|
|
1608
|
+
start: ({
|
|
1609
|
+
kind: "text";
|
|
1610
|
+
blockId: string;
|
|
1611
|
+
offset: number;
|
|
1612
|
+
}) | ({
|
|
1613
|
+
kind: "nodeEdge";
|
|
1614
|
+
node: {
|
|
1615
|
+
kind: "block";
|
|
1616
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1617
|
+
nodeId: string;
|
|
1618
|
+
};
|
|
1619
|
+
edge: "before" | "after";
|
|
1620
|
+
});
|
|
1621
|
+
end: ({
|
|
1622
|
+
kind: "text";
|
|
1623
|
+
blockId: string;
|
|
1624
|
+
offset: number;
|
|
1625
|
+
}) | ({
|
|
1626
|
+
kind: "nodeEdge";
|
|
1627
|
+
node: {
|
|
1628
|
+
kind: "block";
|
|
1629
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1630
|
+
nodeId: string;
|
|
1631
|
+
};
|
|
1632
|
+
edge: "before" | "after";
|
|
1633
|
+
});
|
|
886
1634
|
};
|
|
887
1635
|
value?: boolean | unknown;
|
|
1636
|
+
ref?: string;
|
|
888
1637
|
blockId?: string;
|
|
889
1638
|
start?: number;
|
|
890
1639
|
end?: number;
|
|
@@ -898,12 +1647,33 @@ export interface DocFormatEastAsianLayoutParams {
|
|
|
898
1647
|
changeMode?: string;
|
|
899
1648
|
dryRun?: boolean;
|
|
900
1649
|
target?: {
|
|
901
|
-
kind: "
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
}
|
|
1650
|
+
kind: "selection";
|
|
1651
|
+
start: ({
|
|
1652
|
+
kind: "text";
|
|
1653
|
+
blockId: string;
|
|
1654
|
+
offset: number;
|
|
1655
|
+
}) | ({
|
|
1656
|
+
kind: "nodeEdge";
|
|
1657
|
+
node: {
|
|
1658
|
+
kind: "block";
|
|
1659
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1660
|
+
nodeId: string;
|
|
1661
|
+
};
|
|
1662
|
+
edge: "before" | "after";
|
|
1663
|
+
});
|
|
1664
|
+
end: ({
|
|
1665
|
+
kind: "text";
|
|
1666
|
+
blockId: string;
|
|
1667
|
+
offset: number;
|
|
1668
|
+
}) | ({
|
|
1669
|
+
kind: "nodeEdge";
|
|
1670
|
+
node: {
|
|
1671
|
+
kind: "block";
|
|
1672
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1673
|
+
nodeId: string;
|
|
1674
|
+
};
|
|
1675
|
+
edge: "before" | "after";
|
|
1676
|
+
});
|
|
907
1677
|
};
|
|
908
1678
|
value?: ({
|
|
909
1679
|
id?: string | unknown;
|
|
@@ -912,6 +1682,7 @@ export interface DocFormatEastAsianLayoutParams {
|
|
|
912
1682
|
vert?: boolean | unknown;
|
|
913
1683
|
vertCompress?: boolean | unknown;
|
|
914
1684
|
}) | unknown;
|
|
1685
|
+
ref?: string;
|
|
915
1686
|
blockId?: string;
|
|
916
1687
|
start?: number;
|
|
917
1688
|
end?: number;
|
|
@@ -925,14 +1696,36 @@ export interface DocFormatEmParams {
|
|
|
925
1696
|
changeMode?: string;
|
|
926
1697
|
dryRun?: boolean;
|
|
927
1698
|
target?: {
|
|
928
|
-
kind: "
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
}
|
|
1699
|
+
kind: "selection";
|
|
1700
|
+
start: ({
|
|
1701
|
+
kind: "text";
|
|
1702
|
+
blockId: string;
|
|
1703
|
+
offset: number;
|
|
1704
|
+
}) | ({
|
|
1705
|
+
kind: "nodeEdge";
|
|
1706
|
+
node: {
|
|
1707
|
+
kind: "block";
|
|
1708
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1709
|
+
nodeId: string;
|
|
1710
|
+
};
|
|
1711
|
+
edge: "before" | "after";
|
|
1712
|
+
});
|
|
1713
|
+
end: ({
|
|
1714
|
+
kind: "text";
|
|
1715
|
+
blockId: string;
|
|
1716
|
+
offset: number;
|
|
1717
|
+
}) | ({
|
|
1718
|
+
kind: "nodeEdge";
|
|
1719
|
+
node: {
|
|
1720
|
+
kind: "block";
|
|
1721
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1722
|
+
nodeId: string;
|
|
1723
|
+
};
|
|
1724
|
+
edge: "before" | "after";
|
|
1725
|
+
});
|
|
934
1726
|
};
|
|
935
1727
|
value?: string | unknown;
|
|
1728
|
+
ref?: string;
|
|
936
1729
|
blockId?: string;
|
|
937
1730
|
start?: number;
|
|
938
1731
|
end?: number;
|
|
@@ -946,17 +1739,39 @@ export interface DocFormatFitTextParams {
|
|
|
946
1739
|
changeMode?: string;
|
|
947
1740
|
dryRun?: boolean;
|
|
948
1741
|
target?: {
|
|
949
|
-
kind: "
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
}
|
|
1742
|
+
kind: "selection";
|
|
1743
|
+
start: ({
|
|
1744
|
+
kind: "text";
|
|
1745
|
+
blockId: string;
|
|
1746
|
+
offset: number;
|
|
1747
|
+
}) | ({
|
|
1748
|
+
kind: "nodeEdge";
|
|
1749
|
+
node: {
|
|
1750
|
+
kind: "block";
|
|
1751
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1752
|
+
nodeId: string;
|
|
1753
|
+
};
|
|
1754
|
+
edge: "before" | "after";
|
|
1755
|
+
});
|
|
1756
|
+
end: ({
|
|
1757
|
+
kind: "text";
|
|
1758
|
+
blockId: string;
|
|
1759
|
+
offset: number;
|
|
1760
|
+
}) | ({
|
|
1761
|
+
kind: "nodeEdge";
|
|
1762
|
+
node: {
|
|
1763
|
+
kind: "block";
|
|
1764
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1765
|
+
nodeId: string;
|
|
1766
|
+
};
|
|
1767
|
+
edge: "before" | "after";
|
|
1768
|
+
});
|
|
955
1769
|
};
|
|
956
1770
|
value?: ({
|
|
957
1771
|
val?: number | unknown;
|
|
958
1772
|
id?: string | unknown;
|
|
959
1773
|
}) | unknown;
|
|
1774
|
+
ref?: string;
|
|
960
1775
|
blockId?: string;
|
|
961
1776
|
start?: number;
|
|
962
1777
|
end?: number;
|
|
@@ -970,14 +1785,36 @@ export interface DocFormatSnapToGridParams {
|
|
|
970
1785
|
changeMode?: string;
|
|
971
1786
|
dryRun?: boolean;
|
|
972
1787
|
target?: {
|
|
973
|
-
kind: "
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
}
|
|
1788
|
+
kind: "selection";
|
|
1789
|
+
start: ({
|
|
1790
|
+
kind: "text";
|
|
1791
|
+
blockId: string;
|
|
1792
|
+
offset: number;
|
|
1793
|
+
}) | ({
|
|
1794
|
+
kind: "nodeEdge";
|
|
1795
|
+
node: {
|
|
1796
|
+
kind: "block";
|
|
1797
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1798
|
+
nodeId: string;
|
|
1799
|
+
};
|
|
1800
|
+
edge: "before" | "after";
|
|
1801
|
+
});
|
|
1802
|
+
end: ({
|
|
1803
|
+
kind: "text";
|
|
1804
|
+
blockId: string;
|
|
1805
|
+
offset: number;
|
|
1806
|
+
}) | ({
|
|
1807
|
+
kind: "nodeEdge";
|
|
1808
|
+
node: {
|
|
1809
|
+
kind: "block";
|
|
1810
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1811
|
+
nodeId: string;
|
|
1812
|
+
};
|
|
1813
|
+
edge: "before" | "after";
|
|
1814
|
+
});
|
|
979
1815
|
};
|
|
980
1816
|
value?: boolean | unknown;
|
|
1817
|
+
ref?: string;
|
|
981
1818
|
blockId?: string;
|
|
982
1819
|
start?: number;
|
|
983
1820
|
end?: number;
|
|
@@ -991,18 +1828,40 @@ export interface DocFormatLangParams {
|
|
|
991
1828
|
changeMode?: string;
|
|
992
1829
|
dryRun?: boolean;
|
|
993
1830
|
target?: {
|
|
994
|
-
kind: "
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
}
|
|
1831
|
+
kind: "selection";
|
|
1832
|
+
start: ({
|
|
1833
|
+
kind: "text";
|
|
1834
|
+
blockId: string;
|
|
1835
|
+
offset: number;
|
|
1836
|
+
}) | ({
|
|
1837
|
+
kind: "nodeEdge";
|
|
1838
|
+
node: {
|
|
1839
|
+
kind: "block";
|
|
1840
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1841
|
+
nodeId: string;
|
|
1842
|
+
};
|
|
1843
|
+
edge: "before" | "after";
|
|
1844
|
+
});
|
|
1845
|
+
end: ({
|
|
1846
|
+
kind: "text";
|
|
1847
|
+
blockId: string;
|
|
1848
|
+
offset: number;
|
|
1849
|
+
}) | ({
|
|
1850
|
+
kind: "nodeEdge";
|
|
1851
|
+
node: {
|
|
1852
|
+
kind: "block";
|
|
1853
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1854
|
+
nodeId: string;
|
|
1855
|
+
};
|
|
1856
|
+
edge: "before" | "after";
|
|
1857
|
+
});
|
|
1000
1858
|
};
|
|
1001
1859
|
value?: ({
|
|
1002
1860
|
val?: string | unknown;
|
|
1003
1861
|
eastAsia?: string | unknown;
|
|
1004
1862
|
bidi?: string | unknown;
|
|
1005
1863
|
}) | unknown;
|
|
1864
|
+
ref?: string;
|
|
1006
1865
|
blockId?: string;
|
|
1007
1866
|
start?: number;
|
|
1008
1867
|
end?: number;
|
|
@@ -1016,14 +1875,36 @@ export interface DocFormatOMathParams {
|
|
|
1016
1875
|
changeMode?: string;
|
|
1017
1876
|
dryRun?: boolean;
|
|
1018
1877
|
target?: {
|
|
1019
|
-
kind: "
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
}
|
|
1878
|
+
kind: "selection";
|
|
1879
|
+
start: ({
|
|
1880
|
+
kind: "text";
|
|
1881
|
+
blockId: string;
|
|
1882
|
+
offset: number;
|
|
1883
|
+
}) | ({
|
|
1884
|
+
kind: "nodeEdge";
|
|
1885
|
+
node: {
|
|
1886
|
+
kind: "block";
|
|
1887
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1888
|
+
nodeId: string;
|
|
1889
|
+
};
|
|
1890
|
+
edge: "before" | "after";
|
|
1891
|
+
});
|
|
1892
|
+
end: ({
|
|
1893
|
+
kind: "text";
|
|
1894
|
+
blockId: string;
|
|
1895
|
+
offset: number;
|
|
1896
|
+
}) | ({
|
|
1897
|
+
kind: "nodeEdge";
|
|
1898
|
+
node: {
|
|
1899
|
+
kind: "block";
|
|
1900
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1901
|
+
nodeId: string;
|
|
1902
|
+
};
|
|
1903
|
+
edge: "before" | "after";
|
|
1904
|
+
});
|
|
1025
1905
|
};
|
|
1026
1906
|
value?: boolean | unknown;
|
|
1907
|
+
ref?: string;
|
|
1027
1908
|
blockId?: string;
|
|
1028
1909
|
start?: number;
|
|
1029
1910
|
end?: number;
|
|
@@ -1037,14 +1918,36 @@ export interface DocFormatRStyleParams {
|
|
|
1037
1918
|
changeMode?: string;
|
|
1038
1919
|
dryRun?: boolean;
|
|
1039
1920
|
target?: {
|
|
1040
|
-
kind: "
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
}
|
|
1921
|
+
kind: "selection";
|
|
1922
|
+
start: ({
|
|
1923
|
+
kind: "text";
|
|
1924
|
+
blockId: string;
|
|
1925
|
+
offset: number;
|
|
1926
|
+
}) | ({
|
|
1927
|
+
kind: "nodeEdge";
|
|
1928
|
+
node: {
|
|
1929
|
+
kind: "block";
|
|
1930
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1931
|
+
nodeId: string;
|
|
1932
|
+
};
|
|
1933
|
+
edge: "before" | "after";
|
|
1934
|
+
});
|
|
1935
|
+
end: ({
|
|
1936
|
+
kind: "text";
|
|
1937
|
+
blockId: string;
|
|
1938
|
+
offset: number;
|
|
1939
|
+
}) | ({
|
|
1940
|
+
kind: "nodeEdge";
|
|
1941
|
+
node: {
|
|
1942
|
+
kind: "block";
|
|
1943
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1944
|
+
nodeId: string;
|
|
1945
|
+
};
|
|
1946
|
+
edge: "before" | "after";
|
|
1947
|
+
});
|
|
1046
1948
|
};
|
|
1047
1949
|
value?: string | unknown;
|
|
1950
|
+
ref?: string;
|
|
1048
1951
|
blockId?: string;
|
|
1049
1952
|
start?: number;
|
|
1050
1953
|
end?: number;
|
|
@@ -1058,12 +1961,33 @@ export interface DocFormatRFontsParams {
|
|
|
1058
1961
|
changeMode?: string;
|
|
1059
1962
|
dryRun?: boolean;
|
|
1060
1963
|
target?: {
|
|
1061
|
-
kind: "
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
}
|
|
1964
|
+
kind: "selection";
|
|
1965
|
+
start: ({
|
|
1966
|
+
kind: "text";
|
|
1967
|
+
blockId: string;
|
|
1968
|
+
offset: number;
|
|
1969
|
+
}) | ({
|
|
1970
|
+
kind: "nodeEdge";
|
|
1971
|
+
node: {
|
|
1972
|
+
kind: "block";
|
|
1973
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1974
|
+
nodeId: string;
|
|
1975
|
+
};
|
|
1976
|
+
edge: "before" | "after";
|
|
1977
|
+
});
|
|
1978
|
+
end: ({
|
|
1979
|
+
kind: "text";
|
|
1980
|
+
blockId: string;
|
|
1981
|
+
offset: number;
|
|
1982
|
+
}) | ({
|
|
1983
|
+
kind: "nodeEdge";
|
|
1984
|
+
node: {
|
|
1985
|
+
kind: "block";
|
|
1986
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
1987
|
+
nodeId: string;
|
|
1988
|
+
};
|
|
1989
|
+
edge: "before" | "after";
|
|
1990
|
+
});
|
|
1067
1991
|
};
|
|
1068
1992
|
value?: ({
|
|
1069
1993
|
ascii?: string | unknown;
|
|
@@ -1076,6 +2000,7 @@ export interface DocFormatRFontsParams {
|
|
|
1076
2000
|
csTheme?: string | unknown;
|
|
1077
2001
|
hint?: string | unknown;
|
|
1078
2002
|
}) | unknown;
|
|
2003
|
+
ref?: string;
|
|
1079
2004
|
blockId?: string;
|
|
1080
2005
|
start?: number;
|
|
1081
2006
|
end?: number;
|
|
@@ -1089,14 +2014,36 @@ export interface DocFormatFontSizeCsParams {
|
|
|
1089
2014
|
changeMode?: string;
|
|
1090
2015
|
dryRun?: boolean;
|
|
1091
2016
|
target?: {
|
|
1092
|
-
kind: "
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
}
|
|
2017
|
+
kind: "selection";
|
|
2018
|
+
start: ({
|
|
2019
|
+
kind: "text";
|
|
2020
|
+
blockId: string;
|
|
2021
|
+
offset: number;
|
|
2022
|
+
}) | ({
|
|
2023
|
+
kind: "nodeEdge";
|
|
2024
|
+
node: {
|
|
2025
|
+
kind: "block";
|
|
2026
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2027
|
+
nodeId: string;
|
|
2028
|
+
};
|
|
2029
|
+
edge: "before" | "after";
|
|
2030
|
+
});
|
|
2031
|
+
end: ({
|
|
2032
|
+
kind: "text";
|
|
2033
|
+
blockId: string;
|
|
2034
|
+
offset: number;
|
|
2035
|
+
}) | ({
|
|
2036
|
+
kind: "nodeEdge";
|
|
2037
|
+
node: {
|
|
2038
|
+
kind: "block";
|
|
2039
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2040
|
+
nodeId: string;
|
|
2041
|
+
};
|
|
2042
|
+
edge: "before" | "after";
|
|
2043
|
+
});
|
|
1098
2044
|
};
|
|
1099
2045
|
value?: number | unknown;
|
|
2046
|
+
ref?: string;
|
|
1100
2047
|
blockId?: string;
|
|
1101
2048
|
start?: number;
|
|
1102
2049
|
end?: number;
|
|
@@ -1110,14 +2057,36 @@ export interface DocFormatLigaturesParams {
|
|
|
1110
2057
|
changeMode?: string;
|
|
1111
2058
|
dryRun?: boolean;
|
|
1112
2059
|
target?: {
|
|
1113
|
-
kind: "
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
}
|
|
2060
|
+
kind: "selection";
|
|
2061
|
+
start: ({
|
|
2062
|
+
kind: "text";
|
|
2063
|
+
blockId: string;
|
|
2064
|
+
offset: number;
|
|
2065
|
+
}) | ({
|
|
2066
|
+
kind: "nodeEdge";
|
|
2067
|
+
node: {
|
|
2068
|
+
kind: "block";
|
|
2069
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2070
|
+
nodeId: string;
|
|
2071
|
+
};
|
|
2072
|
+
edge: "before" | "after";
|
|
2073
|
+
});
|
|
2074
|
+
end: ({
|
|
2075
|
+
kind: "text";
|
|
2076
|
+
blockId: string;
|
|
2077
|
+
offset: number;
|
|
2078
|
+
}) | ({
|
|
2079
|
+
kind: "nodeEdge";
|
|
2080
|
+
node: {
|
|
2081
|
+
kind: "block";
|
|
2082
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2083
|
+
nodeId: string;
|
|
2084
|
+
};
|
|
2085
|
+
edge: "before" | "after";
|
|
2086
|
+
});
|
|
1119
2087
|
};
|
|
1120
2088
|
value?: string | unknown;
|
|
2089
|
+
ref?: string;
|
|
1121
2090
|
blockId?: string;
|
|
1122
2091
|
start?: number;
|
|
1123
2092
|
end?: number;
|
|
@@ -1131,14 +2100,36 @@ export interface DocFormatNumFormParams {
|
|
|
1131
2100
|
changeMode?: string;
|
|
1132
2101
|
dryRun?: boolean;
|
|
1133
2102
|
target?: {
|
|
1134
|
-
kind: "
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
}
|
|
2103
|
+
kind: "selection";
|
|
2104
|
+
start: ({
|
|
2105
|
+
kind: "text";
|
|
2106
|
+
blockId: string;
|
|
2107
|
+
offset: number;
|
|
2108
|
+
}) | ({
|
|
2109
|
+
kind: "nodeEdge";
|
|
2110
|
+
node: {
|
|
2111
|
+
kind: "block";
|
|
2112
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2113
|
+
nodeId: string;
|
|
2114
|
+
};
|
|
2115
|
+
edge: "before" | "after";
|
|
2116
|
+
});
|
|
2117
|
+
end: ({
|
|
2118
|
+
kind: "text";
|
|
2119
|
+
blockId: string;
|
|
2120
|
+
offset: number;
|
|
2121
|
+
}) | ({
|
|
2122
|
+
kind: "nodeEdge";
|
|
2123
|
+
node: {
|
|
2124
|
+
kind: "block";
|
|
2125
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2126
|
+
nodeId: string;
|
|
2127
|
+
};
|
|
2128
|
+
edge: "before" | "after";
|
|
2129
|
+
});
|
|
1140
2130
|
};
|
|
1141
2131
|
value?: string | unknown;
|
|
2132
|
+
ref?: string;
|
|
1142
2133
|
blockId?: string;
|
|
1143
2134
|
start?: number;
|
|
1144
2135
|
end?: number;
|
|
@@ -1152,14 +2143,36 @@ export interface DocFormatNumSpacingParams {
|
|
|
1152
2143
|
changeMode?: string;
|
|
1153
2144
|
dryRun?: boolean;
|
|
1154
2145
|
target?: {
|
|
1155
|
-
kind: "
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
}
|
|
2146
|
+
kind: "selection";
|
|
2147
|
+
start: ({
|
|
2148
|
+
kind: "text";
|
|
2149
|
+
blockId: string;
|
|
2150
|
+
offset: number;
|
|
2151
|
+
}) | ({
|
|
2152
|
+
kind: "nodeEdge";
|
|
2153
|
+
node: {
|
|
2154
|
+
kind: "block";
|
|
2155
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2156
|
+
nodeId: string;
|
|
2157
|
+
};
|
|
2158
|
+
edge: "before" | "after";
|
|
2159
|
+
});
|
|
2160
|
+
end: ({
|
|
2161
|
+
kind: "text";
|
|
2162
|
+
blockId: string;
|
|
2163
|
+
offset: number;
|
|
2164
|
+
}) | ({
|
|
2165
|
+
kind: "nodeEdge";
|
|
2166
|
+
node: {
|
|
2167
|
+
kind: "block";
|
|
2168
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2169
|
+
nodeId: string;
|
|
2170
|
+
};
|
|
2171
|
+
edge: "before" | "after";
|
|
2172
|
+
});
|
|
1161
2173
|
};
|
|
1162
2174
|
value?: string | unknown;
|
|
2175
|
+
ref?: string;
|
|
1163
2176
|
blockId?: string;
|
|
1164
2177
|
start?: number;
|
|
1165
2178
|
end?: number;
|
|
@@ -1173,17 +2186,39 @@ export interface DocFormatStylisticSetsParams {
|
|
|
1173
2186
|
changeMode?: string;
|
|
1174
2187
|
dryRun?: boolean;
|
|
1175
2188
|
target?: {
|
|
1176
|
-
kind: "
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
}
|
|
2189
|
+
kind: "selection";
|
|
2190
|
+
start: ({
|
|
2191
|
+
kind: "text";
|
|
2192
|
+
blockId: string;
|
|
2193
|
+
offset: number;
|
|
2194
|
+
}) | ({
|
|
2195
|
+
kind: "nodeEdge";
|
|
2196
|
+
node: {
|
|
2197
|
+
kind: "block";
|
|
2198
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2199
|
+
nodeId: string;
|
|
2200
|
+
};
|
|
2201
|
+
edge: "before" | "after";
|
|
2202
|
+
});
|
|
2203
|
+
end: ({
|
|
2204
|
+
kind: "text";
|
|
2205
|
+
blockId: string;
|
|
2206
|
+
offset: number;
|
|
2207
|
+
}) | ({
|
|
2208
|
+
kind: "nodeEdge";
|
|
2209
|
+
node: {
|
|
2210
|
+
kind: "block";
|
|
2211
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2212
|
+
nodeId: string;
|
|
2213
|
+
};
|
|
2214
|
+
edge: "before" | "after";
|
|
2215
|
+
});
|
|
1182
2216
|
};
|
|
1183
2217
|
value?: (Array<{
|
|
1184
2218
|
id: number;
|
|
1185
2219
|
val?: boolean;
|
|
1186
2220
|
}>) | unknown;
|
|
2221
|
+
ref?: string;
|
|
1187
2222
|
blockId?: string;
|
|
1188
2223
|
start?: number;
|
|
1189
2224
|
end?: number;
|
|
@@ -1197,14 +2232,36 @@ export interface DocFormatContextualAlternatesParams {
|
|
|
1197
2232
|
changeMode?: string;
|
|
1198
2233
|
dryRun?: boolean;
|
|
1199
2234
|
target?: {
|
|
1200
|
-
kind: "
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
}
|
|
2235
|
+
kind: "selection";
|
|
2236
|
+
start: ({
|
|
2237
|
+
kind: "text";
|
|
2238
|
+
blockId: string;
|
|
2239
|
+
offset: number;
|
|
2240
|
+
}) | ({
|
|
2241
|
+
kind: "nodeEdge";
|
|
2242
|
+
node: {
|
|
2243
|
+
kind: "block";
|
|
2244
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2245
|
+
nodeId: string;
|
|
2246
|
+
};
|
|
2247
|
+
edge: "before" | "after";
|
|
2248
|
+
});
|
|
2249
|
+
end: ({
|
|
2250
|
+
kind: "text";
|
|
2251
|
+
blockId: string;
|
|
2252
|
+
offset: number;
|
|
2253
|
+
}) | ({
|
|
2254
|
+
kind: "nodeEdge";
|
|
2255
|
+
node: {
|
|
2256
|
+
kind: "block";
|
|
2257
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
2258
|
+
nodeId: string;
|
|
2259
|
+
};
|
|
2260
|
+
edge: "before" | "after";
|
|
2261
|
+
});
|
|
1206
2262
|
};
|
|
1207
2263
|
value?: boolean | unknown;
|
|
2264
|
+
ref?: string;
|
|
1208
2265
|
blockId?: string;
|
|
1209
2266
|
start?: number;
|
|
1210
2267
|
end?: number;
|
|
@@ -1217,8 +2274,259 @@ export interface DocStylesApplyParams {
|
|
|
1217
2274
|
expectedRevision?: number;
|
|
1218
2275
|
changeMode?: string;
|
|
1219
2276
|
dryRun?: boolean;
|
|
1220
|
-
target?:
|
|
1221
|
-
|
|
2277
|
+
target?: ({
|
|
2278
|
+
scope: "docDefaults";
|
|
2279
|
+
channel: "run";
|
|
2280
|
+
}) | ({
|
|
2281
|
+
scope: "docDefaults";
|
|
2282
|
+
channel: "paragraph";
|
|
2283
|
+
});
|
|
2284
|
+
patch?: ({
|
|
2285
|
+
bold?: boolean;
|
|
2286
|
+
boldCs?: boolean;
|
|
2287
|
+
italic?: boolean;
|
|
2288
|
+
iCs?: boolean;
|
|
2289
|
+
smallCaps?: boolean;
|
|
2290
|
+
strike?: boolean;
|
|
2291
|
+
dstrike?: boolean;
|
|
2292
|
+
emboss?: boolean;
|
|
2293
|
+
imprint?: boolean;
|
|
2294
|
+
outline?: boolean;
|
|
2295
|
+
shadow?: boolean;
|
|
2296
|
+
vanish?: boolean;
|
|
2297
|
+
webHidden?: boolean;
|
|
2298
|
+
specVanish?: boolean;
|
|
2299
|
+
snapToGrid?: boolean;
|
|
2300
|
+
noProof?: boolean;
|
|
2301
|
+
fontSize?: number;
|
|
2302
|
+
fontSizeCs?: number;
|
|
2303
|
+
letterSpacing?: number;
|
|
2304
|
+
kern?: number;
|
|
2305
|
+
position?: number;
|
|
2306
|
+
w?: number;
|
|
2307
|
+
textTransform?: "uppercase" | "none";
|
|
2308
|
+
vertAlign?: "superscript" | "subscript" | "baseline";
|
|
2309
|
+
em?: "none" | "dot" | "comma" | "circle" | "sesame";
|
|
2310
|
+
effect?: string;
|
|
2311
|
+
fontFamily?: {
|
|
2312
|
+
hint?: string;
|
|
2313
|
+
ascii?: string;
|
|
2314
|
+
hAnsi?: string;
|
|
2315
|
+
eastAsia?: string;
|
|
2316
|
+
cs?: string;
|
|
2317
|
+
val?: string;
|
|
2318
|
+
asciiTheme?: string;
|
|
2319
|
+
hAnsiTheme?: string;
|
|
2320
|
+
eastAsiaTheme?: string;
|
|
2321
|
+
cstheme?: string;
|
|
2322
|
+
};
|
|
2323
|
+
color?: {
|
|
2324
|
+
val?: string;
|
|
2325
|
+
themeColor?: string;
|
|
2326
|
+
themeTint?: string;
|
|
2327
|
+
themeShade?: string;
|
|
2328
|
+
};
|
|
2329
|
+
underline?: {
|
|
2330
|
+
val?: "single" | "double" | "thick" | "dotted" | "dottedHeavy" | "dash" | "dashedHeavy" | "dashLong" | "dashLongHeavy" | "dotDash" | "dashDotHeavy" | "dotDotDash" | "dashDotDotHeavy" | "wave" | "wavyHeavy" | "wavyDouble" | "words" | "none";
|
|
2331
|
+
color?: string;
|
|
2332
|
+
themeColor?: string;
|
|
2333
|
+
themeTint?: string;
|
|
2334
|
+
themeShade?: string;
|
|
2335
|
+
};
|
|
2336
|
+
borders?: {
|
|
2337
|
+
val?: string;
|
|
2338
|
+
color?: string;
|
|
2339
|
+
themeColor?: string;
|
|
2340
|
+
themeTint?: string;
|
|
2341
|
+
themeShade?: string;
|
|
2342
|
+
size?: number;
|
|
2343
|
+
space?: number;
|
|
2344
|
+
shadow?: boolean;
|
|
2345
|
+
frame?: boolean;
|
|
2346
|
+
};
|
|
2347
|
+
shading?: {
|
|
2348
|
+
color?: string;
|
|
2349
|
+
fill?: string;
|
|
2350
|
+
themeColor?: string;
|
|
2351
|
+
themeFill?: string;
|
|
2352
|
+
themeFillShade?: string;
|
|
2353
|
+
themeFillTint?: string;
|
|
2354
|
+
themeShade?: string;
|
|
2355
|
+
themeTint?: string;
|
|
2356
|
+
val?: string;
|
|
2357
|
+
};
|
|
2358
|
+
lang?: {
|
|
2359
|
+
val?: string;
|
|
2360
|
+
eastAsia?: string;
|
|
2361
|
+
bidi?: string;
|
|
2362
|
+
};
|
|
2363
|
+
eastAsianLayout?: {
|
|
2364
|
+
id?: number;
|
|
2365
|
+
combine?: boolean;
|
|
2366
|
+
combineBrackets?: string;
|
|
2367
|
+
vert?: boolean;
|
|
2368
|
+
vertCompress?: boolean;
|
|
2369
|
+
};
|
|
2370
|
+
fitText?: {
|
|
2371
|
+
val?: number;
|
|
2372
|
+
id?: number;
|
|
2373
|
+
};
|
|
2374
|
+
}) | ({
|
|
2375
|
+
keepLines?: boolean;
|
|
2376
|
+
keepNext?: boolean;
|
|
2377
|
+
widowControl?: boolean;
|
|
2378
|
+
contextualSpacing?: boolean;
|
|
2379
|
+
pageBreakBefore?: boolean;
|
|
2380
|
+
suppressAutoHyphens?: boolean;
|
|
2381
|
+
suppressLineNumbers?: boolean;
|
|
2382
|
+
suppressOverlap?: boolean;
|
|
2383
|
+
mirrorIndents?: boolean;
|
|
2384
|
+
wordWrap?: boolean;
|
|
2385
|
+
kinsoku?: boolean;
|
|
2386
|
+
overflowPunct?: boolean;
|
|
2387
|
+
topLinePunct?: boolean;
|
|
2388
|
+
autoSpaceDE?: boolean;
|
|
2389
|
+
autoSpaceDN?: boolean;
|
|
2390
|
+
adjustRightInd?: boolean;
|
|
2391
|
+
rightToLeft?: boolean;
|
|
2392
|
+
snapToGrid?: boolean;
|
|
2393
|
+
outlineLvl?: number;
|
|
2394
|
+
justification?: "left" | "center" | "right" | "justify" | "distribute";
|
|
2395
|
+
textAlignment?: "top" | "center" | "baseline" | "bottom" | "auto";
|
|
2396
|
+
textDirection?: "lrTb" | "tbRl" | "btLr" | "lrTbV" | "tbRlV" | "tbLrV";
|
|
2397
|
+
textboxTightWrap?: "none" | "allLines" | "firstAndLastLine" | "firstLineOnly" | "lastLineOnly";
|
|
2398
|
+
spacing?: {
|
|
2399
|
+
after?: number;
|
|
2400
|
+
afterAutospacing?: boolean;
|
|
2401
|
+
afterLines?: number;
|
|
2402
|
+
before?: number;
|
|
2403
|
+
beforeAutospacing?: boolean;
|
|
2404
|
+
beforeLines?: number;
|
|
2405
|
+
line?: number;
|
|
2406
|
+
lineRule?: "auto" | "exact" | "atLeast";
|
|
2407
|
+
};
|
|
2408
|
+
indent?: {
|
|
2409
|
+
end?: number;
|
|
2410
|
+
endChars?: number;
|
|
2411
|
+
firstLine?: number;
|
|
2412
|
+
firstLineChars?: number;
|
|
2413
|
+
hanging?: number;
|
|
2414
|
+
hangingChars?: number;
|
|
2415
|
+
left?: number;
|
|
2416
|
+
leftChars?: number;
|
|
2417
|
+
right?: number;
|
|
2418
|
+
rightChars?: number;
|
|
2419
|
+
start?: number;
|
|
2420
|
+
startChars?: number;
|
|
2421
|
+
};
|
|
2422
|
+
shading?: {
|
|
2423
|
+
color?: string;
|
|
2424
|
+
fill?: string;
|
|
2425
|
+
themeColor?: string;
|
|
2426
|
+
themeFill?: string;
|
|
2427
|
+
themeFillShade?: string;
|
|
2428
|
+
themeFillTint?: string;
|
|
2429
|
+
themeShade?: string;
|
|
2430
|
+
themeTint?: string;
|
|
2431
|
+
val?: string;
|
|
2432
|
+
};
|
|
2433
|
+
numberingProperties?: {
|
|
2434
|
+
ilvl?: number;
|
|
2435
|
+
numId?: number;
|
|
2436
|
+
};
|
|
2437
|
+
framePr?: {
|
|
2438
|
+
anchorLock?: boolean;
|
|
2439
|
+
dropCap?: string;
|
|
2440
|
+
h?: number;
|
|
2441
|
+
hAnchor?: string;
|
|
2442
|
+
hRule?: string;
|
|
2443
|
+
hSpace?: number;
|
|
2444
|
+
lines?: number;
|
|
2445
|
+
vAnchor?: string;
|
|
2446
|
+
vSpace?: number;
|
|
2447
|
+
w?: number;
|
|
2448
|
+
wrap?: string;
|
|
2449
|
+
x?: number;
|
|
2450
|
+
xAlign?: string;
|
|
2451
|
+
y?: number;
|
|
2452
|
+
yAlign?: string;
|
|
2453
|
+
};
|
|
2454
|
+
borders?: {
|
|
2455
|
+
top?: {
|
|
2456
|
+
val?: string;
|
|
2457
|
+
color?: string;
|
|
2458
|
+
themeColor?: string;
|
|
2459
|
+
themeTint?: string;
|
|
2460
|
+
themeShade?: string;
|
|
2461
|
+
size?: number;
|
|
2462
|
+
space?: number;
|
|
2463
|
+
shadow?: boolean;
|
|
2464
|
+
frame?: boolean;
|
|
2465
|
+
};
|
|
2466
|
+
bottom?: {
|
|
2467
|
+
val?: string;
|
|
2468
|
+
color?: string;
|
|
2469
|
+
themeColor?: string;
|
|
2470
|
+
themeTint?: string;
|
|
2471
|
+
themeShade?: string;
|
|
2472
|
+
size?: number;
|
|
2473
|
+
space?: number;
|
|
2474
|
+
shadow?: boolean;
|
|
2475
|
+
frame?: boolean;
|
|
2476
|
+
};
|
|
2477
|
+
left?: {
|
|
2478
|
+
val?: string;
|
|
2479
|
+
color?: string;
|
|
2480
|
+
themeColor?: string;
|
|
2481
|
+
themeTint?: string;
|
|
2482
|
+
themeShade?: string;
|
|
2483
|
+
size?: number;
|
|
2484
|
+
space?: number;
|
|
2485
|
+
shadow?: boolean;
|
|
2486
|
+
frame?: boolean;
|
|
2487
|
+
};
|
|
2488
|
+
right?: {
|
|
2489
|
+
val?: string;
|
|
2490
|
+
color?: string;
|
|
2491
|
+
themeColor?: string;
|
|
2492
|
+
themeTint?: string;
|
|
2493
|
+
themeShade?: string;
|
|
2494
|
+
size?: number;
|
|
2495
|
+
space?: number;
|
|
2496
|
+
shadow?: boolean;
|
|
2497
|
+
frame?: boolean;
|
|
2498
|
+
};
|
|
2499
|
+
between?: {
|
|
2500
|
+
val?: string;
|
|
2501
|
+
color?: string;
|
|
2502
|
+
themeColor?: string;
|
|
2503
|
+
themeTint?: string;
|
|
2504
|
+
themeShade?: string;
|
|
2505
|
+
size?: number;
|
|
2506
|
+
space?: number;
|
|
2507
|
+
shadow?: boolean;
|
|
2508
|
+
frame?: boolean;
|
|
2509
|
+
};
|
|
2510
|
+
bar?: {
|
|
2511
|
+
val?: string;
|
|
2512
|
+
color?: string;
|
|
2513
|
+
themeColor?: string;
|
|
2514
|
+
themeTint?: string;
|
|
2515
|
+
themeShade?: string;
|
|
2516
|
+
size?: number;
|
|
2517
|
+
space?: number;
|
|
2518
|
+
shadow?: boolean;
|
|
2519
|
+
frame?: boolean;
|
|
2520
|
+
};
|
|
2521
|
+
};
|
|
2522
|
+
tabStops?: Array<{
|
|
2523
|
+
tab?: {
|
|
2524
|
+
tabType?: string;
|
|
2525
|
+
pos?: number;
|
|
2526
|
+
leader?: string;
|
|
2527
|
+
};
|
|
2528
|
+
}>;
|
|
2529
|
+
});
|
|
1222
2530
|
}
|
|
1223
2531
|
export interface DocCreateParagraphParams {
|
|
1224
2532
|
doc?: string;
|
|
@@ -2690,30 +3998,68 @@ export interface DocQueryMatchParams {
|
|
|
2690
3998
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2691
3999
|
kind?: "block" | "inline";
|
|
2692
4000
|
});
|
|
2693
|
-
within?:
|
|
4001
|
+
within?: {
|
|
2694
4002
|
kind: "block";
|
|
2695
4003
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
2696
4004
|
nodeId: string;
|
|
2697
|
-
}
|
|
2698
|
-
kind: "inline";
|
|
2699
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2700
|
-
anchor: {
|
|
2701
|
-
start: {
|
|
2702
|
-
blockId: string;
|
|
2703
|
-
offset: number;
|
|
2704
|
-
};
|
|
2705
|
-
end: {
|
|
2706
|
-
blockId: string;
|
|
2707
|
-
offset: number;
|
|
2708
|
-
};
|
|
2709
|
-
};
|
|
2710
|
-
});
|
|
4005
|
+
};
|
|
2711
4006
|
require?: string;
|
|
2712
4007
|
mode?: string;
|
|
2713
4008
|
includeNodes?: boolean;
|
|
2714
4009
|
limit?: number;
|
|
2715
4010
|
offset?: number;
|
|
2716
4011
|
}
|
|
4012
|
+
export interface DocRangesResolveParams {
|
|
4013
|
+
doc?: string;
|
|
4014
|
+
sessionId?: string;
|
|
4015
|
+
start: ({
|
|
4016
|
+
kind: "document";
|
|
4017
|
+
edge: "start" | "end";
|
|
4018
|
+
}) | ({
|
|
4019
|
+
kind: "point";
|
|
4020
|
+
point: ({
|
|
4021
|
+
kind: "text";
|
|
4022
|
+
blockId: string;
|
|
4023
|
+
offset: number;
|
|
4024
|
+
}) | ({
|
|
4025
|
+
kind: "nodeEdge";
|
|
4026
|
+
node: {
|
|
4027
|
+
kind: "block";
|
|
4028
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4029
|
+
nodeId: string;
|
|
4030
|
+
};
|
|
4031
|
+
edge: "before" | "after";
|
|
4032
|
+
});
|
|
4033
|
+
}) | ({
|
|
4034
|
+
kind: "ref";
|
|
4035
|
+
ref: string;
|
|
4036
|
+
boundary: "start" | "end";
|
|
4037
|
+
});
|
|
4038
|
+
end: ({
|
|
4039
|
+
kind: "document";
|
|
4040
|
+
edge: "start" | "end";
|
|
4041
|
+
}) | ({
|
|
4042
|
+
kind: "point";
|
|
4043
|
+
point: ({
|
|
4044
|
+
kind: "text";
|
|
4045
|
+
blockId: string;
|
|
4046
|
+
offset: number;
|
|
4047
|
+
}) | ({
|
|
4048
|
+
kind: "nodeEdge";
|
|
4049
|
+
node: {
|
|
4050
|
+
kind: "block";
|
|
4051
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4052
|
+
nodeId: string;
|
|
4053
|
+
};
|
|
4054
|
+
edge: "before" | "after";
|
|
4055
|
+
});
|
|
4056
|
+
}) | ({
|
|
4057
|
+
kind: "ref";
|
|
4058
|
+
ref: string;
|
|
4059
|
+
boundary: "start" | "end";
|
|
4060
|
+
});
|
|
4061
|
+
expectedRevision?: string;
|
|
4062
|
+
}
|
|
2717
4063
|
export interface DocMutationsPreviewParams {
|
|
2718
4064
|
doc?: string;
|
|
2719
4065
|
sessionId?: string;
|
|
@@ -2735,46 +4081,51 @@ export interface DocMutationsPreviewParams {
|
|
|
2735
4081
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2736
4082
|
kind?: "block" | "inline";
|
|
2737
4083
|
});
|
|
2738
|
-
within?:
|
|
4084
|
+
within?: {
|
|
2739
4085
|
kind: "block";
|
|
2740
4086
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
2741
4087
|
nodeId: string;
|
|
2742
|
-
}
|
|
2743
|
-
kind: "inline";
|
|
2744
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2745
|
-
anchor: {
|
|
2746
|
-
start: {
|
|
2747
|
-
blockId: string;
|
|
2748
|
-
offset: number;
|
|
2749
|
-
};
|
|
2750
|
-
end: {
|
|
2751
|
-
blockId: string;
|
|
2752
|
-
offset: number;
|
|
2753
|
-
};
|
|
2754
|
-
};
|
|
2755
|
-
});
|
|
4088
|
+
};
|
|
2756
4089
|
require: "first" | "exactlyOne" | "all";
|
|
2757
4090
|
}) | ({
|
|
2758
4091
|
by: "ref";
|
|
2759
4092
|
ref: string;
|
|
2760
|
-
within?:
|
|
4093
|
+
within?: {
|
|
2761
4094
|
kind: "block";
|
|
2762
4095
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
2763
4096
|
nodeId: string;
|
|
2764
|
-
}
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
4097
|
+
};
|
|
4098
|
+
}) | ({
|
|
4099
|
+
by: "target";
|
|
4100
|
+
target: {
|
|
4101
|
+
kind: "selection";
|
|
4102
|
+
start: ({
|
|
4103
|
+
kind: "text";
|
|
4104
|
+
blockId: string;
|
|
4105
|
+
offset: number;
|
|
4106
|
+
}) | ({
|
|
4107
|
+
kind: "nodeEdge";
|
|
4108
|
+
node: {
|
|
4109
|
+
kind: "block";
|
|
4110
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4111
|
+
nodeId: string;
|
|
2771
4112
|
};
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
4113
|
+
edge: "before" | "after";
|
|
4114
|
+
});
|
|
4115
|
+
end: ({
|
|
4116
|
+
kind: "text";
|
|
4117
|
+
blockId: string;
|
|
4118
|
+
offset: number;
|
|
4119
|
+
}) | ({
|
|
4120
|
+
kind: "nodeEdge";
|
|
4121
|
+
node: {
|
|
4122
|
+
kind: "block";
|
|
4123
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4124
|
+
nodeId: string;
|
|
2775
4125
|
};
|
|
2776
|
-
|
|
2777
|
-
|
|
4126
|
+
edge: "before" | "after";
|
|
4127
|
+
});
|
|
4128
|
+
};
|
|
2778
4129
|
});
|
|
2779
4130
|
args: {
|
|
2780
4131
|
replacement: ({
|
|
@@ -2816,24 +4167,11 @@ export interface DocMutationsPreviewParams {
|
|
|
2816
4167
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2817
4168
|
kind?: "block" | "inline";
|
|
2818
4169
|
});
|
|
2819
|
-
within?:
|
|
4170
|
+
within?: {
|
|
2820
4171
|
kind: "block";
|
|
2821
4172
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
2822
4173
|
nodeId: string;
|
|
2823
|
-
}
|
|
2824
|
-
kind: "inline";
|
|
2825
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2826
|
-
anchor: {
|
|
2827
|
-
start: {
|
|
2828
|
-
blockId: string;
|
|
2829
|
-
offset: number;
|
|
2830
|
-
};
|
|
2831
|
-
end: {
|
|
2832
|
-
blockId: string;
|
|
2833
|
-
offset: number;
|
|
2834
|
-
};
|
|
2835
|
-
};
|
|
2836
|
-
});
|
|
4174
|
+
};
|
|
2837
4175
|
require: "first" | "exactlyOne";
|
|
2838
4176
|
};
|
|
2839
4177
|
args: {
|
|
@@ -2868,48 +4206,55 @@ export interface DocMutationsPreviewParams {
|
|
|
2868
4206
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2869
4207
|
kind?: "block" | "inline";
|
|
2870
4208
|
});
|
|
2871
|
-
within?:
|
|
4209
|
+
within?: {
|
|
2872
4210
|
kind: "block";
|
|
2873
4211
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
2874
4212
|
nodeId: string;
|
|
2875
|
-
}
|
|
2876
|
-
kind: "inline";
|
|
2877
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2878
|
-
anchor: {
|
|
2879
|
-
start: {
|
|
2880
|
-
blockId: string;
|
|
2881
|
-
offset: number;
|
|
2882
|
-
};
|
|
2883
|
-
end: {
|
|
2884
|
-
blockId: string;
|
|
2885
|
-
offset: number;
|
|
2886
|
-
};
|
|
2887
|
-
};
|
|
2888
|
-
});
|
|
4213
|
+
};
|
|
2889
4214
|
require: "first" | "exactlyOne" | "all";
|
|
2890
4215
|
}) | ({
|
|
2891
4216
|
by: "ref";
|
|
2892
4217
|
ref: string;
|
|
2893
|
-
within?:
|
|
4218
|
+
within?: {
|
|
2894
4219
|
kind: "block";
|
|
2895
4220
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
2896
4221
|
nodeId: string;
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
4222
|
+
};
|
|
4223
|
+
}) | ({
|
|
4224
|
+
by: "target";
|
|
4225
|
+
target: {
|
|
4226
|
+
kind: "selection";
|
|
4227
|
+
start: ({
|
|
4228
|
+
kind: "text";
|
|
4229
|
+
blockId: string;
|
|
4230
|
+
offset: number;
|
|
4231
|
+
}) | ({
|
|
4232
|
+
kind: "nodeEdge";
|
|
4233
|
+
node: {
|
|
4234
|
+
kind: "block";
|
|
4235
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4236
|
+
nodeId: string;
|
|
2904
4237
|
};
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
4238
|
+
edge: "before" | "after";
|
|
4239
|
+
});
|
|
4240
|
+
end: ({
|
|
4241
|
+
kind: "text";
|
|
4242
|
+
blockId: string;
|
|
4243
|
+
offset: number;
|
|
4244
|
+
}) | ({
|
|
4245
|
+
kind: "nodeEdge";
|
|
4246
|
+
node: {
|
|
4247
|
+
kind: "block";
|
|
4248
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4249
|
+
nodeId: string;
|
|
2908
4250
|
};
|
|
2909
|
-
|
|
2910
|
-
|
|
4251
|
+
edge: "before" | "after";
|
|
4252
|
+
});
|
|
4253
|
+
};
|
|
2911
4254
|
});
|
|
2912
|
-
args:
|
|
4255
|
+
args: {
|
|
4256
|
+
behavior?: "selection" | "exact";
|
|
4257
|
+
};
|
|
2913
4258
|
}) | ({
|
|
2914
4259
|
id: string;
|
|
2915
4260
|
op: "format.apply";
|
|
@@ -2925,46 +4270,51 @@ export interface DocMutationsPreviewParams {
|
|
|
2925
4270
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2926
4271
|
kind?: "block" | "inline";
|
|
2927
4272
|
});
|
|
2928
|
-
within?:
|
|
4273
|
+
within?: {
|
|
2929
4274
|
kind: "block";
|
|
2930
4275
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
2931
4276
|
nodeId: string;
|
|
2932
|
-
}
|
|
2933
|
-
kind: "inline";
|
|
2934
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
2935
|
-
anchor: {
|
|
2936
|
-
start: {
|
|
2937
|
-
blockId: string;
|
|
2938
|
-
offset: number;
|
|
2939
|
-
};
|
|
2940
|
-
end: {
|
|
2941
|
-
blockId: string;
|
|
2942
|
-
offset: number;
|
|
2943
|
-
};
|
|
2944
|
-
};
|
|
2945
|
-
});
|
|
4277
|
+
};
|
|
2946
4278
|
require: "first" | "exactlyOne" | "all";
|
|
2947
4279
|
}) | ({
|
|
2948
4280
|
by: "ref";
|
|
2949
4281
|
ref: string;
|
|
2950
|
-
within?:
|
|
4282
|
+
within?: {
|
|
2951
4283
|
kind: "block";
|
|
2952
4284
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
2953
4285
|
nodeId: string;
|
|
2954
|
-
}
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
4286
|
+
};
|
|
4287
|
+
}) | ({
|
|
4288
|
+
by: "target";
|
|
4289
|
+
target: {
|
|
4290
|
+
kind: "selection";
|
|
4291
|
+
start: ({
|
|
4292
|
+
kind: "text";
|
|
4293
|
+
blockId: string;
|
|
4294
|
+
offset: number;
|
|
4295
|
+
}) | ({
|
|
4296
|
+
kind: "nodeEdge";
|
|
4297
|
+
node: {
|
|
4298
|
+
kind: "block";
|
|
4299
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4300
|
+
nodeId: string;
|
|
2961
4301
|
};
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
4302
|
+
edge: "before" | "after";
|
|
4303
|
+
});
|
|
4304
|
+
end: ({
|
|
4305
|
+
kind: "text";
|
|
4306
|
+
blockId: string;
|
|
4307
|
+
offset: number;
|
|
4308
|
+
}) | ({
|
|
4309
|
+
kind: "nodeEdge";
|
|
4310
|
+
node: {
|
|
4311
|
+
kind: "block";
|
|
4312
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4313
|
+
nodeId: string;
|
|
2965
4314
|
};
|
|
2966
|
-
|
|
2967
|
-
|
|
4315
|
+
edge: "before" | "after";
|
|
4316
|
+
});
|
|
4317
|
+
};
|
|
2968
4318
|
});
|
|
2969
4319
|
args: {
|
|
2970
4320
|
inline: {
|
|
@@ -3067,24 +4417,11 @@ export interface DocMutationsPreviewParams {
|
|
|
3067
4417
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3068
4418
|
kind?: "block" | "inline";
|
|
3069
4419
|
});
|
|
3070
|
-
within?:
|
|
4420
|
+
within?: {
|
|
3071
4421
|
kind: "block";
|
|
3072
4422
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3073
4423
|
nodeId: string;
|
|
3074
|
-
}
|
|
3075
|
-
kind: "inline";
|
|
3076
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3077
|
-
anchor: {
|
|
3078
|
-
start: {
|
|
3079
|
-
blockId: string;
|
|
3080
|
-
offset: number;
|
|
3081
|
-
};
|
|
3082
|
-
end: {
|
|
3083
|
-
blockId: string;
|
|
3084
|
-
offset: number;
|
|
3085
|
-
};
|
|
3086
|
-
};
|
|
3087
|
-
});
|
|
4424
|
+
};
|
|
3088
4425
|
};
|
|
3089
4426
|
args: {
|
|
3090
4427
|
expectCount: number;
|
|
@@ -3114,46 +4451,51 @@ export interface DocMutationsApplyParams {
|
|
|
3114
4451
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3115
4452
|
kind?: "block" | "inline";
|
|
3116
4453
|
});
|
|
3117
|
-
within?:
|
|
4454
|
+
within?: {
|
|
3118
4455
|
kind: "block";
|
|
3119
4456
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3120
4457
|
nodeId: string;
|
|
3121
|
-
}
|
|
3122
|
-
kind: "inline";
|
|
3123
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3124
|
-
anchor: {
|
|
3125
|
-
start: {
|
|
3126
|
-
blockId: string;
|
|
3127
|
-
offset: number;
|
|
3128
|
-
};
|
|
3129
|
-
end: {
|
|
3130
|
-
blockId: string;
|
|
3131
|
-
offset: number;
|
|
3132
|
-
};
|
|
3133
|
-
};
|
|
3134
|
-
});
|
|
4458
|
+
};
|
|
3135
4459
|
require: "first" | "exactlyOne" | "all";
|
|
3136
4460
|
}) | ({
|
|
3137
4461
|
by: "ref";
|
|
3138
4462
|
ref: string;
|
|
3139
|
-
within?:
|
|
4463
|
+
within?: {
|
|
3140
4464
|
kind: "block";
|
|
3141
4465
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3142
4466
|
nodeId: string;
|
|
3143
|
-
}
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
4467
|
+
};
|
|
4468
|
+
}) | ({
|
|
4469
|
+
by: "target";
|
|
4470
|
+
target: {
|
|
4471
|
+
kind: "selection";
|
|
4472
|
+
start: ({
|
|
4473
|
+
kind: "text";
|
|
4474
|
+
blockId: string;
|
|
4475
|
+
offset: number;
|
|
4476
|
+
}) | ({
|
|
4477
|
+
kind: "nodeEdge";
|
|
4478
|
+
node: {
|
|
4479
|
+
kind: "block";
|
|
4480
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4481
|
+
nodeId: string;
|
|
3150
4482
|
};
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
4483
|
+
edge: "before" | "after";
|
|
4484
|
+
});
|
|
4485
|
+
end: ({
|
|
4486
|
+
kind: "text";
|
|
4487
|
+
blockId: string;
|
|
4488
|
+
offset: number;
|
|
4489
|
+
}) | ({
|
|
4490
|
+
kind: "nodeEdge";
|
|
4491
|
+
node: {
|
|
4492
|
+
kind: "block";
|
|
4493
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4494
|
+
nodeId: string;
|
|
3154
4495
|
};
|
|
3155
|
-
|
|
3156
|
-
|
|
4496
|
+
edge: "before" | "after";
|
|
4497
|
+
});
|
|
4498
|
+
};
|
|
3157
4499
|
});
|
|
3158
4500
|
args: {
|
|
3159
4501
|
replacement: ({
|
|
@@ -3195,24 +4537,11 @@ export interface DocMutationsApplyParams {
|
|
|
3195
4537
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3196
4538
|
kind?: "block" | "inline";
|
|
3197
4539
|
});
|
|
3198
|
-
within?:
|
|
4540
|
+
within?: {
|
|
3199
4541
|
kind: "block";
|
|
3200
4542
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3201
4543
|
nodeId: string;
|
|
3202
|
-
}
|
|
3203
|
-
kind: "inline";
|
|
3204
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3205
|
-
anchor: {
|
|
3206
|
-
start: {
|
|
3207
|
-
blockId: string;
|
|
3208
|
-
offset: number;
|
|
3209
|
-
};
|
|
3210
|
-
end: {
|
|
3211
|
-
blockId: string;
|
|
3212
|
-
offset: number;
|
|
3213
|
-
};
|
|
3214
|
-
};
|
|
3215
|
-
});
|
|
4544
|
+
};
|
|
3216
4545
|
require: "first" | "exactlyOne";
|
|
3217
4546
|
};
|
|
3218
4547
|
args: {
|
|
@@ -3247,48 +4576,55 @@ export interface DocMutationsApplyParams {
|
|
|
3247
4576
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3248
4577
|
kind?: "block" | "inline";
|
|
3249
4578
|
});
|
|
3250
|
-
within?:
|
|
4579
|
+
within?: {
|
|
3251
4580
|
kind: "block";
|
|
3252
4581
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3253
4582
|
nodeId: string;
|
|
3254
|
-
}
|
|
3255
|
-
kind: "inline";
|
|
3256
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3257
|
-
anchor: {
|
|
3258
|
-
start: {
|
|
3259
|
-
blockId: string;
|
|
3260
|
-
offset: number;
|
|
3261
|
-
};
|
|
3262
|
-
end: {
|
|
3263
|
-
blockId: string;
|
|
3264
|
-
offset: number;
|
|
3265
|
-
};
|
|
3266
|
-
};
|
|
3267
|
-
});
|
|
4583
|
+
};
|
|
3268
4584
|
require: "first" | "exactlyOne" | "all";
|
|
3269
4585
|
}) | ({
|
|
3270
4586
|
by: "ref";
|
|
3271
4587
|
ref: string;
|
|
3272
|
-
within?:
|
|
4588
|
+
within?: {
|
|
3273
4589
|
kind: "block";
|
|
3274
4590
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3275
4591
|
nodeId: string;
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
4592
|
+
};
|
|
4593
|
+
}) | ({
|
|
4594
|
+
by: "target";
|
|
4595
|
+
target: {
|
|
4596
|
+
kind: "selection";
|
|
4597
|
+
start: ({
|
|
4598
|
+
kind: "text";
|
|
4599
|
+
blockId: string;
|
|
4600
|
+
offset: number;
|
|
4601
|
+
}) | ({
|
|
4602
|
+
kind: "nodeEdge";
|
|
4603
|
+
node: {
|
|
4604
|
+
kind: "block";
|
|
4605
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4606
|
+
nodeId: string;
|
|
3283
4607
|
};
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
4608
|
+
edge: "before" | "after";
|
|
4609
|
+
});
|
|
4610
|
+
end: ({
|
|
4611
|
+
kind: "text";
|
|
4612
|
+
blockId: string;
|
|
4613
|
+
offset: number;
|
|
4614
|
+
}) | ({
|
|
4615
|
+
kind: "nodeEdge";
|
|
4616
|
+
node: {
|
|
4617
|
+
kind: "block";
|
|
4618
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4619
|
+
nodeId: string;
|
|
3287
4620
|
};
|
|
3288
|
-
|
|
3289
|
-
|
|
4621
|
+
edge: "before" | "after";
|
|
4622
|
+
});
|
|
4623
|
+
};
|
|
3290
4624
|
});
|
|
3291
|
-
args:
|
|
4625
|
+
args: {
|
|
4626
|
+
behavior?: "selection" | "exact";
|
|
4627
|
+
};
|
|
3292
4628
|
}) | ({
|
|
3293
4629
|
id: string;
|
|
3294
4630
|
op: "format.apply";
|
|
@@ -3304,46 +4640,51 @@ export interface DocMutationsApplyParams {
|
|
|
3304
4640
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3305
4641
|
kind?: "block" | "inline";
|
|
3306
4642
|
});
|
|
3307
|
-
within?:
|
|
4643
|
+
within?: {
|
|
3308
4644
|
kind: "block";
|
|
3309
4645
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3310
4646
|
nodeId: string;
|
|
3311
|
-
}
|
|
3312
|
-
kind: "inline";
|
|
3313
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3314
|
-
anchor: {
|
|
3315
|
-
start: {
|
|
3316
|
-
blockId: string;
|
|
3317
|
-
offset: number;
|
|
3318
|
-
};
|
|
3319
|
-
end: {
|
|
3320
|
-
blockId: string;
|
|
3321
|
-
offset: number;
|
|
3322
|
-
};
|
|
3323
|
-
};
|
|
3324
|
-
});
|
|
4647
|
+
};
|
|
3325
4648
|
require: "first" | "exactlyOne" | "all";
|
|
3326
4649
|
}) | ({
|
|
3327
4650
|
by: "ref";
|
|
3328
4651
|
ref: string;
|
|
3329
|
-
within?:
|
|
4652
|
+
within?: {
|
|
3330
4653
|
kind: "block";
|
|
3331
4654
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3332
4655
|
nodeId: string;
|
|
3333
|
-
}
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
4656
|
+
};
|
|
4657
|
+
}) | ({
|
|
4658
|
+
by: "target";
|
|
4659
|
+
target: {
|
|
4660
|
+
kind: "selection";
|
|
4661
|
+
start: ({
|
|
4662
|
+
kind: "text";
|
|
4663
|
+
blockId: string;
|
|
4664
|
+
offset: number;
|
|
4665
|
+
}) | ({
|
|
4666
|
+
kind: "nodeEdge";
|
|
4667
|
+
node: {
|
|
4668
|
+
kind: "block";
|
|
4669
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4670
|
+
nodeId: string;
|
|
3340
4671
|
};
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
4672
|
+
edge: "before" | "after";
|
|
4673
|
+
});
|
|
4674
|
+
end: ({
|
|
4675
|
+
kind: "text";
|
|
4676
|
+
blockId: string;
|
|
4677
|
+
offset: number;
|
|
4678
|
+
}) | ({
|
|
4679
|
+
kind: "nodeEdge";
|
|
4680
|
+
node: {
|
|
4681
|
+
kind: "block";
|
|
4682
|
+
nodeType: "paragraph" | "heading" | "table" | "tableOfContents" | "sdt" | "image";
|
|
4683
|
+
nodeId: string;
|
|
3344
4684
|
};
|
|
3345
|
-
|
|
3346
|
-
|
|
4685
|
+
edge: "before" | "after";
|
|
4686
|
+
});
|
|
4687
|
+
};
|
|
3347
4688
|
});
|
|
3348
4689
|
args: {
|
|
3349
4690
|
inline: {
|
|
@@ -3446,24 +4787,11 @@ export interface DocMutationsApplyParams {
|
|
|
3446
4787
|
nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3447
4788
|
kind?: "block" | "inline";
|
|
3448
4789
|
});
|
|
3449
|
-
within?:
|
|
4790
|
+
within?: {
|
|
3450
4791
|
kind: "block";
|
|
3451
4792
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
3452
4793
|
nodeId: string;
|
|
3453
|
-
}
|
|
3454
|
-
kind: "inline";
|
|
3455
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
3456
|
-
anchor: {
|
|
3457
|
-
start: {
|
|
3458
|
-
blockId: string;
|
|
3459
|
-
offset: number;
|
|
3460
|
-
};
|
|
3461
|
-
end: {
|
|
3462
|
-
blockId: string;
|
|
3463
|
-
offset: number;
|
|
3464
|
-
};
|
|
3465
|
-
};
|
|
3466
|
-
});
|
|
4794
|
+
};
|
|
3467
4795
|
};
|
|
3468
4796
|
args: {
|
|
3469
4797
|
expectCount: number;
|
|
@@ -4839,24 +6167,11 @@ export interface DocImagesRemoveCaptionParams {
|
|
|
4839
6167
|
export interface DocHyperlinksListParams {
|
|
4840
6168
|
doc?: string;
|
|
4841
6169
|
sessionId?: string;
|
|
4842
|
-
within?:
|
|
6170
|
+
within?: {
|
|
4843
6171
|
kind: "block";
|
|
4844
6172
|
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
4845
6173
|
nodeId: string;
|
|
4846
|
-
}
|
|
4847
|
-
kind: "inline";
|
|
4848
|
-
nodeType: "run" | "bookmark" | "comment" | "hyperlink" | "sdt" | "image" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
|
|
4849
|
-
anchor: {
|
|
4850
|
-
start: {
|
|
4851
|
-
blockId: string;
|
|
4852
|
-
offset: number;
|
|
4853
|
-
};
|
|
4854
|
-
end: {
|
|
4855
|
-
blockId: string;
|
|
4856
|
-
offset: number;
|
|
4857
|
-
};
|
|
4858
|
-
};
|
|
4859
|
-
});
|
|
6174
|
+
};
|
|
4860
6175
|
hrefPattern?: string;
|
|
4861
6176
|
anchor?: string;
|
|
4862
6177
|
textPattern?: string;
|
|
@@ -7011,23 +8326,7 @@ export type DocGetResult = {
|
|
|
7011
8326
|
};
|
|
7012
8327
|
export type DocFindResult = {
|
|
7013
8328
|
items: Array<{
|
|
7014
|
-
address:
|
|
7015
|
-
anchor?: {
|
|
7016
|
-
end?: {
|
|
7017
|
-
blockId: string;
|
|
7018
|
-
offset: number;
|
|
7019
|
-
};
|
|
7020
|
-
start?: {
|
|
7021
|
-
blockId: string;
|
|
7022
|
-
offset: number;
|
|
7023
|
-
};
|
|
7024
|
-
};
|
|
7025
|
-
evaluatedRevision?: string;
|
|
7026
|
-
kind: "content" | "inline" | "annotation" | "section";
|
|
7027
|
-
nodeId?: string;
|
|
7028
|
-
path?: Array<string | number>;
|
|
7029
|
-
stability: "stable" | "ephemeral";
|
|
7030
|
-
};
|
|
8329
|
+
address: unknown;
|
|
7031
8330
|
context?: Record<string, unknown>;
|
|
7032
8331
|
node: Record<string, unknown>;
|
|
7033
8332
|
}>;
|
|
@@ -7036,44 +8335,12 @@ export type DocFindResult = {
|
|
|
7036
8335
|
total: number;
|
|
7037
8336
|
};
|
|
7038
8337
|
export type DocGetNodeResult = {
|
|
7039
|
-
address:
|
|
7040
|
-
anchor?: {
|
|
7041
|
-
end?: {
|
|
7042
|
-
blockId: string;
|
|
7043
|
-
offset: number;
|
|
7044
|
-
};
|
|
7045
|
-
start?: {
|
|
7046
|
-
blockId: string;
|
|
7047
|
-
offset: number;
|
|
7048
|
-
};
|
|
7049
|
-
};
|
|
7050
|
-
evaluatedRevision?: string;
|
|
7051
|
-
kind: "content" | "inline" | "annotation" | "section";
|
|
7052
|
-
nodeId?: string;
|
|
7053
|
-
path?: Array<string | number>;
|
|
7054
|
-
stability: "stable" | "ephemeral";
|
|
7055
|
-
};
|
|
8338
|
+
address: unknown;
|
|
7056
8339
|
context?: Record<string, unknown>;
|
|
7057
8340
|
node: Record<string, unknown>;
|
|
7058
8341
|
};
|
|
7059
8342
|
export type DocGetNodeByIdResult = {
|
|
7060
|
-
address:
|
|
7061
|
-
anchor?: {
|
|
7062
|
-
end?: {
|
|
7063
|
-
blockId: string;
|
|
7064
|
-
offset: number;
|
|
7065
|
-
};
|
|
7066
|
-
start?: {
|
|
7067
|
-
blockId: string;
|
|
7068
|
-
offset: number;
|
|
7069
|
-
};
|
|
7070
|
-
};
|
|
7071
|
-
evaluatedRevision?: string;
|
|
7072
|
-
kind: "content" | "inline" | "annotation" | "section";
|
|
7073
|
-
nodeId?: string;
|
|
7074
|
-
path?: Array<string | number>;
|
|
7075
|
-
stability: "stable" | "ephemeral";
|
|
7076
|
-
};
|
|
8343
|
+
address: unknown;
|
|
7077
8344
|
context?: Record<string, unknown>;
|
|
7078
8345
|
node: Record<string, unknown>;
|
|
7079
8346
|
};
|
|
@@ -7119,40 +8386,9 @@ export type DocInsertResult = {
|
|
|
7119
8386
|
before: string;
|
|
7120
8387
|
};
|
|
7121
8388
|
resolution?: {
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
blockId: string;
|
|
7126
|
-
offset: number;
|
|
7127
|
-
};
|
|
7128
|
-
start?: {
|
|
7129
|
-
blockId: string;
|
|
7130
|
-
offset: number;
|
|
7131
|
-
};
|
|
7132
|
-
};
|
|
7133
|
-
evaluatedRevision?: string;
|
|
7134
|
-
kind: "content" | "inline" | "annotation" | "section";
|
|
7135
|
-
nodeId?: string;
|
|
7136
|
-
path?: Array<string | number>;
|
|
7137
|
-
stability: "stable" | "ephemeral";
|
|
7138
|
-
};
|
|
7139
|
-
target: {
|
|
7140
|
-
anchor?: {
|
|
7141
|
-
end?: {
|
|
7142
|
-
blockId: string;
|
|
7143
|
-
offset: number;
|
|
7144
|
-
};
|
|
7145
|
-
start?: {
|
|
7146
|
-
blockId: string;
|
|
7147
|
-
offset: number;
|
|
7148
|
-
};
|
|
7149
|
-
};
|
|
7150
|
-
evaluatedRevision?: string;
|
|
7151
|
-
kind: "content" | "inline" | "annotation" | "section";
|
|
7152
|
-
nodeId?: string;
|
|
7153
|
-
path?: Array<string | number>;
|
|
7154
|
-
stability: "stable" | "ephemeral";
|
|
7155
|
-
};
|
|
8389
|
+
range: unknown;
|
|
8390
|
+
selectionTarget?: unknown;
|
|
8391
|
+
target: unknown | unknown;
|
|
7156
8392
|
};
|
|
7157
8393
|
success: true;
|
|
7158
8394
|
};
|
|
@@ -7162,46 +8398,42 @@ export type DocReplaceResult = {
|
|
|
7162
8398
|
before: string;
|
|
7163
8399
|
};
|
|
7164
8400
|
resolution?: {
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
blockId: string;
|
|
7169
|
-
offset: number;
|
|
7170
|
-
};
|
|
7171
|
-
start?: {
|
|
7172
|
-
blockId: string;
|
|
7173
|
-
offset: number;
|
|
7174
|
-
};
|
|
7175
|
-
};
|
|
7176
|
-
evaluatedRevision?: string;
|
|
7177
|
-
kind: "content" | "inline" | "annotation" | "section";
|
|
7178
|
-
nodeId?: string;
|
|
7179
|
-
path?: Array<string | number>;
|
|
7180
|
-
stability: "stable" | "ephemeral";
|
|
7181
|
-
};
|
|
7182
|
-
target: {
|
|
7183
|
-
anchor?: {
|
|
7184
|
-
end?: {
|
|
7185
|
-
blockId: string;
|
|
7186
|
-
offset: number;
|
|
7187
|
-
};
|
|
7188
|
-
start?: {
|
|
7189
|
-
blockId: string;
|
|
7190
|
-
offset: number;
|
|
7191
|
-
};
|
|
7192
|
-
};
|
|
7193
|
-
evaluatedRevision?: string;
|
|
7194
|
-
kind: "content" | "inline" | "annotation" | "section";
|
|
7195
|
-
nodeId?: string;
|
|
7196
|
-
path?: Array<string | number>;
|
|
7197
|
-
stability: "stable" | "ephemeral";
|
|
7198
|
-
};
|
|
8401
|
+
range: unknown;
|
|
8402
|
+
selectionTarget?: unknown;
|
|
8403
|
+
target: unknown | unknown;
|
|
7199
8404
|
};
|
|
7200
8405
|
success: true;
|
|
7201
8406
|
};
|
|
7202
8407
|
export type DocDeleteResult = unknown;
|
|
8408
|
+
export type DocBlocksListResult = {
|
|
8409
|
+
blocks: Array<{
|
|
8410
|
+
isEmpty: boolean;
|
|
8411
|
+
nodeId: string;
|
|
8412
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
8413
|
+
ordinal: number;
|
|
8414
|
+
textPreview: string | null;
|
|
8415
|
+
}>;
|
|
8416
|
+
revision: string;
|
|
8417
|
+
total: number;
|
|
8418
|
+
};
|
|
7203
8419
|
export type DocBlocksDeleteResult = {
|
|
7204
8420
|
deleted: unknown;
|
|
8421
|
+
deletedBlock?: {
|
|
8422
|
+
nodeId?: string;
|
|
8423
|
+
nodeType?: string;
|
|
8424
|
+
ordinal?: number;
|
|
8425
|
+
textPreview?: string | null;
|
|
8426
|
+
};
|
|
8427
|
+
success: true;
|
|
8428
|
+
};
|
|
8429
|
+
export type DocBlocksDeleteRangeResult = {
|
|
8430
|
+
deletedBlocks: Array<unknown>;
|
|
8431
|
+
deletedCount: number;
|
|
8432
|
+
dryRun: boolean;
|
|
8433
|
+
revision: {
|
|
8434
|
+
after: string;
|
|
8435
|
+
before: string;
|
|
8436
|
+
};
|
|
7205
8437
|
success: true;
|
|
7206
8438
|
};
|
|
7207
8439
|
export type DocFormatApplyResult = unknown;
|
|
@@ -7955,6 +9187,7 @@ export type DocQueryMatchResult = {
|
|
|
7955
9187
|
id: string;
|
|
7956
9188
|
matchKind: "text";
|
|
7957
9189
|
snippet: string;
|
|
9190
|
+
target: unknown;
|
|
7958
9191
|
}) | ({
|
|
7959
9192
|
address: unknown;
|
|
7960
9193
|
blocks: Array<unknown>;
|
|
@@ -7968,6 +9201,24 @@ export type DocQueryMatchResult = {
|
|
|
7968
9201
|
page: unknown;
|
|
7969
9202
|
total: number;
|
|
7970
9203
|
};
|
|
9204
|
+
export type DocRangesResolveResult = {
|
|
9205
|
+
evaluatedRevision: string;
|
|
9206
|
+
handle: {
|
|
9207
|
+
coversFullTarget: boolean;
|
|
9208
|
+
ref: string | null;
|
|
9209
|
+
refStability: "ephemeral";
|
|
9210
|
+
};
|
|
9211
|
+
preview: {
|
|
9212
|
+
blocks: Array<{
|
|
9213
|
+
nodeId: string;
|
|
9214
|
+
nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
|
|
9215
|
+
textPreview: string;
|
|
9216
|
+
}>;
|
|
9217
|
+
text: string;
|
|
9218
|
+
truncated: boolean;
|
|
9219
|
+
};
|
|
9220
|
+
target: unknown;
|
|
9221
|
+
};
|
|
7971
9222
|
export type DocMutationsPreviewResult = {
|
|
7972
9223
|
evaluatedRevision: string;
|
|
7973
9224
|
failures?: Array<Record<string, unknown>>;
|
|
@@ -8343,6 +9594,18 @@ export type DocCapabilitiesGetResult = {
|
|
|
8343
9594
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
8344
9595
|
tracked: boolean;
|
|
8345
9596
|
};
|
|
9597
|
+
"blocks.deleteRange": {
|
|
9598
|
+
available: boolean;
|
|
9599
|
+
dryRun: boolean;
|
|
9600
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
9601
|
+
tracked: boolean;
|
|
9602
|
+
};
|
|
9603
|
+
"blocks.list": {
|
|
9604
|
+
available: boolean;
|
|
9605
|
+
dryRun: boolean;
|
|
9606
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
9607
|
+
tracked: boolean;
|
|
9608
|
+
};
|
|
8346
9609
|
"bookmarks.get": {
|
|
8347
9610
|
available: boolean;
|
|
8348
9611
|
dryRun: boolean;
|
|
@@ -9963,6 +11226,12 @@ export type DocCapabilitiesGetResult = {
|
|
|
9963
11226
|
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
9964
11227
|
tracked: boolean;
|
|
9965
11228
|
};
|
|
11229
|
+
"ranges.resolve": {
|
|
11230
|
+
available: boolean;
|
|
11231
|
+
dryRun: boolean;
|
|
11232
|
+
reasons?: Array<"COMMAND_UNAVAILABLE" | "HELPER_UNAVAILABLE" | "OPERATION_UNAVAILABLE" | "TRACKED_MODE_UNAVAILABLE" | "DRY_RUN_UNAVAILABLE" | "NAMESPACE_UNAVAILABLE" | "STYLES_PART_MISSING" | "COLLABORATION_ACTIVE">;
|
|
11233
|
+
tracked: boolean;
|
|
11234
|
+
};
|
|
9966
11235
|
replace: {
|
|
9967
11236
|
available: boolean;
|
|
9968
11237
|
dryRun: boolean;
|
|
@@ -11986,13 +13255,16 @@ export type DocAuthoritiesEntriesRemoveResult = {
|
|
|
11986
13255
|
success: true;
|
|
11987
13256
|
};
|
|
11988
13257
|
export type DocOpenResult = {
|
|
13258
|
+
active: boolean;
|
|
11989
13259
|
contextId: string;
|
|
11990
13260
|
sessionType: string;
|
|
11991
13261
|
document?: {
|
|
11992
13262
|
path?: string;
|
|
11993
13263
|
source?: string;
|
|
13264
|
+
byteLength?: number;
|
|
11994
13265
|
revision?: number;
|
|
11995
13266
|
};
|
|
13267
|
+
dirty?: boolean;
|
|
11996
13268
|
collaboration?: {
|
|
11997
13269
|
documentId?: string;
|
|
11998
13270
|
url?: string;
|
|
@@ -12002,6 +13274,8 @@ export type DocOpenResult = {
|
|
|
12002
13274
|
bootstrapApplied?: boolean;
|
|
12003
13275
|
bootstrapSource?: string;
|
|
12004
13276
|
};
|
|
13277
|
+
openedAt?: string;
|
|
13278
|
+
updatedAt?: string;
|
|
12005
13279
|
};
|
|
12006
13280
|
export type DocSaveResult = {
|
|
12007
13281
|
contextId: string;
|
|
@@ -12036,14 +13310,27 @@ export type DocCloseResult = {
|
|
|
12036
13310
|
};
|
|
12037
13311
|
};
|
|
12038
13312
|
export type DocStatusResult = {
|
|
12039
|
-
|
|
13313
|
+
active: boolean;
|
|
13314
|
+
contextId?: string;
|
|
13315
|
+
activeSessionId?: string;
|
|
13316
|
+
requestedSessionId?: string;
|
|
13317
|
+
projectRoot?: string;
|
|
12040
13318
|
sessionType?: string;
|
|
12041
13319
|
dirty?: boolean;
|
|
12042
|
-
revision?: number;
|
|
12043
13320
|
document?: {
|
|
12044
13321
|
path?: string;
|
|
12045
13322
|
source?: string;
|
|
13323
|
+
sourceByteLength?: number | null;
|
|
13324
|
+
byteLength?: number;
|
|
13325
|
+
revision?: number;
|
|
13326
|
+
};
|
|
13327
|
+
collaboration?: {
|
|
13328
|
+
documentId?: string;
|
|
13329
|
+
url?: string;
|
|
12046
13330
|
};
|
|
13331
|
+
openedAt?: string;
|
|
13332
|
+
updatedAt?: string;
|
|
13333
|
+
lastSavedAt?: string;
|
|
12047
13334
|
};
|
|
12048
13335
|
export type DocDescribeResult = {
|
|
12049
13336
|
contractVersion?: string;
|
|
@@ -12121,7 +13408,9 @@ export declare function createDocApi(runtime: SuperDocRuntime): {
|
|
|
12121
13408
|
replace: (params?: DocReplaceParams, options?: InvokeOptions) => Promise<DocReplaceResult>;
|
|
12122
13409
|
delete: (params?: DocDeleteParams, options?: InvokeOptions) => Promise<unknown>;
|
|
12123
13410
|
blocks: {
|
|
13411
|
+
list: (params?: DocBlocksListParams, options?: InvokeOptions) => Promise<DocBlocksListResult>;
|
|
12124
13412
|
delete: (params?: DocBlocksDeleteParams, options?: InvokeOptions) => Promise<DocBlocksDeleteResult>;
|
|
13413
|
+
deleteRange: (params?: DocBlocksDeleteRangeParams, options?: InvokeOptions) => Promise<DocBlocksDeleteRangeResult>;
|
|
12125
13414
|
};
|
|
12126
13415
|
format: {
|
|
12127
13416
|
apply: (params?: DocFormatApplyParams, options?: InvokeOptions) => Promise<unknown>;
|
|
@@ -12270,6 +13559,9 @@ export declare function createDocApi(runtime: SuperDocRuntime): {
|
|
|
12270
13559
|
query: {
|
|
12271
13560
|
match: (params: DocQueryMatchParams, options?: InvokeOptions) => Promise<DocQueryMatchResult>;
|
|
12272
13561
|
};
|
|
13562
|
+
ranges: {
|
|
13563
|
+
resolve: (params: DocRangesResolveParams, options?: InvokeOptions) => Promise<DocRangesResolveResult>;
|
|
13564
|
+
};
|
|
12273
13565
|
mutations: {
|
|
12274
13566
|
preview: (params: DocMutationsPreviewParams, options?: InvokeOptions) => Promise<DocMutationsPreviewResult>;
|
|
12275
13567
|
apply: (params: DocMutationsApplyParams, options?: InvokeOptions) => Promise<DocMutationsApplyResult>;
|