diff --git a/package.json b/package.json index 6827ce68..90e029b5 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "./factories": "./build/src/factories/main.js", "./database": "./build/src/database/main.js", "./orm": "./build/src/orm/main.js", + "./orm/relations": "./build/src/orm/relations/main.js", "./seeders": "./build/src/seeders/main.js", "./services/*": "./build/services/*.js", "./types/*": "./build/src/types/*.js", diff --git a/src/orm/main.ts b/src/orm/main.ts index 52752384..f740ff86 100644 --- a/src/orm/main.ts +++ b/src/orm/main.ts @@ -1,7 +1,7 @@ /* * @adonisjs/lucid * - * (c) AdoniJS + * (c) AdonisJS * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/orm/relations/main.ts b/src/orm/relations/main.ts new file mode 100644 index 00000000..c44ddda3 --- /dev/null +++ b/src/orm/relations/main.ts @@ -0,0 +1,13 @@ +/* + * @adonisjs/lucid + * + * (c) AdonisJS + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +export { BelongsToQueryClient } from './belongs_to/query_client.js' +export { HasManyQueryClient } from './has_many/query_client.js' +export { HasOneQueryClient } from './has_one/query_client.js' +export { ManyToManyQueryClient } from './many_to_many/query_client.js'