@jeremytenjo/super-code-generator
Version:
A powerful, fast, and scalable code generator that saves you time
12 lines (11 loc) • 326 B
TypeScript
export type ParamsPropsSchema<ParamsFileSchema extends ParamsFilePropsSchema> = {
name: keyof ParamsFileSchema;
type: 'input' | 'dropdown';
description: string;
options?: {
value: ParamsFileSchema[keyof ParamsFileSchema];
}[];
};
export type ParamsFilePropsSchema = {
[key: string]: string;
};