climb-onyx-gui 0.14.0-dev.8 → 0.14.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.
@@ -6,7 +6,6 @@ interface ExportModalProps {
6
6
  defaultFileNamePrefix: string;
7
7
  defaultFileExtension: string;
8
8
  fileExtensions?: string[];
9
- exportProgressMessage: string;
10
9
  handleExport: (exportProps: ExportHandlerProps) => void;
11
10
  }
12
11
  declare function ExportModal(props: ExportModalProps): import("react/jsx-runtime").JSX.Element;
@@ -15,7 +15,7 @@ interface BasePlotProps {
15
15
  }
16
16
  interface GraphProps extends DataProps {
17
17
  graphConfig: GraphConfig;
18
- refresh: number;
18
+ refresh: number | null;
19
19
  setLastUpdated: (lastUpdated: string | null) => void;
20
20
  }
21
21
  declare function BasePlot(props: BasePlotProps): import("react/jsx-runtime").JSX.Element;
@@ -38,7 +38,8 @@ export interface ExportHandlerProps {
38
38
  statusToken: {
39
39
  status: ExportStatus;
40
40
  };
41
- setExportStatus: (exportStatus: ExportStatus) => void;
42
- setExportProgress: (exportProgress: number) => void;
41
+ setExportStatus: (status: ExportStatus) => void;
42
+ setExportProgress: (progress: number) => void;
43
+ setExportProgressMessage: (message: string) => void;
43
44
  setExportError: (error: Error) => void;
44
45
  }
@@ -12,4 +12,6 @@ interface DetailResponseProps extends OnyxProps {
12
12
  declare function handleJSONExport(props: DetailResponseProps): (exportProps: ExportHandlerProps) => void;
13
13
  /** Takes an array of FilterConfig objects and formats into an array of field (+lookup), value pairs. */
14
14
  declare function formatFilters(filters: FilterConfig[]): string[][];
15
- export { formatFilters, generateKey, getDefaultFileNamePrefix, handleJSONExport, };
15
+ /** Takes a Response object and returns its status code, formatted as a string. */
16
+ declare function formatResponseStatus(response: Response): string;
17
+ export { formatFilters, formatResponseStatus, generateKey, getDefaultFileNamePrefix, handleJSONExport, };
@@ -1,3 +1,3 @@
1
1
  declare const useDebouncedValue: (inputValue: string, delay: number) => string;
2
- declare const useQueryRefresh: (refresh: number, dataUpdatedAt: number, errorUpdatedAt: number, refetch: () => void, setLastUpdated: (lastUpdated: string | null) => void) => void;
2
+ declare const useQueryRefresh: (refresh: number | null, dataUpdatedAt: number, errorUpdatedAt: number, refetch: () => void, setLastUpdated: (lastUpdated: string | null) => void) => void;
3
3
  export { useDebouncedValue, useQueryRefresh };
@@ -1,3 +1,4 @@
1
1
  export declare const s3BucketsMessage = "If you haven't already, please make sure you have clicked the 'Get Started With S3 Buckets' button under the 'S3 Buckets' tab on BRYN.";
2
2
  export declare const recentActivityMessage = "Your most recent API requests will be listed here. If you see anything suspicious, please contact CLIMB-TRE support immediately.";
3
3
  export declare const errorModalMessage = "Please try again or contact CLIMB-TRE support if the problem persists.";
4
+ export declare const defaultExportProgressMessage = "Fetching items...";
package/package.json CHANGED
@@ -1,12 +1,43 @@
1
1
  {
2
2
  "name": "climb-onyx-gui",
3
- "version": "0.14.0-dev.8",
3
+ "version": "0.14.0",
4
+ "description": "Onyx Graphical User Interface",
5
+ "keywords": [
6
+ "gui",
7
+ "onyx",
8
+ "climb-tre",
9
+ "metadata",
10
+ "bioinformatics"
11
+ ],
12
+ "homepage": "https://github.com/CLIMB-TRE/onyx-gui",
13
+ "bugs": {
14
+ "url": "https://github.com/CLIMB-TRE/onyx-gui/issues"
15
+ },
16
+ "license": "GPL-3.0-or-later",
17
+ "author": {
18
+ "name": "Thomas Brier",
19
+ "email": "t.o.brier@bham.ac.uk"
20
+ },
21
+ "contributors": [
22
+ {
23
+ "name": "Thomas Brier",
24
+ "email": "t.o.brier@bham.ac.uk"
25
+ },
26
+ {
27
+ "name": "Neil Butcher",
28
+ "email": "n.a.butcher@bham.ac.uk"
29
+ }
30
+ ],
4
31
  "type": "module",
5
32
  "main": "dist/climb-onyx-gui.js",
6
33
  "types": "dist/main.d.ts",
7
34
  "files": [
8
35
  "dist"
9
36
  ],
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://github.com/CLIMB-TRE/onyx-gui.git"
40
+ },
10
41
  "sideEffects": [
11
42
  "**/*.css"
12
43
  ],