@superdoc-dev/sdk 1.8.0-next.3 → 1.8.0-next.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client.cjs +10 -0
- package/dist/generated/client.d.ts +1019 -57
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +10 -0
- package/dist/generated/contract.cjs +2872 -123
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +2875 -123
- package/dist/generated/intent-dispatch.generated.cjs +5 -0
- package/dist/generated/intent-dispatch.generated.d.ts.map +1 -1
- package/dist/generated/intent-dispatch.generated.js +5 -0
- package/package.json +6 -6
- package/tools/__pycache__/__init__.cpython-312.pyc +0 -0
- package/tools/__pycache__/intent_dispatch_generated.cpython-312.pyc +0 -0
- package/tools/catalog.json +303 -27
- package/tools/intent_dispatch_generated.py +10 -0
- package/tools/prompt-templates/system-prompt-core.md +88 -0
- package/tools/system-prompt-mcp.md +88 -0
- package/tools/system-prompt.md +88 -0
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +265 -27
- package/tools/tools.generic.json +271 -28
- package/tools/tools.openai.json +265 -27
- package/tools/tools.vercel.json +265 -27
|
@@ -122,6 +122,9 @@ export const CONTRACT = {
|
|
|
122
122
|
"$ref": "#/$defs/TextSegment"
|
|
123
123
|
},
|
|
124
124
|
"minItems": 1
|
|
125
|
+
},
|
|
126
|
+
"story": {
|
|
127
|
+
"$ref": "#/$defs/StoryLocator"
|
|
125
128
|
}
|
|
126
129
|
},
|
|
127
130
|
"additionalProperties": false,
|
|
@@ -3180,9 +3183,52 @@ export const CONTRACT = {
|
|
|
3180
3183
|
"type": "string",
|
|
3181
3184
|
"description": "Full plain text content of the block."
|
|
3182
3185
|
},
|
|
3186
|
+
"textSpans": {
|
|
3187
|
+
"type": "array",
|
|
3188
|
+
"description": "Block text broken into runs with tracked-change marks preserved per run. Present only when the block contains at least one tracked change. Concatenating span text yields `text`.",
|
|
3189
|
+
"items": {
|
|
3190
|
+
"type": "object",
|
|
3191
|
+
"properties": {
|
|
3192
|
+
"text": {
|
|
3193
|
+
"type": "string",
|
|
3194
|
+
"description": "Raw text of the run."
|
|
3195
|
+
},
|
|
3196
|
+
"trackedChanges": {
|
|
3197
|
+
"type": "array",
|
|
3198
|
+
"description": "Tracked-change marks applied to this run.",
|
|
3199
|
+
"items": {
|
|
3200
|
+
"type": "object",
|
|
3201
|
+
"properties": {
|
|
3202
|
+
"entityId": {
|
|
3203
|
+
"type": "string",
|
|
3204
|
+
"description": "Tracked change entity ID matching an entry in trackedChanges[]."
|
|
3205
|
+
},
|
|
3206
|
+
"type": {
|
|
3207
|
+
"type": "string",
|
|
3208
|
+
"enum": [
|
|
3209
|
+
"insert",
|
|
3210
|
+
"delete",
|
|
3211
|
+
"format"
|
|
3212
|
+
]
|
|
3213
|
+
}
|
|
3214
|
+
},
|
|
3215
|
+
"additionalProperties": false,
|
|
3216
|
+
"required": [
|
|
3217
|
+
"entityId",
|
|
3218
|
+
"type"
|
|
3219
|
+
]
|
|
3220
|
+
}
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
"additionalProperties": false,
|
|
3224
|
+
"required": [
|
|
3225
|
+
"text"
|
|
3226
|
+
]
|
|
3227
|
+
}
|
|
3228
|
+
},
|
|
3183
3229
|
"headingLevel": {
|
|
3184
3230
|
"type": "integer",
|
|
3185
|
-
"description": "Heading level (1
|
|
3231
|
+
"description": "Heading level (1-6). Only present for headings."
|
|
3186
3232
|
},
|
|
3187
3233
|
"tableContext": {
|
|
3188
3234
|
"type": "object",
|
|
@@ -3285,7 +3331,7 @@ export const CONTRACT = {
|
|
|
3285
3331
|
"properties": {
|
|
3286
3332
|
"entityId": {
|
|
3287
3333
|
"type": "string",
|
|
3288
|
-
"description": "Tracked change entity ID
|
|
3334
|
+
"description": "Tracked change entity ID. Pass to scrollToElement() for navigation."
|
|
3289
3335
|
},
|
|
3290
3336
|
"type": {
|
|
3291
3337
|
"type": "string",
|
|
@@ -3293,11 +3339,37 @@ export const CONTRACT = {
|
|
|
3293
3339
|
"insert",
|
|
3294
3340
|
"delete",
|
|
3295
3341
|
"format"
|
|
3296
|
-
]
|
|
3342
|
+
],
|
|
3343
|
+
"description": "Aggregate type at the entity level. In paired replacement mode, a delete+insert pair shares one entity and this collapses to 'insert'; per-half type lives on block.textSpans[].trackedChanges[]."
|
|
3344
|
+
},
|
|
3345
|
+
"blockIds": {
|
|
3346
|
+
"type": "array",
|
|
3347
|
+
"description": "Block IDs whose textSpans carry this change.",
|
|
3348
|
+
"items": {
|
|
3349
|
+
"type": "string"
|
|
3350
|
+
}
|
|
3351
|
+
},
|
|
3352
|
+
"wordRevisionIds": {
|
|
3353
|
+
"type": "object",
|
|
3354
|
+
"properties": {
|
|
3355
|
+
"insert": {
|
|
3356
|
+
"type": "string",
|
|
3357
|
+
"description": "Original OOXML w:id from a w:ins mark."
|
|
3358
|
+
},
|
|
3359
|
+
"delete": {
|
|
3360
|
+
"type": "string",
|
|
3361
|
+
"description": "Original OOXML w:id from a w:del mark."
|
|
3362
|
+
},
|
|
3363
|
+
"format": {
|
|
3364
|
+
"type": "string",
|
|
3365
|
+
"description": "Original OOXML w:id from a w:rPrChange mark."
|
|
3366
|
+
}
|
|
3367
|
+
},
|
|
3368
|
+
"additionalProperties": false
|
|
3297
3369
|
},
|
|
3298
3370
|
"excerpt": {
|
|
3299
3371
|
"type": "string",
|
|
3300
|
-
"description": "Short text excerpt of the changed content."
|
|
3372
|
+
"description": "Short text excerpt of the changed content. Omitted for paired replacements; read block.textSpans for the per-half text."
|
|
3301
3373
|
},
|
|
3302
3374
|
"author": {
|
|
3303
3375
|
"type": "string",
|
|
@@ -52274,7 +52346,9 @@ export const CONTRACT = {
|
|
|
52274
52346
|
"success",
|
|
52275
52347
|
"failure"
|
|
52276
52348
|
]
|
|
52277
|
-
}
|
|
52349
|
+
},
|
|
52350
|
+
"intentGroup": "list",
|
|
52351
|
+
"intentAction": "attach"
|
|
52278
52352
|
},
|
|
52279
52353
|
"doc.lists.detach": {
|
|
52280
52354
|
"operationId": "doc.lists.detach",
|
|
@@ -53572,19 +53646,19 @@ export const CONTRACT = {
|
|
|
53572
53646
|
]
|
|
53573
53647
|
}
|
|
53574
53648
|
},
|
|
53575
|
-
"doc.lists.
|
|
53576
|
-
"operationId": "doc.lists.
|
|
53649
|
+
"doc.lists.merge": {
|
|
53650
|
+
"operationId": "doc.lists.merge",
|
|
53577
53651
|
"sdkSurface": "document",
|
|
53578
|
-
"command": "lists
|
|
53652
|
+
"command": "lists merge",
|
|
53579
53653
|
"commandTokens": [
|
|
53580
53654
|
"lists",
|
|
53581
|
-
"
|
|
53655
|
+
"merge"
|
|
53582
53656
|
],
|
|
53583
53657
|
"category": "lists",
|
|
53584
|
-
"description": "
|
|
53658
|
+
"description": "Compound: merge two adjacent list sequences into one. Reassigns numId on the absorbed sequence (no strict abstractNumId check — absorbed items adopt the absorbing definition) and deletes empty paragraphs between the two sequences. Use this instead of lists.join for the user-facing \"merge these lists\" intent.",
|
|
53585
53659
|
"requiresDocumentContext": true,
|
|
53586
53660
|
"docRequirement": "optional",
|
|
53587
|
-
"responseEnvelopeKey":
|
|
53661
|
+
"responseEnvelopeKey": null,
|
|
53588
53662
|
"params": [
|
|
53589
53663
|
{
|
|
53590
53664
|
"name": "doc",
|
|
@@ -53643,6 +53717,7 @@ export const CONTRACT = {
|
|
|
53643
53717
|
"kind": "jsonFlag",
|
|
53644
53718
|
"type": "json",
|
|
53645
53719
|
"flag": "target-json",
|
|
53720
|
+
"required": true,
|
|
53646
53721
|
"schema": {
|
|
53647
53722
|
"type": "object",
|
|
53648
53723
|
"properties": {
|
|
@@ -53664,23 +53739,20 @@ export const CONTRACT = {
|
|
|
53664
53739
|
}
|
|
53665
53740
|
},
|
|
53666
53741
|
{
|
|
53667
|
-
"name": "
|
|
53668
|
-
"kind": "flag",
|
|
53669
|
-
"type": "number"
|
|
53670
|
-
},
|
|
53671
|
-
{
|
|
53672
|
-
"name": "input",
|
|
53673
|
-
"kind": "jsonFlag",
|
|
53674
|
-
"type": "json",
|
|
53675
|
-
"flag": "input-json",
|
|
53676
|
-
"description": "Operation input as JSON object."
|
|
53677
|
-
},
|
|
53678
|
-
{
|
|
53679
|
-
"name": "nodeId",
|
|
53742
|
+
"name": "direction",
|
|
53680
53743
|
"kind": "flag",
|
|
53681
53744
|
"type": "string",
|
|
53682
|
-
"
|
|
53683
|
-
"
|
|
53745
|
+
"required": true,
|
|
53746
|
+
"schema": {
|
|
53747
|
+
"oneOf": [
|
|
53748
|
+
{
|
|
53749
|
+
"const": "withPrevious"
|
|
53750
|
+
},
|
|
53751
|
+
{
|
|
53752
|
+
"const": "withNext"
|
|
53753
|
+
}
|
|
53754
|
+
]
|
|
53755
|
+
}
|
|
53684
53756
|
}
|
|
53685
53757
|
],
|
|
53686
53758
|
"constraints": null,
|
|
@@ -53694,16 +53766,17 @@ export const CONTRACT = {
|
|
|
53694
53766
|
"target": {
|
|
53695
53767
|
"$ref": "#/$defs/ListItemAddress"
|
|
53696
53768
|
},
|
|
53697
|
-
"
|
|
53698
|
-
"
|
|
53699
|
-
|
|
53700
|
-
|
|
53769
|
+
"direction": {
|
|
53770
|
+
"enum": [
|
|
53771
|
+
"withPrevious",
|
|
53772
|
+
"withNext"
|
|
53773
|
+
]
|
|
53701
53774
|
}
|
|
53702
53775
|
},
|
|
53703
53776
|
"additionalProperties": false,
|
|
53704
53777
|
"required": [
|
|
53705
53778
|
"target",
|
|
53706
|
-
"
|
|
53779
|
+
"direction"
|
|
53707
53780
|
]
|
|
53708
53781
|
},
|
|
53709
53782
|
"outputSchema": {
|
|
@@ -53714,14 +53787,22 @@ export const CONTRACT = {
|
|
|
53714
53787
|
"success": {
|
|
53715
53788
|
"const": true
|
|
53716
53789
|
},
|
|
53717
|
-
"
|
|
53718
|
-
"
|
|
53790
|
+
"listId": {
|
|
53791
|
+
"type": "string"
|
|
53792
|
+
},
|
|
53793
|
+
"absorbedCount": {
|
|
53794
|
+
"type": "integer"
|
|
53795
|
+
},
|
|
53796
|
+
"removedEmptyBlocks": {
|
|
53797
|
+
"type": "integer"
|
|
53719
53798
|
}
|
|
53720
53799
|
},
|
|
53721
53800
|
"additionalProperties": false,
|
|
53722
53801
|
"required": [
|
|
53723
53802
|
"success",
|
|
53724
|
-
"
|
|
53803
|
+
"listId",
|
|
53804
|
+
"absorbedCount",
|
|
53805
|
+
"removedEmptyBlocks"
|
|
53725
53806
|
]
|
|
53726
53807
|
},
|
|
53727
53808
|
{
|
|
@@ -53736,7 +53817,7 @@ export const CONTRACT = {
|
|
|
53736
53817
|
"code": {
|
|
53737
53818
|
"enum": [
|
|
53738
53819
|
"INVALID_TARGET",
|
|
53739
|
-
"
|
|
53820
|
+
"NO_ADJACENT_SEQUENCE",
|
|
53740
53821
|
"NO_OP"
|
|
53741
53822
|
]
|
|
53742
53823
|
},
|
|
@@ -53766,14 +53847,22 @@ export const CONTRACT = {
|
|
|
53766
53847
|
"success": {
|
|
53767
53848
|
"const": true
|
|
53768
53849
|
},
|
|
53769
|
-
"
|
|
53770
|
-
"
|
|
53850
|
+
"listId": {
|
|
53851
|
+
"type": "string"
|
|
53852
|
+
},
|
|
53853
|
+
"absorbedCount": {
|
|
53854
|
+
"type": "integer"
|
|
53855
|
+
},
|
|
53856
|
+
"removedEmptyBlocks": {
|
|
53857
|
+
"type": "integer"
|
|
53771
53858
|
}
|
|
53772
53859
|
},
|
|
53773
53860
|
"additionalProperties": false,
|
|
53774
53861
|
"required": [
|
|
53775
53862
|
"success",
|
|
53776
|
-
"
|
|
53863
|
+
"listId",
|
|
53864
|
+
"absorbedCount",
|
|
53865
|
+
"removedEmptyBlocks"
|
|
53777
53866
|
]
|
|
53778
53867
|
},
|
|
53779
53868
|
"failureSchema": {
|
|
@@ -53788,7 +53877,7 @@ export const CONTRACT = {
|
|
|
53788
53877
|
"code": {
|
|
53789
53878
|
"enum": [
|
|
53790
53879
|
"INVALID_TARGET",
|
|
53791
|
-
"
|
|
53880
|
+
"NO_ADJACENT_SEQUENCE",
|
|
53792
53881
|
"NO_OP"
|
|
53793
53882
|
]
|
|
53794
53883
|
},
|
|
@@ -53811,21 +53900,21 @@ export const CONTRACT = {
|
|
|
53811
53900
|
]
|
|
53812
53901
|
},
|
|
53813
53902
|
"intentGroup": "list",
|
|
53814
|
-
"intentAction": "
|
|
53903
|
+
"intentAction": "merge"
|
|
53815
53904
|
},
|
|
53816
|
-
"doc.lists.
|
|
53817
|
-
"operationId": "doc.lists.
|
|
53905
|
+
"doc.lists.split": {
|
|
53906
|
+
"operationId": "doc.lists.split",
|
|
53818
53907
|
"sdkSurface": "document",
|
|
53819
|
-
"command": "lists
|
|
53908
|
+
"command": "lists split",
|
|
53820
53909
|
"commandTokens": [
|
|
53821
53910
|
"lists",
|
|
53822
|
-
"
|
|
53911
|
+
"split"
|
|
53823
53912
|
],
|
|
53824
53913
|
"category": "lists",
|
|
53825
|
-
"description": "
|
|
53914
|
+
"description": "Compound: split a list sequence at the target item into two independent sequences. Runs lists.separate then (by default) lists.setValue(1) so the new half starts numbering fresh at 1. Pass restartNumbering:false for raw separate semantics (new half continues the previous count).",
|
|
53826
53915
|
"requiresDocumentContext": true,
|
|
53827
53916
|
"docRequirement": "optional",
|
|
53828
|
-
"responseEnvelopeKey":
|
|
53917
|
+
"responseEnvelopeKey": null,
|
|
53829
53918
|
"params": [
|
|
53830
53919
|
{
|
|
53831
53920
|
"name": "doc",
|
|
@@ -53884,6 +53973,7 @@ export const CONTRACT = {
|
|
|
53884
53973
|
"kind": "jsonFlag",
|
|
53885
53974
|
"type": "json",
|
|
53886
53975
|
"flag": "target-json",
|
|
53976
|
+
"required": true,
|
|
53887
53977
|
"schema": {
|
|
53888
53978
|
"type": "object",
|
|
53889
53979
|
"properties": {
|
|
@@ -53905,27 +53995,10 @@ export const CONTRACT = {
|
|
|
53905
53995
|
}
|
|
53906
53996
|
},
|
|
53907
53997
|
{
|
|
53908
|
-
"name": "
|
|
53909
|
-
"kind": "jsonFlag",
|
|
53910
|
-
"type": "json",
|
|
53911
|
-
"flag": "value-json",
|
|
53912
|
-
"schema": {
|
|
53913
|
-
"type": "json"
|
|
53914
|
-
}
|
|
53915
|
-
},
|
|
53916
|
-
{
|
|
53917
|
-
"name": "input",
|
|
53918
|
-
"kind": "jsonFlag",
|
|
53919
|
-
"type": "json",
|
|
53920
|
-
"flag": "input-json",
|
|
53921
|
-
"description": "Operation input as JSON object."
|
|
53922
|
-
},
|
|
53923
|
-
{
|
|
53924
|
-
"name": "nodeId",
|
|
53998
|
+
"name": "restartNumbering",
|
|
53925
53999
|
"kind": "flag",
|
|
53926
|
-
"type": "
|
|
53927
|
-
"flag": "
|
|
53928
|
-
"description": "Node ID of the target list item."
|
|
54000
|
+
"type": "boolean",
|
|
54001
|
+
"flag": "restart-numbering"
|
|
53929
54002
|
}
|
|
53930
54003
|
],
|
|
53931
54004
|
"constraints": null,
|
|
@@ -53939,17 +54012,13 @@ export const CONTRACT = {
|
|
|
53939
54012
|
"target": {
|
|
53940
54013
|
"$ref": "#/$defs/ListItemAddress"
|
|
53941
54014
|
},
|
|
53942
|
-
"
|
|
53943
|
-
"type":
|
|
53944
|
-
"integer",
|
|
53945
|
-
"null"
|
|
53946
|
-
]
|
|
54015
|
+
"restartNumbering": {
|
|
54016
|
+
"type": "boolean"
|
|
53947
54017
|
}
|
|
53948
54018
|
},
|
|
53949
54019
|
"additionalProperties": false,
|
|
53950
54020
|
"required": [
|
|
53951
|
-
"target"
|
|
53952
|
-
"value"
|
|
54021
|
+
"target"
|
|
53953
54022
|
]
|
|
53954
54023
|
},
|
|
53955
54024
|
"outputSchema": {
|
|
@@ -53960,14 +54029,25 @@ export const CONTRACT = {
|
|
|
53960
54029
|
"success": {
|
|
53961
54030
|
"const": true
|
|
53962
54031
|
},
|
|
53963
|
-
"
|
|
53964
|
-
"
|
|
54032
|
+
"listId": {
|
|
54033
|
+
"type": "string"
|
|
54034
|
+
},
|
|
54035
|
+
"numId": {
|
|
54036
|
+
"type": "integer"
|
|
54037
|
+
},
|
|
54038
|
+
"restartedAt": {
|
|
54039
|
+
"type": [
|
|
54040
|
+
"integer",
|
|
54041
|
+
"null"
|
|
54042
|
+
]
|
|
53965
54043
|
}
|
|
53966
54044
|
},
|
|
53967
54045
|
"additionalProperties": false,
|
|
53968
54046
|
"required": [
|
|
53969
54047
|
"success",
|
|
53970
|
-
"
|
|
54048
|
+
"listId",
|
|
54049
|
+
"numId",
|
|
54050
|
+
"restartedAt"
|
|
53971
54051
|
]
|
|
53972
54052
|
},
|
|
53973
54053
|
{
|
|
@@ -54011,14 +54091,25 @@ export const CONTRACT = {
|
|
|
54011
54091
|
"success": {
|
|
54012
54092
|
"const": true
|
|
54013
54093
|
},
|
|
54014
|
-
"
|
|
54015
|
-
"
|
|
54094
|
+
"listId": {
|
|
54095
|
+
"type": "string"
|
|
54096
|
+
},
|
|
54097
|
+
"numId": {
|
|
54098
|
+
"type": "integer"
|
|
54099
|
+
},
|
|
54100
|
+
"restartedAt": {
|
|
54101
|
+
"type": [
|
|
54102
|
+
"integer",
|
|
54103
|
+
"null"
|
|
54104
|
+
]
|
|
54016
54105
|
}
|
|
54017
54106
|
},
|
|
54018
54107
|
"additionalProperties": false,
|
|
54019
54108
|
"required": [
|
|
54020
54109
|
"success",
|
|
54021
|
-
"
|
|
54110
|
+
"listId",
|
|
54111
|
+
"numId",
|
|
54112
|
+
"restartedAt"
|
|
54022
54113
|
]
|
|
54023
54114
|
},
|
|
54024
54115
|
"failureSchema": {
|
|
@@ -54053,18 +54144,20 @@ export const CONTRACT = {
|
|
|
54053
54144
|
"success",
|
|
54054
54145
|
"failure"
|
|
54055
54146
|
]
|
|
54056
|
-
}
|
|
54147
|
+
},
|
|
54148
|
+
"intentGroup": "list",
|
|
54149
|
+
"intentAction": "split"
|
|
54057
54150
|
},
|
|
54058
|
-
"doc.lists.
|
|
54059
|
-
"operationId": "doc.lists.
|
|
54151
|
+
"doc.lists.setLevel": {
|
|
54152
|
+
"operationId": "doc.lists.setLevel",
|
|
54060
54153
|
"sdkSurface": "document",
|
|
54061
|
-
"command": "lists
|
|
54154
|
+
"command": "lists set-level",
|
|
54062
54155
|
"commandTokens": [
|
|
54063
54156
|
"lists",
|
|
54064
|
-
"
|
|
54157
|
+
"set-level"
|
|
54065
54158
|
],
|
|
54066
54159
|
"category": "lists",
|
|
54067
|
-
"description": "
|
|
54160
|
+
"description": "Set the absolute nesting level (0..8) of a list item.",
|
|
54068
54161
|
"requiresDocumentContext": true,
|
|
54069
54162
|
"docRequirement": "optional",
|
|
54070
54163
|
"responseEnvelopeKey": "result",
|
|
@@ -54146,6 +54239,11 @@ export const CONTRACT = {
|
|
|
54146
54239
|
]
|
|
54147
54240
|
}
|
|
54148
54241
|
},
|
|
54242
|
+
{
|
|
54243
|
+
"name": "level",
|
|
54244
|
+
"kind": "flag",
|
|
54245
|
+
"type": "number"
|
|
54246
|
+
},
|
|
54149
54247
|
{
|
|
54150
54248
|
"name": "input",
|
|
54151
54249
|
"kind": "jsonFlag",
|
|
@@ -54171,11 +54269,17 @@ export const CONTRACT = {
|
|
|
54171
54269
|
"properties": {
|
|
54172
54270
|
"target": {
|
|
54173
54271
|
"$ref": "#/$defs/ListItemAddress"
|
|
54272
|
+
},
|
|
54273
|
+
"level": {
|
|
54274
|
+
"type": "integer",
|
|
54275
|
+
"minimum": 0,
|
|
54276
|
+
"maximum": 8
|
|
54174
54277
|
}
|
|
54175
54278
|
},
|
|
54176
54279
|
"additionalProperties": false,
|
|
54177
54280
|
"required": [
|
|
54178
|
-
"target"
|
|
54281
|
+
"target",
|
|
54282
|
+
"level"
|
|
54179
54283
|
]
|
|
54180
54284
|
},
|
|
54181
54285
|
"outputSchema": {
|
|
@@ -54208,8 +54312,8 @@ export const CONTRACT = {
|
|
|
54208
54312
|
"code": {
|
|
54209
54313
|
"enum": [
|
|
54210
54314
|
"INVALID_TARGET",
|
|
54211
|
-
"
|
|
54212
|
-
"
|
|
54315
|
+
"LEVEL_OUT_OF_RANGE",
|
|
54316
|
+
"NO_OP"
|
|
54213
54317
|
]
|
|
54214
54318
|
},
|
|
54215
54319
|
"message": {
|
|
@@ -54260,8 +54364,8 @@ export const CONTRACT = {
|
|
|
54260
54364
|
"code": {
|
|
54261
54365
|
"enum": [
|
|
54262
54366
|
"INVALID_TARGET",
|
|
54263
|
-
"
|
|
54264
|
-
"
|
|
54367
|
+
"LEVEL_OUT_OF_RANGE",
|
|
54368
|
+
"NO_OP"
|
|
54265
54369
|
]
|
|
54266
54370
|
},
|
|
54267
54371
|
"message": {
|
|
@@ -54281,18 +54385,494 @@ export const CONTRACT = {
|
|
|
54281
54385
|
"success",
|
|
54282
54386
|
"failure"
|
|
54283
54387
|
]
|
|
54284
|
-
}
|
|
54388
|
+
},
|
|
54389
|
+
"intentGroup": "list",
|
|
54390
|
+
"intentAction": "set_level"
|
|
54285
54391
|
},
|
|
54286
|
-
"doc.lists.
|
|
54287
|
-
"operationId": "doc.lists.
|
|
54392
|
+
"doc.lists.setValue": {
|
|
54393
|
+
"operationId": "doc.lists.setValue",
|
|
54288
54394
|
"sdkSurface": "document",
|
|
54289
|
-
"command": "lists
|
|
54395
|
+
"command": "lists set-value",
|
|
54290
54396
|
"commandTokens": [
|
|
54291
54397
|
"lists",
|
|
54292
|
-
"
|
|
54398
|
+
"set-value"
|
|
54293
54399
|
],
|
|
54294
54400
|
"category": "lists",
|
|
54295
|
-
"description": "
|
|
54401
|
+
"description": "Set an explicit numbering value at the target item. Mid-sequence targets are atomically separated first.",
|
|
54402
|
+
"requiresDocumentContext": true,
|
|
54403
|
+
"docRequirement": "optional",
|
|
54404
|
+
"responseEnvelopeKey": "result",
|
|
54405
|
+
"params": [
|
|
54406
|
+
{
|
|
54407
|
+
"name": "doc",
|
|
54408
|
+
"kind": "doc",
|
|
54409
|
+
"type": "string",
|
|
54410
|
+
"description": "Document path. Optional when a session is already open."
|
|
54411
|
+
},
|
|
54412
|
+
{
|
|
54413
|
+
"name": "sessionId",
|
|
54414
|
+
"kind": "flag",
|
|
54415
|
+
"type": "string",
|
|
54416
|
+
"flag": "session",
|
|
54417
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
54418
|
+
},
|
|
54419
|
+
{
|
|
54420
|
+
"name": "out",
|
|
54421
|
+
"kind": "flag",
|
|
54422
|
+
"type": "string",
|
|
54423
|
+
"agentVisible": false
|
|
54424
|
+
},
|
|
54425
|
+
{
|
|
54426
|
+
"name": "force",
|
|
54427
|
+
"kind": "flag",
|
|
54428
|
+
"type": "boolean",
|
|
54429
|
+
"description": "Bypass confirmation checks."
|
|
54430
|
+
},
|
|
54431
|
+
{
|
|
54432
|
+
"name": "expectedRevision",
|
|
54433
|
+
"kind": "flag",
|
|
54434
|
+
"type": "number",
|
|
54435
|
+
"flag": "expected-revision",
|
|
54436
|
+
"agentVisible": false
|
|
54437
|
+
},
|
|
54438
|
+
{
|
|
54439
|
+
"name": "changeMode",
|
|
54440
|
+
"kind": "flag",
|
|
54441
|
+
"type": "string",
|
|
54442
|
+
"flag": "change-mode",
|
|
54443
|
+
"schema": {
|
|
54444
|
+
"enum": [
|
|
54445
|
+
"direct",
|
|
54446
|
+
"tracked"
|
|
54447
|
+
]
|
|
54448
|
+
},
|
|
54449
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
54450
|
+
},
|
|
54451
|
+
{
|
|
54452
|
+
"name": "dryRun",
|
|
54453
|
+
"kind": "flag",
|
|
54454
|
+
"type": "boolean",
|
|
54455
|
+
"flag": "dry-run",
|
|
54456
|
+
"description": "Preview the result without applying changes."
|
|
54457
|
+
},
|
|
54458
|
+
{
|
|
54459
|
+
"name": "target",
|
|
54460
|
+
"kind": "jsonFlag",
|
|
54461
|
+
"type": "json",
|
|
54462
|
+
"flag": "target-json",
|
|
54463
|
+
"schema": {
|
|
54464
|
+
"type": "object",
|
|
54465
|
+
"properties": {
|
|
54466
|
+
"kind": {
|
|
54467
|
+
"const": "block"
|
|
54468
|
+
},
|
|
54469
|
+
"nodeType": {
|
|
54470
|
+
"const": "listItem"
|
|
54471
|
+
},
|
|
54472
|
+
"nodeId": {
|
|
54473
|
+
"type": "string"
|
|
54474
|
+
}
|
|
54475
|
+
},
|
|
54476
|
+
"required": [
|
|
54477
|
+
"kind",
|
|
54478
|
+
"nodeType",
|
|
54479
|
+
"nodeId"
|
|
54480
|
+
]
|
|
54481
|
+
}
|
|
54482
|
+
},
|
|
54483
|
+
{
|
|
54484
|
+
"name": "value",
|
|
54485
|
+
"kind": "jsonFlag",
|
|
54486
|
+
"type": "json",
|
|
54487
|
+
"flag": "value-json",
|
|
54488
|
+
"schema": {
|
|
54489
|
+
"type": "json"
|
|
54490
|
+
}
|
|
54491
|
+
},
|
|
54492
|
+
{
|
|
54493
|
+
"name": "input",
|
|
54494
|
+
"kind": "jsonFlag",
|
|
54495
|
+
"type": "json",
|
|
54496
|
+
"flag": "input-json",
|
|
54497
|
+
"description": "Operation input as JSON object."
|
|
54498
|
+
},
|
|
54499
|
+
{
|
|
54500
|
+
"name": "nodeId",
|
|
54501
|
+
"kind": "flag",
|
|
54502
|
+
"type": "string",
|
|
54503
|
+
"flag": "node-id",
|
|
54504
|
+
"description": "Node ID of the target list item."
|
|
54505
|
+
}
|
|
54506
|
+
],
|
|
54507
|
+
"constraints": null,
|
|
54508
|
+
"mutates": true,
|
|
54509
|
+
"idempotency": "conditional",
|
|
54510
|
+
"supportsTrackedMode": false,
|
|
54511
|
+
"supportsDryRun": true,
|
|
54512
|
+
"inputSchema": {
|
|
54513
|
+
"type": "object",
|
|
54514
|
+
"properties": {
|
|
54515
|
+
"target": {
|
|
54516
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
54517
|
+
},
|
|
54518
|
+
"value": {
|
|
54519
|
+
"type": [
|
|
54520
|
+
"integer",
|
|
54521
|
+
"null"
|
|
54522
|
+
]
|
|
54523
|
+
}
|
|
54524
|
+
},
|
|
54525
|
+
"additionalProperties": false,
|
|
54526
|
+
"required": [
|
|
54527
|
+
"target",
|
|
54528
|
+
"value"
|
|
54529
|
+
]
|
|
54530
|
+
},
|
|
54531
|
+
"outputSchema": {
|
|
54532
|
+
"oneOf": [
|
|
54533
|
+
{
|
|
54534
|
+
"type": "object",
|
|
54535
|
+
"properties": {
|
|
54536
|
+
"success": {
|
|
54537
|
+
"const": true
|
|
54538
|
+
},
|
|
54539
|
+
"item": {
|
|
54540
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
54541
|
+
}
|
|
54542
|
+
},
|
|
54543
|
+
"additionalProperties": false,
|
|
54544
|
+
"required": [
|
|
54545
|
+
"success",
|
|
54546
|
+
"item"
|
|
54547
|
+
]
|
|
54548
|
+
},
|
|
54549
|
+
{
|
|
54550
|
+
"type": "object",
|
|
54551
|
+
"properties": {
|
|
54552
|
+
"success": {
|
|
54553
|
+
"const": false
|
|
54554
|
+
},
|
|
54555
|
+
"failure": {
|
|
54556
|
+
"type": "object",
|
|
54557
|
+
"properties": {
|
|
54558
|
+
"code": {
|
|
54559
|
+
"enum": [
|
|
54560
|
+
"INVALID_TARGET",
|
|
54561
|
+
"NO_OP"
|
|
54562
|
+
]
|
|
54563
|
+
},
|
|
54564
|
+
"message": {
|
|
54565
|
+
"type": "string"
|
|
54566
|
+
},
|
|
54567
|
+
"details": {}
|
|
54568
|
+
},
|
|
54569
|
+
"additionalProperties": false,
|
|
54570
|
+
"required": [
|
|
54571
|
+
"code",
|
|
54572
|
+
"message"
|
|
54573
|
+
]
|
|
54574
|
+
}
|
|
54575
|
+
},
|
|
54576
|
+
"additionalProperties": false,
|
|
54577
|
+
"required": [
|
|
54578
|
+
"success",
|
|
54579
|
+
"failure"
|
|
54580
|
+
]
|
|
54581
|
+
}
|
|
54582
|
+
]
|
|
54583
|
+
},
|
|
54584
|
+
"successSchema": {
|
|
54585
|
+
"type": "object",
|
|
54586
|
+
"properties": {
|
|
54587
|
+
"success": {
|
|
54588
|
+
"const": true
|
|
54589
|
+
},
|
|
54590
|
+
"item": {
|
|
54591
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
54592
|
+
}
|
|
54593
|
+
},
|
|
54594
|
+
"additionalProperties": false,
|
|
54595
|
+
"required": [
|
|
54596
|
+
"success",
|
|
54597
|
+
"item"
|
|
54598
|
+
]
|
|
54599
|
+
},
|
|
54600
|
+
"failureSchema": {
|
|
54601
|
+
"type": "object",
|
|
54602
|
+
"properties": {
|
|
54603
|
+
"success": {
|
|
54604
|
+
"const": false
|
|
54605
|
+
},
|
|
54606
|
+
"failure": {
|
|
54607
|
+
"type": "object",
|
|
54608
|
+
"properties": {
|
|
54609
|
+
"code": {
|
|
54610
|
+
"enum": [
|
|
54611
|
+
"INVALID_TARGET",
|
|
54612
|
+
"NO_OP"
|
|
54613
|
+
]
|
|
54614
|
+
},
|
|
54615
|
+
"message": {
|
|
54616
|
+
"type": "string"
|
|
54617
|
+
},
|
|
54618
|
+
"details": {}
|
|
54619
|
+
},
|
|
54620
|
+
"additionalProperties": false,
|
|
54621
|
+
"required": [
|
|
54622
|
+
"code",
|
|
54623
|
+
"message"
|
|
54624
|
+
]
|
|
54625
|
+
}
|
|
54626
|
+
},
|
|
54627
|
+
"additionalProperties": false,
|
|
54628
|
+
"required": [
|
|
54629
|
+
"success",
|
|
54630
|
+
"failure"
|
|
54631
|
+
]
|
|
54632
|
+
},
|
|
54633
|
+
"intentGroup": "list",
|
|
54634
|
+
"intentAction": "set_value"
|
|
54635
|
+
},
|
|
54636
|
+
"doc.lists.continuePrevious": {
|
|
54637
|
+
"operationId": "doc.lists.continuePrevious",
|
|
54638
|
+
"sdkSurface": "document",
|
|
54639
|
+
"command": "lists continue-previous",
|
|
54640
|
+
"commandTokens": [
|
|
54641
|
+
"lists",
|
|
54642
|
+
"continue-previous"
|
|
54643
|
+
],
|
|
54644
|
+
"category": "lists",
|
|
54645
|
+
"description": "Continue numbering from the nearest compatible previous list sequence.",
|
|
54646
|
+
"requiresDocumentContext": true,
|
|
54647
|
+
"docRequirement": "optional",
|
|
54648
|
+
"responseEnvelopeKey": "result",
|
|
54649
|
+
"params": [
|
|
54650
|
+
{
|
|
54651
|
+
"name": "doc",
|
|
54652
|
+
"kind": "doc",
|
|
54653
|
+
"type": "string",
|
|
54654
|
+
"description": "Document path. Optional when a session is already open."
|
|
54655
|
+
},
|
|
54656
|
+
{
|
|
54657
|
+
"name": "sessionId",
|
|
54658
|
+
"kind": "flag",
|
|
54659
|
+
"type": "string",
|
|
54660
|
+
"flag": "session",
|
|
54661
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
54662
|
+
},
|
|
54663
|
+
{
|
|
54664
|
+
"name": "out",
|
|
54665
|
+
"kind": "flag",
|
|
54666
|
+
"type": "string",
|
|
54667
|
+
"agentVisible": false
|
|
54668
|
+
},
|
|
54669
|
+
{
|
|
54670
|
+
"name": "force",
|
|
54671
|
+
"kind": "flag",
|
|
54672
|
+
"type": "boolean",
|
|
54673
|
+
"description": "Bypass confirmation checks."
|
|
54674
|
+
},
|
|
54675
|
+
{
|
|
54676
|
+
"name": "expectedRevision",
|
|
54677
|
+
"kind": "flag",
|
|
54678
|
+
"type": "number",
|
|
54679
|
+
"flag": "expected-revision",
|
|
54680
|
+
"agentVisible": false
|
|
54681
|
+
},
|
|
54682
|
+
{
|
|
54683
|
+
"name": "changeMode",
|
|
54684
|
+
"kind": "flag",
|
|
54685
|
+
"type": "string",
|
|
54686
|
+
"flag": "change-mode",
|
|
54687
|
+
"schema": {
|
|
54688
|
+
"enum": [
|
|
54689
|
+
"direct",
|
|
54690
|
+
"tracked"
|
|
54691
|
+
]
|
|
54692
|
+
},
|
|
54693
|
+
"description": "Edit mode: \"direct\" applies changes immediately, \"tracked\" records as suggestions."
|
|
54694
|
+
},
|
|
54695
|
+
{
|
|
54696
|
+
"name": "dryRun",
|
|
54697
|
+
"kind": "flag",
|
|
54698
|
+
"type": "boolean",
|
|
54699
|
+
"flag": "dry-run",
|
|
54700
|
+
"description": "Preview the result without applying changes."
|
|
54701
|
+
},
|
|
54702
|
+
{
|
|
54703
|
+
"name": "target",
|
|
54704
|
+
"kind": "jsonFlag",
|
|
54705
|
+
"type": "json",
|
|
54706
|
+
"flag": "target-json",
|
|
54707
|
+
"schema": {
|
|
54708
|
+
"type": "object",
|
|
54709
|
+
"properties": {
|
|
54710
|
+
"kind": {
|
|
54711
|
+
"const": "block"
|
|
54712
|
+
},
|
|
54713
|
+
"nodeType": {
|
|
54714
|
+
"const": "listItem"
|
|
54715
|
+
},
|
|
54716
|
+
"nodeId": {
|
|
54717
|
+
"type": "string"
|
|
54718
|
+
}
|
|
54719
|
+
},
|
|
54720
|
+
"required": [
|
|
54721
|
+
"kind",
|
|
54722
|
+
"nodeType",
|
|
54723
|
+
"nodeId"
|
|
54724
|
+
]
|
|
54725
|
+
}
|
|
54726
|
+
},
|
|
54727
|
+
{
|
|
54728
|
+
"name": "input",
|
|
54729
|
+
"kind": "jsonFlag",
|
|
54730
|
+
"type": "json",
|
|
54731
|
+
"flag": "input-json",
|
|
54732
|
+
"description": "Operation input as JSON object."
|
|
54733
|
+
},
|
|
54734
|
+
{
|
|
54735
|
+
"name": "nodeId",
|
|
54736
|
+
"kind": "flag",
|
|
54737
|
+
"type": "string",
|
|
54738
|
+
"flag": "node-id",
|
|
54739
|
+
"description": "Node ID of the target list item."
|
|
54740
|
+
}
|
|
54741
|
+
],
|
|
54742
|
+
"constraints": null,
|
|
54743
|
+
"mutates": true,
|
|
54744
|
+
"idempotency": "conditional",
|
|
54745
|
+
"supportsTrackedMode": false,
|
|
54746
|
+
"supportsDryRun": true,
|
|
54747
|
+
"inputSchema": {
|
|
54748
|
+
"type": "object",
|
|
54749
|
+
"properties": {
|
|
54750
|
+
"target": {
|
|
54751
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
54752
|
+
}
|
|
54753
|
+
},
|
|
54754
|
+
"additionalProperties": false,
|
|
54755
|
+
"required": [
|
|
54756
|
+
"target"
|
|
54757
|
+
]
|
|
54758
|
+
},
|
|
54759
|
+
"outputSchema": {
|
|
54760
|
+
"oneOf": [
|
|
54761
|
+
{
|
|
54762
|
+
"type": "object",
|
|
54763
|
+
"properties": {
|
|
54764
|
+
"success": {
|
|
54765
|
+
"const": true
|
|
54766
|
+
},
|
|
54767
|
+
"item": {
|
|
54768
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
54769
|
+
}
|
|
54770
|
+
},
|
|
54771
|
+
"additionalProperties": false,
|
|
54772
|
+
"required": [
|
|
54773
|
+
"success",
|
|
54774
|
+
"item"
|
|
54775
|
+
]
|
|
54776
|
+
},
|
|
54777
|
+
{
|
|
54778
|
+
"type": "object",
|
|
54779
|
+
"properties": {
|
|
54780
|
+
"success": {
|
|
54781
|
+
"const": false
|
|
54782
|
+
},
|
|
54783
|
+
"failure": {
|
|
54784
|
+
"type": "object",
|
|
54785
|
+
"properties": {
|
|
54786
|
+
"code": {
|
|
54787
|
+
"enum": [
|
|
54788
|
+
"INVALID_TARGET",
|
|
54789
|
+
"NO_COMPATIBLE_PREVIOUS",
|
|
54790
|
+
"ALREADY_CONTINUOUS"
|
|
54791
|
+
]
|
|
54792
|
+
},
|
|
54793
|
+
"message": {
|
|
54794
|
+
"type": "string"
|
|
54795
|
+
},
|
|
54796
|
+
"details": {}
|
|
54797
|
+
},
|
|
54798
|
+
"additionalProperties": false,
|
|
54799
|
+
"required": [
|
|
54800
|
+
"code",
|
|
54801
|
+
"message"
|
|
54802
|
+
]
|
|
54803
|
+
}
|
|
54804
|
+
},
|
|
54805
|
+
"additionalProperties": false,
|
|
54806
|
+
"required": [
|
|
54807
|
+
"success",
|
|
54808
|
+
"failure"
|
|
54809
|
+
]
|
|
54810
|
+
}
|
|
54811
|
+
]
|
|
54812
|
+
},
|
|
54813
|
+
"successSchema": {
|
|
54814
|
+
"type": "object",
|
|
54815
|
+
"properties": {
|
|
54816
|
+
"success": {
|
|
54817
|
+
"const": true
|
|
54818
|
+
},
|
|
54819
|
+
"item": {
|
|
54820
|
+
"$ref": "#/$defs/ListItemAddress"
|
|
54821
|
+
}
|
|
54822
|
+
},
|
|
54823
|
+
"additionalProperties": false,
|
|
54824
|
+
"required": [
|
|
54825
|
+
"success",
|
|
54826
|
+
"item"
|
|
54827
|
+
]
|
|
54828
|
+
},
|
|
54829
|
+
"failureSchema": {
|
|
54830
|
+
"type": "object",
|
|
54831
|
+
"properties": {
|
|
54832
|
+
"success": {
|
|
54833
|
+
"const": false
|
|
54834
|
+
},
|
|
54835
|
+
"failure": {
|
|
54836
|
+
"type": "object",
|
|
54837
|
+
"properties": {
|
|
54838
|
+
"code": {
|
|
54839
|
+
"enum": [
|
|
54840
|
+
"INVALID_TARGET",
|
|
54841
|
+
"NO_COMPATIBLE_PREVIOUS",
|
|
54842
|
+
"ALREADY_CONTINUOUS"
|
|
54843
|
+
]
|
|
54844
|
+
},
|
|
54845
|
+
"message": {
|
|
54846
|
+
"type": "string"
|
|
54847
|
+
},
|
|
54848
|
+
"details": {}
|
|
54849
|
+
},
|
|
54850
|
+
"additionalProperties": false,
|
|
54851
|
+
"required": [
|
|
54852
|
+
"code",
|
|
54853
|
+
"message"
|
|
54854
|
+
]
|
|
54855
|
+
}
|
|
54856
|
+
},
|
|
54857
|
+
"additionalProperties": false,
|
|
54858
|
+
"required": [
|
|
54859
|
+
"success",
|
|
54860
|
+
"failure"
|
|
54861
|
+
]
|
|
54862
|
+
},
|
|
54863
|
+
"intentGroup": "list",
|
|
54864
|
+
"intentAction": "continue_previous"
|
|
54865
|
+
},
|
|
54866
|
+
"doc.lists.canContinuePrevious": {
|
|
54867
|
+
"operationId": "doc.lists.canContinuePrevious",
|
|
54868
|
+
"sdkSurface": "document",
|
|
54869
|
+
"command": "lists can-continue-previous",
|
|
54870
|
+
"commandTokens": [
|
|
54871
|
+
"lists",
|
|
54872
|
+
"can-continue-previous"
|
|
54873
|
+
],
|
|
54874
|
+
"category": "lists",
|
|
54875
|
+
"description": "Check whether the target sequence can continue numbering from a previous compatible sequence.",
|
|
54296
54876
|
"requiresDocumentContext": true,
|
|
54297
54877
|
"docRequirement": "optional",
|
|
54298
54878
|
"responseEnvelopeKey": "result",
|
|
@@ -60329,37 +60909,240 @@ export const CONTRACT = {
|
|
|
60329
60909
|
"type": "json",
|
|
60330
60910
|
"flag": "target-json",
|
|
60331
60911
|
"schema": {
|
|
60332
|
-
"
|
|
60333
|
-
|
|
60334
|
-
|
|
60335
|
-
"
|
|
60336
|
-
|
|
60337
|
-
|
|
60338
|
-
|
|
60912
|
+
"oneOf": [
|
|
60913
|
+
{
|
|
60914
|
+
"type": "object",
|
|
60915
|
+
"properties": {
|
|
60916
|
+
"kind": {
|
|
60917
|
+
"const": "text"
|
|
60918
|
+
},
|
|
60919
|
+
"blockId": {
|
|
60920
|
+
"type": "string"
|
|
60921
|
+
},
|
|
60922
|
+
"range": {
|
|
60923
|
+
"type": "object",
|
|
60924
|
+
"properties": {
|
|
60925
|
+
"start": {
|
|
60926
|
+
"type": "number"
|
|
60927
|
+
},
|
|
60928
|
+
"end": {
|
|
60929
|
+
"type": "number"
|
|
60930
|
+
}
|
|
60931
|
+
},
|
|
60932
|
+
"required": [
|
|
60933
|
+
"start",
|
|
60934
|
+
"end"
|
|
60935
|
+
]
|
|
60936
|
+
}
|
|
60937
|
+
},
|
|
60938
|
+
"required": [
|
|
60939
|
+
"kind",
|
|
60940
|
+
"blockId",
|
|
60941
|
+
"range"
|
|
60942
|
+
]
|
|
60339
60943
|
},
|
|
60340
|
-
|
|
60944
|
+
{
|
|
60341
60945
|
"type": "object",
|
|
60342
60946
|
"properties": {
|
|
60343
|
-
"
|
|
60344
|
-
"
|
|
60947
|
+
"kind": {
|
|
60948
|
+
"const": "text"
|
|
60345
60949
|
},
|
|
60346
|
-
"
|
|
60347
|
-
"type": "
|
|
60950
|
+
"segments": {
|
|
60951
|
+
"type": "array",
|
|
60952
|
+
"items": {
|
|
60953
|
+
"type": "object",
|
|
60954
|
+
"properties": {
|
|
60955
|
+
"blockId": {
|
|
60956
|
+
"type": "string"
|
|
60957
|
+
},
|
|
60958
|
+
"range": {
|
|
60959
|
+
"type": "object",
|
|
60960
|
+
"properties": {
|
|
60961
|
+
"start": {
|
|
60962
|
+
"type": "number"
|
|
60963
|
+
},
|
|
60964
|
+
"end": {
|
|
60965
|
+
"type": "number"
|
|
60966
|
+
}
|
|
60967
|
+
},
|
|
60968
|
+
"required": [
|
|
60969
|
+
"start",
|
|
60970
|
+
"end"
|
|
60971
|
+
]
|
|
60972
|
+
}
|
|
60973
|
+
},
|
|
60974
|
+
"required": [
|
|
60975
|
+
"blockId",
|
|
60976
|
+
"range"
|
|
60977
|
+
]
|
|
60978
|
+
}
|
|
60979
|
+
},
|
|
60980
|
+
"story": {
|
|
60981
|
+
"oneOf": [
|
|
60982
|
+
{
|
|
60983
|
+
"type": "object",
|
|
60984
|
+
"properties": {
|
|
60985
|
+
"kind": {
|
|
60986
|
+
"const": "story"
|
|
60987
|
+
},
|
|
60988
|
+
"storyType": {
|
|
60989
|
+
"const": "body"
|
|
60990
|
+
}
|
|
60991
|
+
},
|
|
60992
|
+
"required": [
|
|
60993
|
+
"kind",
|
|
60994
|
+
"storyType"
|
|
60995
|
+
]
|
|
60996
|
+
},
|
|
60997
|
+
{
|
|
60998
|
+
"type": "object",
|
|
60999
|
+
"properties": {
|
|
61000
|
+
"kind": {
|
|
61001
|
+
"const": "story"
|
|
61002
|
+
},
|
|
61003
|
+
"storyType": {
|
|
61004
|
+
"const": "headerFooterSlot"
|
|
61005
|
+
},
|
|
61006
|
+
"section": {
|
|
61007
|
+
"type": "object",
|
|
61008
|
+
"properties": {
|
|
61009
|
+
"kind": {
|
|
61010
|
+
"const": "section"
|
|
61011
|
+
},
|
|
61012
|
+
"sectionId": {
|
|
61013
|
+
"type": "string"
|
|
61014
|
+
}
|
|
61015
|
+
},
|
|
61016
|
+
"required": [
|
|
61017
|
+
"kind",
|
|
61018
|
+
"sectionId"
|
|
61019
|
+
]
|
|
61020
|
+
},
|
|
61021
|
+
"headerFooterKind": {
|
|
61022
|
+
"oneOf": [
|
|
61023
|
+
{
|
|
61024
|
+
"const": "header"
|
|
61025
|
+
},
|
|
61026
|
+
{
|
|
61027
|
+
"const": "footer"
|
|
61028
|
+
}
|
|
61029
|
+
]
|
|
61030
|
+
},
|
|
61031
|
+
"variant": {
|
|
61032
|
+
"oneOf": [
|
|
61033
|
+
{
|
|
61034
|
+
"const": "default"
|
|
61035
|
+
},
|
|
61036
|
+
{
|
|
61037
|
+
"const": "first"
|
|
61038
|
+
},
|
|
61039
|
+
{
|
|
61040
|
+
"const": "even"
|
|
61041
|
+
}
|
|
61042
|
+
]
|
|
61043
|
+
},
|
|
61044
|
+
"resolution": {
|
|
61045
|
+
"oneOf": [
|
|
61046
|
+
{
|
|
61047
|
+
"const": "effective"
|
|
61048
|
+
},
|
|
61049
|
+
{
|
|
61050
|
+
"const": "explicit"
|
|
61051
|
+
}
|
|
61052
|
+
]
|
|
61053
|
+
},
|
|
61054
|
+
"onWrite": {
|
|
61055
|
+
"oneOf": [
|
|
61056
|
+
{
|
|
61057
|
+
"const": "materializeIfInherited"
|
|
61058
|
+
},
|
|
61059
|
+
{
|
|
61060
|
+
"const": "editResolvedPart"
|
|
61061
|
+
},
|
|
61062
|
+
{
|
|
61063
|
+
"const": "error"
|
|
61064
|
+
}
|
|
61065
|
+
]
|
|
61066
|
+
}
|
|
61067
|
+
},
|
|
61068
|
+
"required": [
|
|
61069
|
+
"kind",
|
|
61070
|
+
"storyType",
|
|
61071
|
+
"section",
|
|
61072
|
+
"headerFooterKind",
|
|
61073
|
+
"variant"
|
|
61074
|
+
]
|
|
61075
|
+
},
|
|
61076
|
+
{
|
|
61077
|
+
"type": "object",
|
|
61078
|
+
"properties": {
|
|
61079
|
+
"kind": {
|
|
61080
|
+
"const": "story"
|
|
61081
|
+
},
|
|
61082
|
+
"storyType": {
|
|
61083
|
+
"const": "headerFooterPart"
|
|
61084
|
+
},
|
|
61085
|
+
"refId": {
|
|
61086
|
+
"type": "string"
|
|
61087
|
+
}
|
|
61088
|
+
},
|
|
61089
|
+
"required": [
|
|
61090
|
+
"kind",
|
|
61091
|
+
"storyType",
|
|
61092
|
+
"refId"
|
|
61093
|
+
]
|
|
61094
|
+
},
|
|
61095
|
+
{
|
|
61096
|
+
"type": "object",
|
|
61097
|
+
"properties": {
|
|
61098
|
+
"kind": {
|
|
61099
|
+
"const": "story"
|
|
61100
|
+
},
|
|
61101
|
+
"storyType": {
|
|
61102
|
+
"const": "footnote"
|
|
61103
|
+
},
|
|
61104
|
+
"noteId": {
|
|
61105
|
+
"type": "string"
|
|
61106
|
+
}
|
|
61107
|
+
},
|
|
61108
|
+
"required": [
|
|
61109
|
+
"kind",
|
|
61110
|
+
"storyType",
|
|
61111
|
+
"noteId"
|
|
61112
|
+
]
|
|
61113
|
+
},
|
|
61114
|
+
{
|
|
61115
|
+
"type": "object",
|
|
61116
|
+
"properties": {
|
|
61117
|
+
"kind": {
|
|
61118
|
+
"const": "story"
|
|
61119
|
+
},
|
|
61120
|
+
"storyType": {
|
|
61121
|
+
"const": "endnote"
|
|
61122
|
+
},
|
|
61123
|
+
"noteId": {
|
|
61124
|
+
"type": "string"
|
|
61125
|
+
}
|
|
61126
|
+
},
|
|
61127
|
+
"required": [
|
|
61128
|
+
"kind",
|
|
61129
|
+
"storyType",
|
|
61130
|
+
"noteId"
|
|
61131
|
+
]
|
|
61132
|
+
}
|
|
61133
|
+
],
|
|
61134
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
60348
61135
|
}
|
|
60349
61136
|
},
|
|
60350
61137
|
"required": [
|
|
60351
|
-
"
|
|
60352
|
-
"
|
|
61138
|
+
"kind",
|
|
61139
|
+
"segments"
|
|
60353
61140
|
]
|
|
60354
61141
|
}
|
|
60355
|
-
|
|
60356
|
-
"
|
|
60357
|
-
"kind",
|
|
60358
|
-
"blockId",
|
|
60359
|
-
"range"
|
|
60360
|
-
]
|
|
61142
|
+
],
|
|
61143
|
+
"description": "Text range to anchor the comment. Accepts either a single-block TextAddress {kind:'text', blockId, range} or a multi-segment TextTarget {kind:'text', segments:[{blockId, range}, ...]} for selections that span blocks."
|
|
60361
61144
|
},
|
|
60362
|
-
"description": "Text range to anchor the comment
|
|
61145
|
+
"description": "Text range to anchor the comment. Accepts either a single-block TextAddress {kind:'text', blockId, range} or a multi-segment TextTarget {kind:'text', segments:[{blockId, range}, ...]} for selections that span blocks."
|
|
60363
61146
|
},
|
|
60364
61147
|
{
|
|
60365
61148
|
"name": "parentId",
|
|
@@ -60404,8 +61187,15 @@ export const CONTRACT = {
|
|
|
60404
61187
|
"description": "Comment text content."
|
|
60405
61188
|
},
|
|
60406
61189
|
"target": {
|
|
60407
|
-
"
|
|
60408
|
-
|
|
61190
|
+
"oneOf": [
|
|
61191
|
+
{
|
|
61192
|
+
"$ref": "#/$defs/TextAddress"
|
|
61193
|
+
},
|
|
61194
|
+
{
|
|
61195
|
+
"$ref": "#/$defs/TextTarget"
|
|
61196
|
+
}
|
|
61197
|
+
],
|
|
61198
|
+
"description": "Text range to anchor the comment. Accepts either a single-block TextAddress {kind:'text', blockId, range} or a multi-segment TextTarget {kind:'text', segments:[{blockId, range}, ...]} for selections that span blocks."
|
|
60409
61199
|
},
|
|
60410
61200
|
"parentCommentId": {
|
|
60411
61201
|
"type": "string",
|
|
@@ -60611,11 +61401,14 @@ export const CONTRACT = {
|
|
|
60611
61401
|
"oneOf": [
|
|
60612
61402
|
{
|
|
60613
61403
|
"const": "resolved"
|
|
61404
|
+
},
|
|
61405
|
+
{
|
|
61406
|
+
"const": "active"
|
|
60614
61407
|
}
|
|
60615
61408
|
],
|
|
60616
|
-
"description": "Set comment status. Use 'resolved' to
|
|
61409
|
+
"description": "Set comment status. Use 'resolved' to resolve a comment, or 'active' to reopen a previously resolved comment (lifecycle inverse)."
|
|
60617
61410
|
},
|
|
60618
|
-
"description": "Set comment status. Use 'resolved' to
|
|
61411
|
+
"description": "Set comment status. Use 'resolved' to resolve a comment, or 'active' to reopen a previously resolved comment (lifecycle inverse)."
|
|
60619
61412
|
},
|
|
60620
61413
|
{
|
|
60621
61414
|
"name": "isInternal",
|
|
@@ -60667,9 +61460,10 @@ export const CONTRACT = {
|
|
|
60667
61460
|
},
|
|
60668
61461
|
"status": {
|
|
60669
61462
|
"enum": [
|
|
60670
|
-
"resolved"
|
|
61463
|
+
"resolved",
|
|
61464
|
+
"active"
|
|
60671
61465
|
],
|
|
60672
|
-
"description": "Set comment status. Use 'resolved' to
|
|
61466
|
+
"description": "Set comment status. Use 'resolved' to resolve a comment, or 'active' to reopen a previously resolved comment (lifecycle inverse)."
|
|
60673
61467
|
},
|
|
60674
61468
|
"isInternal": {
|
|
60675
61469
|
"type": "boolean",
|
|
@@ -63495,6 +64289,102 @@ export const CONTRACT = {
|
|
|
63495
64289
|
]
|
|
63496
64290
|
}
|
|
63497
64291
|
},
|
|
64292
|
+
"doc.selection.current": {
|
|
64293
|
+
"operationId": "doc.selection.current",
|
|
64294
|
+
"sdkSurface": "document",
|
|
64295
|
+
"command": "selection current",
|
|
64296
|
+
"commandTokens": [
|
|
64297
|
+
"selection",
|
|
64298
|
+
"current"
|
|
64299
|
+
],
|
|
64300
|
+
"category": "core",
|
|
64301
|
+
"description": "Read the editor's current selection as a portable SelectionInfo with a text-anchored TextTarget. Primitive for building custom comments UIs, floating toolbars, and other selection-driven components without reaching into ProseMirror internals.",
|
|
64302
|
+
"requiresDocumentContext": true,
|
|
64303
|
+
"docRequirement": "optional",
|
|
64304
|
+
"responseEnvelopeKey": null,
|
|
64305
|
+
"params": [
|
|
64306
|
+
{
|
|
64307
|
+
"name": "doc",
|
|
64308
|
+
"kind": "doc",
|
|
64309
|
+
"type": "string",
|
|
64310
|
+
"description": "Document path. Optional when a session is already open."
|
|
64311
|
+
},
|
|
64312
|
+
{
|
|
64313
|
+
"name": "sessionId",
|
|
64314
|
+
"kind": "flag",
|
|
64315
|
+
"type": "string",
|
|
64316
|
+
"flag": "session",
|
|
64317
|
+
"description": "Session ID for multi-session workflows. Optional when only one session is open."
|
|
64318
|
+
},
|
|
64319
|
+
{
|
|
64320
|
+
"name": "includeText",
|
|
64321
|
+
"kind": "flag",
|
|
64322
|
+
"type": "boolean",
|
|
64323
|
+
"flag": "include-text"
|
|
64324
|
+
}
|
|
64325
|
+
],
|
|
64326
|
+
"constraints": null,
|
|
64327
|
+
"mutates": false,
|
|
64328
|
+
"idempotency": "idempotent",
|
|
64329
|
+
"supportsTrackedMode": false,
|
|
64330
|
+
"supportsDryRun": false,
|
|
64331
|
+
"inputSchema": {
|
|
64332
|
+
"type": "object",
|
|
64333
|
+
"properties": {
|
|
64334
|
+
"includeText": {
|
|
64335
|
+
"type": "boolean"
|
|
64336
|
+
}
|
|
64337
|
+
},
|
|
64338
|
+
"additionalProperties": false
|
|
64339
|
+
},
|
|
64340
|
+
"outputSchema": {
|
|
64341
|
+
"type": "object",
|
|
64342
|
+
"properties": {
|
|
64343
|
+
"empty": {
|
|
64344
|
+
"type": "boolean"
|
|
64345
|
+
},
|
|
64346
|
+
"target": {
|
|
64347
|
+
"oneOf": [
|
|
64348
|
+
{
|
|
64349
|
+
"$ref": "#/$defs/TextTarget"
|
|
64350
|
+
},
|
|
64351
|
+
{
|
|
64352
|
+
"type": "null"
|
|
64353
|
+
}
|
|
64354
|
+
]
|
|
64355
|
+
},
|
|
64356
|
+
"activeMarks": {
|
|
64357
|
+
"type": "array",
|
|
64358
|
+
"items": {
|
|
64359
|
+
"type": "string"
|
|
64360
|
+
}
|
|
64361
|
+
},
|
|
64362
|
+
"activeCommentIds": {
|
|
64363
|
+
"type": "array",
|
|
64364
|
+
"items": {
|
|
64365
|
+
"type": "string"
|
|
64366
|
+
}
|
|
64367
|
+
},
|
|
64368
|
+
"activeChangeIds": {
|
|
64369
|
+
"type": "array",
|
|
64370
|
+
"items": {
|
|
64371
|
+
"type": "string"
|
|
64372
|
+
}
|
|
64373
|
+
},
|
|
64374
|
+
"text": {
|
|
64375
|
+
"type": "string"
|
|
64376
|
+
}
|
|
64377
|
+
},
|
|
64378
|
+
"additionalProperties": false,
|
|
64379
|
+
"required": [
|
|
64380
|
+
"empty",
|
|
64381
|
+
"target",
|
|
64382
|
+
"activeMarks",
|
|
64383
|
+
"activeCommentIds",
|
|
64384
|
+
"activeChangeIds"
|
|
64385
|
+
]
|
|
64386
|
+
}
|
|
64387
|
+
},
|
|
63498
64388
|
"doc.mutations.preview": {
|
|
63499
64389
|
"operationId": "doc.mutations.preview",
|
|
63500
64390
|
"sdkSurface": "document",
|
|
@@ -80772,6 +81662,76 @@ export const CONTRACT = {
|
|
|
80772
81662
|
"dryRun"
|
|
80773
81663
|
]
|
|
80774
81664
|
},
|
|
81665
|
+
"lists.merge": {
|
|
81666
|
+
"type": "object",
|
|
81667
|
+
"properties": {
|
|
81668
|
+
"available": {
|
|
81669
|
+
"type": "boolean"
|
|
81670
|
+
},
|
|
81671
|
+
"tracked": {
|
|
81672
|
+
"type": "boolean"
|
|
81673
|
+
},
|
|
81674
|
+
"dryRun": {
|
|
81675
|
+
"type": "boolean"
|
|
81676
|
+
},
|
|
81677
|
+
"reasons": {
|
|
81678
|
+
"type": "array",
|
|
81679
|
+
"items": {
|
|
81680
|
+
"enum": [
|
|
81681
|
+
"COMMAND_UNAVAILABLE",
|
|
81682
|
+
"HELPER_UNAVAILABLE",
|
|
81683
|
+
"OPERATION_UNAVAILABLE",
|
|
81684
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
81685
|
+
"DRY_RUN_UNAVAILABLE",
|
|
81686
|
+
"NAMESPACE_UNAVAILABLE",
|
|
81687
|
+
"STYLES_PART_MISSING",
|
|
81688
|
+
"COLLABORATION_ACTIVE"
|
|
81689
|
+
]
|
|
81690
|
+
}
|
|
81691
|
+
}
|
|
81692
|
+
},
|
|
81693
|
+
"additionalProperties": false,
|
|
81694
|
+
"required": [
|
|
81695
|
+
"available",
|
|
81696
|
+
"tracked",
|
|
81697
|
+
"dryRun"
|
|
81698
|
+
]
|
|
81699
|
+
},
|
|
81700
|
+
"lists.split": {
|
|
81701
|
+
"type": "object",
|
|
81702
|
+
"properties": {
|
|
81703
|
+
"available": {
|
|
81704
|
+
"type": "boolean"
|
|
81705
|
+
},
|
|
81706
|
+
"tracked": {
|
|
81707
|
+
"type": "boolean"
|
|
81708
|
+
},
|
|
81709
|
+
"dryRun": {
|
|
81710
|
+
"type": "boolean"
|
|
81711
|
+
},
|
|
81712
|
+
"reasons": {
|
|
81713
|
+
"type": "array",
|
|
81714
|
+
"items": {
|
|
81715
|
+
"enum": [
|
|
81716
|
+
"COMMAND_UNAVAILABLE",
|
|
81717
|
+
"HELPER_UNAVAILABLE",
|
|
81718
|
+
"OPERATION_UNAVAILABLE",
|
|
81719
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
81720
|
+
"DRY_RUN_UNAVAILABLE",
|
|
81721
|
+
"NAMESPACE_UNAVAILABLE",
|
|
81722
|
+
"STYLES_PART_MISSING",
|
|
81723
|
+
"COLLABORATION_ACTIVE"
|
|
81724
|
+
]
|
|
81725
|
+
}
|
|
81726
|
+
}
|
|
81727
|
+
},
|
|
81728
|
+
"additionalProperties": false,
|
|
81729
|
+
"required": [
|
|
81730
|
+
"available",
|
|
81731
|
+
"tracked",
|
|
81732
|
+
"dryRun"
|
|
81733
|
+
]
|
|
81734
|
+
},
|
|
80775
81735
|
"lists.setLevel": {
|
|
80776
81736
|
"type": "object",
|
|
80777
81737
|
"properties": {
|
|
@@ -81997,6 +82957,41 @@ export const CONTRACT = {
|
|
|
81997
82957
|
"dryRun"
|
|
81998
82958
|
]
|
|
81999
82959
|
},
|
|
82960
|
+
"selection.current": {
|
|
82961
|
+
"type": "object",
|
|
82962
|
+
"properties": {
|
|
82963
|
+
"available": {
|
|
82964
|
+
"type": "boolean"
|
|
82965
|
+
},
|
|
82966
|
+
"tracked": {
|
|
82967
|
+
"type": "boolean"
|
|
82968
|
+
},
|
|
82969
|
+
"dryRun": {
|
|
82970
|
+
"type": "boolean"
|
|
82971
|
+
},
|
|
82972
|
+
"reasons": {
|
|
82973
|
+
"type": "array",
|
|
82974
|
+
"items": {
|
|
82975
|
+
"enum": [
|
|
82976
|
+
"COMMAND_UNAVAILABLE",
|
|
82977
|
+
"HELPER_UNAVAILABLE",
|
|
82978
|
+
"OPERATION_UNAVAILABLE",
|
|
82979
|
+
"TRACKED_MODE_UNAVAILABLE",
|
|
82980
|
+
"DRY_RUN_UNAVAILABLE",
|
|
82981
|
+
"NAMESPACE_UNAVAILABLE",
|
|
82982
|
+
"STYLES_PART_MISSING",
|
|
82983
|
+
"COLLABORATION_ACTIVE"
|
|
82984
|
+
]
|
|
82985
|
+
}
|
|
82986
|
+
}
|
|
82987
|
+
},
|
|
82988
|
+
"additionalProperties": false,
|
|
82989
|
+
"required": [
|
|
82990
|
+
"available",
|
|
82991
|
+
"tracked",
|
|
82992
|
+
"dryRun"
|
|
82993
|
+
]
|
|
82994
|
+
},
|
|
82000
82995
|
"mutations.preview": {
|
|
82001
82996
|
"type": "object",
|
|
82002
82997
|
"properties": {
|
|
@@ -90375,6 +91370,8 @@ export const CONTRACT = {
|
|
|
90375
91370
|
"lists.join",
|
|
90376
91371
|
"lists.canJoin",
|
|
90377
91372
|
"lists.separate",
|
|
91373
|
+
"lists.merge",
|
|
91374
|
+
"lists.split",
|
|
90378
91375
|
"lists.setLevel",
|
|
90379
91376
|
"lists.setValue",
|
|
90380
91377
|
"lists.continuePrevious",
|
|
@@ -90410,6 +91407,7 @@ export const CONTRACT = {
|
|
|
90410
91407
|
"trackChanges.decide",
|
|
90411
91408
|
"query.match",
|
|
90412
91409
|
"ranges.resolve",
|
|
91410
|
+
"selection.current",
|
|
90413
91411
|
"mutations.preview",
|
|
90414
91412
|
"mutations.apply",
|
|
90415
91413
|
"capabilities.get",
|
|
@@ -131717,6 +132715,170 @@ export const CONTRACT = {
|
|
|
131717
132715
|
"name": "offset",
|
|
131718
132716
|
"kind": "flag",
|
|
131719
132717
|
"type": "number"
|
|
132718
|
+
},
|
|
132719
|
+
{
|
|
132720
|
+
"name": "in",
|
|
132721
|
+
"kind": "jsonFlag",
|
|
132722
|
+
"type": "json",
|
|
132723
|
+
"flag": "in-json",
|
|
132724
|
+
"schema": {
|
|
132725
|
+
"oneOf": [
|
|
132726
|
+
{
|
|
132727
|
+
"type": "object",
|
|
132728
|
+
"properties": {
|
|
132729
|
+
"kind": {
|
|
132730
|
+
"const": "story"
|
|
132731
|
+
},
|
|
132732
|
+
"storyType": {
|
|
132733
|
+
"const": "body"
|
|
132734
|
+
}
|
|
132735
|
+
},
|
|
132736
|
+
"required": [
|
|
132737
|
+
"kind",
|
|
132738
|
+
"storyType"
|
|
132739
|
+
]
|
|
132740
|
+
},
|
|
132741
|
+
{
|
|
132742
|
+
"type": "object",
|
|
132743
|
+
"properties": {
|
|
132744
|
+
"kind": {
|
|
132745
|
+
"const": "story"
|
|
132746
|
+
},
|
|
132747
|
+
"storyType": {
|
|
132748
|
+
"const": "headerFooterSlot"
|
|
132749
|
+
},
|
|
132750
|
+
"section": {
|
|
132751
|
+
"type": "object",
|
|
132752
|
+
"properties": {
|
|
132753
|
+
"kind": {
|
|
132754
|
+
"const": "section"
|
|
132755
|
+
},
|
|
132756
|
+
"sectionId": {
|
|
132757
|
+
"type": "string"
|
|
132758
|
+
}
|
|
132759
|
+
},
|
|
132760
|
+
"required": [
|
|
132761
|
+
"kind",
|
|
132762
|
+
"sectionId"
|
|
132763
|
+
]
|
|
132764
|
+
},
|
|
132765
|
+
"headerFooterKind": {
|
|
132766
|
+
"oneOf": [
|
|
132767
|
+
{
|
|
132768
|
+
"const": "header"
|
|
132769
|
+
},
|
|
132770
|
+
{
|
|
132771
|
+
"const": "footer"
|
|
132772
|
+
}
|
|
132773
|
+
]
|
|
132774
|
+
},
|
|
132775
|
+
"variant": {
|
|
132776
|
+
"oneOf": [
|
|
132777
|
+
{
|
|
132778
|
+
"const": "default"
|
|
132779
|
+
},
|
|
132780
|
+
{
|
|
132781
|
+
"const": "first"
|
|
132782
|
+
},
|
|
132783
|
+
{
|
|
132784
|
+
"const": "even"
|
|
132785
|
+
}
|
|
132786
|
+
]
|
|
132787
|
+
},
|
|
132788
|
+
"resolution": {
|
|
132789
|
+
"oneOf": [
|
|
132790
|
+
{
|
|
132791
|
+
"const": "effective"
|
|
132792
|
+
},
|
|
132793
|
+
{
|
|
132794
|
+
"const": "explicit"
|
|
132795
|
+
}
|
|
132796
|
+
]
|
|
132797
|
+
},
|
|
132798
|
+
"onWrite": {
|
|
132799
|
+
"oneOf": [
|
|
132800
|
+
{
|
|
132801
|
+
"const": "materializeIfInherited"
|
|
132802
|
+
},
|
|
132803
|
+
{
|
|
132804
|
+
"const": "editResolvedPart"
|
|
132805
|
+
},
|
|
132806
|
+
{
|
|
132807
|
+
"const": "error"
|
|
132808
|
+
}
|
|
132809
|
+
]
|
|
132810
|
+
}
|
|
132811
|
+
},
|
|
132812
|
+
"required": [
|
|
132813
|
+
"kind",
|
|
132814
|
+
"storyType",
|
|
132815
|
+
"section",
|
|
132816
|
+
"headerFooterKind",
|
|
132817
|
+
"variant"
|
|
132818
|
+
]
|
|
132819
|
+
},
|
|
132820
|
+
{
|
|
132821
|
+
"type": "object",
|
|
132822
|
+
"properties": {
|
|
132823
|
+
"kind": {
|
|
132824
|
+
"const": "story"
|
|
132825
|
+
},
|
|
132826
|
+
"storyType": {
|
|
132827
|
+
"const": "headerFooterPart"
|
|
132828
|
+
},
|
|
132829
|
+
"refId": {
|
|
132830
|
+
"type": "string"
|
|
132831
|
+
}
|
|
132832
|
+
},
|
|
132833
|
+
"required": [
|
|
132834
|
+
"kind",
|
|
132835
|
+
"storyType",
|
|
132836
|
+
"refId"
|
|
132837
|
+
]
|
|
132838
|
+
},
|
|
132839
|
+
{
|
|
132840
|
+
"type": "object",
|
|
132841
|
+
"properties": {
|
|
132842
|
+
"kind": {
|
|
132843
|
+
"const": "story"
|
|
132844
|
+
},
|
|
132845
|
+
"storyType": {
|
|
132846
|
+
"const": "footnote"
|
|
132847
|
+
},
|
|
132848
|
+
"noteId": {
|
|
132849
|
+
"type": "string"
|
|
132850
|
+
}
|
|
132851
|
+
},
|
|
132852
|
+
"required": [
|
|
132853
|
+
"kind",
|
|
132854
|
+
"storyType",
|
|
132855
|
+
"noteId"
|
|
132856
|
+
]
|
|
132857
|
+
},
|
|
132858
|
+
{
|
|
132859
|
+
"type": "object",
|
|
132860
|
+
"properties": {
|
|
132861
|
+
"kind": {
|
|
132862
|
+
"const": "story"
|
|
132863
|
+
},
|
|
132864
|
+
"storyType": {
|
|
132865
|
+
"const": "endnote"
|
|
132866
|
+
},
|
|
132867
|
+
"noteId": {
|
|
132868
|
+
"type": "string"
|
|
132869
|
+
}
|
|
132870
|
+
},
|
|
132871
|
+
"required": [
|
|
132872
|
+
"kind",
|
|
132873
|
+
"storyType",
|
|
132874
|
+
"noteId"
|
|
132875
|
+
]
|
|
132876
|
+
}
|
|
132877
|
+
],
|
|
132878
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
132879
|
+
},
|
|
132880
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes.",
|
|
132881
|
+
"agentVisible": false
|
|
131720
132882
|
}
|
|
131721
132883
|
],
|
|
131722
132884
|
"constraints": null,
|
|
@@ -131734,6 +132896,9 @@ export const CONTRACT = {
|
|
|
131734
132896
|
"offset": {
|
|
131735
132897
|
"type": "integer",
|
|
131736
132898
|
"minimum": 0
|
|
132899
|
+
},
|
|
132900
|
+
"in": {
|
|
132901
|
+
"$ref": "#/$defs/StoryLocator"
|
|
131737
132902
|
}
|
|
131738
132903
|
},
|
|
131739
132904
|
"additionalProperties": false
|
|
@@ -131786,6 +132951,162 @@ export const CONTRACT = {
|
|
|
131786
132951
|
},
|
|
131787
132952
|
"name": {
|
|
131788
132953
|
"type": "string"
|
|
132954
|
+
},
|
|
132955
|
+
"story": {
|
|
132956
|
+
"oneOf": [
|
|
132957
|
+
{
|
|
132958
|
+
"type": "object",
|
|
132959
|
+
"properties": {
|
|
132960
|
+
"kind": {
|
|
132961
|
+
"const": "story"
|
|
132962
|
+
},
|
|
132963
|
+
"storyType": {
|
|
132964
|
+
"const": "body"
|
|
132965
|
+
}
|
|
132966
|
+
},
|
|
132967
|
+
"required": [
|
|
132968
|
+
"kind",
|
|
132969
|
+
"storyType"
|
|
132970
|
+
]
|
|
132971
|
+
},
|
|
132972
|
+
{
|
|
132973
|
+
"type": "object",
|
|
132974
|
+
"properties": {
|
|
132975
|
+
"kind": {
|
|
132976
|
+
"const": "story"
|
|
132977
|
+
},
|
|
132978
|
+
"storyType": {
|
|
132979
|
+
"const": "headerFooterSlot"
|
|
132980
|
+
},
|
|
132981
|
+
"section": {
|
|
132982
|
+
"type": "object",
|
|
132983
|
+
"properties": {
|
|
132984
|
+
"kind": {
|
|
132985
|
+
"const": "section"
|
|
132986
|
+
},
|
|
132987
|
+
"sectionId": {
|
|
132988
|
+
"type": "string"
|
|
132989
|
+
}
|
|
132990
|
+
},
|
|
132991
|
+
"required": [
|
|
132992
|
+
"kind",
|
|
132993
|
+
"sectionId"
|
|
132994
|
+
]
|
|
132995
|
+
},
|
|
132996
|
+
"headerFooterKind": {
|
|
132997
|
+
"oneOf": [
|
|
132998
|
+
{
|
|
132999
|
+
"const": "header"
|
|
133000
|
+
},
|
|
133001
|
+
{
|
|
133002
|
+
"const": "footer"
|
|
133003
|
+
}
|
|
133004
|
+
]
|
|
133005
|
+
},
|
|
133006
|
+
"variant": {
|
|
133007
|
+
"oneOf": [
|
|
133008
|
+
{
|
|
133009
|
+
"const": "default"
|
|
133010
|
+
},
|
|
133011
|
+
{
|
|
133012
|
+
"const": "first"
|
|
133013
|
+
},
|
|
133014
|
+
{
|
|
133015
|
+
"const": "even"
|
|
133016
|
+
}
|
|
133017
|
+
]
|
|
133018
|
+
},
|
|
133019
|
+
"resolution": {
|
|
133020
|
+
"oneOf": [
|
|
133021
|
+
{
|
|
133022
|
+
"const": "effective"
|
|
133023
|
+
},
|
|
133024
|
+
{
|
|
133025
|
+
"const": "explicit"
|
|
133026
|
+
}
|
|
133027
|
+
]
|
|
133028
|
+
},
|
|
133029
|
+
"onWrite": {
|
|
133030
|
+
"oneOf": [
|
|
133031
|
+
{
|
|
133032
|
+
"const": "materializeIfInherited"
|
|
133033
|
+
},
|
|
133034
|
+
{
|
|
133035
|
+
"const": "editResolvedPart"
|
|
133036
|
+
},
|
|
133037
|
+
{
|
|
133038
|
+
"const": "error"
|
|
133039
|
+
}
|
|
133040
|
+
]
|
|
133041
|
+
}
|
|
133042
|
+
},
|
|
133043
|
+
"required": [
|
|
133044
|
+
"kind",
|
|
133045
|
+
"storyType",
|
|
133046
|
+
"section",
|
|
133047
|
+
"headerFooterKind",
|
|
133048
|
+
"variant"
|
|
133049
|
+
]
|
|
133050
|
+
},
|
|
133051
|
+
{
|
|
133052
|
+
"type": "object",
|
|
133053
|
+
"properties": {
|
|
133054
|
+
"kind": {
|
|
133055
|
+
"const": "story"
|
|
133056
|
+
},
|
|
133057
|
+
"storyType": {
|
|
133058
|
+
"const": "headerFooterPart"
|
|
133059
|
+
},
|
|
133060
|
+
"refId": {
|
|
133061
|
+
"type": "string"
|
|
133062
|
+
}
|
|
133063
|
+
},
|
|
133064
|
+
"required": [
|
|
133065
|
+
"kind",
|
|
133066
|
+
"storyType",
|
|
133067
|
+
"refId"
|
|
133068
|
+
]
|
|
133069
|
+
},
|
|
133070
|
+
{
|
|
133071
|
+
"type": "object",
|
|
133072
|
+
"properties": {
|
|
133073
|
+
"kind": {
|
|
133074
|
+
"const": "story"
|
|
133075
|
+
},
|
|
133076
|
+
"storyType": {
|
|
133077
|
+
"const": "footnote"
|
|
133078
|
+
},
|
|
133079
|
+
"noteId": {
|
|
133080
|
+
"type": "string"
|
|
133081
|
+
}
|
|
133082
|
+
},
|
|
133083
|
+
"required": [
|
|
133084
|
+
"kind",
|
|
133085
|
+
"storyType",
|
|
133086
|
+
"noteId"
|
|
133087
|
+
]
|
|
133088
|
+
},
|
|
133089
|
+
{
|
|
133090
|
+
"type": "object",
|
|
133091
|
+
"properties": {
|
|
133092
|
+
"kind": {
|
|
133093
|
+
"const": "story"
|
|
133094
|
+
},
|
|
133095
|
+
"storyType": {
|
|
133096
|
+
"const": "endnote"
|
|
133097
|
+
},
|
|
133098
|
+
"noteId": {
|
|
133099
|
+
"type": "string"
|
|
133100
|
+
}
|
|
133101
|
+
},
|
|
133102
|
+
"required": [
|
|
133103
|
+
"kind",
|
|
133104
|
+
"storyType",
|
|
133105
|
+
"noteId"
|
|
133106
|
+
]
|
|
133107
|
+
}
|
|
133108
|
+
],
|
|
133109
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
131789
133110
|
}
|
|
131790
133111
|
},
|
|
131791
133112
|
"required": [
|
|
@@ -131815,6 +133136,9 @@ export const CONTRACT = {
|
|
|
131815
133136
|
},
|
|
131816
133137
|
"name": {
|
|
131817
133138
|
"type": "string"
|
|
133139
|
+
},
|
|
133140
|
+
"story": {
|
|
133141
|
+
"$ref": "#/$defs/StoryLocator"
|
|
131818
133142
|
}
|
|
131819
133143
|
},
|
|
131820
133144
|
"additionalProperties": false,
|
|
@@ -131947,6 +133271,162 @@ export const CONTRACT = {
|
|
|
131947
133271
|
"range"
|
|
131948
133272
|
]
|
|
131949
133273
|
}
|
|
133274
|
+
},
|
|
133275
|
+
"story": {
|
|
133276
|
+
"oneOf": [
|
|
133277
|
+
{
|
|
133278
|
+
"type": "object",
|
|
133279
|
+
"properties": {
|
|
133280
|
+
"kind": {
|
|
133281
|
+
"const": "story"
|
|
133282
|
+
},
|
|
133283
|
+
"storyType": {
|
|
133284
|
+
"const": "body"
|
|
133285
|
+
}
|
|
133286
|
+
},
|
|
133287
|
+
"required": [
|
|
133288
|
+
"kind",
|
|
133289
|
+
"storyType"
|
|
133290
|
+
]
|
|
133291
|
+
},
|
|
133292
|
+
{
|
|
133293
|
+
"type": "object",
|
|
133294
|
+
"properties": {
|
|
133295
|
+
"kind": {
|
|
133296
|
+
"const": "story"
|
|
133297
|
+
},
|
|
133298
|
+
"storyType": {
|
|
133299
|
+
"const": "headerFooterSlot"
|
|
133300
|
+
},
|
|
133301
|
+
"section": {
|
|
133302
|
+
"type": "object",
|
|
133303
|
+
"properties": {
|
|
133304
|
+
"kind": {
|
|
133305
|
+
"const": "section"
|
|
133306
|
+
},
|
|
133307
|
+
"sectionId": {
|
|
133308
|
+
"type": "string"
|
|
133309
|
+
}
|
|
133310
|
+
},
|
|
133311
|
+
"required": [
|
|
133312
|
+
"kind",
|
|
133313
|
+
"sectionId"
|
|
133314
|
+
]
|
|
133315
|
+
},
|
|
133316
|
+
"headerFooterKind": {
|
|
133317
|
+
"oneOf": [
|
|
133318
|
+
{
|
|
133319
|
+
"const": "header"
|
|
133320
|
+
},
|
|
133321
|
+
{
|
|
133322
|
+
"const": "footer"
|
|
133323
|
+
}
|
|
133324
|
+
]
|
|
133325
|
+
},
|
|
133326
|
+
"variant": {
|
|
133327
|
+
"oneOf": [
|
|
133328
|
+
{
|
|
133329
|
+
"const": "default"
|
|
133330
|
+
},
|
|
133331
|
+
{
|
|
133332
|
+
"const": "first"
|
|
133333
|
+
},
|
|
133334
|
+
{
|
|
133335
|
+
"const": "even"
|
|
133336
|
+
}
|
|
133337
|
+
]
|
|
133338
|
+
},
|
|
133339
|
+
"resolution": {
|
|
133340
|
+
"oneOf": [
|
|
133341
|
+
{
|
|
133342
|
+
"const": "effective"
|
|
133343
|
+
},
|
|
133344
|
+
{
|
|
133345
|
+
"const": "explicit"
|
|
133346
|
+
}
|
|
133347
|
+
]
|
|
133348
|
+
},
|
|
133349
|
+
"onWrite": {
|
|
133350
|
+
"oneOf": [
|
|
133351
|
+
{
|
|
133352
|
+
"const": "materializeIfInherited"
|
|
133353
|
+
},
|
|
133354
|
+
{
|
|
133355
|
+
"const": "editResolvedPart"
|
|
133356
|
+
},
|
|
133357
|
+
{
|
|
133358
|
+
"const": "error"
|
|
133359
|
+
}
|
|
133360
|
+
]
|
|
133361
|
+
}
|
|
133362
|
+
},
|
|
133363
|
+
"required": [
|
|
133364
|
+
"kind",
|
|
133365
|
+
"storyType",
|
|
133366
|
+
"section",
|
|
133367
|
+
"headerFooterKind",
|
|
133368
|
+
"variant"
|
|
133369
|
+
]
|
|
133370
|
+
},
|
|
133371
|
+
{
|
|
133372
|
+
"type": "object",
|
|
133373
|
+
"properties": {
|
|
133374
|
+
"kind": {
|
|
133375
|
+
"const": "story"
|
|
133376
|
+
},
|
|
133377
|
+
"storyType": {
|
|
133378
|
+
"const": "headerFooterPart"
|
|
133379
|
+
},
|
|
133380
|
+
"refId": {
|
|
133381
|
+
"type": "string"
|
|
133382
|
+
}
|
|
133383
|
+
},
|
|
133384
|
+
"required": [
|
|
133385
|
+
"kind",
|
|
133386
|
+
"storyType",
|
|
133387
|
+
"refId"
|
|
133388
|
+
]
|
|
133389
|
+
},
|
|
133390
|
+
{
|
|
133391
|
+
"type": "object",
|
|
133392
|
+
"properties": {
|
|
133393
|
+
"kind": {
|
|
133394
|
+
"const": "story"
|
|
133395
|
+
},
|
|
133396
|
+
"storyType": {
|
|
133397
|
+
"const": "footnote"
|
|
133398
|
+
},
|
|
133399
|
+
"noteId": {
|
|
133400
|
+
"type": "string"
|
|
133401
|
+
}
|
|
133402
|
+
},
|
|
133403
|
+
"required": [
|
|
133404
|
+
"kind",
|
|
133405
|
+
"storyType",
|
|
133406
|
+
"noteId"
|
|
133407
|
+
]
|
|
133408
|
+
},
|
|
133409
|
+
{
|
|
133410
|
+
"type": "object",
|
|
133411
|
+
"properties": {
|
|
133412
|
+
"kind": {
|
|
133413
|
+
"const": "story"
|
|
133414
|
+
},
|
|
133415
|
+
"storyType": {
|
|
133416
|
+
"const": "endnote"
|
|
133417
|
+
},
|
|
133418
|
+
"noteId": {
|
|
133419
|
+
"type": "string"
|
|
133420
|
+
}
|
|
133421
|
+
},
|
|
133422
|
+
"required": [
|
|
133423
|
+
"kind",
|
|
133424
|
+
"storyType",
|
|
133425
|
+
"noteId"
|
|
133426
|
+
]
|
|
133427
|
+
}
|
|
133428
|
+
],
|
|
133429
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
131950
133430
|
}
|
|
131951
133431
|
},
|
|
131952
133432
|
"required": [
|
|
@@ -132033,6 +133513,9 @@ export const CONTRACT = {
|
|
|
132033
133513
|
},
|
|
132034
133514
|
"name": {
|
|
132035
133515
|
"type": "string"
|
|
133516
|
+
},
|
|
133517
|
+
"story": {
|
|
133518
|
+
"$ref": "#/$defs/StoryLocator"
|
|
132036
133519
|
}
|
|
132037
133520
|
},
|
|
132038
133521
|
"additionalProperties": false,
|
|
@@ -132098,6 +133581,9 @@ export const CONTRACT = {
|
|
|
132098
133581
|
},
|
|
132099
133582
|
"name": {
|
|
132100
133583
|
"type": "string"
|
|
133584
|
+
},
|
|
133585
|
+
"story": {
|
|
133586
|
+
"$ref": "#/$defs/StoryLocator"
|
|
132101
133587
|
}
|
|
132102
133588
|
},
|
|
132103
133589
|
"additionalProperties": false,
|
|
@@ -132228,6 +133714,162 @@ export const CONTRACT = {
|
|
|
132228
133714
|
},
|
|
132229
133715
|
"name": {
|
|
132230
133716
|
"type": "string"
|
|
133717
|
+
},
|
|
133718
|
+
"story": {
|
|
133719
|
+
"oneOf": [
|
|
133720
|
+
{
|
|
133721
|
+
"type": "object",
|
|
133722
|
+
"properties": {
|
|
133723
|
+
"kind": {
|
|
133724
|
+
"const": "story"
|
|
133725
|
+
},
|
|
133726
|
+
"storyType": {
|
|
133727
|
+
"const": "body"
|
|
133728
|
+
}
|
|
133729
|
+
},
|
|
133730
|
+
"required": [
|
|
133731
|
+
"kind",
|
|
133732
|
+
"storyType"
|
|
133733
|
+
]
|
|
133734
|
+
},
|
|
133735
|
+
{
|
|
133736
|
+
"type": "object",
|
|
133737
|
+
"properties": {
|
|
133738
|
+
"kind": {
|
|
133739
|
+
"const": "story"
|
|
133740
|
+
},
|
|
133741
|
+
"storyType": {
|
|
133742
|
+
"const": "headerFooterSlot"
|
|
133743
|
+
},
|
|
133744
|
+
"section": {
|
|
133745
|
+
"type": "object",
|
|
133746
|
+
"properties": {
|
|
133747
|
+
"kind": {
|
|
133748
|
+
"const": "section"
|
|
133749
|
+
},
|
|
133750
|
+
"sectionId": {
|
|
133751
|
+
"type": "string"
|
|
133752
|
+
}
|
|
133753
|
+
},
|
|
133754
|
+
"required": [
|
|
133755
|
+
"kind",
|
|
133756
|
+
"sectionId"
|
|
133757
|
+
]
|
|
133758
|
+
},
|
|
133759
|
+
"headerFooterKind": {
|
|
133760
|
+
"oneOf": [
|
|
133761
|
+
{
|
|
133762
|
+
"const": "header"
|
|
133763
|
+
},
|
|
133764
|
+
{
|
|
133765
|
+
"const": "footer"
|
|
133766
|
+
}
|
|
133767
|
+
]
|
|
133768
|
+
},
|
|
133769
|
+
"variant": {
|
|
133770
|
+
"oneOf": [
|
|
133771
|
+
{
|
|
133772
|
+
"const": "default"
|
|
133773
|
+
},
|
|
133774
|
+
{
|
|
133775
|
+
"const": "first"
|
|
133776
|
+
},
|
|
133777
|
+
{
|
|
133778
|
+
"const": "even"
|
|
133779
|
+
}
|
|
133780
|
+
]
|
|
133781
|
+
},
|
|
133782
|
+
"resolution": {
|
|
133783
|
+
"oneOf": [
|
|
133784
|
+
{
|
|
133785
|
+
"const": "effective"
|
|
133786
|
+
},
|
|
133787
|
+
{
|
|
133788
|
+
"const": "explicit"
|
|
133789
|
+
}
|
|
133790
|
+
]
|
|
133791
|
+
},
|
|
133792
|
+
"onWrite": {
|
|
133793
|
+
"oneOf": [
|
|
133794
|
+
{
|
|
133795
|
+
"const": "materializeIfInherited"
|
|
133796
|
+
},
|
|
133797
|
+
{
|
|
133798
|
+
"const": "editResolvedPart"
|
|
133799
|
+
},
|
|
133800
|
+
{
|
|
133801
|
+
"const": "error"
|
|
133802
|
+
}
|
|
133803
|
+
]
|
|
133804
|
+
}
|
|
133805
|
+
},
|
|
133806
|
+
"required": [
|
|
133807
|
+
"kind",
|
|
133808
|
+
"storyType",
|
|
133809
|
+
"section",
|
|
133810
|
+
"headerFooterKind",
|
|
133811
|
+
"variant"
|
|
133812
|
+
]
|
|
133813
|
+
},
|
|
133814
|
+
{
|
|
133815
|
+
"type": "object",
|
|
133816
|
+
"properties": {
|
|
133817
|
+
"kind": {
|
|
133818
|
+
"const": "story"
|
|
133819
|
+
},
|
|
133820
|
+
"storyType": {
|
|
133821
|
+
"const": "headerFooterPart"
|
|
133822
|
+
},
|
|
133823
|
+
"refId": {
|
|
133824
|
+
"type": "string"
|
|
133825
|
+
}
|
|
133826
|
+
},
|
|
133827
|
+
"required": [
|
|
133828
|
+
"kind",
|
|
133829
|
+
"storyType",
|
|
133830
|
+
"refId"
|
|
133831
|
+
]
|
|
133832
|
+
},
|
|
133833
|
+
{
|
|
133834
|
+
"type": "object",
|
|
133835
|
+
"properties": {
|
|
133836
|
+
"kind": {
|
|
133837
|
+
"const": "story"
|
|
133838
|
+
},
|
|
133839
|
+
"storyType": {
|
|
133840
|
+
"const": "footnote"
|
|
133841
|
+
},
|
|
133842
|
+
"noteId": {
|
|
133843
|
+
"type": "string"
|
|
133844
|
+
}
|
|
133845
|
+
},
|
|
133846
|
+
"required": [
|
|
133847
|
+
"kind",
|
|
133848
|
+
"storyType",
|
|
133849
|
+
"noteId"
|
|
133850
|
+
]
|
|
133851
|
+
},
|
|
133852
|
+
{
|
|
133853
|
+
"type": "object",
|
|
133854
|
+
"properties": {
|
|
133855
|
+
"kind": {
|
|
133856
|
+
"const": "story"
|
|
133857
|
+
},
|
|
133858
|
+
"storyType": {
|
|
133859
|
+
"const": "endnote"
|
|
133860
|
+
},
|
|
133861
|
+
"noteId": {
|
|
133862
|
+
"type": "string"
|
|
133863
|
+
}
|
|
133864
|
+
},
|
|
133865
|
+
"required": [
|
|
133866
|
+
"kind",
|
|
133867
|
+
"storyType",
|
|
133868
|
+
"noteId"
|
|
133869
|
+
]
|
|
133870
|
+
}
|
|
133871
|
+
],
|
|
133872
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
132231
133873
|
}
|
|
132232
133874
|
},
|
|
132233
133875
|
"required": [
|
|
@@ -132264,6 +133906,9 @@ export const CONTRACT = {
|
|
|
132264
133906
|
},
|
|
132265
133907
|
"name": {
|
|
132266
133908
|
"type": "string"
|
|
133909
|
+
},
|
|
133910
|
+
"story": {
|
|
133911
|
+
"$ref": "#/$defs/StoryLocator"
|
|
132267
133912
|
}
|
|
132268
133913
|
},
|
|
132269
133914
|
"additionalProperties": false,
|
|
@@ -132302,6 +133947,9 @@ export const CONTRACT = {
|
|
|
132302
133947
|
},
|
|
132303
133948
|
"name": {
|
|
132304
133949
|
"type": "string"
|
|
133950
|
+
},
|
|
133951
|
+
"story": {
|
|
133952
|
+
"$ref": "#/$defs/StoryLocator"
|
|
132305
133953
|
}
|
|
132306
133954
|
},
|
|
132307
133955
|
"additionalProperties": false,
|
|
@@ -132367,6 +134015,9 @@ export const CONTRACT = {
|
|
|
132367
134015
|
},
|
|
132368
134016
|
"name": {
|
|
132369
134017
|
"type": "string"
|
|
134018
|
+
},
|
|
134019
|
+
"story": {
|
|
134020
|
+
"$ref": "#/$defs/StoryLocator"
|
|
132370
134021
|
}
|
|
132371
134022
|
},
|
|
132372
134023
|
"additionalProperties": false,
|
|
@@ -132497,6 +134148,162 @@ export const CONTRACT = {
|
|
|
132497
134148
|
},
|
|
132498
134149
|
"name": {
|
|
132499
134150
|
"type": "string"
|
|
134151
|
+
},
|
|
134152
|
+
"story": {
|
|
134153
|
+
"oneOf": [
|
|
134154
|
+
{
|
|
134155
|
+
"type": "object",
|
|
134156
|
+
"properties": {
|
|
134157
|
+
"kind": {
|
|
134158
|
+
"const": "story"
|
|
134159
|
+
},
|
|
134160
|
+
"storyType": {
|
|
134161
|
+
"const": "body"
|
|
134162
|
+
}
|
|
134163
|
+
},
|
|
134164
|
+
"required": [
|
|
134165
|
+
"kind",
|
|
134166
|
+
"storyType"
|
|
134167
|
+
]
|
|
134168
|
+
},
|
|
134169
|
+
{
|
|
134170
|
+
"type": "object",
|
|
134171
|
+
"properties": {
|
|
134172
|
+
"kind": {
|
|
134173
|
+
"const": "story"
|
|
134174
|
+
},
|
|
134175
|
+
"storyType": {
|
|
134176
|
+
"const": "headerFooterSlot"
|
|
134177
|
+
},
|
|
134178
|
+
"section": {
|
|
134179
|
+
"type": "object",
|
|
134180
|
+
"properties": {
|
|
134181
|
+
"kind": {
|
|
134182
|
+
"const": "section"
|
|
134183
|
+
},
|
|
134184
|
+
"sectionId": {
|
|
134185
|
+
"type": "string"
|
|
134186
|
+
}
|
|
134187
|
+
},
|
|
134188
|
+
"required": [
|
|
134189
|
+
"kind",
|
|
134190
|
+
"sectionId"
|
|
134191
|
+
]
|
|
134192
|
+
},
|
|
134193
|
+
"headerFooterKind": {
|
|
134194
|
+
"oneOf": [
|
|
134195
|
+
{
|
|
134196
|
+
"const": "header"
|
|
134197
|
+
},
|
|
134198
|
+
{
|
|
134199
|
+
"const": "footer"
|
|
134200
|
+
}
|
|
134201
|
+
]
|
|
134202
|
+
},
|
|
134203
|
+
"variant": {
|
|
134204
|
+
"oneOf": [
|
|
134205
|
+
{
|
|
134206
|
+
"const": "default"
|
|
134207
|
+
},
|
|
134208
|
+
{
|
|
134209
|
+
"const": "first"
|
|
134210
|
+
},
|
|
134211
|
+
{
|
|
134212
|
+
"const": "even"
|
|
134213
|
+
}
|
|
134214
|
+
]
|
|
134215
|
+
},
|
|
134216
|
+
"resolution": {
|
|
134217
|
+
"oneOf": [
|
|
134218
|
+
{
|
|
134219
|
+
"const": "effective"
|
|
134220
|
+
},
|
|
134221
|
+
{
|
|
134222
|
+
"const": "explicit"
|
|
134223
|
+
}
|
|
134224
|
+
]
|
|
134225
|
+
},
|
|
134226
|
+
"onWrite": {
|
|
134227
|
+
"oneOf": [
|
|
134228
|
+
{
|
|
134229
|
+
"const": "materializeIfInherited"
|
|
134230
|
+
},
|
|
134231
|
+
{
|
|
134232
|
+
"const": "editResolvedPart"
|
|
134233
|
+
},
|
|
134234
|
+
{
|
|
134235
|
+
"const": "error"
|
|
134236
|
+
}
|
|
134237
|
+
]
|
|
134238
|
+
}
|
|
134239
|
+
},
|
|
134240
|
+
"required": [
|
|
134241
|
+
"kind",
|
|
134242
|
+
"storyType",
|
|
134243
|
+
"section",
|
|
134244
|
+
"headerFooterKind",
|
|
134245
|
+
"variant"
|
|
134246
|
+
]
|
|
134247
|
+
},
|
|
134248
|
+
{
|
|
134249
|
+
"type": "object",
|
|
134250
|
+
"properties": {
|
|
134251
|
+
"kind": {
|
|
134252
|
+
"const": "story"
|
|
134253
|
+
},
|
|
134254
|
+
"storyType": {
|
|
134255
|
+
"const": "headerFooterPart"
|
|
134256
|
+
},
|
|
134257
|
+
"refId": {
|
|
134258
|
+
"type": "string"
|
|
134259
|
+
}
|
|
134260
|
+
},
|
|
134261
|
+
"required": [
|
|
134262
|
+
"kind",
|
|
134263
|
+
"storyType",
|
|
134264
|
+
"refId"
|
|
134265
|
+
]
|
|
134266
|
+
},
|
|
134267
|
+
{
|
|
134268
|
+
"type": "object",
|
|
134269
|
+
"properties": {
|
|
134270
|
+
"kind": {
|
|
134271
|
+
"const": "story"
|
|
134272
|
+
},
|
|
134273
|
+
"storyType": {
|
|
134274
|
+
"const": "footnote"
|
|
134275
|
+
},
|
|
134276
|
+
"noteId": {
|
|
134277
|
+
"type": "string"
|
|
134278
|
+
}
|
|
134279
|
+
},
|
|
134280
|
+
"required": [
|
|
134281
|
+
"kind",
|
|
134282
|
+
"storyType",
|
|
134283
|
+
"noteId"
|
|
134284
|
+
]
|
|
134285
|
+
},
|
|
134286
|
+
{
|
|
134287
|
+
"type": "object",
|
|
134288
|
+
"properties": {
|
|
134289
|
+
"kind": {
|
|
134290
|
+
"const": "story"
|
|
134291
|
+
},
|
|
134292
|
+
"storyType": {
|
|
134293
|
+
"const": "endnote"
|
|
134294
|
+
},
|
|
134295
|
+
"noteId": {
|
|
134296
|
+
"type": "string"
|
|
134297
|
+
}
|
|
134298
|
+
},
|
|
134299
|
+
"required": [
|
|
134300
|
+
"kind",
|
|
134301
|
+
"storyType",
|
|
134302
|
+
"noteId"
|
|
134303
|
+
]
|
|
134304
|
+
}
|
|
134305
|
+
],
|
|
134306
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
132500
134307
|
}
|
|
132501
134308
|
},
|
|
132502
134309
|
"required": [
|
|
@@ -132526,6 +134333,9 @@ export const CONTRACT = {
|
|
|
132526
134333
|
},
|
|
132527
134334
|
"name": {
|
|
132528
134335
|
"type": "string"
|
|
134336
|
+
},
|
|
134337
|
+
"story": {
|
|
134338
|
+
"$ref": "#/$defs/StoryLocator"
|
|
132529
134339
|
}
|
|
132530
134340
|
},
|
|
132531
134341
|
"additionalProperties": false,
|
|
@@ -132560,6 +134370,9 @@ export const CONTRACT = {
|
|
|
132560
134370
|
},
|
|
132561
134371
|
"name": {
|
|
132562
134372
|
"type": "string"
|
|
134373
|
+
},
|
|
134374
|
+
"story": {
|
|
134375
|
+
"$ref": "#/$defs/StoryLocator"
|
|
132563
134376
|
}
|
|
132564
134377
|
},
|
|
132565
134378
|
"additionalProperties": false,
|
|
@@ -132625,6 +134438,9 @@ export const CONTRACT = {
|
|
|
132625
134438
|
},
|
|
132626
134439
|
"name": {
|
|
132627
134440
|
"type": "string"
|
|
134441
|
+
},
|
|
134442
|
+
"story": {
|
|
134443
|
+
"$ref": "#/$defs/StoryLocator"
|
|
132628
134444
|
}
|
|
132629
134445
|
},
|
|
132630
134446
|
"additionalProperties": false,
|
|
@@ -132951,6 +134767,162 @@ export const CONTRACT = {
|
|
|
132951
134767
|
"range"
|
|
132952
134768
|
]
|
|
132953
134769
|
}
|
|
134770
|
+
},
|
|
134771
|
+
"story": {
|
|
134772
|
+
"oneOf": [
|
|
134773
|
+
{
|
|
134774
|
+
"type": "object",
|
|
134775
|
+
"properties": {
|
|
134776
|
+
"kind": {
|
|
134777
|
+
"const": "story"
|
|
134778
|
+
},
|
|
134779
|
+
"storyType": {
|
|
134780
|
+
"const": "body"
|
|
134781
|
+
}
|
|
134782
|
+
},
|
|
134783
|
+
"required": [
|
|
134784
|
+
"kind",
|
|
134785
|
+
"storyType"
|
|
134786
|
+
]
|
|
134787
|
+
},
|
|
134788
|
+
{
|
|
134789
|
+
"type": "object",
|
|
134790
|
+
"properties": {
|
|
134791
|
+
"kind": {
|
|
134792
|
+
"const": "story"
|
|
134793
|
+
},
|
|
134794
|
+
"storyType": {
|
|
134795
|
+
"const": "headerFooterSlot"
|
|
134796
|
+
},
|
|
134797
|
+
"section": {
|
|
134798
|
+
"type": "object",
|
|
134799
|
+
"properties": {
|
|
134800
|
+
"kind": {
|
|
134801
|
+
"const": "section"
|
|
134802
|
+
},
|
|
134803
|
+
"sectionId": {
|
|
134804
|
+
"type": "string"
|
|
134805
|
+
}
|
|
134806
|
+
},
|
|
134807
|
+
"required": [
|
|
134808
|
+
"kind",
|
|
134809
|
+
"sectionId"
|
|
134810
|
+
]
|
|
134811
|
+
},
|
|
134812
|
+
"headerFooterKind": {
|
|
134813
|
+
"oneOf": [
|
|
134814
|
+
{
|
|
134815
|
+
"const": "header"
|
|
134816
|
+
},
|
|
134817
|
+
{
|
|
134818
|
+
"const": "footer"
|
|
134819
|
+
}
|
|
134820
|
+
]
|
|
134821
|
+
},
|
|
134822
|
+
"variant": {
|
|
134823
|
+
"oneOf": [
|
|
134824
|
+
{
|
|
134825
|
+
"const": "default"
|
|
134826
|
+
},
|
|
134827
|
+
{
|
|
134828
|
+
"const": "first"
|
|
134829
|
+
},
|
|
134830
|
+
{
|
|
134831
|
+
"const": "even"
|
|
134832
|
+
}
|
|
134833
|
+
]
|
|
134834
|
+
},
|
|
134835
|
+
"resolution": {
|
|
134836
|
+
"oneOf": [
|
|
134837
|
+
{
|
|
134838
|
+
"const": "effective"
|
|
134839
|
+
},
|
|
134840
|
+
{
|
|
134841
|
+
"const": "explicit"
|
|
134842
|
+
}
|
|
134843
|
+
]
|
|
134844
|
+
},
|
|
134845
|
+
"onWrite": {
|
|
134846
|
+
"oneOf": [
|
|
134847
|
+
{
|
|
134848
|
+
"const": "materializeIfInherited"
|
|
134849
|
+
},
|
|
134850
|
+
{
|
|
134851
|
+
"const": "editResolvedPart"
|
|
134852
|
+
},
|
|
134853
|
+
{
|
|
134854
|
+
"const": "error"
|
|
134855
|
+
}
|
|
134856
|
+
]
|
|
134857
|
+
}
|
|
134858
|
+
},
|
|
134859
|
+
"required": [
|
|
134860
|
+
"kind",
|
|
134861
|
+
"storyType",
|
|
134862
|
+
"section",
|
|
134863
|
+
"headerFooterKind",
|
|
134864
|
+
"variant"
|
|
134865
|
+
]
|
|
134866
|
+
},
|
|
134867
|
+
{
|
|
134868
|
+
"type": "object",
|
|
134869
|
+
"properties": {
|
|
134870
|
+
"kind": {
|
|
134871
|
+
"const": "story"
|
|
134872
|
+
},
|
|
134873
|
+
"storyType": {
|
|
134874
|
+
"const": "headerFooterPart"
|
|
134875
|
+
},
|
|
134876
|
+
"refId": {
|
|
134877
|
+
"type": "string"
|
|
134878
|
+
}
|
|
134879
|
+
},
|
|
134880
|
+
"required": [
|
|
134881
|
+
"kind",
|
|
134882
|
+
"storyType",
|
|
134883
|
+
"refId"
|
|
134884
|
+
]
|
|
134885
|
+
},
|
|
134886
|
+
{
|
|
134887
|
+
"type": "object",
|
|
134888
|
+
"properties": {
|
|
134889
|
+
"kind": {
|
|
134890
|
+
"const": "story"
|
|
134891
|
+
},
|
|
134892
|
+
"storyType": {
|
|
134893
|
+
"const": "footnote"
|
|
134894
|
+
},
|
|
134895
|
+
"noteId": {
|
|
134896
|
+
"type": "string"
|
|
134897
|
+
}
|
|
134898
|
+
},
|
|
134899
|
+
"required": [
|
|
134900
|
+
"kind",
|
|
134901
|
+
"storyType",
|
|
134902
|
+
"noteId"
|
|
134903
|
+
]
|
|
134904
|
+
},
|
|
134905
|
+
{
|
|
134906
|
+
"type": "object",
|
|
134907
|
+
"properties": {
|
|
134908
|
+
"kind": {
|
|
134909
|
+
"const": "story"
|
|
134910
|
+
},
|
|
134911
|
+
"storyType": {
|
|
134912
|
+
"const": "endnote"
|
|
134913
|
+
},
|
|
134914
|
+
"noteId": {
|
|
134915
|
+
"type": "string"
|
|
134916
|
+
}
|
|
134917
|
+
},
|
|
134918
|
+
"required": [
|
|
134919
|
+
"kind",
|
|
134920
|
+
"storyType",
|
|
134921
|
+
"noteId"
|
|
134922
|
+
]
|
|
134923
|
+
}
|
|
134924
|
+
],
|
|
134925
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
132954
134926
|
}
|
|
132955
134927
|
},
|
|
132956
134928
|
"required": [
|
|
@@ -134339,6 +136311,162 @@ export const CONTRACT = {
|
|
|
134339
136311
|
"range"
|
|
134340
136312
|
]
|
|
134341
136313
|
}
|
|
136314
|
+
},
|
|
136315
|
+
"story": {
|
|
136316
|
+
"oneOf": [
|
|
136317
|
+
{
|
|
136318
|
+
"type": "object",
|
|
136319
|
+
"properties": {
|
|
136320
|
+
"kind": {
|
|
136321
|
+
"const": "story"
|
|
136322
|
+
},
|
|
136323
|
+
"storyType": {
|
|
136324
|
+
"const": "body"
|
|
136325
|
+
}
|
|
136326
|
+
},
|
|
136327
|
+
"required": [
|
|
136328
|
+
"kind",
|
|
136329
|
+
"storyType"
|
|
136330
|
+
]
|
|
136331
|
+
},
|
|
136332
|
+
{
|
|
136333
|
+
"type": "object",
|
|
136334
|
+
"properties": {
|
|
136335
|
+
"kind": {
|
|
136336
|
+
"const": "story"
|
|
136337
|
+
},
|
|
136338
|
+
"storyType": {
|
|
136339
|
+
"const": "headerFooterSlot"
|
|
136340
|
+
},
|
|
136341
|
+
"section": {
|
|
136342
|
+
"type": "object",
|
|
136343
|
+
"properties": {
|
|
136344
|
+
"kind": {
|
|
136345
|
+
"const": "section"
|
|
136346
|
+
},
|
|
136347
|
+
"sectionId": {
|
|
136348
|
+
"type": "string"
|
|
136349
|
+
}
|
|
136350
|
+
},
|
|
136351
|
+
"required": [
|
|
136352
|
+
"kind",
|
|
136353
|
+
"sectionId"
|
|
136354
|
+
]
|
|
136355
|
+
},
|
|
136356
|
+
"headerFooterKind": {
|
|
136357
|
+
"oneOf": [
|
|
136358
|
+
{
|
|
136359
|
+
"const": "header"
|
|
136360
|
+
},
|
|
136361
|
+
{
|
|
136362
|
+
"const": "footer"
|
|
136363
|
+
}
|
|
136364
|
+
]
|
|
136365
|
+
},
|
|
136366
|
+
"variant": {
|
|
136367
|
+
"oneOf": [
|
|
136368
|
+
{
|
|
136369
|
+
"const": "default"
|
|
136370
|
+
},
|
|
136371
|
+
{
|
|
136372
|
+
"const": "first"
|
|
136373
|
+
},
|
|
136374
|
+
{
|
|
136375
|
+
"const": "even"
|
|
136376
|
+
}
|
|
136377
|
+
]
|
|
136378
|
+
},
|
|
136379
|
+
"resolution": {
|
|
136380
|
+
"oneOf": [
|
|
136381
|
+
{
|
|
136382
|
+
"const": "effective"
|
|
136383
|
+
},
|
|
136384
|
+
{
|
|
136385
|
+
"const": "explicit"
|
|
136386
|
+
}
|
|
136387
|
+
]
|
|
136388
|
+
},
|
|
136389
|
+
"onWrite": {
|
|
136390
|
+
"oneOf": [
|
|
136391
|
+
{
|
|
136392
|
+
"const": "materializeIfInherited"
|
|
136393
|
+
},
|
|
136394
|
+
{
|
|
136395
|
+
"const": "editResolvedPart"
|
|
136396
|
+
},
|
|
136397
|
+
{
|
|
136398
|
+
"const": "error"
|
|
136399
|
+
}
|
|
136400
|
+
]
|
|
136401
|
+
}
|
|
136402
|
+
},
|
|
136403
|
+
"required": [
|
|
136404
|
+
"kind",
|
|
136405
|
+
"storyType",
|
|
136406
|
+
"section",
|
|
136407
|
+
"headerFooterKind",
|
|
136408
|
+
"variant"
|
|
136409
|
+
]
|
|
136410
|
+
},
|
|
136411
|
+
{
|
|
136412
|
+
"type": "object",
|
|
136413
|
+
"properties": {
|
|
136414
|
+
"kind": {
|
|
136415
|
+
"const": "story"
|
|
136416
|
+
},
|
|
136417
|
+
"storyType": {
|
|
136418
|
+
"const": "headerFooterPart"
|
|
136419
|
+
},
|
|
136420
|
+
"refId": {
|
|
136421
|
+
"type": "string"
|
|
136422
|
+
}
|
|
136423
|
+
},
|
|
136424
|
+
"required": [
|
|
136425
|
+
"kind",
|
|
136426
|
+
"storyType",
|
|
136427
|
+
"refId"
|
|
136428
|
+
]
|
|
136429
|
+
},
|
|
136430
|
+
{
|
|
136431
|
+
"type": "object",
|
|
136432
|
+
"properties": {
|
|
136433
|
+
"kind": {
|
|
136434
|
+
"const": "story"
|
|
136435
|
+
},
|
|
136436
|
+
"storyType": {
|
|
136437
|
+
"const": "footnote"
|
|
136438
|
+
},
|
|
136439
|
+
"noteId": {
|
|
136440
|
+
"type": "string"
|
|
136441
|
+
}
|
|
136442
|
+
},
|
|
136443
|
+
"required": [
|
|
136444
|
+
"kind",
|
|
136445
|
+
"storyType",
|
|
136446
|
+
"noteId"
|
|
136447
|
+
]
|
|
136448
|
+
},
|
|
136449
|
+
{
|
|
136450
|
+
"type": "object",
|
|
136451
|
+
"properties": {
|
|
136452
|
+
"kind": {
|
|
136453
|
+
"const": "story"
|
|
136454
|
+
},
|
|
136455
|
+
"storyType": {
|
|
136456
|
+
"const": "endnote"
|
|
136457
|
+
},
|
|
136458
|
+
"noteId": {
|
|
136459
|
+
"type": "string"
|
|
136460
|
+
}
|
|
136461
|
+
},
|
|
136462
|
+
"required": [
|
|
136463
|
+
"kind",
|
|
136464
|
+
"storyType",
|
|
136465
|
+
"noteId"
|
|
136466
|
+
]
|
|
136467
|
+
}
|
|
136468
|
+
],
|
|
136469
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
134342
136470
|
}
|
|
134343
136471
|
},
|
|
134344
136472
|
"required": [
|
|
@@ -137215,6 +139343,162 @@ export const CONTRACT = {
|
|
|
137215
139343
|
"range"
|
|
137216
139344
|
]
|
|
137217
139345
|
}
|
|
139346
|
+
},
|
|
139347
|
+
"story": {
|
|
139348
|
+
"oneOf": [
|
|
139349
|
+
{
|
|
139350
|
+
"type": "object",
|
|
139351
|
+
"properties": {
|
|
139352
|
+
"kind": {
|
|
139353
|
+
"const": "story"
|
|
139354
|
+
},
|
|
139355
|
+
"storyType": {
|
|
139356
|
+
"const": "body"
|
|
139357
|
+
}
|
|
139358
|
+
},
|
|
139359
|
+
"required": [
|
|
139360
|
+
"kind",
|
|
139361
|
+
"storyType"
|
|
139362
|
+
]
|
|
139363
|
+
},
|
|
139364
|
+
{
|
|
139365
|
+
"type": "object",
|
|
139366
|
+
"properties": {
|
|
139367
|
+
"kind": {
|
|
139368
|
+
"const": "story"
|
|
139369
|
+
},
|
|
139370
|
+
"storyType": {
|
|
139371
|
+
"const": "headerFooterSlot"
|
|
139372
|
+
},
|
|
139373
|
+
"section": {
|
|
139374
|
+
"type": "object",
|
|
139375
|
+
"properties": {
|
|
139376
|
+
"kind": {
|
|
139377
|
+
"const": "section"
|
|
139378
|
+
},
|
|
139379
|
+
"sectionId": {
|
|
139380
|
+
"type": "string"
|
|
139381
|
+
}
|
|
139382
|
+
},
|
|
139383
|
+
"required": [
|
|
139384
|
+
"kind",
|
|
139385
|
+
"sectionId"
|
|
139386
|
+
]
|
|
139387
|
+
},
|
|
139388
|
+
"headerFooterKind": {
|
|
139389
|
+
"oneOf": [
|
|
139390
|
+
{
|
|
139391
|
+
"const": "header"
|
|
139392
|
+
},
|
|
139393
|
+
{
|
|
139394
|
+
"const": "footer"
|
|
139395
|
+
}
|
|
139396
|
+
]
|
|
139397
|
+
},
|
|
139398
|
+
"variant": {
|
|
139399
|
+
"oneOf": [
|
|
139400
|
+
{
|
|
139401
|
+
"const": "default"
|
|
139402
|
+
},
|
|
139403
|
+
{
|
|
139404
|
+
"const": "first"
|
|
139405
|
+
},
|
|
139406
|
+
{
|
|
139407
|
+
"const": "even"
|
|
139408
|
+
}
|
|
139409
|
+
]
|
|
139410
|
+
},
|
|
139411
|
+
"resolution": {
|
|
139412
|
+
"oneOf": [
|
|
139413
|
+
{
|
|
139414
|
+
"const": "effective"
|
|
139415
|
+
},
|
|
139416
|
+
{
|
|
139417
|
+
"const": "explicit"
|
|
139418
|
+
}
|
|
139419
|
+
]
|
|
139420
|
+
},
|
|
139421
|
+
"onWrite": {
|
|
139422
|
+
"oneOf": [
|
|
139423
|
+
{
|
|
139424
|
+
"const": "materializeIfInherited"
|
|
139425
|
+
},
|
|
139426
|
+
{
|
|
139427
|
+
"const": "editResolvedPart"
|
|
139428
|
+
},
|
|
139429
|
+
{
|
|
139430
|
+
"const": "error"
|
|
139431
|
+
}
|
|
139432
|
+
]
|
|
139433
|
+
}
|
|
139434
|
+
},
|
|
139435
|
+
"required": [
|
|
139436
|
+
"kind",
|
|
139437
|
+
"storyType",
|
|
139438
|
+
"section",
|
|
139439
|
+
"headerFooterKind",
|
|
139440
|
+
"variant"
|
|
139441
|
+
]
|
|
139442
|
+
},
|
|
139443
|
+
{
|
|
139444
|
+
"type": "object",
|
|
139445
|
+
"properties": {
|
|
139446
|
+
"kind": {
|
|
139447
|
+
"const": "story"
|
|
139448
|
+
},
|
|
139449
|
+
"storyType": {
|
|
139450
|
+
"const": "headerFooterPart"
|
|
139451
|
+
},
|
|
139452
|
+
"refId": {
|
|
139453
|
+
"type": "string"
|
|
139454
|
+
}
|
|
139455
|
+
},
|
|
139456
|
+
"required": [
|
|
139457
|
+
"kind",
|
|
139458
|
+
"storyType",
|
|
139459
|
+
"refId"
|
|
139460
|
+
]
|
|
139461
|
+
},
|
|
139462
|
+
{
|
|
139463
|
+
"type": "object",
|
|
139464
|
+
"properties": {
|
|
139465
|
+
"kind": {
|
|
139466
|
+
"const": "story"
|
|
139467
|
+
},
|
|
139468
|
+
"storyType": {
|
|
139469
|
+
"const": "footnote"
|
|
139470
|
+
},
|
|
139471
|
+
"noteId": {
|
|
139472
|
+
"type": "string"
|
|
139473
|
+
}
|
|
139474
|
+
},
|
|
139475
|
+
"required": [
|
|
139476
|
+
"kind",
|
|
139477
|
+
"storyType",
|
|
139478
|
+
"noteId"
|
|
139479
|
+
]
|
|
139480
|
+
},
|
|
139481
|
+
{
|
|
139482
|
+
"type": "object",
|
|
139483
|
+
"properties": {
|
|
139484
|
+
"kind": {
|
|
139485
|
+
"const": "story"
|
|
139486
|
+
},
|
|
139487
|
+
"storyType": {
|
|
139488
|
+
"const": "endnote"
|
|
139489
|
+
},
|
|
139490
|
+
"noteId": {
|
|
139491
|
+
"type": "string"
|
|
139492
|
+
}
|
|
139493
|
+
},
|
|
139494
|
+
"required": [
|
|
139495
|
+
"kind",
|
|
139496
|
+
"storyType",
|
|
139497
|
+
"noteId"
|
|
139498
|
+
]
|
|
139499
|
+
}
|
|
139500
|
+
],
|
|
139501
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
137218
139502
|
}
|
|
137219
139503
|
},
|
|
137220
139504
|
"required": [
|
|
@@ -139618,6 +141902,162 @@ export const CONTRACT = {
|
|
|
139618
141902
|
"range"
|
|
139619
141903
|
]
|
|
139620
141904
|
}
|
|
141905
|
+
},
|
|
141906
|
+
"story": {
|
|
141907
|
+
"oneOf": [
|
|
141908
|
+
{
|
|
141909
|
+
"type": "object",
|
|
141910
|
+
"properties": {
|
|
141911
|
+
"kind": {
|
|
141912
|
+
"const": "story"
|
|
141913
|
+
},
|
|
141914
|
+
"storyType": {
|
|
141915
|
+
"const": "body"
|
|
141916
|
+
}
|
|
141917
|
+
},
|
|
141918
|
+
"required": [
|
|
141919
|
+
"kind",
|
|
141920
|
+
"storyType"
|
|
141921
|
+
]
|
|
141922
|
+
},
|
|
141923
|
+
{
|
|
141924
|
+
"type": "object",
|
|
141925
|
+
"properties": {
|
|
141926
|
+
"kind": {
|
|
141927
|
+
"const": "story"
|
|
141928
|
+
},
|
|
141929
|
+
"storyType": {
|
|
141930
|
+
"const": "headerFooterSlot"
|
|
141931
|
+
},
|
|
141932
|
+
"section": {
|
|
141933
|
+
"type": "object",
|
|
141934
|
+
"properties": {
|
|
141935
|
+
"kind": {
|
|
141936
|
+
"const": "section"
|
|
141937
|
+
},
|
|
141938
|
+
"sectionId": {
|
|
141939
|
+
"type": "string"
|
|
141940
|
+
}
|
|
141941
|
+
},
|
|
141942
|
+
"required": [
|
|
141943
|
+
"kind",
|
|
141944
|
+
"sectionId"
|
|
141945
|
+
]
|
|
141946
|
+
},
|
|
141947
|
+
"headerFooterKind": {
|
|
141948
|
+
"oneOf": [
|
|
141949
|
+
{
|
|
141950
|
+
"const": "header"
|
|
141951
|
+
},
|
|
141952
|
+
{
|
|
141953
|
+
"const": "footer"
|
|
141954
|
+
}
|
|
141955
|
+
]
|
|
141956
|
+
},
|
|
141957
|
+
"variant": {
|
|
141958
|
+
"oneOf": [
|
|
141959
|
+
{
|
|
141960
|
+
"const": "default"
|
|
141961
|
+
},
|
|
141962
|
+
{
|
|
141963
|
+
"const": "first"
|
|
141964
|
+
},
|
|
141965
|
+
{
|
|
141966
|
+
"const": "even"
|
|
141967
|
+
}
|
|
141968
|
+
]
|
|
141969
|
+
},
|
|
141970
|
+
"resolution": {
|
|
141971
|
+
"oneOf": [
|
|
141972
|
+
{
|
|
141973
|
+
"const": "effective"
|
|
141974
|
+
},
|
|
141975
|
+
{
|
|
141976
|
+
"const": "explicit"
|
|
141977
|
+
}
|
|
141978
|
+
]
|
|
141979
|
+
},
|
|
141980
|
+
"onWrite": {
|
|
141981
|
+
"oneOf": [
|
|
141982
|
+
{
|
|
141983
|
+
"const": "materializeIfInherited"
|
|
141984
|
+
},
|
|
141985
|
+
{
|
|
141986
|
+
"const": "editResolvedPart"
|
|
141987
|
+
},
|
|
141988
|
+
{
|
|
141989
|
+
"const": "error"
|
|
141990
|
+
}
|
|
141991
|
+
]
|
|
141992
|
+
}
|
|
141993
|
+
},
|
|
141994
|
+
"required": [
|
|
141995
|
+
"kind",
|
|
141996
|
+
"storyType",
|
|
141997
|
+
"section",
|
|
141998
|
+
"headerFooterKind",
|
|
141999
|
+
"variant"
|
|
142000
|
+
]
|
|
142001
|
+
},
|
|
142002
|
+
{
|
|
142003
|
+
"type": "object",
|
|
142004
|
+
"properties": {
|
|
142005
|
+
"kind": {
|
|
142006
|
+
"const": "story"
|
|
142007
|
+
},
|
|
142008
|
+
"storyType": {
|
|
142009
|
+
"const": "headerFooterPart"
|
|
142010
|
+
},
|
|
142011
|
+
"refId": {
|
|
142012
|
+
"type": "string"
|
|
142013
|
+
}
|
|
142014
|
+
},
|
|
142015
|
+
"required": [
|
|
142016
|
+
"kind",
|
|
142017
|
+
"storyType",
|
|
142018
|
+
"refId"
|
|
142019
|
+
]
|
|
142020
|
+
},
|
|
142021
|
+
{
|
|
142022
|
+
"type": "object",
|
|
142023
|
+
"properties": {
|
|
142024
|
+
"kind": {
|
|
142025
|
+
"const": "story"
|
|
142026
|
+
},
|
|
142027
|
+
"storyType": {
|
|
142028
|
+
"const": "footnote"
|
|
142029
|
+
},
|
|
142030
|
+
"noteId": {
|
|
142031
|
+
"type": "string"
|
|
142032
|
+
}
|
|
142033
|
+
},
|
|
142034
|
+
"required": [
|
|
142035
|
+
"kind",
|
|
142036
|
+
"storyType",
|
|
142037
|
+
"noteId"
|
|
142038
|
+
]
|
|
142039
|
+
},
|
|
142040
|
+
{
|
|
142041
|
+
"type": "object",
|
|
142042
|
+
"properties": {
|
|
142043
|
+
"kind": {
|
|
142044
|
+
"const": "story"
|
|
142045
|
+
},
|
|
142046
|
+
"storyType": {
|
|
142047
|
+
"const": "endnote"
|
|
142048
|
+
},
|
|
142049
|
+
"noteId": {
|
|
142050
|
+
"type": "string"
|
|
142051
|
+
}
|
|
142052
|
+
},
|
|
142053
|
+
"required": [
|
|
142054
|
+
"kind",
|
|
142055
|
+
"storyType",
|
|
142056
|
+
"noteId"
|
|
142057
|
+
]
|
|
142058
|
+
}
|
|
142059
|
+
],
|
|
142060
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
139621
142061
|
}
|
|
139622
142062
|
},
|
|
139623
142063
|
"required": [
|
|
@@ -140645,6 +143085,162 @@ export const CONTRACT = {
|
|
|
140645
143085
|
"range"
|
|
140646
143086
|
]
|
|
140647
143087
|
}
|
|
143088
|
+
},
|
|
143089
|
+
"story": {
|
|
143090
|
+
"oneOf": [
|
|
143091
|
+
{
|
|
143092
|
+
"type": "object",
|
|
143093
|
+
"properties": {
|
|
143094
|
+
"kind": {
|
|
143095
|
+
"const": "story"
|
|
143096
|
+
},
|
|
143097
|
+
"storyType": {
|
|
143098
|
+
"const": "body"
|
|
143099
|
+
}
|
|
143100
|
+
},
|
|
143101
|
+
"required": [
|
|
143102
|
+
"kind",
|
|
143103
|
+
"storyType"
|
|
143104
|
+
]
|
|
143105
|
+
},
|
|
143106
|
+
{
|
|
143107
|
+
"type": "object",
|
|
143108
|
+
"properties": {
|
|
143109
|
+
"kind": {
|
|
143110
|
+
"const": "story"
|
|
143111
|
+
},
|
|
143112
|
+
"storyType": {
|
|
143113
|
+
"const": "headerFooterSlot"
|
|
143114
|
+
},
|
|
143115
|
+
"section": {
|
|
143116
|
+
"type": "object",
|
|
143117
|
+
"properties": {
|
|
143118
|
+
"kind": {
|
|
143119
|
+
"const": "section"
|
|
143120
|
+
},
|
|
143121
|
+
"sectionId": {
|
|
143122
|
+
"type": "string"
|
|
143123
|
+
}
|
|
143124
|
+
},
|
|
143125
|
+
"required": [
|
|
143126
|
+
"kind",
|
|
143127
|
+
"sectionId"
|
|
143128
|
+
]
|
|
143129
|
+
},
|
|
143130
|
+
"headerFooterKind": {
|
|
143131
|
+
"oneOf": [
|
|
143132
|
+
{
|
|
143133
|
+
"const": "header"
|
|
143134
|
+
},
|
|
143135
|
+
{
|
|
143136
|
+
"const": "footer"
|
|
143137
|
+
}
|
|
143138
|
+
]
|
|
143139
|
+
},
|
|
143140
|
+
"variant": {
|
|
143141
|
+
"oneOf": [
|
|
143142
|
+
{
|
|
143143
|
+
"const": "default"
|
|
143144
|
+
},
|
|
143145
|
+
{
|
|
143146
|
+
"const": "first"
|
|
143147
|
+
},
|
|
143148
|
+
{
|
|
143149
|
+
"const": "even"
|
|
143150
|
+
}
|
|
143151
|
+
]
|
|
143152
|
+
},
|
|
143153
|
+
"resolution": {
|
|
143154
|
+
"oneOf": [
|
|
143155
|
+
{
|
|
143156
|
+
"const": "effective"
|
|
143157
|
+
},
|
|
143158
|
+
{
|
|
143159
|
+
"const": "explicit"
|
|
143160
|
+
}
|
|
143161
|
+
]
|
|
143162
|
+
},
|
|
143163
|
+
"onWrite": {
|
|
143164
|
+
"oneOf": [
|
|
143165
|
+
{
|
|
143166
|
+
"const": "materializeIfInherited"
|
|
143167
|
+
},
|
|
143168
|
+
{
|
|
143169
|
+
"const": "editResolvedPart"
|
|
143170
|
+
},
|
|
143171
|
+
{
|
|
143172
|
+
"const": "error"
|
|
143173
|
+
}
|
|
143174
|
+
]
|
|
143175
|
+
}
|
|
143176
|
+
},
|
|
143177
|
+
"required": [
|
|
143178
|
+
"kind",
|
|
143179
|
+
"storyType",
|
|
143180
|
+
"section",
|
|
143181
|
+
"headerFooterKind",
|
|
143182
|
+
"variant"
|
|
143183
|
+
]
|
|
143184
|
+
},
|
|
143185
|
+
{
|
|
143186
|
+
"type": "object",
|
|
143187
|
+
"properties": {
|
|
143188
|
+
"kind": {
|
|
143189
|
+
"const": "story"
|
|
143190
|
+
},
|
|
143191
|
+
"storyType": {
|
|
143192
|
+
"const": "headerFooterPart"
|
|
143193
|
+
},
|
|
143194
|
+
"refId": {
|
|
143195
|
+
"type": "string"
|
|
143196
|
+
}
|
|
143197
|
+
},
|
|
143198
|
+
"required": [
|
|
143199
|
+
"kind",
|
|
143200
|
+
"storyType",
|
|
143201
|
+
"refId"
|
|
143202
|
+
]
|
|
143203
|
+
},
|
|
143204
|
+
{
|
|
143205
|
+
"type": "object",
|
|
143206
|
+
"properties": {
|
|
143207
|
+
"kind": {
|
|
143208
|
+
"const": "story"
|
|
143209
|
+
},
|
|
143210
|
+
"storyType": {
|
|
143211
|
+
"const": "footnote"
|
|
143212
|
+
},
|
|
143213
|
+
"noteId": {
|
|
143214
|
+
"type": "string"
|
|
143215
|
+
}
|
|
143216
|
+
},
|
|
143217
|
+
"required": [
|
|
143218
|
+
"kind",
|
|
143219
|
+
"storyType",
|
|
143220
|
+
"noteId"
|
|
143221
|
+
]
|
|
143222
|
+
},
|
|
143223
|
+
{
|
|
143224
|
+
"type": "object",
|
|
143225
|
+
"properties": {
|
|
143226
|
+
"kind": {
|
|
143227
|
+
"const": "story"
|
|
143228
|
+
},
|
|
143229
|
+
"storyType": {
|
|
143230
|
+
"const": "endnote"
|
|
143231
|
+
},
|
|
143232
|
+
"noteId": {
|
|
143233
|
+
"type": "string"
|
|
143234
|
+
}
|
|
143235
|
+
},
|
|
143236
|
+
"required": [
|
|
143237
|
+
"kind",
|
|
143238
|
+
"storyType",
|
|
143239
|
+
"noteId"
|
|
143240
|
+
]
|
|
143241
|
+
}
|
|
143242
|
+
],
|
|
143243
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
140648
143244
|
}
|
|
140649
143245
|
},
|
|
140650
143246
|
"required": [
|
|
@@ -145940,6 +148536,162 @@ export const CONTRACT = {
|
|
|
145940
148536
|
"range"
|
|
145941
148537
|
]
|
|
145942
148538
|
}
|
|
148539
|
+
},
|
|
148540
|
+
"story": {
|
|
148541
|
+
"oneOf": [
|
|
148542
|
+
{
|
|
148543
|
+
"type": "object",
|
|
148544
|
+
"properties": {
|
|
148545
|
+
"kind": {
|
|
148546
|
+
"const": "story"
|
|
148547
|
+
},
|
|
148548
|
+
"storyType": {
|
|
148549
|
+
"const": "body"
|
|
148550
|
+
}
|
|
148551
|
+
},
|
|
148552
|
+
"required": [
|
|
148553
|
+
"kind",
|
|
148554
|
+
"storyType"
|
|
148555
|
+
]
|
|
148556
|
+
},
|
|
148557
|
+
{
|
|
148558
|
+
"type": "object",
|
|
148559
|
+
"properties": {
|
|
148560
|
+
"kind": {
|
|
148561
|
+
"const": "story"
|
|
148562
|
+
},
|
|
148563
|
+
"storyType": {
|
|
148564
|
+
"const": "headerFooterSlot"
|
|
148565
|
+
},
|
|
148566
|
+
"section": {
|
|
148567
|
+
"type": "object",
|
|
148568
|
+
"properties": {
|
|
148569
|
+
"kind": {
|
|
148570
|
+
"const": "section"
|
|
148571
|
+
},
|
|
148572
|
+
"sectionId": {
|
|
148573
|
+
"type": "string"
|
|
148574
|
+
}
|
|
148575
|
+
},
|
|
148576
|
+
"required": [
|
|
148577
|
+
"kind",
|
|
148578
|
+
"sectionId"
|
|
148579
|
+
]
|
|
148580
|
+
},
|
|
148581
|
+
"headerFooterKind": {
|
|
148582
|
+
"oneOf": [
|
|
148583
|
+
{
|
|
148584
|
+
"const": "header"
|
|
148585
|
+
},
|
|
148586
|
+
{
|
|
148587
|
+
"const": "footer"
|
|
148588
|
+
}
|
|
148589
|
+
]
|
|
148590
|
+
},
|
|
148591
|
+
"variant": {
|
|
148592
|
+
"oneOf": [
|
|
148593
|
+
{
|
|
148594
|
+
"const": "default"
|
|
148595
|
+
},
|
|
148596
|
+
{
|
|
148597
|
+
"const": "first"
|
|
148598
|
+
},
|
|
148599
|
+
{
|
|
148600
|
+
"const": "even"
|
|
148601
|
+
}
|
|
148602
|
+
]
|
|
148603
|
+
},
|
|
148604
|
+
"resolution": {
|
|
148605
|
+
"oneOf": [
|
|
148606
|
+
{
|
|
148607
|
+
"const": "effective"
|
|
148608
|
+
},
|
|
148609
|
+
{
|
|
148610
|
+
"const": "explicit"
|
|
148611
|
+
}
|
|
148612
|
+
]
|
|
148613
|
+
},
|
|
148614
|
+
"onWrite": {
|
|
148615
|
+
"oneOf": [
|
|
148616
|
+
{
|
|
148617
|
+
"const": "materializeIfInherited"
|
|
148618
|
+
},
|
|
148619
|
+
{
|
|
148620
|
+
"const": "editResolvedPart"
|
|
148621
|
+
},
|
|
148622
|
+
{
|
|
148623
|
+
"const": "error"
|
|
148624
|
+
}
|
|
148625
|
+
]
|
|
148626
|
+
}
|
|
148627
|
+
},
|
|
148628
|
+
"required": [
|
|
148629
|
+
"kind",
|
|
148630
|
+
"storyType",
|
|
148631
|
+
"section",
|
|
148632
|
+
"headerFooterKind",
|
|
148633
|
+
"variant"
|
|
148634
|
+
]
|
|
148635
|
+
},
|
|
148636
|
+
{
|
|
148637
|
+
"type": "object",
|
|
148638
|
+
"properties": {
|
|
148639
|
+
"kind": {
|
|
148640
|
+
"const": "story"
|
|
148641
|
+
},
|
|
148642
|
+
"storyType": {
|
|
148643
|
+
"const": "headerFooterPart"
|
|
148644
|
+
},
|
|
148645
|
+
"refId": {
|
|
148646
|
+
"type": "string"
|
|
148647
|
+
}
|
|
148648
|
+
},
|
|
148649
|
+
"required": [
|
|
148650
|
+
"kind",
|
|
148651
|
+
"storyType",
|
|
148652
|
+
"refId"
|
|
148653
|
+
]
|
|
148654
|
+
},
|
|
148655
|
+
{
|
|
148656
|
+
"type": "object",
|
|
148657
|
+
"properties": {
|
|
148658
|
+
"kind": {
|
|
148659
|
+
"const": "story"
|
|
148660
|
+
},
|
|
148661
|
+
"storyType": {
|
|
148662
|
+
"const": "footnote"
|
|
148663
|
+
},
|
|
148664
|
+
"noteId": {
|
|
148665
|
+
"type": "string"
|
|
148666
|
+
}
|
|
148667
|
+
},
|
|
148668
|
+
"required": [
|
|
148669
|
+
"kind",
|
|
148670
|
+
"storyType",
|
|
148671
|
+
"noteId"
|
|
148672
|
+
]
|
|
148673
|
+
},
|
|
148674
|
+
{
|
|
148675
|
+
"type": "object",
|
|
148676
|
+
"properties": {
|
|
148677
|
+
"kind": {
|
|
148678
|
+
"const": "story"
|
|
148679
|
+
},
|
|
148680
|
+
"storyType": {
|
|
148681
|
+
"const": "endnote"
|
|
148682
|
+
},
|
|
148683
|
+
"noteId": {
|
|
148684
|
+
"type": "string"
|
|
148685
|
+
}
|
|
148686
|
+
},
|
|
148687
|
+
"required": [
|
|
148688
|
+
"kind",
|
|
148689
|
+
"storyType",
|
|
148690
|
+
"noteId"
|
|
148691
|
+
]
|
|
148692
|
+
}
|
|
148693
|
+
],
|
|
148694
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
145943
148695
|
}
|
|
145944
148696
|
},
|
|
145945
148697
|
"required": [
|