UNPKG

@clickup/pg-microsharding

Version:
15 lines 547 B
import { weights } from "../api/weights"; import type { Args } from "../internal/parseArgs"; /** * Shows the list of microshards and their weights. */ export declare function actionList(args: Args): Promise<boolean>; export declare function calcIslandWeights({ dsns, weightSql, verbose, }: { dsns: string[]; weightSql: string | undefined; verbose?: boolean; }): Promise<{ islandNosToDsn: Map<number, string>; islands: Map<number, NonNullable<Awaited<ReturnType<typeof weights>>>>; }>; //# sourceMappingURL=actionList.d.ts.map