UNPKG

1.1 kBTypeScriptView Raw
1import { Entity, Constructable } from '../entity';
2import { FieldType } from '../selectable';
3import { ODataUri } from '../uri-conversion';
4import { ODataRequestConfig } from './odata-request-config';
5import { WithKeys, WithETag } from './odata-request-traits';
6/**
7 * OData update request configuration for an entity type.
8 * @typeparam EntityT - Type of the entity to setup a request for
9 */
10export declare class ODataUpdateRequestConfig<EntityT extends Entity> extends ODataRequestConfig implements WithKeys, WithETag {
11 readonly _entityConstructor: Constructable<EntityT>;
12 private oDataUri;
13 keys: Record<string, FieldType>;
14 eTag: string;
15 versionIdentifierIgnored: boolean;
16 /**
17 * Creates an instance of ODataUpdateRequestConfig.
18 * @param _entityConstructor - Constructor type of the entity to create a configuration for
19 */
20 constructor(_entityConstructor: Constructable<EntityT>, oDataUri: ODataUri);
21 resourcePath(): string;
22 queryParameters(): Record<string, any>;
23 updateWithPut(): void;
24}
25//# sourceMappingURL=odata-update-request-config.d.ts.map
\No newline at end of file