gensx
Version:
`GenSX command line tools.
29 lines • 989 B
TypeScript
import { z } from "zod";
declare const ProjectConfigSchema: z.ZodObject<{
projectName: z.ZodString;
environmentName: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
projectName: string;
description?: string | undefined;
environmentName?: string | undefined;
}, {
projectName: string;
description?: string | undefined;
environmentName?: string | undefined;
}>;
export type ProjectConfig = z.infer<typeof ProjectConfigSchema>;
/**
* Get the path to the gensx.yaml file
*/
export declare function getProjectConfigPath(dir: string): string;
/**
* Read the gensx.yaml file and return the parsed config
*/
export declare function readProjectConfig(dir: string): Promise<ProjectConfig | null>;
/**
* Save a config object to the gensx.yaml file
*/
export declare function saveProjectConfig(config: Partial<ProjectConfig>, dir: string): Promise<void>;
export {};
//# sourceMappingURL=project-config.d.ts.map