UNPKG

931 BTypeScriptView Raw
1import { Entity, ODataVersionOf } from '../entity';
2import type { CollectionField } from './collection-field';
3import type { AllFields } from './all-fields';
4import type { ComplexTypeField } from './complex-type-field';
5import type { CustomField } from './custom-field';
6import type { Link } from './link';
7import type { SimpleTypeFields } from './simple-type-fields';
8export declare type Selectable<EntityT extends Entity> = ODataVersionOf<EntityT> extends 'v2' ? SimpleTypeFields<EntityT> | Link<EntityT> | ComplexTypeField<EntityT, any, boolean, boolean> | CustomField<EntityT, boolean> | CollectionField<EntityT, any, boolean, boolean> | AllFields<EntityT> : ODataVersionOf<EntityT> extends 'v4' ? SimpleTypeFields<EntityT> | ComplexTypeField<EntityT, any, boolean, boolean> | CustomField<EntityT, boolean> | CollectionField<EntityT, any, boolean, boolean> | AllFields<EntityT> : never;
9//# sourceMappingURL=selectable.d.ts.map
\No newline at end of file