@remnawave/backend-contract 2.5.20 → 2.5.21
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/build/backend/api/controllers/nodes.d.ts +1 -0
- package/build/backend/api/controllers/nodes.d.ts.map +1 -1
- package/build/backend/api/controllers/nodes.js +1 -0
- package/build/backend/api/routes.d.ts +1 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +1 -0
- package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts +41 -0
- package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts.map +1 -0
- package/build/backend/commands/nodes/bulk-actions/actions.command.js +21 -0
- package/build/backend/commands/nodes/bulk-actions/index.d.ts +1 -0
- package/build/backend/commands/nodes/bulk-actions/index.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/index.js +1 -0
- package/build/backend/constants/nodes/actions/index.d.ts +2 -0
- package/build/backend/constants/nodes/actions/index.d.ts.map +1 -0
- package/build/backend/constants/nodes/actions/index.js +17 -0
- package/build/backend/constants/nodes/actions/node-bulk-actions.constant.d.ts +10 -0
- package/build/backend/constants/nodes/actions/node-bulk-actions.constant.d.ts.map +1 -0
- package/build/backend/constants/nodes/actions/node-bulk-actions.constant.js +11 -0
- package/build/backend/constants/nodes/index.d.ts +1 -0
- package/build/backend/constants/nodes/index.d.ts.map +1 -1
- package/build/backend/constants/nodes/index.js +1 -0
- package/build/frontend/api/controllers/nodes.js +1 -0
- package/build/frontend/api/routes.js +1 -0
- package/build/frontend/commands/nodes/bulk-actions/actions.command.js +21 -0
- package/build/frontend/commands/nodes/bulk-actions/index.js +1 -0
- package/build/frontend/constants/nodes/actions/index.js +17 -0
- package/build/frontend/constants/nodes/actions/node-bulk-actions.constant.js +11 -0
- package/build/frontend/constants/nodes/index.js +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAC;AAGrD,eAAO,MAAM,YAAY;;;iCAGD,MAAM;;4BAEX,MAAM;;gCAGF,MAAM;iCACL,MAAM;iCACN,MAAM;uCACA,MAAM
|
|
1
|
+
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../api/controllers/nodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAC;AAGrD,eAAO,MAAM,YAAY;;;iCAGD,MAAM;;4BAEX,MAAM;;gCAGF,MAAM;iCACL,MAAM;iCACN,MAAM;uCACA,MAAM;;;;;;;;;;;CAa1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AACpC,eAAO,MAAM,YAAY,EAAG,UAAmB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAG,SAAkB,CAAC;AAC9C,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gCAyBE,MAAM;;;;;;;;;qCAYD,MAAM;;gCAGX,MAAM;;;;;oCAOF,MAAM;qCAIL,MAAM;qCAIN,MAAM;;2CAKA,MAAM;;;;;;;;;;;;gCAgBjB,MAAM;qCAGD,MAAM;0CAED,MAAM;sDAEM,MAAM;;qCAMvB,MAAM;oCAIP,MAAM;2CAIC,MAAM;iDAIA,MAAM;;;8BAOzB,MAAM;6CAES,MAAM;0CAIT,MAAM;2DAIW,MAAM;+CAIlB,MAAM;oCAIjB,MAAM;gCAIV,MAAM;;;;;;;;;;;;;;;;;;;;;kCAyBJ,MAAM;0CAEE,MAAM;uCAET,MAAM;;;;;;qCASR,MAAM;gCAEX,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAoCT,MAAM;;gCAKH,MAAM;;;;;;;;;;;;;;mDAiBa,MAAM;;;;;;;;;0CAYf,MAAM;kCAId,MAAM;6CAIK,MAAM;iDAIF,MAAM;;;6CAMV,MAAM;;;;;;;qCAUd,MAAM;gCAIX,MAAM;sDAIgB,MAAM;6DAIC,MAAM;;;;;;;;;;qCAa9B,MAAM;gCAIX,MAAM;0CAII,MAAM;;uCAKT,MAAM;0CAEH,MAAM;;;;;;;;;;yCAWP,MAAM;8CAED,MAAM;;;;6CAMP,MAAM;;;gDAKH,MAAM;;;;;;;;;;;;;;;;qCAiBjB,MAAM;gCAIX,MAAM;;uCAKC,MAAM;0CAEH,MAAM;;;;;;;;;;;6BAYnB,MAAM;;;gCAIH,MAAM;;;;;;;;;;;uCAYC,MAAM;;;yCAIJ,MAAM;;;;2CAKJ,MAAM;;;6CAIJ,MAAM;;;;CAKhC,CAAC"}
|
|
@@ -88,6 +88,7 @@ exports.REST_API = {
|
|
|
88
88
|
},
|
|
89
89
|
BULK_ACTIONS: {
|
|
90
90
|
PROFILE_MODIFICATION: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.BULK_ACTIONS.PROFILE_MODIFICATION}`,
|
|
91
|
+
ACTIONS: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.BULK_ACTIONS.ACTIONS}`,
|
|
91
92
|
},
|
|
92
93
|
},
|
|
93
94
|
USERS: {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace BulkNodesActionsCommand {
|
|
3
|
+
const url: "/api/nodes/bulk-actions";
|
|
4
|
+
const TSQ_url: "/api/nodes/bulk-actions";
|
|
5
|
+
const endpointDetails: import("../../../constants").EndpointDetails;
|
|
6
|
+
const RequestSchema: z.ZodObject<{
|
|
7
|
+
uuids: z.ZodArray<z.ZodString, "many">;
|
|
8
|
+
action: z.ZodNativeEnum<{
|
|
9
|
+
readonly ENABLE: "ENABLE";
|
|
10
|
+
readonly DISABLE: "DISABLE";
|
|
11
|
+
readonly RESTART: "RESTART";
|
|
12
|
+
readonly RESET_TRAFFIC: "RESET_TRAFFIC";
|
|
13
|
+
}>;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
uuids: string[];
|
|
16
|
+
action: "ENABLE" | "DISABLE" | "RESTART" | "RESET_TRAFFIC";
|
|
17
|
+
}, {
|
|
18
|
+
uuids: string[];
|
|
19
|
+
action: "ENABLE" | "DISABLE" | "RESTART" | "RESET_TRAFFIC";
|
|
20
|
+
}>;
|
|
21
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
22
|
+
const ResponseSchema: z.ZodObject<{
|
|
23
|
+
response: z.ZodObject<{
|
|
24
|
+
eventSent: z.ZodBoolean;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
eventSent: boolean;
|
|
27
|
+
}, {
|
|
28
|
+
eventSent: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
response: {
|
|
32
|
+
eventSent: boolean;
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
response: {
|
|
36
|
+
eventSent: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
39
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=actions.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/bulk-actions/actions.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAsC,CAAC;IAChD,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkNodesActionsCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const api_1 = require("../../../api");
|
|
7
|
+
var BulkNodesActionsCommand;
|
|
8
|
+
(function (BulkNodesActionsCommand) {
|
|
9
|
+
BulkNodesActionsCommand.url = api_1.REST_API.NODES.BULK_ACTIONS.ACTIONS;
|
|
10
|
+
BulkNodesActionsCommand.TSQ_url = BulkNodesActionsCommand.url;
|
|
11
|
+
BulkNodesActionsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.BULK_ACTIONS.ACTIONS, 'post', 'Perform actions for many nodes');
|
|
12
|
+
BulkNodesActionsCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
uuids: zod_1.z.array(zod_1.z.string().uuid()).min(1, 'Must be at least 1 Node UUID'),
|
|
14
|
+
action: zod_1.z.nativeEnum(constants_1.NODES_BULK_ACTIONS),
|
|
15
|
+
});
|
|
16
|
+
BulkNodesActionsCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
response: zod_1.z.object({
|
|
18
|
+
eventSent: zod_1.z.boolean(),
|
|
19
|
+
}),
|
|
20
|
+
});
|
|
21
|
+
})(BulkNodesActionsCommand || (exports.BulkNodesActionsCommand = BulkNodesActionsCommand = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/bulk-actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/bulk-actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC"}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./actions.command"), exports);
|
|
17
18
|
__exportStar(require("./profile-modification.command"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../constants/nodes/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./node-bulk-actions.constant"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const NODES_BULK_ACTIONS: {
|
|
2
|
+
readonly ENABLE: "ENABLE";
|
|
3
|
+
readonly DISABLE: "DISABLE";
|
|
4
|
+
readonly RESTART: "RESTART";
|
|
5
|
+
readonly RESET_TRAFFIC: "RESET_TRAFFIC";
|
|
6
|
+
};
|
|
7
|
+
export type TNodesBulkActions = [keyof typeof NODES_BULK_ACTIONS][number];
|
|
8
|
+
export declare const NODES_BULK_ACTIONS_VALUES: ("ENABLE" | "DISABLE" | "RESTART" | "RESET_TRAFFIC")[];
|
|
9
|
+
export declare const NODES_BULK_ACTIONS_KEYS: TNodesBulkActions[];
|
|
10
|
+
//# sourceMappingURL=node-bulk-actions.constant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-bulk-actions.constant.d.ts","sourceRoot":"","sources":["../../../../../constants/nodes/actions/node-bulk-actions.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC1E,eAAO,MAAM,yBAAyB,wDAAoC,CAAC;AAC3E,eAAO,MAAM,uBAAuB,EAAsC,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NODES_BULK_ACTIONS_KEYS = exports.NODES_BULK_ACTIONS_VALUES = exports.NODES_BULK_ACTIONS = void 0;
|
|
4
|
+
exports.NODES_BULK_ACTIONS = {
|
|
5
|
+
ENABLE: 'ENABLE',
|
|
6
|
+
DISABLE: 'DISABLE',
|
|
7
|
+
RESTART: 'RESTART',
|
|
8
|
+
RESET_TRAFFIC: 'RESET_TRAFFIC',
|
|
9
|
+
};
|
|
10
|
+
exports.NODES_BULK_ACTIONS_VALUES = Object.values(exports.NODES_BULK_ACTIONS);
|
|
11
|
+
exports.NODES_BULK_ACTIONS_KEYS = Object.keys(exports.NODES_BULK_ACTIONS);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/nodes/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./actions"), exports);
|
|
17
18
|
__exportStar(require("./cycle"), exports);
|
|
18
19
|
__exportStar(require("./status"), exports);
|
|
@@ -88,6 +88,7 @@ exports.REST_API = {
|
|
|
88
88
|
},
|
|
89
89
|
BULK_ACTIONS: {
|
|
90
90
|
PROFILE_MODIFICATION: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.BULK_ACTIONS.PROFILE_MODIFICATION}`,
|
|
91
|
+
ACTIONS: `${exports.ROOT}/${CONTROLLERS.NODES_CONTROLLER}/${CONTROLLERS.NODES_ROUTES.BULK_ACTIONS.ACTIONS}`,
|
|
91
92
|
},
|
|
92
93
|
},
|
|
93
94
|
USERS: {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkNodesActionsCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const api_1 = require("../../../api");
|
|
7
|
+
var BulkNodesActionsCommand;
|
|
8
|
+
(function (BulkNodesActionsCommand) {
|
|
9
|
+
BulkNodesActionsCommand.url = api_1.REST_API.NODES.BULK_ACTIONS.ACTIONS;
|
|
10
|
+
BulkNodesActionsCommand.TSQ_url = BulkNodesActionsCommand.url;
|
|
11
|
+
BulkNodesActionsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.NODES_ROUTES.BULK_ACTIONS.ACTIONS, 'post', 'Perform actions for many nodes');
|
|
12
|
+
BulkNodesActionsCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
uuids: zod_1.z.array(zod_1.z.string().uuid()).min(1, 'Must be at least 1 Node UUID'),
|
|
14
|
+
action: zod_1.z.nativeEnum(constants_1.NODES_BULK_ACTIONS),
|
|
15
|
+
});
|
|
16
|
+
BulkNodesActionsCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
response: zod_1.z.object({
|
|
18
|
+
eventSent: zod_1.z.boolean(),
|
|
19
|
+
}),
|
|
20
|
+
});
|
|
21
|
+
})(BulkNodesActionsCommand || (exports.BulkNodesActionsCommand = BulkNodesActionsCommand = {}));
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./actions.command"), exports);
|
|
17
18
|
__exportStar(require("./profile-modification.command"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./node-bulk-actions.constant"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NODES_BULK_ACTIONS_KEYS = exports.NODES_BULK_ACTIONS_VALUES = exports.NODES_BULK_ACTIONS = void 0;
|
|
4
|
+
exports.NODES_BULK_ACTIONS = {
|
|
5
|
+
ENABLE: 'ENABLE',
|
|
6
|
+
DISABLE: 'DISABLE',
|
|
7
|
+
RESTART: 'RESTART',
|
|
8
|
+
RESET_TRAFFIC: 'RESET_TRAFFIC',
|
|
9
|
+
};
|
|
10
|
+
exports.NODES_BULK_ACTIONS_VALUES = Object.values(exports.NODES_BULK_ACTIONS);
|
|
11
|
+
exports.NODES_BULK_ACTIONS_KEYS = Object.keys(exports.NODES_BULK_ACTIONS);
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./actions"), exports);
|
|
17
18
|
__exportStar(require("./cycle"), exports);
|
|
18
19
|
__exportStar(require("./status"), exports);
|