pollination-react-io 1.52.3 → 1.53.1

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.
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { RecipeFormProps } from './RecipeForm.types';
3
+ import './RecipeForm.scss';
4
+ export declare const RecipeForm: React.FC<RecipeFormProps>;
5
+ export default RecipeForm;
@@ -0,0 +1,11 @@
1
+ import { RecipeInterface } from '@pollination-solutions/pollination-sdk';
2
+ import { APIClient, PanelMessageIn } from '../hooks';
3
+ import { CSSProperties } from 'react';
4
+ export interface RecipeFormProps {
5
+ recipe: RecipeInterface;
6
+ projectOwner: string;
7
+ projectName: string;
8
+ client: APIClient;
9
+ style?: CSSProperties;
10
+ onSubmit?: (name: string, jobArguments: any[], description?: string, localConfig?: any) => Promise<void> | Promise<PanelMessageIn | undefined>;
11
+ }
@@ -0,0 +1,6 @@
1
+ export declare const generateSchema: (inputs: any) => {
2
+ type: string;
3
+ properties: any;
4
+ required: any;
5
+ additionalProperties: boolean;
6
+ };
package/build/index.d.ts CHANGED
@@ -6,7 +6,7 @@ export * from './ConfigureLocalRun/ConfigureLocalRun';
6
6
  export * from './CreateStudy/CreateStudy';
7
7
  export * from './GetGeometry/GetGeometry';
8
8
  export * from './GetModel/GetModel';
9
- export * from './RecipeInputsForm/RecipeInputsForm';
9
+ export * from './RecipeForm/RecipeForm';
10
10
  export * from './RunCommand/RunCommand';
11
11
  export * from './RunsList/RunsList';
12
12
  export * from './SelectAccount/SelectAccount';