@animaapp/anima-sdk-react 0.13.0 → 0.16.0

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
@@ -3,10 +3,10 @@ import { AnimaSDKResult } from '@animaapp/anima-sdk';
3
3
  import { CodegenError } from '@animaapp/anima-sdk';
4
4
  import { Context } from 'react';
5
5
  import { FigmaRestApi } from '@animaapp/anima-sdk';
6
+ import { GetCodeFromPromptParams } from '@animaapp/anima-sdk';
6
7
  import { GetCodeFromWebsiteParams } from '@animaapp/anima-sdk';
7
8
  import { GetCodeParams } from '@animaapp/anima-sdk';
8
9
  import { GetFileResponse } from '@figma/rest-api-spec';
9
- import { GetLink2CodeParams } from '@animaapp/anima-sdk';
10
10
  import { JobType } from '@animaapp/anima-sdk';
11
11
  import { JSX } from 'react/jsx-runtime';
12
12
  import { ProgressMessage } from '@animaapp/anima-sdk';
@@ -120,10 +120,10 @@ export declare const useAnimaCodegen: ({ url, method, }: {
120
120
 
121
121
  declare type UseAnimaParams = (Omit<GetCodeParams, "assetsStorage"> & {
122
122
  assetsStorage?: GetCodeParams["assetsStorage"] | LocalAssetsStorage;
123
+ }) | (Omit<GetCodeFromPromptParams, "assetsStorage"> & {
124
+ assetsStorage?: GetCodeFromPromptParams["assetsStorage"] | LocalAssetsStorage;
123
125
  }) | (Omit<GetCodeFromWebsiteParams, "assetsStorage"> & {
124
126
  assetsStorage?: GetCodeFromWebsiteParams["assetsStorage"] | LocalAssetsStorage;
125
- }) | (Omit<GetLink2CodeParams, "assetsStorage"> & {
126
- assetsStorage?: GetLink2CodeParams["assetsStorage"] | LocalAssetsStorage;
127
127
  });
128
128
 
129
129
  export declare function useAnimaSDK(): AnimaSdkContextType;