@flashbacktech/flashbackclient 0.0.76 → 0.0.77

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.
@@ -2,4 +2,5 @@ import { ApiClient, HttpError } from './client';
2
2
  import * as ApiTypes from './types/storage';
3
3
  import * as AuthTypes from './types/auth';
4
4
  import * as ApiInterfaces from './interfaces';
5
- export { ApiClient, ApiTypes, AuthTypes, ApiInterfaces, HttpError };
5
+ import * as BridgeTypes from './types/bridge';
6
+ export { ApiClient, ApiTypes, AuthTypes, ApiInterfaces, HttpError, BridgeTypes };
package/dist/api/index.js CHANGED
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.HttpError = exports.ApiInterfaces = exports.AuthTypes = exports.ApiTypes = exports.ApiClient = void 0;
36
+ exports.BridgeTypes = exports.HttpError = exports.ApiInterfaces = exports.AuthTypes = exports.ApiTypes = exports.ApiClient = void 0;
37
37
  const client_1 = require("./client");
38
38
  Object.defineProperty(exports, "ApiClient", { enumerable: true, get: function () { return client_1.ApiClient; } });
39
39
  Object.defineProperty(exports, "HttpError", { enumerable: true, get: function () { return client_1.HttpError; } });
@@ -43,3 +43,5 @@ const AuthTypes = __importStar(require("./types/auth"));
43
43
  exports.AuthTypes = AuthTypes;
44
44
  const ApiInterfaces = __importStar(require("./interfaces"));
45
45
  exports.ApiInterfaces = ApiInterfaces;
46
+ const BridgeTypes = __importStar(require("./types/bridge"));
47
+ exports.BridgeTypes = BridgeTypes;
@@ -0,0 +1,15 @@
1
+ export declare enum BucketStatusType {
2
+ ONLINE = "ONLINE",
3
+ OFFLINE = "OFFLINE",
4
+ ERROR = "ERROR"
5
+ }
6
+ export interface BucketStatus {
7
+ unitId: string;
8
+ status: BucketStatusType;
9
+ latency_ms?: number;
10
+ createdAt: string;
11
+ }
12
+ export interface BucketStatusResponse {
13
+ nodeIP: string;
14
+ buckets: BucketStatus[];
15
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BucketStatusType = void 0;
4
+ var BucketStatusType;
5
+ (function (BucketStatusType) {
6
+ BucketStatusType["ONLINE"] = "ONLINE";
7
+ BucketStatusType["OFFLINE"] = "OFFLINE";
8
+ BucketStatusType["ERROR"] = "ERROR";
9
+ })(BucketStatusType || (exports.BucketStatusType = BucketStatusType = {}));
@@ -70,6 +70,7 @@ export interface CreateRepoKeyResponse {
70
70
  }
71
71
  export interface UpdateRepoKeyRequest {
72
72
  name: string;
73
+ accessType: AccessType;
73
74
  }
74
75
  export interface UpdateRepoKeyResponse extends ActionResponse {
75
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },