a71f801c3f
- Prisma schema: User, Session, RepoConfig, Preview, Job, WebhookToken, NoConfigComment, AdminSettings - Backend: auth (login/logout/me/first-user setup), webhook handler with HMAC verification, EC2 service, SSH service, deploy pipeline, job queue worker, cron workers - Frontend: Login with first-user detection, Dashboard, PreviewDetail with live log streaming, Settings, Repos config, Admin panel, SetupWizard, Privacy page - Docker Compose and Dockerfile for self-hosted deployment - Uses bcryptjs for Node 24 compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
1006 B
TypeScript
19 lines
1006 B
TypeScript
type RC = Record<string, any>;
|
|
interface RCOptions {
|
|
name?: string;
|
|
dir?: string;
|
|
flat?: boolean;
|
|
}
|
|
declare const defaults: RCOptions;
|
|
declare function parse<T extends RC = RC>(contents: string, options?: RCOptions): T;
|
|
declare function parseFile<T extends RC = RC>(path: string, options?: RCOptions): T;
|
|
declare function read<T extends RC = RC>(options?: RCOptions | string): T;
|
|
declare function readUser<T extends RC = RC>(options?: RCOptions | string): T;
|
|
declare function serialize<T extends RC = RC>(config: T): string;
|
|
declare function write<T extends RC = RC>(config: T, options?: RCOptions | string): void;
|
|
declare function writeUser<T extends RC = RC>(config: T, options?: RCOptions | string): void;
|
|
declare function update<T extends RC = RC>(config: T, options?: RCOptions | string): T;
|
|
declare function updateUser<T extends RC = RC>(config: T, options?: RCOptions | string): T;
|
|
|
|
export { defaults, parse, parseFile, read, readUser, serialize, update, updateUser, write, writeUser };
|