Skip to main content

Dataloaders

API Docs


Type Alias: Dataloaders

Dataloaders = object

Defined in: src/utilities/dataloaders/index.ts:16

Type representing all available DataLoaders for the application. These loaders provide batched, request-scoped data loading to prevent N+1 queries.

Properties

actionItem

actionItem: ReturnType<typeof createActionItemLoader>

Defined in: src/utilities/dataloaders/index.ts:32

DataLoader for fetching action items by ID.


event

event: ReturnType<typeof createEventLoader>

Defined in: src/utilities/dataloaders/index.ts:28

DataLoader for fetching events by ID.


organization

organization: ReturnType<typeof createOrganizationLoader>

Defined in: src/utilities/dataloaders/index.ts:24

DataLoader for fetching organizations by ID.


user

user: ReturnType<typeof createUserLoader>

Defined in: src/utilities/dataloaders/index.ts:20

DataLoader for fetching users by ID.