@animaapp/anima-sdk 0.7.0 → 0.7.2
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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.js +3239 -2399
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -147,6 +147,9 @@ export declare type CodegenSettings = BaseSettings & {
|
|
|
147
147
|
enableDisplayDataName?: boolean;
|
|
148
148
|
url?: string;
|
|
149
149
|
prompt?: string;
|
|
150
|
+
images?: Array<{
|
|
151
|
+
url: string;
|
|
152
|
+
}>;
|
|
150
153
|
};
|
|
151
154
|
|
|
152
155
|
/**
|
|
@@ -377,6 +380,10 @@ export declare type GetCodeFromWebsiteParams = {
|
|
|
377
380
|
settings: GetCodeFromWebsiteSettings;
|
|
378
381
|
tracking?: TrackingInfos;
|
|
379
382
|
webhookUrl?: string;
|
|
383
|
+
prompt?: string;
|
|
384
|
+
images?: Array<{
|
|
385
|
+
url: string;
|
|
386
|
+
}>;
|
|
380
387
|
experimental_useNewReactEngine?: boolean;
|
|
381
388
|
};
|
|
382
389
|
|
|
@@ -424,6 +431,10 @@ export declare type GetCodeParams = {
|
|
|
424
431
|
settings: CodegenSettings;
|
|
425
432
|
tracking?: TrackingInfos;
|
|
426
433
|
webhookUrl?: string;
|
|
434
|
+
prompt?: string;
|
|
435
|
+
images?: Array<{
|
|
436
|
+
url: string;
|
|
437
|
+
}>;
|
|
427
438
|
};
|
|
428
439
|
|
|
429
440
|
export declare const getFigmaApiErrorType: (error: Error) => FigmaApiErrorType;
|