Moving Definitions

This commit is contained in:
Martin Karkowski 2022-01-04 12:58:20 +01:00
parent 7db8693fd6
commit 8b4b528009

View File

@ -15,6 +15,21 @@ import {
import { IMapBasedMergeData } from "./nopeHelpers.interface";
import { INopePromise } from "./nopePromise.interface";
export type ValidDefaultSelectors =
| "first"
| "dispatcher"
| "host"
| "free-ram"
| "cpu-usage";
export const ValidDefaultSelectors = [
"first",
"dispatcher",
"host",
"free-ram",
"cpu-usage",
];
export type ValidSelectorFunction = (options: {
serviceName: string;
rpcManager: INopeRpcManager;