1 | import { Entity } from '../entity';
|
2 | import { Expandable, Constructable } from '../../odata-common';
|
3 | /**
|
4 | * Get an object containing the given expand as a query parameter, or an empty object if none was given.
|
5 | * @typeparam EntityT - Type of the entity to expand on
|
6 | * @param expands - The expands to transform to a query parameter
|
7 | * @param entityConstructor - Constructor type of the entity to expand on
|
8 | * @returns An object containing the query parameter or an empty object
|
9 | */
|
10 | export declare function getExpand<EntityT extends Entity>(expands: Expandable<EntityT>[] | undefined, entityConstructor: Constructable<EntityT>): Partial<{
|
11 | expand: string;
|
12 | }>;
|
13 | export { getExpand as getExpandV4 };
|
14 | //# sourceMappingURL=get-expand.d.ts.map |
\ | No newline at end of file |