Type alias Insert<Entity, AST, Scalars>

Insert<Entity, AST, Scalars>: DecorateModelInsert<OmitNever<{ [ K in keyof AST[Entity]["fields"]]: AST[Entity]["fields"][K] extends {
    astName: infer ASTName;
    generationStrategy: infer GenerationStrategy;
    isExcluded: infer IsExcluded;
    type: infer Type;
} ? IsExcluded extends true ? never : GenerationStrategy extends "db" ? never : Type extends "scalar" ? Scalars[ASTName & string]["type"] : Type extends "embedded" ? Insert<ASTName & string, AST, Scalars> : never : never }>, Entity, AST>

Type Parameters

Generated using TypeDoc