@animaapp/anima-sdk 0.2.3 → 0.2.5
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/.turbo/turbo-build.log +14 -12
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +437 -431
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/anima.ts +7 -0
- package/src/settings.ts +2 -0
- package/src/types.ts +36 -34
package/dist/index.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ export declare type CodegenSettings = {
|
|
|
82
82
|
enableCompactStructure?: boolean;
|
|
83
83
|
enableAutoSplit?: boolean;
|
|
84
84
|
autoSplitThreshold?: number;
|
|
85
|
+
disableMarkedForExport?: boolean;
|
|
85
86
|
};
|
|
86
87
|
|
|
87
88
|
/**
|
|
@@ -149,6 +150,7 @@ export declare type GeneratingCodePayload = {
|
|
|
149
150
|
};
|
|
150
151
|
|
|
151
152
|
export declare type GetCodeHandler = ((message: SSECodgenMessage) => void) | {
|
|
153
|
+
onQueueing?: () => void;
|
|
152
154
|
onStart?: ({ sessionId }: {
|
|
153
155
|
sessionId: string;
|
|
154
156
|
}) => void;
|
|
@@ -264,6 +266,8 @@ export declare class ResponseError extends Error {
|
|
|
264
266
|
}
|
|
265
267
|
|
|
266
268
|
export declare type SSECodgenMessage = {
|
|
269
|
+
type: "queueing";
|
|
270
|
+
} | {
|
|
267
271
|
type: "start";
|
|
268
272
|
sessionId: string;
|
|
269
273
|
} | {
|