Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix with letter, drop plural #36

Open
dtturcotte opened this issue Jul 9, 2024 · 0 comments
Open

Prefix with letter, drop plural #36

dtturcotte opened this issue Jul 9, 2024 · 0 comments

Comments

@dtturcotte
Copy link

Hello,

This is a great tool to auto-generate TypeScript interfaces!

I prefer to prefix with I_ (capital i, for "interface"), and drop the plural. So if my table name is "users" and model is "User", I'd like the auto-generated TypeScript interface to be:

export interface I_User {
  id: number;
  first_name: string | null;
  last_name: string | null;
  ...
}

Can we specify these rules in the config file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant