UNPKG

1.07 kBTypeScriptView Raw
1import { Constructable, Entity } 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 delete request configuration for an entity type.
8 * @typeparam EntityT - Type of the entity to setup a request for
9 */
10export declare class ODataDeleteRequestConfig<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 ODataDeleteRequestConfig.
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}
24//# sourceMappingURL=odata-delete-request-config.d.ts.map
\No newline at end of file