@superdoc-dev/sdk 1.0.0-next.74 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,7 +56,6 @@ export interface DocFindParams {
56
56
  pattern?: string;
57
57
  mode?: string;
58
58
  caseSensitive?: boolean;
59
- select?: Record<string, unknown> | unknown[];
60
59
  query?: Record<string, unknown> | unknown[];
61
60
  }
62
61
  export interface DocGetNodeParams {
@@ -9218,12 +9217,25 @@ export type DocInfoResult = {
9218
9217
  trackedChanges: number;
9219
9218
  words: number;
9220
9219
  };
9220
+ defaults?: {
9221
+ fontFamily?: string;
9222
+ fontSize?: number;
9223
+ styleId?: string;
9224
+ };
9221
9225
  outline: Array<{
9222
9226
  level: number;
9223
9227
  nodeId: string;
9224
9228
  text: string;
9225
9229
  }>;
9226
9230
  revision: string;
9231
+ styles?: {
9232
+ paragraphStyles: Array<{
9233
+ count: number;
9234
+ fontFamily?: string;
9235
+ fontSize?: number;
9236
+ styleId: string;
9237
+ }>;
9238
+ };
9227
9239
  };
9228
9240
  export type DocClearContentResult = unknown;
9229
9241
  export type DocInsertResult = {
@@ -9253,11 +9265,17 @@ export type DocReplaceResult = {
9253
9265
  export type DocDeleteResult = unknown;
9254
9266
  export type DocBlocksListResult = {
9255
9267
  blocks: Array<{
9256
- isEmpty: boolean;
9268
+ alignment?: string;
9269
+ bold?: boolean;
9270
+ fontFamily?: string;
9271
+ fontSize?: number;
9272
+ headingLevel?: number;
9273
+ isEmpty?: boolean;
9257
9274
  nodeId: string;
9258
9275
  nodeType: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt";
9259
9276
  ordinal: number;
9260
- textPreview: string | null;
9277
+ styleId?: string | null;
9278
+ textPreview?: string | null;
9261
9279
  }>;
9262
9280
  revision: string;
9263
9281
  total: number;
@@ -14571,7 +14589,6 @@ export interface DocFindBoundParams {
14571
14589
  pattern?: string;
14572
14590
  mode?: string;
14573
14591
  caseSensitive?: boolean;
14574
- select?: Record<string, unknown> | unknown[];
14575
14592
  query?: Record<string, unknown> | unknown[];
14576
14593
  }
14577
14594
  export interface DocGetNodeBoundParams {