Type alias GenerateModel<Entity, AST, Scalars, ExcludedType>

GenerateModel<Entity, AST, Scalars, ExcludedType>: DecorateModel<OmitNever<{ [ Field in keyof AST[Entity]["fields"]]: AST[Entity]["fields"][Field] extends {
    astName: infer ASTName;
    type: infer Type;
} ? ASTName extends string ? Type extends ExcludedType ? never : Type extends "scalar" ? Scalars[ASTName]["type"] : GenerateModel<ASTName, AST, Scalars, ExcludedType> : never : never }>, Entity, AST>

Type Parameters

Generated using TypeDoc