@or-sdk/lookup 1.10.2-beta.2509.0 → 1.11.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/CHANGELOG.md +9 -0
- package/README.md +2 -4
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.11.0](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/lookup@1.10.1...@or-sdk/lookup@1.11.0) (2024-03-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Lookup:** The restore method requires you to specify the confidentiality of the file ([5f4378e](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/commit/5f4378ed5a4f3a215b397f991680cc77e7ff519b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [1.10.1](https://gitlab.internal.onereach.io/onereach/platform/or-sdk-next/compare/@or-sdk/lookup@1.10.0...@or-sdk/lookup@1.10.1) (2024-02-29)
|
|
7
16
|
|
|
8
17
|
**Note:** Version bump only for package @or-sdk/lookup
|
package/README.md
CHANGED
|
@@ -1021,16 +1021,14 @@ Start the restore process for a collection from a previous backup. The given key
|
|
|
1021
1021
|
- `collectionId` (string): The ID of the collection to restore.
|
|
1022
1022
|
- `restore` (Restore): The restore parameters, which include:
|
|
1023
1023
|
- `key` (string): The key in files for backup files. Needs to be between 3 and 500 characters long.
|
|
1024
|
-
- `
|
|
1025
|
-
- `description` (string, optional): An optional description of the restored collection.
|
|
1024
|
+
- `isPublic` (boolean): File privacy.
|
|
1026
1025
|
|
|
1027
1026
|
#### Example
|
|
1028
1027
|
```typescript
|
|
1029
1028
|
const collectionId = 'e5f6g7h8-uuid';
|
|
1030
1029
|
const restore = {
|
|
1031
1030
|
key: 'backup-prefix',
|
|
1032
|
-
|
|
1033
|
-
description: 'This is a restored collection',
|
|
1031
|
+
isPublic: false,
|
|
1034
1032
|
};
|
|
1035
1033
|
|
|
1036
1034
|
await sdk.restoreCollection(collectionId, restore);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or-sdk/lookup",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -33,5 +33,6 @@
|
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|
|
36
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"gitHead": "affc1ad9cf286e744aa6fe26c6e2bf2238761446"
|
|
37
38
|
}
|