Skip to content

RelationshipOpts

@tsed/objection

Usage

typescript
import { RelationshipOpts } from "@tsed/orm/objection/src/types/domain/RelationshipOpts";

See /packages/orm/objection/src/types/domain/RelationshipOpts.ts.

Overview

ts
type RelationshipOpts = (RelationshipOptsWithThrough | RelationshipOptsWithoutThrough) & {
    type?: ModelClassSpecifier;
};

type

ts
type?: ModelClassSpecifier;

Released under the MIT License.