@animaapp/anima-sdk 0.2.2 → 0.2.4

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/index.d.ts CHANGED
@@ -80,6 +80,8 @@ export declare type CodegenSettings = {
80
80
  enableTranslation?: boolean;
81
81
  enableUILibraryTheming?: boolean;
82
82
  enableCompactStructure?: boolean;
83
+ enableAutoSplit?: boolean;
84
+ autoSplitThreshold?: number;
83
85
  };
84
86
 
85
87
  /**
@@ -147,6 +149,7 @@ export declare type GeneratingCodePayload = {
147
149
  };
148
150
 
149
151
  export declare type GetCodeHandler = ((message: SSECodgenMessage) => void) | {
152
+ onQueueing?: () => void;
150
153
  onStart?: ({ sessionId }: {
151
154
  sessionId: string;
152
155
  }) => void;
@@ -262,6 +265,8 @@ export declare class ResponseError extends Error {
262
265
  }
263
266
 
264
267
  export declare type SSECodgenMessage = {
268
+ type: "queueing";
269
+ } | {
265
270
  type: "start";
266
271
  sessionId: string;
267
272
  } | {