@opencloning/opencloningdb 1.8.0 → 1.8.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @opencloning/opencloningdb
2
2
 
3
+ ## 1.8.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#725](https://github.com/OpenCloning/OpenCloning_frontend/pull/725) [`093feb9`](https://github.com/OpenCloning/OpenCloning_frontend/commit/093feb9f9fc2aef437dc56cc70e64b26c656d6dd) Thanks [@manulera](https://github.com/manulera)! - Add support for bulk submission of cloning strategies
8
+
9
+ - [#724](https://github.com/OpenCloning/OpenCloning_frontend/pull/724) [`77771ac`](https://github.com/OpenCloning/OpenCloning_frontend/commit/77771ac74d72fbd43146490efeb60798773e4734) Thanks [@manulera](https://github.com/manulera)! - Bulk submit lines
10
+
11
+ - [#722](https://github.com/OpenCloning/OpenCloning_frontend/pull/722) [`871688a`](https://github.com/OpenCloning/OpenCloning_frontend/commit/871688a3576b4f2aa7ffbd8ca919b95daf01e9e4) Thanks [@manulera](https://github.com/manulera)! - Allow submitting template sequences in bulk
12
+
13
+ ## 1.8.1
14
+
15
+ ### Patch Changes
16
+
17
+ - [#713](https://github.com/OpenCloning/OpenCloning_frontend/pull/713) [`a30b4dd`](https://github.com/OpenCloning/OpenCloning_frontend/commit/a30b4dd3087ac422cc3de48014e6bdee5b98cfac) Thanks [@manulera](https://github.com/manulera)! - \* Add VITE_OPENCLONING_DB_BACKEND to environment variables, and use it to set the base URL for the OpenCloningDB backend.
18
+ - Use error2String for better sign up error messages.
19
+ - Updated dependencies [[`e4d9515`](https://github.com/OpenCloning/OpenCloning_frontend/commit/e4d9515a7f6fcad09e5c196f3cb090f70fe3a156)]:
20
+ - @opencloning/ui@1.9.1
21
+ - @opencloning/utils@1.9.1
22
+
3
23
  ## 1.8.0
4
24
 
5
25
  ### Minor Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "name": "@opencloning/opencloningdb",
4
- "version": "1.8.0",
4
+ "version": "1.8.2",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "exports": {
@@ -15,8 +15,8 @@
15
15
  "dependencies": {
16
16
  "@mui/icons-material": "^5.18.0",
17
17
  "@mui/material": "^5.18.0",
18
- "@opencloning/ui": "1.9.0",
19
- "@opencloning/utils": "1.9.0",
18
+ "@opencloning/ui": "1.9.1",
19
+ "@opencloning/utils": "1.9.1",
20
20
  "axios": "^1.16.0"
21
21
  },
22
22
  "peerDependencies": {
package/src/common.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import axios from 'axios';
2
2
  import { attachAuthInterceptors, setHttpClientUnauthorizedHandler } from '@opencloning/utils/httpClientAuth';
3
3
 
4
- export const baseUrl = 'http://localhost:8000/db';
4
+
5
+ export const baseUrl = `${import.meta.env?.VITE_OPENCLONING_DB_BACKEND || 'http://localhost:8000'}/db`;
5
6
 
6
7
  export const setUnauthorizedHandler = setHttpClientUnauthorizedHandler;
7
8
 
package/src/endpoints.js CHANGED
@@ -12,6 +12,8 @@ const endpoints = {
12
12
  sequenceSearch: '/sequences/search',
13
13
  sequencesValidateUpload: '/sequences/validate-upload',
14
14
  sequencesBulk: '/sequences/bulk',
15
+ sequencesCloningStrategyBulkValidate: '/sequences/cloning_strategy/bulk/validate',
16
+ sequencesCloningStrategyBulk: '/sequences/cloning_strategy/bulk',
15
17
  sequencingFileDownload: (id) => `/sequencing_files/${id}/download`,
16
18
  sequenceSequencingFileDelete: (sequenceId, fileId) => `/sequences/${sequenceId}/sequencing_files/${fileId}`,
17
19
  postSequence: '/sequences',
@@ -27,6 +29,8 @@ const endpoints = {
27
29
  lineTags: (id) => `/lines/${id}/tags`,
28
30
  inputEntityTags: (id) => `/input_entities/${id}/tags`,
29
31
  postLine: '/lines',
32
+ linesValidateUpload: '/lines/validate-upload',
33
+ linesBulk: '/lines/bulk',
30
34
  tags: '/tags',
31
35
  tagPost: '/tags',
32
36
  tagUnlinkLine: (lineId, tagId) => `/lines/${lineId}/tags/${tagId}`,
@@ -41,6 +45,8 @@ const endpoints = {
41
45
  postWorkspace: '/workspaces',
42
46
  workspace: (id) => `/workspaces/${id}`,
43
47
  templateSequences: '/template_sequences',
48
+ templateSequencesValidateUpload: '/template_sequences/validate-upload',
49
+ templateSequencesBulk: '/template_sequences/bulk',
44
50
  };
45
51
 
46
52
  export default endpoints;
package/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export { default as OpenCloningDBInterface } from './OpenCloningDBInterface.js';
2
- export { openCloningDBHttpClient, setUnauthorizedHandler, setWorkspaceHeader, clearWorkspaceHeader } from './common.js';
2
+ export { openCloningDBHttpClient, setUnauthorizedHandler, setWorkspaceHeader, clearWorkspaceHeader, baseUrl } from './common.js';
3
3
  export { default as endpoints } from './endpoints.js';
4
4
  export { default as SequenceSelect } from './SequenceSelect.jsx';