pollination-react-io 1.36.0 → 1.37.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.
@@ -1,10 +1,9 @@
1
- import { CloudJob, Run, UserPrivate } from '@pollination-solutions/pollination-sdk';
1
+ import { Run, UserPrivate } from '@pollination-solutions/pollination-sdk';
2
2
  import { CSSProperties } from 'react';
3
3
  import { APIClient } from '../hooks';
4
4
  export interface RunCardProps {
5
5
  projectOwner: string;
6
6
  projectName: string;
7
- study?: CloudJob;
8
7
  run?: Run;
9
8
  style?: CSSProperties;
10
9
  authUser?: UserPrivate;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { RunContentProps } from './RunContent.types';
3
+ import './RunRecipe.scss';
4
+ export declare const RunContent: React.FC<RunContentProps>;
5
+ export default RunContent;
@@ -0,0 +1,15 @@
1
+ import { APIClient } from '../hooks';
2
+ export interface FileCard {
3
+ label: string;
4
+ path: string;
5
+ file?: Blob | File | string;
6
+ }
7
+ export interface RunContentProps {
8
+ inputData: any[];
9
+ studyId?: string;
10
+ runId?: string;
11
+ projectOwner?: string;
12
+ projectName?: string;
13
+ client?: APIClient;
14
+ getCardValue?: (card: FileCard) => any;
15
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { RunRecipeProps } from './RunRecipe.types';
3
+ import './RunContent.scss';
4
+ export declare const RunRecipe: React.FC<RunRecipeProps>;
5
+ export default RunRecipe;
@@ -0,0 +1,20 @@
1
+ import { Run, UserPrivate } from '@pollination-solutions/pollination-sdk';
2
+ import { CSSProperties } from 'react';
3
+ import { APIClient } from '../hooks';
4
+ import { FileCard } from './RunContent.types';
5
+ export interface LocalRun {
6
+ meta: any;
7
+ status: any;
8
+ recipe: any;
9
+ id: string;
10
+ }
11
+ export interface RunRecipeProps {
12
+ projectOwner: string;
13
+ projectName: string;
14
+ run?: Run | LocalRun;
15
+ runId?: string;
16
+ style?: CSSProperties;
17
+ authUser?: UserPrivate;
18
+ client?: APIClient;
19
+ getCardValue?: (card: FileCard) => any;
20
+ }
package/build/index.d.ts CHANGED
@@ -22,3 +22,4 @@ export * from './SendResults/SendResults';
22
22
  export * from './Cards/StudyCard';
23
23
  export * from './Cards/RunCard';
24
24
  export * from './FilePreview/FilePreview';
25
+ export * from './RunRecipe/RunRecipe';