@animaapp/anima-sdk 0.6.25 → 0.6.27
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 +14 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -327,7 +327,9 @@ export declare type GetCodeFromPromptHandler = ((message: SSEGetCodeFromPromptMe
|
|
|
327
327
|
|
|
328
328
|
export declare type GetCodeFromPromptParams = {
|
|
329
329
|
prompt: string;
|
|
330
|
-
images?:
|
|
330
|
+
images?: Array<{
|
|
331
|
+
url: string;
|
|
332
|
+
}>;
|
|
331
333
|
assetsStorage?: AssetsStorage;
|
|
332
334
|
settings: GetCodeFromPromptSettings;
|
|
333
335
|
tracking?: TrackingInfos;
|
|
@@ -517,7 +519,7 @@ export declare type L2CParams = {
|
|
|
517
519
|
input: L2CParamsInput;
|
|
518
520
|
conventions: L2CParamsConvention;
|
|
519
521
|
assetsStorage: L2CParamsAssetsStorage;
|
|
520
|
-
viewports?: Array<
|
|
522
|
+
viewports?: Array<"desktop" | "tablet" | "mobile">;
|
|
521
523
|
};
|
|
522
524
|
|
|
523
525
|
/**
|
|
@@ -529,9 +531,9 @@ export declare type L2CParamsAssetsStorage = L2CParamsBundledAssetsStorage;
|
|
|
529
531
|
* @deprecated This type is deprecated and will be removed soon.
|
|
530
532
|
*/
|
|
531
533
|
export declare type L2CParamsBundledAssetsStorage = {
|
|
532
|
-
type:
|
|
534
|
+
type: "bundled";
|
|
533
535
|
referencePath?: string;
|
|
534
|
-
importMode?:
|
|
536
|
+
importMode?: "watermarked" | "original";
|
|
535
537
|
};
|
|
536
538
|
|
|
537
539
|
/**
|
|
@@ -542,13 +544,13 @@ export declare type L2CParamsConvention = L2CParamsHtmlConvention | L2CParamsRea
|
|
|
542
544
|
/**
|
|
543
545
|
* @deprecated This type is deprecated and will be removed soon.
|
|
544
546
|
*/
|
|
545
|
-
export declare type L2CParamsFramework =
|
|
547
|
+
export declare type L2CParamsFramework = "html" | "react";
|
|
546
548
|
|
|
547
549
|
/**
|
|
548
550
|
* @deprecated This type is deprecated and will be removed soon.
|
|
549
551
|
*/
|
|
550
552
|
export declare type L2CParamsHtmlConvention = {
|
|
551
|
-
framework:
|
|
553
|
+
framework: "html";
|
|
552
554
|
styling: L2CParamsStyling;
|
|
553
555
|
};
|
|
554
556
|
|
|
@@ -560,13 +562,13 @@ export declare type L2CParamsInput = L2CParamsUrlInput;
|
|
|
560
562
|
/**
|
|
561
563
|
* @deprecated This type is deprecated and will be removed soon.
|
|
562
564
|
*/
|
|
563
|
-
export declare type L2CParamsLanguage =
|
|
565
|
+
export declare type L2CParamsLanguage = "typescript";
|
|
564
566
|
|
|
565
567
|
/**
|
|
566
568
|
* @deprecated This type is deprecated and will be removed soon.
|
|
567
569
|
*/
|
|
568
570
|
export declare type L2CParamsReactConvention = {
|
|
569
|
-
framework:
|
|
571
|
+
framework: "react";
|
|
570
572
|
language: L2CParamsLanguage;
|
|
571
573
|
styling: L2CParamsStyling;
|
|
572
574
|
enableGeneratePackageLock?: boolean;
|
|
@@ -575,7 +577,7 @@ export declare type L2CParamsReactConvention = {
|
|
|
575
577
|
/**
|
|
576
578
|
* @deprecated This type is deprecated and will be removed soon.
|
|
577
579
|
*/
|
|
578
|
-
export declare type L2CParamsStyling =
|
|
580
|
+
export declare type L2CParamsStyling = "tailwind" | "inline-styles";
|
|
579
581
|
|
|
580
582
|
/**
|
|
581
583
|
* @deprecated This type is deprecated and will be removed soon.
|
|
@@ -596,10 +598,9 @@ export declare class NotFound extends Error {
|
|
|
596
598
|
export declare type ProgressMessage = {
|
|
597
599
|
id: string;
|
|
598
600
|
title: string;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
};
|
|
601
|
+
subtitle?: string;
|
|
602
|
+
body?: string;
|
|
603
|
+
status: "success" | "running";
|
|
603
604
|
};
|
|
604
605
|
|
|
605
606
|
export declare class RateLimitExceeded extends Error {
|