Skip to content

Commit

Permalink
feat: export interfaces from schema-builder/options (typeorm#8383)
Browse files Browse the repository at this point in the history
Export options interfaces from 'src/schema-builder/options', making them
usable in migrations, e.g.:
import { TableColumnOptions } from 'typeorm';
  • Loading branch information
navarroaxel authored and HeartPattern committed Nov 29, 2021
1 parent d5761b8 commit 58c29bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "typeorm-legacy-mssql",
"private": false,
"version": "0.2.40-1",
"version": "0.2.41-1",
"description": "Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.",
"license": "MIT",
"readmeFilename": "README.md",
Expand Down
8 changes: 8 additions & 0 deletions src/index.ts
Expand Up @@ -104,6 +104,14 @@ export * from "./schema-builder/table/TableForeignKey";
export * from "./schema-builder/table/TableIndex";
export * from "./schema-builder/table/TableUnique";
export * from "./schema-builder/table/Table";
export * from "./schema-builder/options/TableCheckOptions";
export * from "./schema-builder/options/TableColumnOptions";
export * from "./schema-builder/options/TableExclusionOptions";
export * from "./schema-builder/options/TableForeignKeyOptions";
export * from "./schema-builder/options/TableIndexOptions";
export * from "./schema-builder/options/TableOptions";
export * from "./schema-builder/options/TableUniqueOptions";
export * from "./schema-builder/options/ViewOptions";
export * from "./driver/mongodb/typings";
export * from "./driver/types/DatabaseType";
export * from "./driver/types/ReplicationMode";
Expand Down

0 comments on commit 58c29bf

Please sign in to comment.