@webundsoehne/nestjs-graphql-typeorm-dataloader
Version:
A library to utilize the graphql-dataloader with nestjs and typeorm.
13 lines (11 loc) • 658 B
TypeScript
/**
* Typeorm data loader extension data key for the field, that is stored inside the nestjs typestore.
* No different then @Extension decorator of nestjs for graphql, just a wrapper for types.
*/
declare const TYPEORM_DATALOADER_EXTENSION_FIELD = "TYPEORM_DATALOADER_EXTENSION_FIELD";
/**
* Custom data loader extension data key for the field, that is stored inside the nestjs typestore.
* No different then @Extension decorator of nestjs for graphql, just a wrapper for types.
*/
declare const CUSTOM_DATALOADER_EXTENSION_FIELD = "CUSTOM_DATALOADER_EXTENSION_FIELD";
export { CUSTOM_DATALOADER_EXTENSION_FIELD, TYPEORM_DATALOADER_EXTENSION_FIELD };