From add6da9f0bf5cfa13320a70b1e50e95fd47a0c0e Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Thu, 24 Oct 2024 08:28:53 +0200 Subject: [PATCH 01/11] Updated react-query and implement path endpoint --- package.json | 2 +- pnpm-lock.yaml | 83 ++++++++++++++++++++------------ src/api/endpoints/modules/ids.ts | 16 ++++++ src/api/models/ids.ts | 2 + 4 files changed, 70 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 73d4a41..4161d8e 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "preview": "vite preview" }, "devDependencies": { - "@tanstack/react-query": "^5.28.9", + "@tanstack/react-query": "^5.50.1", "@types/node": "^20.12.2", "@types/react": "^18.2.73", "@types/react-dom": "^18.2.23", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b66c861..11f40ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 3.6.0 devDependencies: '@tanstack/react-query': - specifier: ^5.28.9 + specifier: ^5.50.1 version: 5.50.1(react@18.3.1) '@types/node': specifier: ^20.12.2 @@ -26,19 +26,19 @@ importers: version: 18.3.0 '@typescript-eslint/eslint-plugin': specifier: ^6.21.0 - version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.5.3) + version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': specifier: ^6.21.0 version: 6.21.0(eslint@8.57.0)(typescript@5.5.3) '@vitejs/plugin-react': specifier: ^4.2.1 - version: 4.3.1(vite@5.3.3) + version: 4.3.1(vite@5.3.3(@types/node@20.14.10)) eslint: specifier: ^8.57.0 version: 8.57.0 eslint-config-react-app: specifier: ^7.0.1 - version: 7.0.1(@babel/plugin-syntax-flow@7.24.7)(@babel/plugin-transform-react-jsx@7.24.7)(eslint@8.57.0)(typescript@5.5.3) + version: 7.0.1(@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7))(@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7))(eslint@8.57.0)(typescript@5.5.3) eslint-plugin-react-hooks: specifier: ^4.6.0 version: 4.6.2(eslint@8.57.0) @@ -62,10 +62,10 @@ importers: version: 5.3.3(@types/node@20.14.10) vite-plugin-dts: specifier: ^3.8.1 - version: 3.9.1(@types/node@20.14.10)(typescript@5.5.3)(vite@5.3.3) + version: 3.9.1(@types/node@20.14.10)(rollup@4.18.1)(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)) vite-tsconfig-paths: specifier: ^4.3.2 - version: 4.3.2(typescript@5.5.3)(vite@5.3.3) + version: 4.3.2(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)) packages: @@ -3878,11 +3878,13 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@rollup/pluginutils@5.1.0': + '@rollup/pluginutils@5.1.0(rollup@4.18.1)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 + optionalDependencies: + rollup: 4.18.1 '@rollup/rollup-android-arm-eabi@4.18.1': optional: true @@ -3936,13 +3938,14 @@ snapshots: '@rushstack/node-core-library@4.0.2(@types/node@20.14.10)': dependencies: - '@types/node': 20.14.10 fs-extra: 7.0.1 import-lazy: 4.0.0 jju: 1.4.0 resolve: 1.22.8 semver: 7.5.4 z-schema: 5.0.5 + optionalDependencies: + '@types/node': 20.14.10 '@rushstack/rig-package@0.5.2': dependencies: @@ -3952,8 +3955,9 @@ snapshots: '@rushstack/terminal@0.10.0(@types/node@20.14.10)': dependencies: '@rushstack/node-core-library': 4.0.2(@types/node@20.14.10) - '@types/node': 20.14.10 supports-color: 8.1.1 + optionalDependencies: + '@types/node': 20.14.10 '@rushstack/ts-command-line@4.19.1(@types/node@20.14.10)': dependencies: @@ -4019,7 +4023,7 @@ snapshots: '@types/semver@7.5.8': {} - '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.3)': + '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3)': dependencies: '@eslint-community/regexpp': 4.11.0 '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) @@ -4033,11 +4037,12 @@ snapshots: natural-compare-lite: 1.4.0 semver: 7.6.2 tsutils: 3.21.0(typescript@5.5.3) + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.5.3)': + '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3)': dependencies: '@eslint-community/regexpp': 4.11.0 '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.5.3) @@ -4052,6 +4057,7 @@ snapshots: natural-compare: 1.4.0 semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.5.3) + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4071,6 +4077,7 @@ snapshots: '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.3) debug: 4.3.5 eslint: 8.57.0 + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4083,6 +4090,7 @@ snapshots: '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.5 eslint: 8.57.0 + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4104,6 +4112,7 @@ snapshots: debug: 4.3.5 eslint: 8.57.0 tsutils: 3.21.0(typescript@5.5.3) + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4115,6 +4124,7 @@ snapshots: debug: 4.3.5 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.5.3) + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4132,6 +4142,7 @@ snapshots: is-glob: 4.0.3 semver: 7.6.2 tsutils: 3.21.0(typescript@5.5.3) + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4146,6 +4157,7 @@ snapshots: minimatch: 9.0.3 semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.5.3) + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4191,7 +4203,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react@4.3.1(vite@5.3.3)': + '@vitejs/plugin-react@4.3.1(vite@5.3.3(@types/node@20.14.10))': dependencies: '@babel/core': 7.24.7 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.24.7) @@ -4238,8 +4250,9 @@ snapshots: minimatch: 9.0.5 muggle-string: 0.3.1 path-browserify: 1.0.1 - typescript: 5.5.3 vue-template-compiler: 2.7.16 + optionalDependencies: + typescript: 5.5.3 '@vue/shared@3.4.31': {} @@ -4729,23 +4742,24 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-react-app@7.0.1(@babel/plugin-syntax-flow@7.24.7)(@babel/plugin-transform-react-jsx@7.24.7)(eslint@8.57.0)(typescript@5.5.3): + eslint-config-react-app@7.0.1(@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7))(@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7))(eslint@8.57.0)(typescript@5.5.3): dependencies: '@babel/core': 7.24.7 '@babel/eslint-parser': 7.24.7(@babel/core@7.24.7)(eslint@8.57.0) '@rushstack/eslint-patch': 1.10.3 - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) babel-preset-react-app: 10.0.1 confusing-browser-globals: 1.0.11 eslint: 8.57.0 - eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.24.7)(@babel/plugin-transform-react-jsx@7.24.7)(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint@8.57.0) - eslint-plugin-jest: 25.7.0(@typescript-eslint/eslint-plugin@5.62.0)(eslint@8.57.0)(typescript@5.5.3) + eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7))(@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0) + eslint-plugin-jest: 25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) eslint-plugin-jsx-a11y: 6.9.0(eslint@8.57.0) eslint-plugin-react: 7.34.3(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) eslint-plugin-testing-library: 5.11.1(eslint@8.57.0)(typescript@5.5.3) + optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - '@babel/plugin-syntax-flow' @@ -4763,16 +4777,17 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): dependencies: - '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) debug: 3.2.7 + optionalDependencies: + '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.24.7)(@babel/plugin-transform-react-jsx@7.24.7)(eslint@8.57.0): + eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7))(@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7))(eslint@8.57.0): dependencies: '@babel/plugin-syntax-flow': 7.24.7(@babel/core@7.24.7) '@babel/plugin-transform-react-jsx': 7.24.7(@babel/core@7.24.7) @@ -4780,9 +4795,8 @@ snapshots: lodash: 4.17.21 string-natural-compare: 3.0.1 - eslint-plugin-import@2.29.1(@typescript-eslint/parser@5.62.0)(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0): dependencies: - '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 @@ -4791,7 +4805,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.14.0 is-glob: 4.0.3 @@ -4801,16 +4815,19 @@ snapshots: object.values: 1.2.0 semver: 6.3.1 tsconfig-paths: 3.15.0 + optionalDependencies: + '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@25.7.0(@typescript-eslint/eslint-plugin@5.62.0)(eslint@8.57.0)(typescript@5.5.3): + eslint-plugin-jest@25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3): dependencies: - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.0)(typescript@5.5.3) eslint: 8.57.0 + optionalDependencies: + '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) transitivePeerDependencies: - supports-color - typescript @@ -5734,7 +5751,7 @@ snapshots: typescript: 5.5.3 tsconfck@3.1.1(typescript@5.5.3): - dependencies: + optionalDependencies: typescript: 5.5.3 tsconfig-paths@3.15.0: @@ -5827,27 +5844,29 @@ snapshots: validator@13.12.0: {} - vite-plugin-dts@3.9.1(@types/node@20.14.10)(typescript@5.5.3)(vite@5.3.3): + vite-plugin-dts@3.9.1(@types/node@20.14.10)(rollup@4.18.1)(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)): dependencies: '@microsoft/api-extractor': 7.43.0(@types/node@20.14.10) - '@rollup/pluginutils': 5.1.0 + '@rollup/pluginutils': 5.1.0(rollup@4.18.1) '@vue/language-core': 1.8.27(typescript@5.5.3) debug: 4.3.5 kolorist: 1.8.0 magic-string: 0.30.10 typescript: 5.5.3 - vite: 5.3.3(@types/node@20.14.10) vue-tsc: 1.8.27(typescript@5.5.3) + optionalDependencies: + vite: 5.3.3(@types/node@20.14.10) transitivePeerDependencies: - '@types/node' - rollup - supports-color - vite-tsconfig-paths@4.3.2(typescript@5.5.3)(vite@5.3.3): + vite-tsconfig-paths@4.3.2(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)): dependencies: debug: 4.3.5 globrex: 0.1.2 tsconfck: 3.1.1(typescript@5.5.3) + optionalDependencies: vite: 5.3.3(@types/node@20.14.10) transitivePeerDependencies: - supports-color @@ -5855,11 +5874,11 @@ snapshots: vite@5.3.3(@types/node@20.14.10): dependencies: - '@types/node': 20.14.10 esbuild: 0.21.5 postcss: 8.4.39 rollup: 4.18.1 optionalDependencies: + '@types/node': 20.14.10 fsevents: 2.3.3 vue-template-compiler@2.7.16: diff --git a/src/api/endpoints/modules/ids.ts b/src/api/endpoints/modules/ids.ts index ad172ef..6231bc1 100644 --- a/src/api/endpoints/modules/ids.ts +++ b/src/api/endpoints/modules/ids.ts @@ -38,3 +38,19 @@ export const DATA_RESTORE_ENDPOINT = IcatPlusEndpoint({ params: {} as DatasetIdsParams, autoRefresh: false, }); + +export type PathIdsParams = { + datafileIds?: string; + datasetIds?: string; + isonline?: boolean; +}; + +export const GET_PATH_ENDPOINT = IcatPlusEndpoint({ + module: 'ids', + path: '/path', + name: 'path', + method: 'GET', + schema: '', + params: {} as PathIdsParams, + autoRefresh: false, +}); diff --git a/src/api/models/ids.ts b/src/api/models/ids.ts index ef75183..1b3c8fc 100644 --- a/src/api/models/ids.ts +++ b/src/api/models/ids.ts @@ -9,3 +9,5 @@ export const DATASET_STATUS = [ ] as const; export type DatasetStatus = (typeof DATASET_STATUS)[number]; + +export type DatasetPaths = string[]; -- GitLab From 5531c461b48b1c8cc648b9d3600a402ca51f034c Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Thu, 24 Oct 2024 09:01:55 +0200 Subject: [PATCH 02/11] Changed to version 1.8.3 --- package.json | 3 ++- pnpm-lock.yaml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4161d8e..a46fbdd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@edata-portal/icat-plus-api", "private": false, - "version": "1.8.2", + "version": "1.8.3", "type": "module", "main": "./src/index.ts", "module": "./src/index.ts", @@ -50,6 +50,7 @@ "react-dom": "^18.2.0" }, "dependencies": { + "@edata-portal/icat-plus-api": "^1.8.2", "date-fns": "^3.6.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 11f40ea..77a6a78 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + '@edata-portal/icat-plus-api': + specifier: ^1.8.2 + version: 1.8.2(@tanstack/react-query@5.50.1(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) date-fns: specifier: ^3.6.0 version: 3.6.0 @@ -794,6 +797,13 @@ packages: resolution: {integrity: sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==} engines: {node: '>=6.9.0'} + '@edata-portal/icat-plus-api@1.8.2': + resolution: {integrity: sha512-FbqX41ajNwiwCUutYmfcpuvKacd3dAQVoQAxGe+XcsHaJGjV9G6PvsyfWgiSzYajlA1G6AZtnFnjm5Hxi9Mr7A==} + peerDependencies: + '@tanstack/react-query': ^5.28.9 + react: ^18.2.0 + react-dom: ^18.2.0 + '@esbuild/aix-ppc64@0.21.5': resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} @@ -3706,6 +3716,13 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 + '@edata-portal/icat-plus-api@1.8.2(@tanstack/react-query@5.50.1(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@tanstack/react-query': 5.50.1(react@18.3.1) + date-fns: 3.6.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + '@esbuild/aix-ppc64@0.21.5': optional: true -- GitLab From ceb0d71291353cc04bf91d5c917d4de70320874d Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Thu, 24 Oct 2024 10:20:28 +0200 Subject: [PATCH 03/11] Added return type --- src/api/endpoints/modules/ids.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/endpoints/modules/ids.ts b/src/api/endpoints/modules/ids.ts index 6231bc1..8254716 100644 --- a/src/api/endpoints/modules/ids.ts +++ b/src/api/endpoints/modules/ids.ts @@ -1,4 +1,4 @@ -import type { DatasetStatus } from '../../models/ids'; +import type { DatasetPaths, DatasetStatus } from '../../models/ids'; import { IcatPlusEndpoint } from '../definitions'; export type DatasetIdsParams = { @@ -50,7 +50,7 @@ export const GET_PATH_ENDPOINT = IcatPlusEndpoint({ path: '/path', name: 'path', method: 'GET', - schema: '', + schema: {} as DatasetPaths, params: {} as PathIdsParams, autoRefresh: false, }); -- GitLab From 79c3bcfff042acbdaa88808acb0904fef9a1ae6d Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Thu, 24 Oct 2024 10:22:04 +0200 Subject: [PATCH 04/11] Back ro react-query 5.28.9 --- package.json | 3 +-- pnpm-lock.yaml | 19 +------------------ 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index a46fbdd..7c78dd1 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "preview": "vite preview" }, "devDependencies": { - "@tanstack/react-query": "^5.50.1", + "@tanstack/react-query": "^5.28.1", "@types/node": "^20.12.2", "@types/react": "^18.2.73", "@types/react-dom": "^18.2.23", @@ -50,7 +50,6 @@ "react-dom": "^18.2.0" }, "dependencies": { - "@edata-portal/icat-plus-api": "^1.8.2", "date-fns": "^3.6.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 77a6a78..58501fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,15 +8,12 @@ importers: .: dependencies: - '@edata-portal/icat-plus-api': - specifier: ^1.8.2 - version: 1.8.2(@tanstack/react-query@5.50.1(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) date-fns: specifier: ^3.6.0 version: 3.6.0 devDependencies: '@tanstack/react-query': - specifier: ^5.50.1 + specifier: ^5.28.1 version: 5.50.1(react@18.3.1) '@types/node': specifier: ^20.12.2 @@ -797,13 +794,6 @@ packages: resolution: {integrity: sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==} engines: {node: '>=6.9.0'} - '@edata-portal/icat-plus-api@1.8.2': - resolution: {integrity: sha512-FbqX41ajNwiwCUutYmfcpuvKacd3dAQVoQAxGe+XcsHaJGjV9G6PvsyfWgiSzYajlA1G6AZtnFnjm5Hxi9Mr7A==} - peerDependencies: - '@tanstack/react-query': ^5.28.9 - react: ^18.2.0 - react-dom: ^18.2.0 - '@esbuild/aix-ppc64@0.21.5': resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} @@ -3716,13 +3706,6 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 - '@edata-portal/icat-plus-api@1.8.2(@tanstack/react-query@5.50.1(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@tanstack/react-query': 5.50.1(react@18.3.1) - date-fns: 3.6.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - '@esbuild/aix-ppc64@0.21.5': optional: true -- GitLab From 0374e5df46c22208c1e4001a237b59c609a2f0e3 Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Thu, 24 Oct 2024 10:22:34 +0200 Subject: [PATCH 05/11] Back ro react-query 5.28.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7c78dd1..d0acbf4 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "preview": "vite preview" }, "devDependencies": { - "@tanstack/react-query": "^5.28.1", + "@tanstack/react-query": "^5.28.9", "@types/node": "^20.12.2", "@types/react": "^18.2.73", "@types/react-dom": "^18.2.23", -- GitLab From f90f6a538996aaabb0b02750c5e264c7100d4892 Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Thu, 24 Oct 2024 10:22:43 +0200 Subject: [PATCH 06/11] Back ro react-query 5.28.9 --- pnpm-lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 58501fd..15025a1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 3.6.0 devDependencies: '@tanstack/react-query': - specifier: ^5.28.1 + specifier: ^5.28.9 version: 5.50.1(react@18.3.1) '@types/node': specifier: ^20.12.2 -- GitLab From 2e6595842ef993fd31b527d88a5ecca246b424b2 Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Thu, 24 Oct 2024 10:24:07 +0200 Subject: [PATCH 07/11] Reverted --- pnpm-lock.yaml | 81 +++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 50 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15025a1..b66c861 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,19 +26,19 @@ importers: version: 18.3.0 '@typescript-eslint/eslint-plugin': specifier: ^6.21.0 - version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) + version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': specifier: ^6.21.0 version: 6.21.0(eslint@8.57.0)(typescript@5.5.3) '@vitejs/plugin-react': specifier: ^4.2.1 - version: 4.3.1(vite@5.3.3(@types/node@20.14.10)) + version: 4.3.1(vite@5.3.3) eslint: specifier: ^8.57.0 version: 8.57.0 eslint-config-react-app: specifier: ^7.0.1 - version: 7.0.1(@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7))(@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7))(eslint@8.57.0)(typescript@5.5.3) + version: 7.0.1(@babel/plugin-syntax-flow@7.24.7)(@babel/plugin-transform-react-jsx@7.24.7)(eslint@8.57.0)(typescript@5.5.3) eslint-plugin-react-hooks: specifier: ^4.6.0 version: 4.6.2(eslint@8.57.0) @@ -62,10 +62,10 @@ importers: version: 5.3.3(@types/node@20.14.10) vite-plugin-dts: specifier: ^3.8.1 - version: 3.9.1(@types/node@20.14.10)(rollup@4.18.1)(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)) + version: 3.9.1(@types/node@20.14.10)(typescript@5.5.3)(vite@5.3.3) vite-tsconfig-paths: specifier: ^4.3.2 - version: 4.3.2(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)) + version: 4.3.2(typescript@5.5.3)(vite@5.3.3) packages: @@ -3878,13 +3878,11 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@rollup/pluginutils@5.1.0(rollup@4.18.1)': + '@rollup/pluginutils@5.1.0': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 - optionalDependencies: - rollup: 4.18.1 '@rollup/rollup-android-arm-eabi@4.18.1': optional: true @@ -3938,14 +3936,13 @@ snapshots: '@rushstack/node-core-library@4.0.2(@types/node@20.14.10)': dependencies: + '@types/node': 20.14.10 fs-extra: 7.0.1 import-lazy: 4.0.0 jju: 1.4.0 resolve: 1.22.8 semver: 7.5.4 z-schema: 5.0.5 - optionalDependencies: - '@types/node': 20.14.10 '@rushstack/rig-package@0.5.2': dependencies: @@ -3955,9 +3952,8 @@ snapshots: '@rushstack/terminal@0.10.0(@types/node@20.14.10)': dependencies: '@rushstack/node-core-library': 4.0.2(@types/node@20.14.10) - supports-color: 8.1.1 - optionalDependencies: '@types/node': 20.14.10 + supports-color: 8.1.1 '@rushstack/ts-command-line@4.19.1(@types/node@20.14.10)': dependencies: @@ -4023,7 +4019,7 @@ snapshots: '@types/semver@7.5.8': {} - '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3)': + '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.3)': dependencies: '@eslint-community/regexpp': 4.11.0 '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) @@ -4037,12 +4033,11 @@ snapshots: natural-compare-lite: 1.4.0 semver: 7.6.2 tsutils: 3.21.0(typescript@5.5.3) - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3)': + '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.5.3)': dependencies: '@eslint-community/regexpp': 4.11.0 '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.5.3) @@ -4057,7 +4052,6 @@ snapshots: natural-compare: 1.4.0 semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.5.3) - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4077,7 +4071,6 @@ snapshots: '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.3) debug: 4.3.5 eslint: 8.57.0 - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4090,7 +4083,6 @@ snapshots: '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.5 eslint: 8.57.0 - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4112,7 +4104,6 @@ snapshots: debug: 4.3.5 eslint: 8.57.0 tsutils: 3.21.0(typescript@5.5.3) - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4124,7 +4115,6 @@ snapshots: debug: 4.3.5 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.5.3) - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4142,7 +4132,6 @@ snapshots: is-glob: 4.0.3 semver: 7.6.2 tsutils: 3.21.0(typescript@5.5.3) - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4157,7 +4146,6 @@ snapshots: minimatch: 9.0.3 semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.5.3) - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -4203,7 +4191,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react@4.3.1(vite@5.3.3(@types/node@20.14.10))': + '@vitejs/plugin-react@4.3.1(vite@5.3.3)': dependencies: '@babel/core': 7.24.7 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.24.7) @@ -4250,9 +4238,8 @@ snapshots: minimatch: 9.0.5 muggle-string: 0.3.1 path-browserify: 1.0.1 - vue-template-compiler: 2.7.16 - optionalDependencies: typescript: 5.5.3 + vue-template-compiler: 2.7.16 '@vue/shared@3.4.31': {} @@ -4742,24 +4729,23 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-react-app@7.0.1(@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7))(@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7))(eslint@8.57.0)(typescript@5.5.3): + eslint-config-react-app@7.0.1(@babel/plugin-syntax-flow@7.24.7)(@babel/plugin-transform-react-jsx@7.24.7)(eslint@8.57.0)(typescript@5.5.3): dependencies: '@babel/core': 7.24.7 '@babel/eslint-parser': 7.24.7(@babel/core@7.24.7)(eslint@8.57.0) '@rushstack/eslint-patch': 1.10.3 - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) babel-preset-react-app: 10.0.1 confusing-browser-globals: 1.0.11 eslint: 8.57.0 - eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7))(@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0) - eslint-plugin-jest: 25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) + eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.24.7)(@babel/plugin-transform-react-jsx@7.24.7)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint@8.57.0) + eslint-plugin-jest: 25.7.0(@typescript-eslint/eslint-plugin@5.62.0)(eslint@8.57.0)(typescript@5.5.3) eslint-plugin-jsx-a11y: 6.9.0(eslint@8.57.0) eslint-plugin-react: 7.34.3(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) eslint-plugin-testing-library: 5.11.1(eslint@8.57.0)(typescript@5.5.3) - optionalDependencies: typescript: 5.5.3 transitivePeerDependencies: - '@babel/plugin-syntax-flow' @@ -4777,17 +4763,16 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): dependencies: - debug: 3.2.7 - optionalDependencies: '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) + debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.24.7(@babel/core@7.24.7))(@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7))(eslint@8.57.0): + eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.24.7)(@babel/plugin-transform-react-jsx@7.24.7)(eslint@8.57.0): dependencies: '@babel/plugin-syntax-flow': 7.24.7(@babel/core@7.24.7) '@babel/plugin-transform-react-jsx': 7.24.7(@babel/core@7.24.7) @@ -4795,8 +4780,9 @@ snapshots: lodash: 4.17.21 string-natural-compare: 3.0.1 - eslint-plugin-import@2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@5.62.0)(eslint@8.57.0): dependencies: + '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 @@ -4805,7 +4791,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.14.0 is-glob: 4.0.3 @@ -4815,19 +4801,16 @@ snapshots: object.values: 1.2.0 semver: 6.3.1 tsconfig-paths: 3.15.0 - optionalDependencies: - '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3): + eslint-plugin-jest@25.7.0(@typescript-eslint/eslint-plugin@5.62.0)(eslint@8.57.0)(typescript@5.5.3): dependencies: + '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.0)(typescript@5.5.3) eslint: 8.57.0 - optionalDependencies: - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) transitivePeerDependencies: - supports-color - typescript @@ -5751,7 +5734,7 @@ snapshots: typescript: 5.5.3 tsconfck@3.1.1(typescript@5.5.3): - optionalDependencies: + dependencies: typescript: 5.5.3 tsconfig-paths@3.15.0: @@ -5844,29 +5827,27 @@ snapshots: validator@13.12.0: {} - vite-plugin-dts@3.9.1(@types/node@20.14.10)(rollup@4.18.1)(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)): + vite-plugin-dts@3.9.1(@types/node@20.14.10)(typescript@5.5.3)(vite@5.3.3): dependencies: '@microsoft/api-extractor': 7.43.0(@types/node@20.14.10) - '@rollup/pluginutils': 5.1.0(rollup@4.18.1) + '@rollup/pluginutils': 5.1.0 '@vue/language-core': 1.8.27(typescript@5.5.3) debug: 4.3.5 kolorist: 1.8.0 magic-string: 0.30.10 typescript: 5.5.3 - vue-tsc: 1.8.27(typescript@5.5.3) - optionalDependencies: vite: 5.3.3(@types/node@20.14.10) + vue-tsc: 1.8.27(typescript@5.5.3) transitivePeerDependencies: - '@types/node' - rollup - supports-color - vite-tsconfig-paths@4.3.2(typescript@5.5.3)(vite@5.3.3(@types/node@20.14.10)): + vite-tsconfig-paths@4.3.2(typescript@5.5.3)(vite@5.3.3): dependencies: debug: 4.3.5 globrex: 0.1.2 tsconfck: 3.1.1(typescript@5.5.3) - optionalDependencies: vite: 5.3.3(@types/node@20.14.10) transitivePeerDependencies: - supports-color @@ -5874,11 +5855,11 @@ snapshots: vite@5.3.3(@types/node@20.14.10): dependencies: + '@types/node': 20.14.10 esbuild: 0.21.5 postcss: 8.4.39 rollup: 4.18.1 optionalDependencies: - '@types/node': 20.14.10 fsevents: 2.3.3 vue-template-compiler@2.7.16: -- GitLab From fd27877bceddc44c3ca78067b4b4a423be989ebf Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Fri, 15 Nov 2024 09:56:26 +0100 Subject: [PATCH 08/11] Removed restoredLocation and added investigationId --- src/api/endpoints/modules/ids.ts | 1 + src/api/models/dataset.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/endpoints/modules/ids.ts b/src/api/endpoints/modules/ids.ts index 8254716..deea9b7 100644 --- a/src/api/endpoints/modules/ids.ts +++ b/src/api/endpoints/modules/ids.ts @@ -42,6 +42,7 @@ export const DATA_RESTORE_ENDPOINT = IcatPlusEndpoint({ export type PathIdsParams = { datafileIds?: string; datasetIds?: string; + investigationId: number; isonline?: boolean; }; diff --git a/src/api/models/dataset.ts b/src/api/models/dataset.ts index 5316846..8cd547e 100644 --- a/src/api/models/dataset.ts +++ b/src/api/models/dataset.ts @@ -34,7 +34,6 @@ export interface Dataset extends Entity { startDate: string; endDate: string; location: string; - restoredLocation?: string; sampleName: string; sampleId: number; type: DatasetType; -- GitLab From 3e1feedc4276faa732302239e92f2a6f5de7817d Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Tue, 3 Dec 2024 12:00:27 +0100 Subject: [PATCH 09/11] Added metadata to the workflows --- src/api/models/workflow.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/api/models/workflow.ts b/src/api/models/workflow.ts index 4647f8a..511f8c6 100644 --- a/src/api/models/workflow.ts +++ b/src/api/models/workflow.ts @@ -5,8 +5,22 @@ export type WorkflowDescriptionKeywords = { instrumentName: string; scanType: string | string[]; definition: string; + roles?: string[]; // roles which workflow is allowed to run. Example: ["manager", "instrumentScientist"] + validity_days?: number; // number of days a workflow is available to run after the dataset creation time }; +export interface InputSchemaItemDefault { + type: string; + value: string; +} + +export interface InputSchemaItem { + description: string; + title: string; + type: string; + default?: InputSchemaItemDefault[]; +} + export type WorkflowDescription = { category: string; label: string; -- GitLab From 8c7c5e7f7fc99fce1b4d3e411ecd3beadcf66b97 Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Tue, 3 Dec 2024 17:35:43 +0100 Subject: [PATCH 10/11] Camel cased --- src/api/models/workflow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/models/workflow.ts b/src/api/models/workflow.ts index 511f8c6..746939e 100644 --- a/src/api/models/workflow.ts +++ b/src/api/models/workflow.ts @@ -6,7 +6,7 @@ export type WorkflowDescriptionKeywords = { scanType: string | string[]; definition: string; roles?: string[]; // roles which workflow is allowed to run. Example: ["manager", "instrumentScientist"] - validity_days?: number; // number of days a workflow is available to run after the dataset creation time + validityDays?: number; // number of days a workflow is available to run after the dataset creation time }; export interface InputSchemaItemDefault { -- GitLab From 33d654c98f62d40ee7b5681fb8c40d0f6971eda6 Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos <demariaa@esrf.fr> Date: Wed, 4 Dec 2024 12:43:45 +0100 Subject: [PATCH 11/11] Removed unncesary definitions --- src/api/models/workflow.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/api/models/workflow.ts b/src/api/models/workflow.ts index 746939e..ed1aa4f 100644 --- a/src/api/models/workflow.ts +++ b/src/api/models/workflow.ts @@ -9,18 +9,6 @@ export type WorkflowDescriptionKeywords = { validityDays?: number; // number of days a workflow is available to run after the dataset creation time }; -export interface InputSchemaItemDefault { - type: string; - value: string; -} - -export interface InputSchemaItem { - description: string; - title: string; - type: string; - default?: InputSchemaItemDefault[]; -} - export type WorkflowDescription = { category: string; label: string; -- GitLab