@clickup/pg-microsharding
Version:
Microshards support for PostgreSQL
15 lines • 547 B
TypeScript
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