@flashbacktech/flashbackclient 0.0.25 → 0.0.26

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.
@@ -3,6 +3,11 @@ export declare enum StorageType {
3
3
  GCS = "GCS",
4
4
  AZURE = "AZURE"
5
5
  }
6
+ export declare enum AccessType {
7
+ READ = "READ",
8
+ WRITE = "WRITE",
9
+ ADMIN = "ADMIN"
10
+ }
6
11
  export interface CreateUnitRequest {
7
12
  name: string;
8
13
  bucket: string;
@@ -29,6 +34,7 @@ export interface CreateRepoResponse {
29
34
  export interface CreateRepoKeyRequest {
30
35
  repoId: string;
31
36
  name: string;
37
+ accessType: AccessType;
32
38
  }
33
39
  export interface CreateRepoKeyResponse {
34
40
  success: boolean;
package/dist/api/types.js CHANGED
@@ -4,3 +4,9 @@ export var StorageType;
4
4
  StorageType["GCS"] = "GCS";
5
5
  StorageType["AZURE"] = "AZURE";
6
6
  })(StorageType || (StorageType = {}));
7
+ export var AccessType;
8
+ (function (AccessType) {
9
+ AccessType["READ"] = "READ";
10
+ AccessType["WRITE"] = "WRITE";
11
+ AccessType["ADMIN"] = "ADMIN";
12
+ })(AccessType || (AccessType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },