@api-buddy/types
Version:
Shared types for API Buddy
29 lines • 659 B
TypeScript
export interface CLICommand {
name: string;
description: string;
options?: Array<{
name: string;
description: string;
required?: boolean;
default?: any;
}>;
action: (options: Record<string, any>) => Promise<void> | void;
}
export interface ProjectConfig {
name: string;
adapters: {
auth?: boolean;
database?: boolean;
storage?: boolean;
[key: string]: any;
};
features: string[];
paths: {
root: string;
src: string;
adapters: string;
components: string;
hooks: string;
};
}
//# sourceMappingURL=context.d.ts.map