@athenna/database
Version:
The Athenna database handler for SQL/NoSQL.
11 lines (10 loc) • 317 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 { BaseModel } from '#src/models/BaseModel';
export type Relation<M extends BaseModel | BaseModel[]> = M;