@animaapp/anima-sdk 0.6.16 → 0.6.18
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +149 -134
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,8 @@ export declare type CodegenSettings = {
|
|
|
106
106
|
enableDisplayScreenModelId?: boolean;
|
|
107
107
|
enableGeneratePackageLock?: boolean;
|
|
108
108
|
enableAnimationsPreset?: boolean;
|
|
109
|
+
enableDisplayDataId?: boolean;
|
|
110
|
+
enableDisplayDataName?: boolean;
|
|
109
111
|
url?: string;
|
|
110
112
|
codegenSettings?: Record<string, unknown>;
|
|
111
113
|
};
|
|
@@ -113,7 +115,7 @@ export declare type CodegenSettings = {
|
|
|
113
115
|
/**
|
|
114
116
|
* Errors from Anima API, common across multiple routes.
|
|
115
117
|
*/
|
|
116
|
-
export declare type CommonApiError = "Missing Authorization header" | "Invalid Authorization header" | "Missing teamId" | "Internal server error" | "Forbidden, no team access" | "Requested Usage Exceeds Limit" | "Too many concurrent jobs
|
|
118
|
+
export declare type CommonApiError = "Missing Authorization header" | "Invalid Authorization header" | "Missing teamId" | "Internal server error" | "Forbidden, no team access" | "Requested Usage Exceeds Limit" | "Too many concurrent jobs" | "Invalid Anima token";
|
|
117
119
|
|
|
118
120
|
/**
|
|
119
121
|
* Creates a Server-Sent Events (SSE) `Response` that forwards all messages from the code generation from website stream.
|
|
@@ -256,7 +258,8 @@ export declare type GetCodeFromWebsiteHandler = ((message: SSEGetCodeFromWebsite
|
|
|
256
258
|
};
|
|
257
259
|
|
|
258
260
|
export declare type GetCodeFromWebsiteParams = {
|
|
259
|
-
url
|
|
261
|
+
url?: string;
|
|
262
|
+
mhtml?: string;
|
|
260
263
|
assetsStorage?: AssetsStorage;
|
|
261
264
|
settings: GetCodeFromWebsiteSettings;
|
|
262
265
|
tracking?: TrackingInfos;
|