@supernovaio/cli
Version:
Supernova.io Command Line Interface
19 lines • 652 B
TypeScript
import { ParentType, ResolvedType, StringIndexedObject } from "./parser/types.js";
export type Component = {
exportName: string;
exportType?: "explicit-export" | "inferred-export" | "star-export";
componentPath: string;
description: string;
tags: StringIndexedObject<string> | null;
properties: Record<string, ComponentProperty>;
};
export type ComponentProperty = {
defaultValue: string | undefined;
name: string;
required: boolean;
type: ResolvedType;
declarations: ParentType[] | undefined;
tags: StringIndexedObject<string> | undefined;
description: string;
};
//# sourceMappingURL=types.d.ts.map