diff --git a/package.json b/package.json index 6f4627e1..e73c8c1e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "./services/*": "./build/services/*.js", "./types/*": "./build/src/types/*.js", "./migration": "./build/src/migration/main.js", - "./database_provider": "./build/providers/database_provider.js" + "./database_provider": "./build/providers/database_provider.js", + "./utils": "./build/src/utils/index.js" }, "scripts": { "pretest": "npm run lint", diff --git a/src/orm/main.ts b/src/orm/main.ts index 00931fa7..f9e55aa7 100644 --- a/src/orm/main.ts +++ b/src/orm/main.ts @@ -14,3 +14,4 @@ export { BaseModel, scope } from './base_model/index.js' export { ModelQueryBuilder } from './query_builder/index.js' export { SnakeCaseNamingStrategy } from './naming_strategies/snake_case.js' export { CamelCaseNamingStrategy } from './naming_strategies/camel_case.js' +export { Preloader } from './preloader/index.js'