casualos
Version:
Command line interface for CasualOS.
20 lines • 785 B
TypeScript
import type { Command } from 'commander';
import type { CliConfig } from './config';
import { z } from 'zod';
export declare function setupInfraCommands(program: Command, config: CliConfig): void;
export interface InfraMetadata {
id: string;
name: string;
}
declare const INFRA_CONFIG_SCHEMA: z.ZodObject<{
githubToken: z.ZodNullable<z.ZodOptional<z.ZodObject<{
token: z.ZodString;
refreshToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
expiresAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>>;
}, z.core.$strip>;
export type InfraConfig = z.infer<typeof INFRA_CONFIG_SCHEMA>;
export declare function getRepoPath(name: string): string;
export declare function getLoginPath(name: string): string;
export {};
//# sourceMappingURL=infra.d.ts.map