pollination-react-io 1.34.0 → 1.35.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/build/NewStudyCard/StudyCard.d.ts +5 -0
- package/build/NewStudyCard/StudyCard.types.d.ts +15 -0
- package/build/NewStudyCard/icons/CircleOne.d.ts +3 -0
- package/build/NewStudyCard/icons/CircleThree.d.ts +3 -0
- package/build/NewStudyCard/icons/CircleTwo.d.ts +3 -0
- package/build/RunView/CloudRunView.d.ts +5 -0
- package/build/RunView/LocalRunView.d.ts +4 -0
- package/build/RunView/Old/TableView.d.ts +0 -0
- package/build/RunView/RunView.d.ts +4 -0
- package/build/RunView/RunView.types.d.ts +11 -0
- package/build/atoms/TreeView/Tree.types.d.ts +19 -0
- package/build/atoms/TreeView/TreeNode.d.ts +3 -0
- package/build/atoms/TreeView/Utils.d.ts +3 -0
- package/build/hooks/usePollinationPanel.d.ts +1 -0
- package/build/index.esm.js +69 -33
- package/build/index.esm.js.map +1 -1
- package/build/index.js +69 -33
- package/build/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CloudJob, UserPrivate } from '@pollination-solutions/pollination-sdk';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
import { APIClient } from '../hooks';
|
|
4
|
+
export interface StudyCardProps {
|
|
5
|
+
projectOwner: string;
|
|
6
|
+
projectName: string;
|
|
7
|
+
study?: CloudJob;
|
|
8
|
+
canWrite?: boolean;
|
|
9
|
+
runList?: boolean;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
authUser?: UserPrivate;
|
|
12
|
+
client?: APIClient;
|
|
13
|
+
showMenu: boolean;
|
|
14
|
+
onDelete?: () => void;
|
|
15
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { UserPrivate } from '@pollination-solutions/pollination-sdk';
|
|
2
|
+
import { APIClient } from '../hooks';
|
|
3
|
+
import { TreeUnit } from '../atoms/TreeView/Tree.types';
|
|
4
|
+
export declare type RunViewProps = {
|
|
5
|
+
projectName: string;
|
|
6
|
+
projectOwner: string | undefined;
|
|
7
|
+
authUser?: UserPrivate;
|
|
8
|
+
client?: APIClient;
|
|
9
|
+
runId?: string | undefined;
|
|
10
|
+
getNodeFromTree?: (node: TreeUnit) => any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum TreeNodeType {
|
|
2
|
+
FolderNode = 0,
|
|
3
|
+
FileNode = 1
|
|
4
|
+
}
|
|
5
|
+
export declare type TreeUnit = {
|
|
6
|
+
key: string;
|
|
7
|
+
label: string;
|
|
8
|
+
nodeType: TreeNodeType;
|
|
9
|
+
absPath?: string;
|
|
10
|
+
children?: TreeUnit[];
|
|
11
|
+
};
|
|
12
|
+
export interface TreeProps {
|
|
13
|
+
treeData?: TreeUnit[];
|
|
14
|
+
getNodeFromTree?: (node: TreeUnit) => any;
|
|
15
|
+
}
|
|
16
|
+
export interface TreeNodeProps {
|
|
17
|
+
node?: TreeUnit;
|
|
18
|
+
getNodeFromTree?: (node: TreeUnit) => any;
|
|
19
|
+
}
|
|
@@ -3,4 +3,5 @@ export declare const usePollinationPanel: () => {
|
|
|
3
3
|
getFileBase64: (key?: any, accept?: any) => PanelMessageOut;
|
|
4
4
|
saveFileBase64: (key: string, file: File | Blob, subFolder: string, fileName: string) => Promise<PanelMessageOut>;
|
|
5
5
|
fromFileToBase64: (filePath: string) => PanelMessageOut;
|
|
6
|
+
getFilesFromDir: (root: any) => PanelMessageOut;
|
|
6
7
|
};
|