Type alias SchemaField<Scalars>

SchemaField<Scalars>: Readonly<({
    scalar: keyof Scalars;
    type: "scalar";
} | {
    astName: string;
    schema: (() => Schema<Scalars>);
    type: "embedded";
} | {
    astName: string;
    dao: string;
    refFrom: string;
    refTo: string;
    relation: "inner";
    schema: (() => Schema<Scalars>);
    type: "relation";
} | {
    astName: string;
    dao: string;
    refFrom: string;
    refTo: string;
    relation: "foreign";
    schema: (() => Schema<Scalars>);
    type: "relation";
} | {
    refOther: {
        dao: string;
        refFrom: string;
        refTo: string;
    };
    refThis: {
        refFrom: string;
        refTo: string;
    };
    relation: "relationEntity";
    relationEntity: {
        dao: string;
        schema: (() => Schema<Scalars>);
    };
    schema: (() => Schema<Scalars>);
    type: "relation";
}) & Decorators>

Type Parameters

Generated using TypeDoc