ReturnValue<M, FlatModel, Paths>: Paths extends undefined | never[]
    ? WithOptionalsAsNullishOnly<M["type"]>
    : WithOptionalsAsNullishOnly<CustomSelectionSetReturnValue<FlatModel, Paths[number]>>

Selection set-aware CRUDL operation return value type

Type Parameters

Returns

model type with default selection set; otherwise generates return type from custom sel. set. Optionality is removed from both return types.