-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove legacy data-source options building
BREAKING CHANGE: ormconfig no longer supported
- Loading branch information
Showing
10 changed files
with
19 additions
and
154 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,20 @@ | ||
export type DataSourceOptionsBuildContext = { | ||
/** | ||
* Database connection name | ||
* Default: default | ||
* | ||
* @deprecated | ||
*/ | ||
name?: string, | ||
/** | ||
* Configuration file name without extension | ||
* Default: ormconfig | ||
* | ||
* @deprecated | ||
*/ | ||
configName?: string, | ||
/** | ||
* Data source file name without extension | ||
* | ||
* Default: data-source | ||
*/ | ||
dataSourceName?: string, | ||
/** | ||
* Directory where to find dataSource + config | ||
* | ||
* Default: process.cwd() | ||
*/ | ||
directory?: string, | ||
/** | ||
* Directory path to the tsconfig.json file | ||
* | ||
* Default: process.cwd() | ||
*/ | ||
tsconfigDirectory?: string, | ||
|
||
/** | ||
* Use experimental features, | ||
* like merging env and file data-source options. | ||
*/ | ||
experimental?: boolean | ||
tsconfigDirectory?: string | ||
}; |
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 was deleted.
Oops, something went wrong.
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
File renamed without changes.