Documentation
¶
Index ¶
Constants ¶
View Source
const LoadersKey = utils.Key("dataloaders")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchEmoteLoaderByID ¶
type BatchEmoteLoaderByID = *dataloader.DataLoader[primitive.ObjectID, []structures.Emote]
type BatchEmoteSetLoaderByID ¶
type BatchEmoteSetLoaderByID = *dataloader.DataLoader[primitive.ObjectID, []structures.EmoteSet]
type EmoteLoaderByID ¶
type EmoteLoaderByID = *dataloader.DataLoader[primitive.ObjectID, structures.Emote]
type EmoteSetLoaderByID ¶
type EmoteSetLoaderByID = *dataloader.DataLoader[primitive.ObjectID, structures.EmoteSet]
type EntitlementsLoader ¶
type EntitlementsLoader = *dataloader.DataLoader[primitive.ObjectID, query.EntitlementQueryResult]
type Instance ¶
type Instance interface {
UserByID() UserLoaderByID
UserByUsername() UserLoaderByUsername
UserByConnectionID(structures.UserConnectionPlatform) UserLoaderByConnectionID
UserByConnectionUsername(structures.UserConnectionPlatform) UserLoaderByConnectionUsername
EmoteByID() EmoteLoaderByID
EmoteByOwnerID() BatchEmoteLoaderByID
EmoteSetByID() EmoteSetLoaderByID
EmoteSetByUserID() BatchEmoteSetLoaderByID
PresenceByActorID() PresenceLoaderByID
EntitlementsLoader() EntitlementsLoader
}
type PresenceLoaderByID ¶
type PresenceLoaderByID = *dataloader.DataLoader[primitive.ObjectID, []structures.UserPresence[bson.Raw]]
type UserLoaderByConnectionID ¶
type UserLoaderByConnectionID = *dataloader.DataLoader[string, structures.User]
type UserLoaderByConnectionUsername ¶
type UserLoaderByConnectionUsername = *dataloader.DataLoader[string, structures.User]
type UserLoaderByID ¶
type UserLoaderByID = *dataloader.DataLoader[primitive.ObjectID, structures.User]
type UserLoaderByUsername ¶
type UserLoaderByUsername = *dataloader.DataLoader[string, structures.User]
Click to show internal directories.
Click to hide internal directories.