Type Alias Selectable<EntityT, DeSerializersT>

Selectable: ODataVersionOf<EntityT> extends "v2"
    ?
        | SimpleTypeFields<EntityT>
        | Link<EntityT, DeSerializersT, EntityApi<EntityBase, DeSerializersT>>
        | ComplexTypeField<EntityT, DeSerializersT, any, boolean, boolean>
        | CustomField<EntityT, any, boolean>
        | CollectionField<EntityT, DeSerializersT, any, boolean, boolean>
        | AllFields<EntityT>
    : ODataVersionOf<EntityT> extends "v4"
        ?
            | SimpleTypeFields<EntityT>
            | ComplexTypeField<EntityT, DeSerializersT, any, boolean, boolean>
            | CustomField<EntityT, DeSerializersT, boolean>
            | CollectionField<EntityT, DeSerializersT, any, boolean, boolean>
            | AllFields<EntityT>
        : never

Union type of all selectable fields.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.

Type Parameters