@superdoc-dev/sdk 1.3.0-next.19 → 1.3.0-next.20

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.
@@ -9075,7 +9075,7 @@ export interface DocDiffCompareParams {
9075
9075
  doc?: string;
9076
9076
  sessionId?: string;
9077
9077
  targetSnapshot: {
9078
- version: "sd-diff-snapshot/v1";
9078
+ version: "sd-diff-snapshot/v1" | "sd-diff-snapshot/v2";
9079
9079
  engine: "super-editor";
9080
9080
  fingerprint: string;
9081
9081
  coverage: {
@@ -9083,7 +9083,7 @@ export interface DocDiffCompareParams {
9083
9083
  comments: boolean;
9084
9084
  styles: boolean;
9085
9085
  numbering: boolean;
9086
- headerFooters: false;
9086
+ headerFooters: boolean;
9087
9087
  };
9088
9088
  payload: Record<string, unknown>;
9089
9089
  };
@@ -9096,7 +9096,7 @@ export interface DocDiffApplyParams {
9096
9096
  expectedRevision?: number;
9097
9097
  changeMode?: string;
9098
9098
  diff: {
9099
- version: "sd-diff-payload/v1";
9099
+ version: "sd-diff-payload/v1" | "sd-diff-payload/v2";
9100
9100
  engine: "super-editor";
9101
9101
  baseFingerprint: string;
9102
9102
  targetFingerprint: string;
@@ -9105,11 +9105,11 @@ export interface DocDiffApplyParams {
9105
9105
  comments: boolean;
9106
9106
  styles: boolean;
9107
9107
  numbering: boolean;
9108
- headerFooters: false;
9108
+ headerFooters: boolean;
9109
9109
  };
9110
9110
  summary: {
9111
9111
  hasChanges: boolean;
9112
- changedComponents: Array<"body" | "comments" | "styles" | "numbering">;
9112
+ changedComponents: Array<"body" | "comments" | "styles" | "numbering" | "headerFooters" | "parts">;
9113
9113
  body: {
9114
9114
  hasChanges: boolean;
9115
9115
  };
@@ -9122,6 +9122,12 @@ export interface DocDiffApplyParams {
9122
9122
  numbering: {
9123
9123
  hasChanges: boolean;
9124
9124
  };
9125
+ headerFooters: {
9126
+ hasChanges: boolean;
9127
+ };
9128
+ parts: {
9129
+ hasChanges: boolean;
9130
+ };
9125
9131
  };
9126
9132
  payload: Record<string, unknown>;
9127
9133
  };
@@ -20144,7 +20150,7 @@ export type DocAuthoritiesEntriesRemoveResult = {
20144
20150
  };
20145
20151
  };
20146
20152
  export type DocDiffCaptureResult = {
20147
- version: "sd-diff-snapshot/v1";
20153
+ version: "sd-diff-snapshot/v1" | "sd-diff-snapshot/v2";
20148
20154
  engine: "super-editor";
20149
20155
  fingerprint: string;
20150
20156
  coverage: {
@@ -20152,12 +20158,12 @@ export type DocDiffCaptureResult = {
20152
20158
  comments: boolean;
20153
20159
  styles: boolean;
20154
20160
  numbering: boolean;
20155
- headerFooters: false;
20161
+ headerFooters: boolean;
20156
20162
  };
20157
20163
  payload: Record<string, unknown>;
20158
20164
  };
20159
20165
  export type DocDiffCompareResult = {
20160
- version: "sd-diff-payload/v1";
20166
+ version: "sd-diff-payload/v1" | "sd-diff-payload/v2";
20161
20167
  engine: "super-editor";
20162
20168
  baseFingerprint: string;
20163
20169
  targetFingerprint: string;
@@ -20166,11 +20172,11 @@ export type DocDiffCompareResult = {
20166
20172
  comments: boolean;
20167
20173
  styles: boolean;
20168
20174
  numbering: boolean;
20169
- headerFooters: false;
20175
+ headerFooters: boolean;
20170
20176
  };
20171
20177
  summary: {
20172
20178
  hasChanges: boolean;
20173
- changedComponents: Array<"body" | "comments" | "styles" | "numbering">;
20179
+ changedComponents: Array<"body" | "comments" | "styles" | "numbering" | "headerFooters" | "parts">;
20174
20180
  body: {
20175
20181
  hasChanges: boolean;
20176
20182
  };
@@ -20183,6 +20189,12 @@ export type DocDiffCompareResult = {
20183
20189
  numbering: {
20184
20190
  hasChanges: boolean;
20185
20191
  };
20192
+ headerFooters: {
20193
+ hasChanges: boolean;
20194
+ };
20195
+ parts: {
20196
+ hasChanges: boolean;
20197
+ };
20186
20198
  };
20187
20199
  payload: Record<string, unknown>;
20188
20200
  };
@@ -20195,11 +20207,11 @@ export type DocDiffApplyResult = {
20195
20207
  comments: boolean;
20196
20208
  styles: boolean;
20197
20209
  numbering: boolean;
20198
- headerFooters: false;
20210
+ headerFooters: boolean;
20199
20211
  };
20200
20212
  summary: {
20201
20213
  hasChanges: boolean;
20202
- changedComponents: Array<"body" | "comments" | "styles" | "numbering">;
20214
+ changedComponents: Array<"body" | "comments" | "styles" | "numbering" | "headerFooters" | "parts">;
20203
20215
  body: {
20204
20216
  hasChanges: boolean;
20205
20217
  };
@@ -20212,6 +20224,12 @@ export type DocDiffApplyResult = {
20212
20224
  numbering: {
20213
20225
  hasChanges: boolean;
20214
20226
  };
20227
+ headerFooters: {
20228
+ hasChanges: boolean;
20229
+ };
20230
+ parts: {
20231
+ hasChanges: boolean;
20232
+ };
20215
20233
  };
20216
20234
  diagnostics: Array<string>;
20217
20235
  };
@@ -28721,7 +28739,7 @@ export interface DocDiffCaptureBoundParams {
28721
28739
  }
28722
28740
  export interface DocDiffCompareBoundParams {
28723
28741
  targetSnapshot: {
28724
- version: "sd-diff-snapshot/v1";
28742
+ version: "sd-diff-snapshot/v1" | "sd-diff-snapshot/v2";
28725
28743
  engine: "super-editor";
28726
28744
  fingerprint: string;
28727
28745
  coverage: {
@@ -28729,7 +28747,7 @@ export interface DocDiffCompareBoundParams {
28729
28747
  comments: boolean;
28730
28748
  styles: boolean;
28731
28749
  numbering: boolean;
28732
- headerFooters: false;
28750
+ headerFooters: boolean;
28733
28751
  };
28734
28752
  payload: Record<string, unknown>;
28735
28753
  };
@@ -28740,7 +28758,7 @@ export interface DocDiffApplyBoundParams {
28740
28758
  expectedRevision?: number;
28741
28759
  changeMode?: string;
28742
28760
  diff: {
28743
- version: "sd-diff-payload/v1";
28761
+ version: "sd-diff-payload/v1" | "sd-diff-payload/v2";
28744
28762
  engine: "super-editor";
28745
28763
  baseFingerprint: string;
28746
28764
  targetFingerprint: string;
@@ -28749,11 +28767,11 @@ export interface DocDiffApplyBoundParams {
28749
28767
  comments: boolean;
28750
28768
  styles: boolean;
28751
28769
  numbering: boolean;
28752
- headerFooters: false;
28770
+ headerFooters: boolean;
28753
28771
  };
28754
28772
  summary: {
28755
28773
  hasChanges: boolean;
28756
- changedComponents: Array<"body" | "comments" | "styles" | "numbering">;
28774
+ changedComponents: Array<"body" | "comments" | "styles" | "numbering" | "headerFooters" | "parts">;
28757
28775
  body: {
28758
28776
  hasChanges: boolean;
28759
28777
  };
@@ -28766,6 +28784,12 @@ export interface DocDiffApplyBoundParams {
28766
28784
  numbering: {
28767
28785
  hasChanges: boolean;
28768
28786
  };
28787
+ headerFooters: {
28788
+ hasChanges: boolean;
28789
+ };
28790
+ parts: {
28791
+ hasChanges: boolean;
28792
+ };
28769
28793
  };
28770
28794
  payload: Record<string, unknown>;
28771
28795
  };