@hv/celestial
Version:
A styleguide for documenting your Astro-components
37 lines • 914 B
TypeScript
export interface CelestialConfig {
srcDir: string;
outDir: string;
port: number;
logo: string;
docHead: string;
docFooter: string;
navHead: string;
navFooter: string;
astroConfig?: string;
copyAdditional?: string | string[];
}
export type CelestialPropType = Record<symbol, any>;
export interface CelestialProps {
[key: string | symbol]: any;
}
export interface CelestialMenuEntry {
name: string;
path: string;
children?: CelestialMenuEntry[];
}
export type CelestialFrameLayout = 'centered' | 'fullscreen';
export interface CelestialBase {
layout: CelestialFrameLayout;
template: string;
}
export type CelestialSubDocs = Set<string>;
export interface CelestialDoc {
name: string;
path: string;
slug: string;
pathSlug: string;
docPath: string;
subDocs: CelestialSubDocs;
code: string;
}
//# sourceMappingURL=types.d.ts.map