-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(typegen): dynamically set default schema alias in typescript typegen
* fix: use env var to set default schema alias in TypeScript types * refactor(constants): export DEFAULT_SCHEMA from constants * refactor(template): unify schema alias to use DefaultSchema - Remove separate aliases (PublicSchema, DefaultSchemaOrPublic) from TypeScript template - Add a single DefaultSchema alias - Update all helper types (Tables, TableInsert, etc) to use DefaultSchema * chore: update some namings --------- Co-authored-by: Bobbie Soedirgo <[email protected]>
- Loading branch information
1 parent
83c37d3
commit 8be8982
Showing
3 changed files
with
216 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.