@paroicms/server
Version:
The ParoiCMS server
10 lines (9 loc) • 508 B
TypeScript
import type { AccountRow } from "../connector/row-types.js";
export declare const devAccountId = "dev:0";
export declare function isDevAccountId(id: string): boolean;
export interface ParsedPlatformAdminAccountId {
index: number;
}
export declare function parsePlatformAdminAccountId(id: string): ParsedPlatformAdminAccountId | undefined;
export declare function getDevAccount(id: string): AccountRow;
export declare function getPlatformAdminAccount({ index }: ParsedPlatformAdminAccountId): AccountRow;