diff --git a/lib/types/nope/nopeRpcManager.interface.ts b/lib/types/nope/nopeRpcManager.interface.ts index 93cb907..7790401 100644 --- a/lib/types/nope/nopeRpcManager.interface.ts +++ b/lib/types/nope/nopeRpcManager.interface.ts @@ -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;