UNPKG

566 BTypeScriptView Raw
1import { Entity, EntityIdentifiable, Constructable } from '../entity';
2declare type EntityBasedRequestBuilder<EntityCT extends Constructable<Entity>> = ReturnType<EntityCT['requestBuilder']>;
3/**
4 * @hidden
5 */
6export declare abstract class RequestBuilder<EntityT extends Entity> implements EntityIdentifiable<EntityT> {
7 static forEntity<EntityCT extends Constructable<Entity>>(entity: EntityCT): EntityBasedRequestBuilder<EntityCT>;
8 _entity: EntityT;
9 _entityConstructor: Constructable<EntityT>;
10}
11export {};
12//# sourceMappingURL=request-builder.d.ts.map
\No newline at end of file