Type alias Update<Entity, AST, Scalars>

Update<Entity, AST, Scalars>: Partial<OmitNever<{ [ K in RecursiveScalarKeys<Entity, AST>]: FieldFromPath<Entity, AST, K> extends {
    astName: infer ASTName;
    generationStrategy: infer GenerationStrategy;
    isExcluded: infer IsExluded;
    isList: infer IsList;
    isListElementRequired: infer IsListElementRequired;
} ? IsExluded extends true ? never : ASTName extends keyof Scalars ? Scalars[ASTName]["type"] extends infer T ? GenerationStrategy extends "db" ? never : IsList extends true ? IsListElementRequired extends true ? T[] | null : (T | null)[] | null : T | null : never : never : never } & { [ K in RecursiveEmbeddedKeys<Entity, AST>]: FieldFromPath<Entity, AST, K> extends {
    astName: infer ASTName;
    isList: infer IsList;
    isListElementRequired: infer IsListElementRequired;
} ? UpdateEmbeddedModel<ASTName & string, AST, Scalars> extends infer T ? IsList extends true ? IsListElementRequired extends true ? T[] | null : (T | null)[] | null : T | null : never : never }>>

Type Parameters

Generated using TypeDoc