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