@athenna/database
Version:
The Athenna database handler for SQL/NoSQL.
16 lines (15 loc) • 841 B
TypeScript
/**
* @athenna/database
*
* (c) João Lenon <lenon@athenna.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import type { HasOneOptions } from '#src/types/relations/HasOneOptions';
import type { HasManyOptions } from '#src/types/relations/HasManyOptions';
import type { HasOneThroughOptions } from '#src/types/relations/HasOneThroughOptions';
import type { HasManyThroughOptions } from '#src/types/relations/HasManyThroughOptions';
import type { BelongsToOptions } from '#src/types/relations/BelongsToOptions';
import type { BelongsToManyOptions } from '#src/types/relations/BelongsToManyOptions';
export type RelationOptions = HasOneOptions | HasManyOptions | HasOneThroughOptions | HasManyThroughOptions | BelongsToOptions | BelongsToManyOptions;