@flashbacktech/flashbackclient 0.1.4 → 0.1.6

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.
@@ -33,6 +33,7 @@ export interface RegisterRequest extends NodeSignedMessage {
33
33
  status: string;
34
34
  region: string;
35
35
  version: string;
36
+ id_org?: string;
36
37
  }
37
38
  export interface RegisterResponse {
38
39
  success: boolean;
@@ -100,6 +100,7 @@ export interface StorageRepo {
100
100
  units: RepoUnitInfo[];
101
101
  apiKeys?: ApiKey[];
102
102
  createdAt: string;
103
+ disabled?: boolean;
103
104
  }
104
105
  export interface ApiKey {
105
106
  id: string;
@@ -175,5 +176,6 @@ export declare enum RepoErrorCodes {
175
176
  MIRROR_UNIT_ALREADY_IN_OTHER_REPO = "MIRROR_UNIT_ALREADY_IN_OTHER_REPO",
176
177
  NORMAL_UNIT_FOLDER_ALREADY_USED = "NORMAL_UNIT_FOLDER_ALREADY_USED",
177
178
  NORMAL_UNIT_CANNOT_DELETE = "NORMAL_UNIT_FOLDER_CANNOT_DELETE",
178
- NORMAL_UNIT_CANNOT_EDIT_FOLDER = "NORMAL_UNIT_CANNOT_EDIT_FOLDER"
179
+ NORMAL_UNIT_CANNOT_EDIT_FOLDER = "NORMAL_UNIT_CANNOT_EDIT_FOLDER",
180
+ QUOTA_EXCEEDED = "QUOTA_EXCEEDED"
179
181
  }
@@ -29,4 +29,5 @@ var RepoErrorCodes;
29
29
  RepoErrorCodes["NORMAL_UNIT_FOLDER_ALREADY_USED"] = "NORMAL_UNIT_FOLDER_ALREADY_USED";
30
30
  RepoErrorCodes["NORMAL_UNIT_CANNOT_DELETE"] = "NORMAL_UNIT_FOLDER_CANNOT_DELETE";
31
31
  RepoErrorCodes["NORMAL_UNIT_CANNOT_EDIT_FOLDER"] = "NORMAL_UNIT_CANNOT_EDIT_FOLDER";
32
+ RepoErrorCodes["QUOTA_EXCEEDED"] = "QUOTA_EXCEEDED";
32
33
  })(RepoErrorCodes || (exports.RepoErrorCodes = RepoErrorCodes = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"