UNPKG

590 BTypeScriptView Raw
1import { AllFields, OneToOneLink } from './selectable';
2import { Entity, ODataVersionOf } from './entity';
3import { OneToManyLink } from './selectable/one-to-many-link';
4/**
5 * Represents all expandables, i.e. everything that can be used in an `.expand` statement. Only relevant for OData v4 requests.
6 * @typeparam EntityT - Type of the entity to be selected on
7 */
8export declare type Expandable<EntityT extends Entity> = ODataVersionOf<EntityT> extends 'v2' ? never : OneToOneLink<EntityT, any> | OneToManyLink<EntityT, any> | AllFields<EntityT>;
9//# sourceMappingURL=expandable.d.ts.map
\No newline at end of file