@superdoc-dev/sdk 1.6.0-next.44 → 1.6.0-next.46

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.
@@ -60071,6 +60071,178 @@ const CONTRACT = {
60071
60071
  "description": "Filter by change type: 'insert', 'delete', or 'format'."
60072
60072
  },
60073
60073
  "description": "Filter by change type: 'insert', 'delete', or 'format'."
60074
+ },
60075
+ {
60076
+ "name": "in",
60077
+ "kind": "jsonFlag",
60078
+ "type": "json",
60079
+ "flag": "in-json",
60080
+ "schema": {
60081
+ "oneOf": [
60082
+ {
60083
+ "oneOf": [
60084
+ {
60085
+ "type": "object",
60086
+ "properties": {
60087
+ "kind": {
60088
+ "const": "story"
60089
+ },
60090
+ "storyType": {
60091
+ "const": "body"
60092
+ }
60093
+ },
60094
+ "required": [
60095
+ "kind",
60096
+ "storyType"
60097
+ ]
60098
+ },
60099
+ {
60100
+ "type": "object",
60101
+ "properties": {
60102
+ "kind": {
60103
+ "const": "story"
60104
+ },
60105
+ "storyType": {
60106
+ "const": "headerFooterSlot"
60107
+ },
60108
+ "section": {
60109
+ "type": "object",
60110
+ "properties": {
60111
+ "kind": {
60112
+ "const": "section"
60113
+ },
60114
+ "sectionId": {
60115
+ "type": "string"
60116
+ }
60117
+ },
60118
+ "required": [
60119
+ "kind",
60120
+ "sectionId"
60121
+ ]
60122
+ },
60123
+ "headerFooterKind": {
60124
+ "oneOf": [
60125
+ {
60126
+ "const": "header"
60127
+ },
60128
+ {
60129
+ "const": "footer"
60130
+ }
60131
+ ]
60132
+ },
60133
+ "variant": {
60134
+ "oneOf": [
60135
+ {
60136
+ "const": "default"
60137
+ },
60138
+ {
60139
+ "const": "first"
60140
+ },
60141
+ {
60142
+ "const": "even"
60143
+ }
60144
+ ]
60145
+ },
60146
+ "resolution": {
60147
+ "oneOf": [
60148
+ {
60149
+ "const": "effective"
60150
+ },
60151
+ {
60152
+ "const": "explicit"
60153
+ }
60154
+ ]
60155
+ },
60156
+ "onWrite": {
60157
+ "oneOf": [
60158
+ {
60159
+ "const": "materializeIfInherited"
60160
+ },
60161
+ {
60162
+ "const": "editResolvedPart"
60163
+ },
60164
+ {
60165
+ "const": "error"
60166
+ }
60167
+ ]
60168
+ }
60169
+ },
60170
+ "required": [
60171
+ "kind",
60172
+ "storyType",
60173
+ "section",
60174
+ "headerFooterKind",
60175
+ "variant"
60176
+ ]
60177
+ },
60178
+ {
60179
+ "type": "object",
60180
+ "properties": {
60181
+ "kind": {
60182
+ "const": "story"
60183
+ },
60184
+ "storyType": {
60185
+ "const": "headerFooterPart"
60186
+ },
60187
+ "refId": {
60188
+ "type": "string"
60189
+ }
60190
+ },
60191
+ "required": [
60192
+ "kind",
60193
+ "storyType",
60194
+ "refId"
60195
+ ]
60196
+ },
60197
+ {
60198
+ "type": "object",
60199
+ "properties": {
60200
+ "kind": {
60201
+ "const": "story"
60202
+ },
60203
+ "storyType": {
60204
+ "const": "footnote"
60205
+ },
60206
+ "noteId": {
60207
+ "type": "string"
60208
+ }
60209
+ },
60210
+ "required": [
60211
+ "kind",
60212
+ "storyType",
60213
+ "noteId"
60214
+ ]
60215
+ },
60216
+ {
60217
+ "type": "object",
60218
+ "properties": {
60219
+ "kind": {
60220
+ "const": "story"
60221
+ },
60222
+ "storyType": {
60223
+ "const": "endnote"
60224
+ },
60225
+ "noteId": {
60226
+ "type": "string"
60227
+ }
60228
+ },
60229
+ "required": [
60230
+ "kind",
60231
+ "storyType",
60232
+ "noteId"
60233
+ ]
60234
+ }
60235
+ ],
60236
+ "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."
60237
+ },
60238
+ {
60239
+ "const": "all"
60240
+ }
60241
+ ],
60242
+ "description": "Story scope. Omit for body only, pass a StoryLocator for a single story, or 'all' for body + every revision-capable non-body story."
60243
+ },
60244
+ "description": "Story scope. Omit for body only, pass a StoryLocator for a single story, or 'all' for body + every revision-capable non-body story.",
60245
+ "agentVisible": false
60074
60246
  }
60075
60247
  ],
60076
60248
  "constraints": null,
@@ -60096,6 +60268,17 @@ const CONTRACT = {
60096
60268
  "format"
60097
60269
  ],
60098
60270
  "description": "Filter by change type: 'insert', 'delete', or 'format'."
60271
+ },
60272
+ "in": {
60273
+ "oneOf": [
60274
+ {
60275
+ "$ref": "#/$defs/StoryLocator"
60276
+ },
60277
+ {
60278
+ "const": "all"
60279
+ }
60280
+ ],
60281
+ "description": "Story scope. Omit for body only, pass a StoryLocator for a single story, or 'all' for body + every revision-capable non-body story."
60099
60282
  }
60100
60283
  },
60101
60284
  "additionalProperties": false
@@ -60222,6 +60405,169 @@ const CONTRACT = {
60222
60405
  "kind": "flag",
60223
60406
  "type": "string",
60224
60407
  "required": true
60408
+ },
60409
+ {
60410
+ "name": "story",
60411
+ "kind": "jsonFlag",
60412
+ "type": "json",
60413
+ "flag": "story-json",
60414
+ "schema": {
60415
+ "oneOf": [
60416
+ {
60417
+ "type": "object",
60418
+ "properties": {
60419
+ "kind": {
60420
+ "const": "story"
60421
+ },
60422
+ "storyType": {
60423
+ "const": "body"
60424
+ }
60425
+ },
60426
+ "required": [
60427
+ "kind",
60428
+ "storyType"
60429
+ ]
60430
+ },
60431
+ {
60432
+ "type": "object",
60433
+ "properties": {
60434
+ "kind": {
60435
+ "const": "story"
60436
+ },
60437
+ "storyType": {
60438
+ "const": "headerFooterSlot"
60439
+ },
60440
+ "section": {
60441
+ "type": "object",
60442
+ "properties": {
60443
+ "kind": {
60444
+ "const": "section"
60445
+ },
60446
+ "sectionId": {
60447
+ "type": "string"
60448
+ }
60449
+ },
60450
+ "required": [
60451
+ "kind",
60452
+ "sectionId"
60453
+ ]
60454
+ },
60455
+ "headerFooterKind": {
60456
+ "oneOf": [
60457
+ {
60458
+ "const": "header"
60459
+ },
60460
+ {
60461
+ "const": "footer"
60462
+ }
60463
+ ]
60464
+ },
60465
+ "variant": {
60466
+ "oneOf": [
60467
+ {
60468
+ "const": "default"
60469
+ },
60470
+ {
60471
+ "const": "first"
60472
+ },
60473
+ {
60474
+ "const": "even"
60475
+ }
60476
+ ]
60477
+ },
60478
+ "resolution": {
60479
+ "oneOf": [
60480
+ {
60481
+ "const": "effective"
60482
+ },
60483
+ {
60484
+ "const": "explicit"
60485
+ }
60486
+ ]
60487
+ },
60488
+ "onWrite": {
60489
+ "oneOf": [
60490
+ {
60491
+ "const": "materializeIfInherited"
60492
+ },
60493
+ {
60494
+ "const": "editResolvedPart"
60495
+ },
60496
+ {
60497
+ "const": "error"
60498
+ }
60499
+ ]
60500
+ }
60501
+ },
60502
+ "required": [
60503
+ "kind",
60504
+ "storyType",
60505
+ "section",
60506
+ "headerFooterKind",
60507
+ "variant"
60508
+ ]
60509
+ },
60510
+ {
60511
+ "type": "object",
60512
+ "properties": {
60513
+ "kind": {
60514
+ "const": "story"
60515
+ },
60516
+ "storyType": {
60517
+ "const": "headerFooterPart"
60518
+ },
60519
+ "refId": {
60520
+ "type": "string"
60521
+ }
60522
+ },
60523
+ "required": [
60524
+ "kind",
60525
+ "storyType",
60526
+ "refId"
60527
+ ]
60528
+ },
60529
+ {
60530
+ "type": "object",
60531
+ "properties": {
60532
+ "kind": {
60533
+ "const": "story"
60534
+ },
60535
+ "storyType": {
60536
+ "const": "footnote"
60537
+ },
60538
+ "noteId": {
60539
+ "type": "string"
60540
+ }
60541
+ },
60542
+ "required": [
60543
+ "kind",
60544
+ "storyType",
60545
+ "noteId"
60546
+ ]
60547
+ },
60548
+ {
60549
+ "type": "object",
60550
+ "properties": {
60551
+ "kind": {
60552
+ "const": "story"
60553
+ },
60554
+ "storyType": {
60555
+ "const": "endnote"
60556
+ },
60557
+ "noteId": {
60558
+ "type": "string"
60559
+ }
60560
+ },
60561
+ "required": [
60562
+ "kind",
60563
+ "storyType",
60564
+ "noteId"
60565
+ ]
60566
+ }
60567
+ ],
60568
+ "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."
60569
+ },
60570
+ "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."
60225
60571
  }
60226
60572
  ],
60227
60573
  "constraints": null,
@@ -60234,6 +60580,9 @@ const CONTRACT = {
60234
60580
  "properties": {
60235
60581
  "id": {
60236
60582
  "type": "string"
60583
+ },
60584
+ "story": {
60585
+ "$ref": "#/$defs/StoryLocator"
60237
60586
  }
60238
60587
  },
60239
60588
  "additionalProperties": false,
@@ -60388,6 +60737,162 @@ const CONTRACT = {
60388
60737
  "properties": {
60389
60738
  "id": {
60390
60739
  "type": "string"
60740
+ },
60741
+ "story": {
60742
+ "oneOf": [
60743
+ {
60744
+ "type": "object",
60745
+ "properties": {
60746
+ "kind": {
60747
+ "const": "story"
60748
+ },
60749
+ "storyType": {
60750
+ "const": "body"
60751
+ }
60752
+ },
60753
+ "required": [
60754
+ "kind",
60755
+ "storyType"
60756
+ ]
60757
+ },
60758
+ {
60759
+ "type": "object",
60760
+ "properties": {
60761
+ "kind": {
60762
+ "const": "story"
60763
+ },
60764
+ "storyType": {
60765
+ "const": "headerFooterSlot"
60766
+ },
60767
+ "section": {
60768
+ "type": "object",
60769
+ "properties": {
60770
+ "kind": {
60771
+ "const": "section"
60772
+ },
60773
+ "sectionId": {
60774
+ "type": "string"
60775
+ }
60776
+ },
60777
+ "required": [
60778
+ "kind",
60779
+ "sectionId"
60780
+ ]
60781
+ },
60782
+ "headerFooterKind": {
60783
+ "oneOf": [
60784
+ {
60785
+ "const": "header"
60786
+ },
60787
+ {
60788
+ "const": "footer"
60789
+ }
60790
+ ]
60791
+ },
60792
+ "variant": {
60793
+ "oneOf": [
60794
+ {
60795
+ "const": "default"
60796
+ },
60797
+ {
60798
+ "const": "first"
60799
+ },
60800
+ {
60801
+ "const": "even"
60802
+ }
60803
+ ]
60804
+ },
60805
+ "resolution": {
60806
+ "oneOf": [
60807
+ {
60808
+ "const": "effective"
60809
+ },
60810
+ {
60811
+ "const": "explicit"
60812
+ }
60813
+ ]
60814
+ },
60815
+ "onWrite": {
60816
+ "oneOf": [
60817
+ {
60818
+ "const": "materializeIfInherited"
60819
+ },
60820
+ {
60821
+ "const": "editResolvedPart"
60822
+ },
60823
+ {
60824
+ "const": "error"
60825
+ }
60826
+ ]
60827
+ }
60828
+ },
60829
+ "required": [
60830
+ "kind",
60831
+ "storyType",
60832
+ "section",
60833
+ "headerFooterKind",
60834
+ "variant"
60835
+ ]
60836
+ },
60837
+ {
60838
+ "type": "object",
60839
+ "properties": {
60840
+ "kind": {
60841
+ "const": "story"
60842
+ },
60843
+ "storyType": {
60844
+ "const": "headerFooterPart"
60845
+ },
60846
+ "refId": {
60847
+ "type": "string"
60848
+ }
60849
+ },
60850
+ "required": [
60851
+ "kind",
60852
+ "storyType",
60853
+ "refId"
60854
+ ]
60855
+ },
60856
+ {
60857
+ "type": "object",
60858
+ "properties": {
60859
+ "kind": {
60860
+ "const": "story"
60861
+ },
60862
+ "storyType": {
60863
+ "const": "footnote"
60864
+ },
60865
+ "noteId": {
60866
+ "type": "string"
60867
+ }
60868
+ },
60869
+ "required": [
60870
+ "kind",
60871
+ "storyType",
60872
+ "noteId"
60873
+ ]
60874
+ },
60875
+ {
60876
+ "type": "object",
60877
+ "properties": {
60878
+ "kind": {
60879
+ "const": "story"
60880
+ },
60881
+ "storyType": {
60882
+ "const": "endnote"
60883
+ },
60884
+ "noteId": {
60885
+ "type": "string"
60886
+ }
60887
+ },
60888
+ "required": [
60889
+ "kind",
60890
+ "storyType",
60891
+ "noteId"
60892
+ ]
60893
+ }
60894
+ ],
60895
+ "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."
60391
60896
  }
60392
60897
  },
60393
60898
  "required": [
@@ -60434,6 +60939,9 @@ const CONTRACT = {
60434
60939
  "properties": {
60435
60940
  "id": {
60436
60941
  "type": "string"
60942
+ },
60943
+ "story": {
60944
+ "$ref": "#/$defs/StoryLocator"
60437
60945
  }
60438
60946
  },
60439
60947
  "additionalProperties": false,
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/generated/contract.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;IAClC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,CAAC;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,QAAQ;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,GAAG,EAAE;QACH,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,aAAa,EAAE,MAAM,EAAE,CAAC;KACzB,CAAC;IACF,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC;CACpD;AAED,eAAO,MAAM,QAAQ,EAAE,QAillJtB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,QAAQ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