UNPKG
@r1tsu/payload
Version:
latest (3.0.0-beta.31)
3.0.0-beta.31
3.0.0-beta.28
3.0.0-beta.26
3.0.0-beta.25
3.0.0-beta.24
3.0.0-beta.23
3.0.0-beta.22
3.0.0-beta.21
3.0.0-beta.20
3.0.0-beta.15
3.0.0-beta.11
@r1tsu/payload
/
dist
/
collections
/
dataloader.d.ts
5 lines
•
288 B
TypeScript
View Raw
1
2
3
4
5
import
DataLoader
from
'dataloader'
;
import
type
{
PayloadRequest
}
from
'../types/index.js'
;
import
type
{
TypeWithID
}
from
'./config/types.js'
;
export
declare
const
getDataLoader
:
(
req
:
PayloadRequest
) =>
DataLoader
<
string
,
TypeWithID
,
string
>;
//# sourceMappingURL=dataloader.d.ts.map