@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.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<'desktop' | 'tablet' | 'mobile'>;
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: 'bundled';
534
+ type: "bundled";
532
535
  referencePath?: string;
533
- importMode?: 'watermarked' | 'original';
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 = 'html' | 'react';
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: 'html';
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 = 'typescript';
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: 'react';
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 = 'tailwind' | 'inline-styles';
580
+ export declare type L2CParamsStyling = "tailwind" | "inline-styles";
578
581
 
579
582
  /**
580
583
  * @deprecated This type is deprecated and will be removed soon.
package/dist/index.js CHANGED
@@ -4001,6 +4001,7 @@ class ta {
4001
4001
  assetsStorage: e.assetsStorage,
4002
4002
  params: d({
4003
4003
  prompt: e.prompt,
4004
+ images: e.images,
4004
4005
  conventions: {
4005
4006
  language: e.settings.language,
4006
4007
  framework: e.settings.framework,