Documentation
¶
Index ¶
- Variables
- type AddCollectionToGalleryParams
- type AddManyFollowsParams
- type AddPiiAccountCreationInfoParams
- type AddSocialToUserParams
- type AddUserRolesParams
- type Admire
- type AlchemySpamContract
- type BlockUserFromFeedParams
- type BlockUserParams
- type CheckUserOwnsAllTokenDbidsParams
- type Collection
- type Comment
- type Community
- type CommunityContractProvider
- type CommunityCreator
- type CommunityGallery
- type CommunityRelevance
- type Contract
- type ContractCommunityMembership
- type ContractCreator
- type CountAdmiresByCommentIDBatchBatchResults
- type CountAdmiresByFeedEventIDBatchBatchResults
- type CountAdmiresByPostIDBatchBatchResults
- type CountAdmiresByTokenIDBatchBatchResults
- type CountCommentsByFeedEventIDBatchBatchResults
- type CountCommentsByPostIDBatchBatchResults
- type CountGalleriesDisplayingCommunityIDBatchBatchResults
- type CountInteractionsByFeedEventIDBatchBatchResults
- type CountInteractionsByFeedEventIDBatchParams
- type CountInteractionsByFeedEventIDBatchRow
- type CountInteractionsByPostIDBatchBatchResults
- type CountInteractionsByPostIDBatchParams
- type CountInteractionsByPostIDBatchRow
- type CountOwnersByContractIdParams
- type CountRepliesByCommentIDBatchBatchResults
- type CountSharedCommunitiesParams
- type CountSharedFollowsParams
- type CountSocialConnectionsParams
- type CountTokensByContractIdParams
- type CreateAdmireEventParams
- type CreateAdmireNotificationParams
- type CreateAnnouncementNotificationsParams
- type CreateCollectionEventParams
- type CreateCollectionParams
- type CreateCommentAdmireParams
- type CreateCommentEventParams
- type CreateCommentNotificationParams
- type CreateCommunityEventParams
- type CreateCommunityNotificationParams
- type CreateDataOnlyEventParams
- type CreateFeedEventAdmireParams
- type CreateFeedEventParams
- type CreateGalleryEventParams
- type CreateMentionUserNotificationParams
- type CreatePostAdmireParams
- type CreatePostEventParams
- type CreatePostNotificationParams
- type CreatePushTicketsParams
- type CreatePushTokenForUserParams
- type CreateSimpleNotificationParams
- type CreateTokenAdmireParams
- type CreateTokenEventParams
- type CreateTokenNotificationParams
- type CreateUserEventParams
- type CreateUserPostedYourWorkNotificationParams
- type CreateViewGalleryNotificationParams
- type DBTX
- type DeleteTokensBeforeTimestampParams
- type DeleteUserRolesParams
- type DevMetadataUser
- type EarlyAccess
- type Event
- type ExternalSocialConnection
- type FeedBlocklist
- type FeedEntity
- type FeedEntityScore
- type FeedEntityScoreView
- type FeedEvent
- type Follow
- type Gallery
- type GalleryRelevance
- type GalleryRepoAddCollectionsParams
- type GalleryRepoCheckOwnCollectionsParams
- type GalleryRepoCreateParams
- type GalleryRepoDeleteParams
- type GalleryRepoGetPreviewsForUserIDParams
- type GalleryRepoUpdateParams
- type GetAdmireByActorIDAndCommentIDBatchResults
- type GetAdmireByActorIDAndCommentIDParams
- type GetAdmireByActorIDAndFeedEventIDBatchResults
- type GetAdmireByActorIDAndFeedEventIDParams
- type GetAdmireByActorIDAndPostIDBatchResults
- type GetAdmireByActorIDAndPostIDParams
- type GetAdmireByActorIDAndTokenIDBatchResults
- type GetAdmireByActorIDAndTokenIDParams
- type GetAdmireByAdmireIDBatchBatchResults
- type GetAdmiresByActorIDBatchBatchResults
- type GetChildContractsByParentIDBatchPaginateBatchResults
- type GetChildContractsByParentIDBatchPaginateParams
- type GetCollectionByIdBatchBatchResults
- type GetCollectionsByGalleryIdBatchBatchResults
- type GetCommentByCommentIDBatchBatchResults
- type GetCommunitiesByKeysParams
- type GetCommunitiesByKeysRow
- type GetCommunitiesByTokenDefinitionIDBatchResults
- type GetCommunityByIDBatchBatchResults
- type GetCommunityByKeyBatchResults
- type GetCommunityByKeyParams
- type GetContractByChainAddressBatchBatchResults
- type GetContractByChainAddressBatchParams
- type GetContractByChainAddressParams
- type GetContractCreatorsByIdsRow
- type GetContractLabelsRow
- type GetContractsByIDsRow
- type GetContractsDisplayedByUserIDBatchBatchResults
- type GetCreatedContractsBatchPaginateBatchResults
- type GetCreatedContractsBatchPaginateParams
- type GetCreatedContractsByUserIDParams
- type GetCreatedContractsByUserIDRow
- type GetCreatorsByCommunityIDBatchResults
- type GetCreatorsByCommunityIDRow
- type GetEventByIdBatchBatchResults
- type GetEventsInWindowParams
- type GetExternalFollowGraphSourceRow
- type GetFarcasterConnectionsParams
- type GetFarcasterConnectionsRow
- type GetFeedEntityScoresParams
- type GetFeedEntityScoresRow
- type GetFollowGraphSourceRow
- type GetFollowersByUserIdBatchBatchResults
- type GetFollowingByUserIdBatchBatchResults
- type GetFrameTokensByCommunityIDBatchResults
- type GetFrameTokensByCommunityIDParams
- type GetFrameTokensByCommunityIDRow
- type GetGalleriesByUserIdBatchBatchResults
- type GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults
- type GetGalleriesDisplayingCommunityIDPaginateBatchParams
- type GetGalleriesDisplayingCommunityIDPaginateBatchRow
- type GetGalleryByCollectionIdBatchBatchResults
- type GetGalleryByIdBatchBatchResults
- type GetGalleryEventsInWindowParams
- type GetGalleryTokenMediasByGalleryIDBatchBatchResults
- type GetLastFeedEventForCollectionParams
- type GetLastFeedEventForTokenParams
- type GetLastFeedEventForUserParams
- type GetMediaByMediaIdIgnoringStatusBatchBatchResults
- type GetMediaByTokenIdentifiersIgnoringStatusParams
- type GetMembershipByMembershipIdBatchBatchResults
- type GetMentionsByCommentIDBatchResults
- type GetMentionsByPostIDBatchResults
- type GetMostActiveUsersParams
- type GetMostActiveUsersRow
- type GetMostRecentNotificationByOwnerIDForActionParams
- type GetMostRecentNotificationByOwnerIDTokenIDForActionParams
- type GetNewTokensByFeedEventIdBatchBatchResults
- type GetNotificationByIDBatchBatchResults
- type GetNotificationsByOwnerIDForActionAfterParams
- type GetOwnersByContractIdBatchPaginateBatchResults
- type GetOwnersByContractIdBatchPaginateParams
- type GetPostByIdBatchBatchResults
- type GetPostsByIdsPaginateBatchBatchResults
- type GetPostsByIdsPaginateBatchParams
- type GetPotentialENSProfileImageByUserIdParams
- type GetPotentialENSProfileImageByUserIdRow
- type GetPreviewURLsByContractIdAndUserIdParams
- type GetProfileImageByIdBatchBatchResults
- type GetProfileImageByIdBatchParams
- type GetRecentUnseenNotificationsParams
- type GetSVGTokensWithContractsByIDsParams
- type GetSVGTokensWithContractsByIDsRow
- type GetSharedCommunitiesBatchPaginateBatchResults
- type GetSharedCommunitiesBatchPaginateParams
- type GetSharedCommunitiesBatchPaginateRow
- type GetSharedFollowersBatchPaginateBatchResults
- type GetSharedFollowersBatchPaginateParams
- type GetSharedFollowersBatchPaginateRow
- type GetSocialAuthByUserIDParams
- type GetSocialConnectionsPaginateParams
- type GetSocialConnectionsPaginateRow
- type GetSocialConnectionsParams
- type GetSocialConnectionsRow
- type GetTokenByIdBatchBatchResults
- type GetTokenByIdBatchRow
- type GetTokenByIdIgnoreDisplayableBatchBatchResults
- type GetTokenByIdIgnoreDisplayableBatchRow
- type GetTokenByIdRow
- type GetTokenByUserTokenIdentifiersBatchBatchResults
- type GetTokenByUserTokenIdentifiersBatchParams
- type GetTokenByUserTokenIdentifiersBatchRow
- type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults
- type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchParams
- type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchRow
- type GetTokenByUserTokenIdentifiersParams
- type GetTokenByUserTokenIdentifiersRow
- type GetTokenDefinitionByIdBatchBatchResults
- type GetTokenDefinitionByTokenDbidBatchBatchResults
- type GetTokenDefinitionByTokenIdentifiersParams
- type GetTokenFullDetailsByUserTokenIdentifiersParams
- type GetTokenFullDetailsByUserTokenIdentifiersRow
- type GetTokensByCollectionIdBatchBatchResults
- type GetTokensByCollectionIdBatchParams
- type GetTokensByContractAddressUserIdParams
- type GetTokensByContractAddressUserIdRow
- type GetTokensByContractIdPaginateParams
- type GetTokensByContractIdPaginateRow
- type GetTokensByUserIdBatchBatchResults
- type GetTokensByUserIdBatchParams
- type GetTokensByUserIdBatchRow
- type GetTokensByWalletIdsBatchBatchResults
- type GetTokensByWalletIdsBatchRow
- type GetTopCollectionsForCommunityParams
- type GetUniqueTokenIdentifiersByTokenIDRow
- type GetUserByAddressAndL1BatchBatchResults
- type GetUserByAddressAndL1BatchParams
- type GetUserByAddressAndL1Params
- type GetUserByIdBatchBatchResults
- type GetUserByUsernameBatchBatchResults
- type GetUserNotificationsBatchBatchResults
- type GetUserNotificationsBatchParams
- type GetUserNotificationsParams
- type GetUserRolesByUserIdParams
- type GetUserUnseenNotificationsParams
- type GetUsersByChainAddressesParams
- type GetUsersByChainAddressesRow
- type GetUsersByIDsParams
- type GetUsersByPositionPaginateBatchBatchResults
- type GetUsersByPositionPaginateBatchParams
- type GetUsersByPositionPersonalizedBatchBatchResults
- type GetUsersByPositionPersonalizedBatchParams
- type GetUsersBySocialIDsParams
- type GetUsersByWalletAddressesAndChainsParams
- type GetUsersByWalletAddressesAndChainsRow
- type GetUsersWithEmailNotificationsOnForEmailTypeParams
- type GetUsersWithRolePaginateParams
- type GetUsersWithTraitBatchBatchResults
- type GetUsersWithoutSocialsRow
- type GetVisibleCollectionsByIDsPaginateBatchBatchResults
- type GetVisibleCollectionsByIDsPaginateBatchParams
- type GetWalletByAddressAndL1ChainParams
- type GetWalletByIDBatchBatchResults
- type GetWalletsByUserIDBatchBatchResults
- type GetWindowedTrendingUserIDsParams
- type HasLaterGroupedEventParams
- type HasMintedClaimsByUserIDParams
- type HasMintedClaimsByUserIDRow
- type HasMintedClaimsByWalletAddressParams
- type HasMintedClaimsByWalletAddressRow
- type HighlightMintClaim
- type InsertCommentMentionParams
- type InsertCommentParams
- type InsertMentionParams
- type InsertNonceParams
- type InsertPostMentionParams
- type InsertPostParams
- type InsertSpamContractsParams
- type InsertTokenPipelineResultsParams
- type InsertTokenPipelineResultsRow
- type InsertUserParams
- type InsertWalletParams
- type IsActorActionActiveParams
- type IsActorGalleryActiveParams
- type IsActorSubjectActionActiveParams
- type IsActorSubjectActiveParams
- type IsMemberOfCommunityParams
- type LegacyNonce
- type LegacyView
- type MarketplaceContract
- type MediaValidationRule
- type Membership
- type Mention
- type Merch
- type MigrationValidation
- type Nonce
- type Notification
- type OwnedCommunity
- type OwnedContract
- type PaginateAdmiresByCommentIDBatchBatchResults
- type PaginateAdmiresByCommentIDBatchParams
- type PaginateAdmiresByFeedEventIDBatchBatchResults
- type PaginateAdmiresByFeedEventIDBatchParams
- type PaginateAdmiresByPostIDBatchBatchResults
- type PaginateAdmiresByPostIDBatchParams
- type PaginateAdmiresByTokenIDBatchBatchResults
- type PaginateAdmiresByTokenIDBatchParams
- type PaginateCommentsByFeedEventIDBatchBatchResults
- type PaginateCommentsByFeedEventIDBatchParams
- type PaginateCommentsByPostIDBatchBatchResults
- type PaginateCommentsByPostIDBatchParams
- type PaginateGlobalFeedParams
- type PaginateHoldersByCommunityIDBatchResults
- type PaginateHoldersByCommunityIDParams
- type PaginateInteractionsByFeedEventIDBatchBatchResults
- type PaginateInteractionsByFeedEventIDBatchParams
- type PaginateInteractionsByFeedEventIDBatchRow
- type PaginateInteractionsByPostIDBatchBatchResults
- type PaginateInteractionsByPostIDBatchParams
- type PaginateInteractionsByPostIDBatchRow
- type PaginatePersonalFeedByUserIDParams
- type PaginatePostsByCommunityIDBatchResults
- type PaginatePostsByCommunityIDParams
- type PaginatePostsByContractIDAndProjectIDParams
- type PaginatePostsByContractIDBatchResults
- type PaginatePostsByContractIDParams
- type PaginatePostsByUserIDParams
- type PaginateRepliesByCommentIDBatchBatchResults
- type PaginateRepliesByCommentIDBatchParams
- type PaginateTokensAdmiredByUserIDBatchBatchResults
- type PaginateTokensAdmiredByUserIDBatchParams
- type PaginateTokensAdmiredByUserIDBatchRow
- type PaginateTokensByCommunityIDBatchResults
- type PaginateTokensByCommunityIDParams
- type PaginateTokensByCommunityIDRow
- type PiiAccountCreationInfo
- type PiiForUser
- type PiiSocialsAuth
- type PiiUserView
- type Post
- type PrivyUser
- type ProfileImage
- type PushNotificationTicket
- type PushNotificationToken
- type Queries
- func (q *Queries) AddCollectionToGallery(ctx context.Context, arg AddCollectionToGalleryParams) error
- func (q *Queries) AddManyFollows(ctx context.Context, arg AddManyFollowsParams) ([]bool, error)
- func (q *Queries) AddPiiAccountCreationInfo(ctx context.Context, arg AddPiiAccountCreationInfoParams) error
- func (q *Queries) AddSocialToUser(ctx context.Context, arg AddSocialToUserParams) error
- func (q *Queries) AddUserRoles(ctx context.Context, arg AddUserRolesParams) error
- func (q *Queries) BlockUser(ctx context.Context, arg BlockUserParams) (persist.DBID, error)
- func (q *Queries) BlockUserFromFeed(ctx context.Context, arg BlockUserFromFeedParams) error
- func (q *Queries) CheckUserOwnsAllTokenDbids(ctx context.Context, arg CheckUserOwnsAllTokenDbidsParams) (bool, error)
- func (q *Queries) ClearNotificationsForUser(ctx context.Context, ownerID persist.DBID) ([]Notification, error)
- func (q *Queries) ConsumeNonce(ctx context.Context, value string) (Nonce, error)
- func (q *Queries) CountAdmiresByCommentIDBatch(ctx context.Context, commentID []persist.DBID) *CountAdmiresByCommentIDBatchBatchResults
- func (q *Queries) CountAdmiresByFeedEventIDBatch(ctx context.Context, feedEventID []persist.DBID) *CountAdmiresByFeedEventIDBatchBatchResults
- func (q *Queries) CountAdmiresByPostIDBatch(ctx context.Context, postID []persist.DBID) *CountAdmiresByPostIDBatchBatchResults
- func (q *Queries) CountAdmiresByTokenIDBatch(ctx context.Context, tokenID []persist.DBID) *CountAdmiresByTokenIDBatchBatchResults
- func (q *Queries) CountAllUsers(ctx context.Context) (int64, error)
- func (q *Queries) CountCommentsAndRepliesByFeedEventID(ctx context.Context, feedEventID persist.DBID) (int64, error)
- func (q *Queries) CountCommentsAndRepliesByPostID(ctx context.Context, postID persist.DBID) (int64, error)
- func (q *Queries) CountCommentsByFeedEventIDBatch(ctx context.Context, feedEventID []persist.DBID) *CountCommentsByFeedEventIDBatchBatchResults
- func (q *Queries) CountCommentsByPostIDBatch(ctx context.Context, postID []persist.DBID) *CountCommentsByPostIDBatchBatchResults
- func (q *Queries) CountFollowersByUserID(ctx context.Context, followee persist.DBID) (int64, error)
- func (q *Queries) CountGalleriesDisplayingCommunityIDBatch(ctx context.Context, communityID []persist.DBID) *CountGalleriesDisplayingCommunityIDBatchBatchResults
- func (q *Queries) CountHoldersByCommunityID(ctx context.Context, communityID persist.DBID) (int64, error)
- func (q *Queries) CountInteractionsByFeedEventIDBatch(ctx context.Context, arg []CountInteractionsByFeedEventIDBatchParams) *CountInteractionsByFeedEventIDBatchBatchResults
- func (q *Queries) CountInteractionsByPostIDBatch(ctx context.Context, arg []CountInteractionsByPostIDBatchParams) *CountInteractionsByPostIDBatchBatchResults
- func (q *Queries) CountOwnersByContractId(ctx context.Context, arg CountOwnersByContractIdParams) (int64, error)
- func (q *Queries) CountPostsByCommunityID(ctx context.Context, communityID persist.DBID) (int64, error)
- func (q *Queries) CountPostsByContractID(ctx context.Context, contractID persist.DBID) (int64, error)
- func (q *Queries) CountPostsByUserID(ctx context.Context, actorID persist.DBID) (int64, error)
- func (q *Queries) CountRepliesByCommentIDBatch(ctx context.Context, commentID []persist.DBID) *CountRepliesByCommentIDBatchBatchResults
- func (q *Queries) CountSharedCommunities(ctx context.Context, arg CountSharedCommunitiesParams) (int64, error)
- func (q *Queries) CountSharedFollows(ctx context.Context, arg CountSharedFollowsParams) (int64, error)
- func (q *Queries) CountSocialConnections(ctx context.Context, arg CountSocialConnectionsParams) (int64, error)
- func (q *Queries) CountTokensAdmiredByUserID(ctx context.Context, actorID persist.DBID) (int64, error)
- func (q *Queries) CountTokensByCommunityID(ctx context.Context, communityID persist.DBID) (int64, error)
- func (q *Queries) CountTokensByContractId(ctx context.Context, arg CountTokensByContractIdParams) (int64, error)
- func (q *Queries) CountUserNotifications(ctx context.Context, ownerID persist.DBID) (int64, error)
- func (q *Queries) CountUserUnseenNotifications(ctx context.Context, ownerID persist.DBID) (int64, error)
- func (q *Queries) CreateAdmireEvent(ctx context.Context, arg CreateAdmireEventParams) (Event, error)
- func (q *Queries) CreateAdmireNotification(ctx context.Context, arg CreateAdmireNotificationParams) (Notification, error)
- func (q *Queries) CreateAnnouncementNotifications(ctx context.Context, arg CreateAnnouncementNotificationsParams) ([]Notification, error)
- func (q *Queries) CreateCollection(ctx context.Context, arg CreateCollectionParams) (persist.DBID, error)
- func (q *Queries) CreateCollectionEvent(ctx context.Context, arg CreateCollectionEventParams) (Event, error)
- func (q *Queries) CreateCommentAdmire(ctx context.Context, arg CreateCommentAdmireParams) (persist.DBID, error)
- func (q *Queries) CreateCommentEvent(ctx context.Context, arg CreateCommentEventParams) (Event, error)
- func (q *Queries) CreateCommentNotification(ctx context.Context, arg CreateCommentNotificationParams) (Notification, error)
- func (q *Queries) CreateCommunityEvent(ctx context.Context, arg CreateCommunityEventParams) (Event, error)
- func (q *Queries) CreateCommunityNotification(ctx context.Context, arg CreateCommunityNotificationParams) (Notification, error)
- func (q *Queries) CreateDataOnlyEvent(ctx context.Context, arg CreateDataOnlyEventParams) (Event, error)
- func (q *Queries) CreateFeedEvent(ctx context.Context, arg CreateFeedEventParams) (FeedEvent, error)
- func (q *Queries) CreateFeedEventAdmire(ctx context.Context, arg CreateFeedEventAdmireParams) (persist.DBID, error)
- func (q *Queries) CreateGalleryEvent(ctx context.Context, arg CreateGalleryEventParams) (Event, error)
- func (q *Queries) CreateMentionUserNotification(ctx context.Context, arg CreateMentionUserNotificationParams) (Notification, error)
- func (q *Queries) CreatePostAdmire(ctx context.Context, arg CreatePostAdmireParams) (persist.DBID, error)
- func (q *Queries) CreatePostEvent(ctx context.Context, arg CreatePostEventParams) (Event, error)
- func (q *Queries) CreatePostNotification(ctx context.Context, arg CreatePostNotificationParams) (Notification, error)
- func (q *Queries) CreatePushTickets(ctx context.Context, arg CreatePushTicketsParams) error
- func (q *Queries) CreatePushTokenForUser(ctx context.Context, arg CreatePushTokenForUserParams) (PushNotificationToken, error)
- func (q *Queries) CreateSimpleNotification(ctx context.Context, arg CreateSimpleNotificationParams) (Notification, error)
- func (q *Queries) CreateTokenAdmire(ctx context.Context, arg CreateTokenAdmireParams) (persist.DBID, error)
- func (q *Queries) CreateTokenEvent(ctx context.Context, arg CreateTokenEventParams) (Event, error)
- func (q *Queries) CreateTokenNotification(ctx context.Context, arg CreateTokenNotificationParams) (Notification, error)
- func (q *Queries) CreateUserEvent(ctx context.Context, arg CreateUserEventParams) (Event, error)
- func (q *Queries) CreateUserPostedYourWorkNotification(ctx context.Context, arg CreateUserPostedYourWorkNotificationParams) (Notification, error)
- func (q *Queries) CreateViewGalleryNotification(ctx context.Context, arg CreateViewGalleryNotificationParams) (Notification, error)
- func (q *Queries) DeleteAdmireByID(ctx context.Context, id persist.DBID) error
- func (q *Queries) DeleteCollections(ctx context.Context, ids []string) error
- func (q *Queries) DeletePostByID(ctx context.Context, id persist.DBID) error
- func (q *Queries) DeletePushTokensByIDs(ctx context.Context, ids []persist.DBID) error
- func (q *Queries) DeleteTokensBeforeTimestamp(ctx context.Context, arg DeleteTokensBeforeTimestampParams) (int64, error)
- func (q *Queries) DeleteUserByID(ctx context.Context, id persist.DBID) error
- func (q *Queries) DeleteUserRoles(ctx context.Context, arg DeleteUserRolesParams) error
- func (q *Queries) DeleteWalletByID(ctx context.Context, id persist.DBID) error
- func (q *Queries) GalleryRepoAddCollections(ctx context.Context, arg GalleryRepoAddCollectionsParams) (int64, error)
- func (q *Queries) GalleryRepoCheckOwnCollections(ctx context.Context, arg GalleryRepoCheckOwnCollectionsParams) (int64, error)
- func (q *Queries) GalleryRepoCountAllCollections(ctx context.Context, ownerUserID persist.DBID) (int64, error)
- func (q *Queries) GalleryRepoCountColls(ctx context.Context, id persist.DBID) (int64, error)
- func (q *Queries) GalleryRepoCreate(ctx context.Context, arg GalleryRepoCreateParams) (Gallery, error)
- func (q *Queries) GalleryRepoDelete(ctx context.Context, arg GalleryRepoDeleteParams) error
- func (q *Queries) GalleryRepoGetByUserIDRaw(ctx context.Context, ownerUserID persist.DBID) ([]Gallery, error)
- func (q *Queries) GalleryRepoGetGalleryCollections(ctx context.Context, id persist.DBID) ([]persist.DBID, error)
- func (q *Queries) GalleryRepoGetPreviewsForUserID(ctx context.Context, arg GalleryRepoGetPreviewsForUserIDParams) ([]string, error)
- func (q *Queries) GalleryRepoUpdate(ctx context.Context, arg GalleryRepoUpdateParams) (int64, error)
- func (q *Queries) GetActiveWallets(ctx context.Context) ([]Wallet, error)
- func (q *Queries) GetActorForGroup(ctx context.Context, groupID sql.NullString) (sql.NullString, error)
- func (q *Queries) GetAdmireByActorIDAndCommentID(ctx context.Context, arg []GetAdmireByActorIDAndCommentIDParams) *GetAdmireByActorIDAndCommentIDBatchResults
- func (q *Queries) GetAdmireByActorIDAndFeedEventID(ctx context.Context, arg []GetAdmireByActorIDAndFeedEventIDParams) *GetAdmireByActorIDAndFeedEventIDBatchResults
- func (q *Queries) GetAdmireByActorIDAndPostID(ctx context.Context, arg []GetAdmireByActorIDAndPostIDParams) *GetAdmireByActorIDAndPostIDBatchResults
- func (q *Queries) GetAdmireByActorIDAndTokenID(ctx context.Context, arg []GetAdmireByActorIDAndTokenIDParams) *GetAdmireByActorIDAndTokenIDBatchResults
- func (q *Queries) GetAdmireByAdmireID(ctx context.Context, id persist.DBID) (Admire, error)
- func (q *Queries) GetAdmireByAdmireIDBatch(ctx context.Context, id []persist.DBID) *GetAdmireByAdmireIDBatchBatchResults
- func (q *Queries) GetAdmiresByActorID(ctx context.Context, actorID persist.DBID) ([]Admire, error)
- func (q *Queries) GetAdmiresByActorIDBatch(ctx context.Context, actorID []persist.DBID) *GetAdmiresByActorIDBatchBatchResults
- func (q *Queries) GetAdmiresByAdmireIDs(ctx context.Context, admireIds []persist.DBID) ([]Admire, error)
- func (q *Queries) GetAllTimeTrendingUserIDs(ctx context.Context, limit int32) ([]persist.DBID, error)
- func (q *Queries) GetCheckablePushTickets(ctx context.Context, limit int32) ([]PushNotificationTicket, error)
- func (q *Queries) GetChildContractsByParentIDBatchPaginate(ctx context.Context, arg []GetChildContractsByParentIDBatchPaginateParams) *GetChildContractsByParentIDBatchPaginateBatchResults
- func (q *Queries) GetCollectionById(ctx context.Context, id persist.DBID) (Collection, error)
- func (q *Queries) GetCollectionByIdBatch(ctx context.Context, id []persist.DBID) *GetCollectionByIdBatchBatchResults
- func (q *Queries) GetCollectionTokensByCollectionID(ctx context.Context, id persist.DBID) (persist.DBIDList, error)
- func (q *Queries) GetCollectionsByGalleryId(ctx context.Context, id persist.DBID) ([]Collection, error)
- func (q *Queries) GetCollectionsByGalleryIdBatch(ctx context.Context, id []persist.DBID) *GetCollectionsByGalleryIdBatchBatchResults
- func (q *Queries) GetCommentByCommentID(ctx context.Context, id persist.DBID) (Comment, error)
- func (q *Queries) GetCommentByCommentIDBatch(ctx context.Context, id []persist.DBID) *GetCommentByCommentIDBatchBatchResults
- func (q *Queries) GetCommentsByCommentIDs(ctx context.Context, commentIds []persist.DBID) ([]Comment, error)
- func (q *Queries) GetCommunitiesByKeys(ctx context.Context, arg GetCommunitiesByKeysParams) ([]GetCommunitiesByKeysRow, error)
- func (q *Queries) GetCommunitiesByTokenDefinitionID(ctx context.Context, tokenDefinitionID []persist.DBID) *GetCommunitiesByTokenDefinitionIDBatchResults
- func (q *Queries) GetCommunityByID(ctx context.Context, id persist.DBID) (Community, error)
- func (q *Queries) GetCommunityByIDBatch(ctx context.Context, id []persist.DBID) *GetCommunityByIDBatchBatchResults
- func (q *Queries) GetCommunityByKey(ctx context.Context, arg []GetCommunityByKeyParams) *GetCommunityByKeyBatchResults
- func (q *Queries) GetCommunityContractProviders(ctx context.Context, contractIds []persist.DBID) ([]CommunityContractProvider, error)
- func (q *Queries) GetContractByChainAddress(ctx context.Context, arg GetContractByChainAddressParams) (Contract, error)
- func (q *Queries) GetContractByChainAddressBatch(ctx context.Context, arg []GetContractByChainAddressBatchParams) *GetContractByChainAddressBatchBatchResults
- func (q *Queries) GetContractByID(ctx context.Context, id persist.DBID) (Contract, error)
- func (q *Queries) GetContractCreatorsByIds(ctx context.Context, contractIds []string) ([]GetContractCreatorsByIdsRow, error)
- func (q *Queries) GetContractLabels(ctx context.Context, excludedContracts []string) ([]GetContractLabelsRow, error)
- func (q *Queries) GetContractsByIDs(ctx context.Context, contractIds []string) ([]GetContractsByIDsRow, error)
- func (q *Queries) GetContractsByTokenIDs(ctx context.Context, tokenIds []persist.DBID) ([]Contract, error)
- func (q *Queries) GetContractsDisplayedByUserIDBatch(ctx context.Context, userID []persist.DBID) *GetContractsDisplayedByUserIDBatchBatchResults
- func (q *Queries) GetCreatedContractsBatchPaginate(ctx context.Context, arg []GetCreatedContractsBatchPaginateParams) *GetCreatedContractsBatchPaginateBatchResults
- func (q *Queries) GetCreatedContractsByUserID(ctx context.Context, arg GetCreatedContractsByUserIDParams) ([]GetCreatedContractsByUserIDRow, error)
- func (q *Queries) GetCreatorsByCommunityID(ctx context.Context, communityID []persist.DBID) *GetCreatorsByCommunityIDBatchResults
- func (q *Queries) GetCurrentTime(ctx context.Context) (time.Time, error)
- func (q *Queries) GetEthereumWalletsForEnsProfileImagesByUserID(ctx context.Context, id persist.DBID) ([]Wallet, error)
- func (q *Queries) GetEvent(ctx context.Context, id persist.DBID) (Event, error)
- func (q *Queries) GetEventByIdBatch(ctx context.Context, id []persist.DBID) *GetEventByIdBatchBatchResults
- func (q *Queries) GetEventsInGroup(ctx context.Context, groupID sql.NullString) ([]Event, error)
- func (q *Queries) GetEventsInWindow(ctx context.Context, arg GetEventsInWindowParams) ([]Event, error)
- func (q *Queries) GetExternalFollowGraphSource(ctx context.Context) ([]GetExternalFollowGraphSourceRow, error)
- func (q *Queries) GetFarcasterConnections(ctx context.Context, arg GetFarcasterConnectionsParams) ([]GetFarcasterConnectionsRow, error)
- func (q *Queries) GetFeedEntityScores(ctx context.Context, arg GetFeedEntityScoresParams) ([]GetFeedEntityScoresRow, error)
- func (q *Queries) GetFeedEventByID(ctx context.Context, id persist.DBID) (FeedEvent, error)
- func (q *Queries) GetFeedEventsByIds(ctx context.Context, ids []string) ([]FeedEvent, error)
- func (q *Queries) GetFollowEdgesByUserID(ctx context.Context, follower persist.DBID) ([]Follow, error)
- func (q *Queries) GetFollowGraphSource(ctx context.Context) ([]GetFollowGraphSourceRow, error)
- func (q *Queries) GetFollowersByUserIdBatch(ctx context.Context, followee []persist.DBID) *GetFollowersByUserIdBatchBatchResults
- func (q *Queries) GetFollowingByUserIdBatch(ctx context.Context, follower []persist.DBID) *GetFollowingByUserIdBatchBatchResults
- func (q *Queries) GetFrameTokensByCommunityID(ctx context.Context, arg []GetFrameTokensByCommunityIDParams) *GetFrameTokensByCommunityIDBatchResults
- func (q *Queries) GetGalleriesByUserId(ctx context.Context, ownerUserID persist.DBID) ([]Gallery, error)
- func (q *Queries) GetGalleriesByUserIdBatch(ctx context.Context, ownerUserID []persist.DBID) *GetGalleriesByUserIdBatchBatchResults
- func (q *Queries) GetGalleriesDisplayingCommunityIDPaginateBatch(ctx context.Context, ...) *GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults
- func (q *Queries) GetGalleryByCollectionId(ctx context.Context, id persist.DBID) (Gallery, error)
- func (q *Queries) GetGalleryByCollectionIdBatch(ctx context.Context, id []persist.DBID) *GetGalleryByCollectionIdBatchBatchResults
- func (q *Queries) GetGalleryById(ctx context.Context, id persist.DBID) (Gallery, error)
- func (q *Queries) GetGalleryByIdBatch(ctx context.Context, id []persist.DBID) *GetGalleryByIdBatchBatchResults
- func (q *Queries) GetGalleryEventsInWindow(ctx context.Context, arg GetGalleryEventsInWindowParams) ([]Event, error)
- func (q *Queries) GetGalleryIDByCollectionID(ctx context.Context, id persist.DBID) (persist.DBID, error)
- func (q *Queries) GetGalleryTokenMediasByGalleryIDBatch(ctx context.Context, id []persist.DBID) *GetGalleryTokenMediasByGalleryIDBatchBatchResults
- func (q *Queries) GetHighlightMintClaimByID(ctx context.Context, id persist.DBID) (HighlightMintClaim, error)
- func (q *Queries) GetLastFeedEventForCollection(ctx context.Context, arg GetLastFeedEventForCollectionParams) (FeedEvent, error)
- func (q *Queries) GetLastFeedEventForToken(ctx context.Context, arg GetLastFeedEventForTokenParams) (FeedEvent, error)
- func (q *Queries) GetLastFeedEventForUser(ctx context.Context, arg GetLastFeedEventForUserParams) (FeedEvent, error)
- func (q *Queries) GetMediaByMediaIdIgnoringStatusBatch(ctx context.Context, id []persist.DBID) *GetMediaByMediaIdIgnoringStatusBatchBatchResults
- func (q *Queries) GetMediaByTokenIdentifiersIgnoringStatus(ctx context.Context, arg GetMediaByTokenIdentifiersIgnoringStatusParams) (TokenMedia, error)
- func (q *Queries) GetMembershipByMembershipId(ctx context.Context, id persist.DBID) (Membership, error)
- func (q *Queries) GetMembershipByMembershipIdBatch(ctx context.Context, id []persist.DBID) *GetMembershipByMembershipIdBatchBatchResults
- func (q *Queries) GetMentionByID(ctx context.Context, id persist.DBID) (Mention, error)
- func (q *Queries) GetMentionsByCommentID(ctx context.Context, commentID []persist.DBID) *GetMentionsByCommentIDBatchResults
- func (q *Queries) GetMentionsByPostID(ctx context.Context, postID []persist.DBID) *GetMentionsByPostIDBatchResults
- func (q *Queries) GetMerchDiscountCodeByTokenID(ctx context.Context, tokenHex persist.HexTokenID) (sql.NullString, error)
- func (q *Queries) GetMostActiveUsers(ctx context.Context, arg GetMostActiveUsersParams) ([]GetMostActiveUsersRow, error)
- func (q *Queries) GetMostRecentNotificationByOwnerIDForAction(ctx context.Context, arg GetMostRecentNotificationByOwnerIDForActionParams) (Notification, error)
- func (q *Queries) GetMostRecentNotificationByOwnerIDTokenIDForAction(ctx context.Context, ...) (Notification, error)
- func (q *Queries) GetNewTokensByFeedEventIdBatch(ctx context.Context, id []persist.DBID) *GetNewTokensByFeedEventIdBatchBatchResults
- func (q *Queries) GetNotificationByID(ctx context.Context, id persist.DBID) (Notification, error)
- func (q *Queries) GetNotificationByIDBatch(ctx context.Context, id []persist.DBID) *GetNotificationByIDBatchBatchResults
- func (q *Queries) GetNotificationsByOwnerIDForActionAfter(ctx context.Context, arg GetNotificationsByOwnerIDForActionAfterParams) ([]Notification, error)
- func (q *Queries) GetOnboardingUserRecommendations(ctx context.Context, limit int32) ([]User, error)
- func (q *Queries) GetOwnersByContractIdBatchPaginate(ctx context.Context, arg []GetOwnersByContractIdBatchPaginateParams) *GetOwnersByContractIdBatchPaginateBatchResults
- func (q *Queries) GetPostByID(ctx context.Context, id persist.DBID) (Post, error)
- func (q *Queries) GetPostByIdBatch(ctx context.Context, id []persist.DBID) *GetPostByIdBatchBatchResults
- func (q *Queries) GetPostsByIdsPaginateBatch(ctx context.Context, arg []GetPostsByIdsPaginateBatchParams) *GetPostsByIdsPaginateBatchBatchResults
- func (q *Queries) GetPotentialENSProfileImageByUserId(ctx context.Context, arg GetPotentialENSProfileImageByUserIdParams) (GetPotentialENSProfileImageByUserIdRow, error)
- func (q *Queries) GetPreviewURLsByContractIdAndUserId(ctx context.Context, arg GetPreviewURLsByContractIdAndUserIdParams) ([]string, error)
- func (q *Queries) GetProfileImageByIdBatch(ctx context.Context, arg []GetProfileImageByIdBatchParams) *GetProfileImageByIdBatchBatchResults
- func (q *Queries) GetPushTokenByPushToken(ctx context.Context, pushToken string) (PushNotificationToken, error)
- func (q *Queries) GetPushTokensByIDs(ctx context.Context, ids []string) ([]PushNotificationToken, error)
- func (q *Queries) GetPushTokensByUserID(ctx context.Context, userID persist.DBID) ([]PushNotificationToken, error)
- func (q *Queries) GetRecentUnseenNotifications(ctx context.Context, arg GetRecentUnseenNotificationsParams) ([]Notification, error)
- func (q *Queries) GetReprocessJobRangeByID(ctx context.Context, id int) (ReprocessJob, error)
- func (q *Queries) GetSVGTokensWithContractsByIDs(ctx context.Context, arg GetSVGTokensWithContractsByIDsParams) ([]GetSVGTokensWithContractsByIDsRow, error)
- func (q *Queries) GetSharedCommunitiesBatchPaginate(ctx context.Context, arg []GetSharedCommunitiesBatchPaginateParams) *GetSharedCommunitiesBatchPaginateBatchResults
- func (q *Queries) GetSharedFollowersBatchPaginate(ctx context.Context, arg []GetSharedFollowersBatchPaginateParams) *GetSharedFollowersBatchPaginateBatchResults
- func (q *Queries) GetSocialAuthByUserID(ctx context.Context, arg GetSocialAuthByUserIDParams) (PiiSocialsAuth, error)
- func (q *Queries) GetSocialConnections(ctx context.Context, arg GetSocialConnectionsParams) ([]GetSocialConnectionsRow, error)
- func (q *Queries) GetSocialConnectionsPaginate(ctx context.Context, arg GetSocialConnectionsPaginateParams) ([]GetSocialConnectionsPaginateRow, error)
- func (q *Queries) GetSocialsByUserID(ctx context.Context, id persist.DBID) (persist.Socials, error)
- func (q *Queries) GetTokenById(ctx context.Context, id persist.DBID) (GetTokenByIdRow, error)
- func (q *Queries) GetTokenByIdBatch(ctx context.Context, id []persist.DBID) *GetTokenByIdBatchBatchResults
- func (q *Queries) GetTokenByIdIgnoreDisplayableBatch(ctx context.Context, id []persist.DBID) *GetTokenByIdIgnoreDisplayableBatchBatchResults
- func (q *Queries) GetTokenByUserTokenIdentifiers(ctx context.Context, arg GetTokenByUserTokenIdentifiersParams) (GetTokenByUserTokenIdentifiersRow, error)
- func (q *Queries) GetTokenByUserTokenIdentifiersBatch(ctx context.Context, arg []GetTokenByUserTokenIdentifiersBatchParams) *GetTokenByUserTokenIdentifiersBatchBatchResults
- func (q *Queries) GetTokenByUserTokenIdentifiersIgnoreDisplayableBatch(ctx context.Context, ...) *GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults
- func (q *Queries) GetTokenDefinitionById(ctx context.Context, id persist.DBID) (TokenDefinition, error)
- func (q *Queries) GetTokenDefinitionByIdBatch(ctx context.Context, id []persist.DBID) *GetTokenDefinitionByIdBatchBatchResults
- func (q *Queries) GetTokenDefinitionByTokenDbid(ctx context.Context, id persist.DBID) (TokenDefinition, error)
- func (q *Queries) GetTokenDefinitionByTokenDbidBatch(ctx context.Context, id []persist.DBID) *GetTokenDefinitionByTokenDbidBatchBatchResults
- func (q *Queries) GetTokenDefinitionByTokenIdentifiers(ctx context.Context, arg GetTokenDefinitionByTokenIdentifiersParams) (TokenDefinition, error)
- func (q *Queries) GetTokenFullDetailsByUserTokenIdentifiers(ctx context.Context, arg GetTokenFullDetailsByUserTokenIdentifiersParams) (GetTokenFullDetailsByUserTokenIdentifiersRow, error)
- func (q *Queries) GetTokensByCollectionIdBatch(ctx context.Context, arg []GetTokensByCollectionIdBatchParams) *GetTokensByCollectionIdBatchBatchResults
- func (q *Queries) GetTokensByContractAddressUserId(ctx context.Context, arg GetTokensByContractAddressUserIdParams) ([]GetTokensByContractAddressUserIdRow, error)
- func (q *Queries) GetTokensByContractIdPaginate(ctx context.Context, arg GetTokensByContractIdPaginateParams) ([]GetTokensByContractIdPaginateRow, error)
- func (q *Queries) GetTokensByUserIdBatch(ctx context.Context, arg []GetTokensByUserIdBatchParams) *GetTokensByUserIdBatchBatchResults
- func (q *Queries) GetTokensByWalletIdsBatch(ctx context.Context, ownedByWallets []persist.DBIDList) *GetTokensByWalletIdsBatchBatchResults
- func (q *Queries) GetTopCollectionsForCommunity(ctx context.Context, arg GetTopCollectionsForCommunityParams) ([]persist.DBID, error)
- func (q *Queries) GetTopCommunitiesByPosts(ctx context.Context, windowEnd time.Time) ([]persist.DBID, error)
- func (q *Queries) GetTopGalleriesByViews(ctx context.Context, windowEnd time.Time) ([]persist.DBID, error)
- func (q *Queries) GetTopRecommendedUserIDs(ctx context.Context) ([]persist.DBID, error)
- func (q *Queries) GetTrendingUsersByIDs(ctx context.Context, userIds []string) ([]User, error)
- func (q *Queries) GetUniqueTokenIdentifiersByTokenID(ctx context.Context, id persist.DBID) (GetUniqueTokenIdentifiersByTokenIDRow, error)
- func (q *Queries) GetUserByAddressAndL1(ctx context.Context, arg GetUserByAddressAndL1Params) (User, error)
- func (q *Queries) GetUserByAddressAndL1Batch(ctx context.Context, arg []GetUserByAddressAndL1BatchParams) *GetUserByAddressAndL1BatchBatchResults
- func (q *Queries) GetUserById(ctx context.Context, id persist.DBID) (User, error)
- func (q *Queries) GetUserByIdBatch(ctx context.Context, id []persist.DBID) *GetUserByIdBatchBatchResults
- func (q *Queries) GetUserByPrivyDID(ctx context.Context, privyDid string) (User, error)
- func (q *Queries) GetUserByUsername(ctx context.Context, username string) (User, error)
- func (q *Queries) GetUserByUsernameBatch(ctx context.Context, lower []string) *GetUserByUsernameBatchBatchResults
- func (q *Queries) GetUserByVerifiedEmailAddress(ctx context.Context, lower string) (User, error)
- func (q *Queries) GetUserByWalletID(ctx context.Context, wallet string) (User, error)
- func (q *Queries) GetUserExperiencesByUserID(ctx context.Context, id persist.DBID) (pgtype.JSONB, error)
- func (q *Queries) GetUserIsBlockedFromFeed(ctx context.Context, userID persist.DBID) (bool, error)
- func (q *Queries) GetUserLabels(ctx context.Context) ([]persist.DBID, error)
- func (q *Queries) GetUserNotifications(ctx context.Context, arg GetUserNotificationsParams) ([]Notification, error)
- func (q *Queries) GetUserNotificationsBatch(ctx context.Context, arg []GetUserNotificationsBatchParams) *GetUserNotificationsBatchBatchResults
- func (q *Queries) GetUserRolesByUserId(ctx context.Context, arg GetUserRolesByUserIdParams) ([]persist.Role, error)
- func (q *Queries) GetUserUnseenNotifications(ctx context.Context, arg GetUserUnseenNotificationsParams) ([]Notification, error)
- func (q *Queries) GetUserWithPIIByID(ctx context.Context, userID persist.DBID) (PiiUserView, error)
- func (q *Queries) GetUsersByChainAddresses(ctx context.Context, arg GetUsersByChainAddressesParams) ([]GetUsersByChainAddressesRow, error)
- func (q *Queries) GetUsersByFarcasterIDs(ctx context.Context, fids []string) ([]User, error)
- func (q *Queries) GetUsersByIDs(ctx context.Context, arg GetUsersByIDsParams) ([]User, error)
- func (q *Queries) GetUsersByPositionPaginateBatch(ctx context.Context, arg []GetUsersByPositionPaginateBatchParams) *GetUsersByPositionPaginateBatchBatchResults
- func (q *Queries) GetUsersByPositionPersonalizedBatch(ctx context.Context, arg []GetUsersByPositionPersonalizedBatchParams) *GetUsersByPositionPersonalizedBatchBatchResults
- func (q *Queries) GetUsersBySocialIDs(ctx context.Context, arg GetUsersBySocialIDsParams) ([]PiiUserView, error)
- func (q *Queries) GetUsersByWalletAddressesAndChains(ctx context.Context, arg GetUsersByWalletAddressesAndChainsParams) ([]GetUsersByWalletAddressesAndChainsRow, error)
- func (q *Queries) GetUsersWithEmailNotificationsOnForEmailType(ctx context.Context, arg GetUsersWithEmailNotificationsOnForEmailTypeParams) ([]PiiUserView, error)
- func (q *Queries) GetUsersWithRolePaginate(ctx context.Context, arg GetUsersWithRolePaginateParams) ([]User, error)
- func (q *Queries) GetUsersWithTrait(ctx context.Context, dollar_1 string) ([]User, error)
- func (q *Queries) GetUsersWithTraitBatch(ctx context.Context, dollar_1 []string) *GetUsersWithTraitBatchBatchResults
- func (q *Queries) GetUsersWithoutSocials(ctx context.Context) ([]GetUsersWithoutSocialsRow, error)
- func (q *Queries) GetVisibleCollectionsByIDsPaginateBatch(ctx context.Context, arg []GetVisibleCollectionsByIDsPaginateBatchParams) *GetVisibleCollectionsByIDsPaginateBatchBatchResults
- func (q *Queries) GetWalletByAddressAndL1Chain(ctx context.Context, arg GetWalletByAddressAndL1ChainParams) (Wallet, error)
- func (q *Queries) GetWalletByID(ctx context.Context, id persist.DBID) (Wallet, error)
- func (q *Queries) GetWalletByIDBatch(ctx context.Context, id []persist.DBID) *GetWalletByIDBatchBatchResults
- func (q *Queries) GetWalletsByUserID(ctx context.Context, id persist.DBID) ([]Wallet, error)
- func (q *Queries) GetWalletsByUserIDBatch(ctx context.Context, id []persist.DBID) *GetWalletsByUserIDBatchBatchResults
- func (q *Queries) GetWindowedTrendingUserIDs(ctx context.Context, arg GetWindowedTrendingUserIDsParams) ([]persist.DBID, error)
- func (q *Queries) HasLaterGroupedEvent(ctx context.Context, arg HasLaterGroupedEventParams) (bool, error)
- func (q *Queries) HasMintedClaimsByUserID(ctx context.Context, arg HasMintedClaimsByUserIDParams) (HasMintedClaimsByUserIDRow, error)
- func (q *Queries) HasMintedClaimsByWalletAddress(ctx context.Context, arg HasMintedClaimsByWalletAddressParams) (HasMintedClaimsByWalletAddressRow, error)
- func (q *Queries) InsertComment(ctx context.Context, arg InsertCommentParams) (persist.DBID, error)
- func (q *Queries) InsertCommentMention(ctx context.Context, arg InsertCommentMentionParams) (Mention, error)
- func (q *Queries) InsertMention(ctx context.Context, arg InsertMentionParams) (persist.DBID, error)
- func (q *Queries) InsertNonce(ctx context.Context, arg InsertNonceParams) (Nonce, error)
- func (q *Queries) InsertPost(ctx context.Context, arg InsertPostParams) (persist.DBID, error)
- func (q *Queries) InsertPostMention(ctx context.Context, arg InsertPostMentionParams) (Mention, error)
- func (q *Queries) InsertSpamContracts(ctx context.Context, arg InsertSpamContractsParams) error
- func (q *Queries) InsertTokenPipelineResults(ctx context.Context, arg InsertTokenPipelineResultsParams) (InsertTokenPipelineResultsRow, error)
- func (q *Queries) InsertUser(ctx context.Context, arg InsertUserParams) (persist.DBID, error)
- func (q *Queries) InsertWallet(ctx context.Context, arg InsertWalletParams) error
- func (q *Queries) InvalidateSession(ctx context.Context, id persist.DBID) error
- func (q *Queries) IsActorActionActive(ctx context.Context, arg IsActorActionActiveParams) (bool, error)
- func (q *Queries) IsActorGalleryActive(ctx context.Context, arg IsActorGalleryActiveParams) (bool, error)
- func (q *Queries) IsActorSubjectActionActive(ctx context.Context, arg IsActorSubjectActionActiveParams) (bool, error)
- func (q *Queries) IsActorSubjectActive(ctx context.Context, arg IsActorSubjectActiveParams) (bool, error)
- func (q *Queries) IsFeedEventExistsForGroup(ctx context.Context, groupID sql.NullString) (bool, error)
- func (q *Queries) IsMemberOfCommunity(ctx context.Context, arg IsMemberOfCommunityParams) (bool, error)
- func (q *Queries) PaginateAdmiresByCommentIDBatch(ctx context.Context, arg []PaginateAdmiresByCommentIDBatchParams) *PaginateAdmiresByCommentIDBatchBatchResults
- func (q *Queries) PaginateAdmiresByFeedEventIDBatch(ctx context.Context, arg []PaginateAdmiresByFeedEventIDBatchParams) *PaginateAdmiresByFeedEventIDBatchBatchResults
- func (q *Queries) PaginateAdmiresByPostIDBatch(ctx context.Context, arg []PaginateAdmiresByPostIDBatchParams) *PaginateAdmiresByPostIDBatchBatchResults
- func (q *Queries) PaginateAdmiresByTokenIDBatch(ctx context.Context, arg []PaginateAdmiresByTokenIDBatchParams) *PaginateAdmiresByTokenIDBatchBatchResults
- func (q *Queries) PaginateCommentsByFeedEventIDBatch(ctx context.Context, arg []PaginateCommentsByFeedEventIDBatchParams) *PaginateCommentsByFeedEventIDBatchBatchResults
- func (q *Queries) PaginateCommentsByPostIDBatch(ctx context.Context, arg []PaginateCommentsByPostIDBatchParams) *PaginateCommentsByPostIDBatchBatchResults
- func (q *Queries) PaginateGlobalFeed(ctx context.Context, arg PaginateGlobalFeedParams) ([]FeedEntity, error)
- func (q *Queries) PaginateHoldersByCommunityID(ctx context.Context, arg []PaginateHoldersByCommunityIDParams) *PaginateHoldersByCommunityIDBatchResults
- func (q *Queries) PaginateInteractionsByFeedEventIDBatch(ctx context.Context, arg []PaginateInteractionsByFeedEventIDBatchParams) *PaginateInteractionsByFeedEventIDBatchBatchResults
- func (q *Queries) PaginateInteractionsByPostIDBatch(ctx context.Context, arg []PaginateInteractionsByPostIDBatchParams) *PaginateInteractionsByPostIDBatchBatchResults
- func (q *Queries) PaginatePersonalFeedByUserID(ctx context.Context, arg PaginatePersonalFeedByUserIDParams) ([]FeedEntity, error)
- func (q *Queries) PaginatePostsByCommunityID(ctx context.Context, arg []PaginatePostsByCommunityIDParams) *PaginatePostsByCommunityIDBatchResults
- func (q *Queries) PaginatePostsByContractID(ctx context.Context, arg []PaginatePostsByContractIDParams) *PaginatePostsByContractIDBatchResults
- func (q *Queries) PaginatePostsByContractIDAndProjectID(ctx context.Context, arg PaginatePostsByContractIDAndProjectIDParams) ([]Post, error)
- func (q *Queries) PaginatePostsByUserID(ctx context.Context, arg PaginatePostsByUserIDParams) ([]Post, error)
- func (q *Queries) PaginateRepliesByCommentIDBatch(ctx context.Context, arg []PaginateRepliesByCommentIDBatchParams) *PaginateRepliesByCommentIDBatchBatchResults
- func (q *Queries) PaginateTokensAdmiredByUserIDBatch(ctx context.Context, arg []PaginateTokensAdmiredByUserIDBatchParams) *PaginateTokensAdmiredByUserIDBatchBatchResults
- func (q *Queries) PaginateTokensByCommunityID(ctx context.Context, arg []PaginateTokensByCommunityIDParams) *PaginateTokensByCommunityIDBatchResults
- func (q *Queries) RedeemMerch(ctx context.Context, arg RedeemMerchParams) (sql.NullString, error)
- func (q *Queries) RemoveCollectionFromGallery(ctx context.Context, arg RemoveCollectionFromGalleryParams) error
- func (q *Queries) RemoveComment(ctx context.Context, id persist.DBID) error
- func (q *Queries) RemoveContractOverrideCreator(ctx context.Context, contractID persist.DBID) error
- func (q *Queries) RemoveProfileImage(ctx context.Context, id persist.DBID) error
- func (q *Queries) RemoveSocialFromUser(ctx context.Context, arg RemoveSocialFromUserParams) error
- func (q *Queries) RemoveStaleCreatorStatusFromTokens(ctx context.Context, userID persist.DBID) error
- func (q *Queries) RemoveWalletFromTokens(ctx context.Context, arg RemoveWalletFromTokensParams) error
- func (q *Queries) ReportPost(ctx context.Context, arg ReportPostParams) (persist.DBID, error)
- func (q *Queries) SaveHighlightMintClaim(ctx context.Context, arg SaveHighlightMintClaimParams) (persist.DBID, error)
- func (q *Queries) SearchCommunities(ctx context.Context, arg SearchCommunitiesParams) ([]Community, error)
- func (q *Queries) SearchGalleries(ctx context.Context, arg SearchGalleriesParams) ([]Gallery, error)
- func (q *Queries) SearchUsers(ctx context.Context, arg SearchUsersParams) ([]User, error)
- func (q *Queries) SetContractOverrideCreator(ctx context.Context, arg SetContractOverrideCreatorParams) error
- func (q *Queries) SetPersonaByUserID(ctx context.Context, arg SetPersonaByUserIDParams) error
- func (q *Queries) SetPrivyDIDForUser(ctx context.Context, arg SetPrivyDIDForUserParams) error
- func (q *Queries) SetProfileImageToENS(ctx context.Context, arg SetProfileImageToENSParams) (SetProfileImageToENSRow, error)
- func (q *Queries) SetProfileImageToToken(ctx context.Context, arg SetProfileImageToTokenParams) error
- func (q *Queries) UnblockUser(ctx context.Context, arg UnblockUserParams) error
- func (q *Queries) UnblockUserFromFeed(ctx context.Context, userID persist.DBID) error
- func (q *Queries) UpdateCollectionGallery(ctx context.Context, arg UpdateCollectionGalleryParams) error
- func (q *Queries) UpdateCollectionTokens(ctx context.Context, arg UpdateCollectionTokensParams) error
- func (q *Queries) UpdateCollectionsInfo(ctx context.Context, arg UpdateCollectionsInfoParams) error
- func (q *Queries) UpdateEventCaptionByGroup(ctx context.Context, arg UpdateEventCaptionByGroupParams) error
- func (q *Queries) UpdateFeedEventCaptionByGroup(ctx context.Context, groupID sql.NullString) (FeedEvent, error)
- func (q *Queries) UpdateGalleryCollections(ctx context.Context, arg UpdateGalleryCollectionsParams) error
- func (q *Queries) UpdateGalleryHidden(ctx context.Context, arg UpdateGalleryHiddenParams) (Gallery, error)
- func (q *Queries) UpdateGalleryInfo(ctx context.Context, arg UpdateGalleryInfoParams) error
- func (q *Queries) UpdateGalleryPositions(ctx context.Context, arg UpdateGalleryPositionsParams) error
- func (q *Queries) UpdateHighlightMintClaimStatus(ctx context.Context, arg UpdateHighlightMintClaimStatusParams) (HighlightMintClaim, error)
- func (q *Queries) UpdateHighlightMintClaimStatusMediaProcessing(ctx context.Context, arg UpdateHighlightMintClaimStatusMediaProcessingParams) (HighlightMintClaim, error)
- func (q *Queries) UpdateHighlightMintClaimStatusTxSucceeded(ctx context.Context, arg UpdateHighlightMintClaimStatusTxSucceededParams) (HighlightMintClaim, error)
- func (q *Queries) UpdateNotification(ctx context.Context, arg UpdateNotificationParams) error
- func (q *Queries) UpdateNotificationSettingsByID(ctx context.Context, arg UpdateNotificationSettingsByIDParams) error
- func (q *Queries) UpdatePushTickets(ctx context.Context, arg UpdatePushTicketsParams) error
- func (q *Queries) UpdateTokenCollectorsNoteByTokenDbidUserId(ctx context.Context, arg UpdateTokenCollectorsNoteByTokenDbidUserIdParams) error
- func (q *Queries) UpdateTokenMetadataFieldsByTokenIdentifiers(ctx context.Context, arg UpdateTokenMetadataFieldsByTokenIdentifiersParams) (TokenDefinition, error)
- func (q *Queries) UpdateTokensAsUserMarkedSpam(ctx context.Context, arg UpdateTokensAsUserMarkedSpamParams) error
- func (q *Queries) UpdateTopActiveUsers(ctx context.Context, topUserIds []persist.DBID) error
- func (q *Queries) UpdateUserEmailUnsubscriptions(ctx context.Context, arg UpdateUserEmailUnsubscriptionsParams) error
- func (q *Queries) UpdateUserExperience(ctx context.Context, arg UpdateUserExperienceParams) error
- func (q *Queries) UpdateUserFeaturedGallery(ctx context.Context, arg UpdateUserFeaturedGalleryParams) error
- func (q *Queries) UpdateUserPrimaryWallet(ctx context.Context, arg UpdateUserPrimaryWalletParams) error
- func (q *Queries) UpdateUserSocials(ctx context.Context, arg UpdateUserSocialsParams) error
- func (q *Queries) UpdateUserUnverifiedEmail(ctx context.Context, arg UpdateUserUnverifiedEmailParams) error
- func (q *Queries) UpdateUserVerifiedEmail(ctx context.Context, arg UpdateUserVerifiedEmailParams) error
- func (q *Queries) UpdatedRecommendationResults(ctx context.Context, arg UpdatedRecommendationResultsParams) error
- func (q *Queries) UpsertCommunities(ctx context.Context, arg UpsertCommunitiesParams) ([]Community, error)
- func (q *Queries) UpsertCommunityContractProviders(ctx context.Context, arg UpsertCommunityContractProvidersParams) error
- func (q *Queries) UpsertCommunityCreators(ctx context.Context, arg UpsertCommunityCreatorsParams) ([]CommunityCreator, error)
- func (q *Queries) UpsertContractCommunityMemberships(ctx context.Context, arg UpsertContractCommunityMembershipsParams) ([]ContractCommunityMembership, error)
- func (q *Queries) UpsertParentContracts(ctx context.Context, arg UpsertParentContractsParams) ([]Contract, error)
- func (q *Queries) UpsertSession(ctx context.Context, arg UpsertSessionParams) (Session, error)
- func (q *Queries) UpsertSocialOAuth(ctx context.Context, arg UpsertSocialOAuthParams) error
- func (q *Queries) UpsertTokenCommunityMemberships(ctx context.Context, arg UpsertTokenCommunityMembershipsParams) ([]TokenCommunityMembership, error)
- func (q *Queries) UpsertTokenDefinitionCommunityMemberships(ctx context.Context, arg UpsertTokenDefinitionCommunityMembershipsParams) ([]TokenCommunityMembership, error)
- func (q *Queries) UpsertTokenDefinitions(ctx context.Context, arg UpsertTokenDefinitionsParams) ([]UpsertTokenDefinitionsRow, error)
- func (q *Queries) UpsertTokens(ctx context.Context, arg UpsertTokensParams) ([]UpsertTokensRow, error)
- func (q *Queries) UserHasDuplicateGalleryPositions(ctx context.Context, ownerUserID persist.DBID) (bool, error)
- func (q *Queries) UserOwnsCollection(ctx context.Context, arg UserOwnsCollectionParams) (bool, error)
- func (q *Queries) UserOwnsGallery(ctx context.Context, arg UserOwnsGalleryParams) (bool, error)
- func (q *Queries) UsersFollowUser(ctx context.Context, arg UsersFollowUserParams) ([]bool, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type RecommendationResult
- type RedeemMerchParams
- type RemoveCollectionFromGalleryParams
- type RemoveSocialFromUserParams
- type RemoveWalletFromTokensParams
- type ReportPostParams
- type ReportedPost
- type ReprocessJob
- type SaveHighlightMintClaimParams
- type ScrubbedPiiAccountCreationInfo
- type ScrubbedPiiForUser
- type SearchCommunitiesParams
- type SearchGalleriesParams
- type SearchUsersParams
- type Session
- type SetContractOverrideCreatorParams
- type SetPersonaByUserIDParams
- type SetPrivyDIDForUserParams
- type SetProfileImageToENSParams
- type SetProfileImageToENSRow
- type SetProfileImageToTokenParams
- type SpamUserScore
- type Token
- type TokenCommunityMembership
- type TokenDefinition
- type TokenMedia
- type TokenMediasActive
- type TokenMediasMissingProperty
- type TokenMediasNoValidationRule
- type TokenProcessingJob
- type TopRecommendedUser
- type UnblockUserParams
- type UpdateCollectionGalleryParams
- type UpdateCollectionTokensParams
- type UpdateCollectionsInfoParams
- type UpdateEventCaptionByGroupParams
- type UpdateGalleryCollectionsParams
- type UpdateGalleryHiddenParams
- type UpdateGalleryInfoParams
- type UpdateGalleryPositionsParams
- type UpdateHighlightMintClaimStatusMediaProcessingParams
- type UpdateHighlightMintClaimStatusParams
- type UpdateHighlightMintClaimStatusTxSucceededParams
- type UpdateNotificationParams
- type UpdateNotificationSettingsByIDParams
- type UpdatePushTicketsParams
- type UpdateTokenCollectorsNoteByTokenDbidUserIdParams
- type UpdateTokenMetadataFieldsByTokenIdentifiersParams
- type UpdateTokensAsUserMarkedSpamParams
- type UpdateUserEmailUnsubscriptionsParams
- type UpdateUserExperienceParams
- type UpdateUserFeaturedGalleryParams
- type UpdateUserPrimaryWalletParams
- type UpdateUserSocialsParams
- type UpdateUserUnverifiedEmailParams
- type UpdateUserVerifiedEmailParams
- type UpdatedRecommendationResultsParams
- type UpsertCommunitiesParams
- type UpsertCommunityContractProvidersParams
- type UpsertCommunityCreatorsParams
- type UpsertContractCommunityMembershipsParams
- type UpsertParentContractsParams
- type UpsertSessionParams
- type UpsertSocialOAuthParams
- type UpsertTokenCommunityMembershipsParams
- type UpsertTokenDefinitionCommunityMembershipsParams
- type UpsertTokenDefinitionsParams
- type UpsertTokenDefinitionsRow
- type UpsertTokensParams
- type UpsertTokensRow
- type User
- type UserBlocklist
- type UserInternalRecommendation
- type UserOwnsCollectionParams
- type UserOwnsGalleryParams
- type UserRelevance
- type UserRole
- type UsersFollowUserParams
- type Wallet
Constants ¶
This section is empty.
Variables ¶
var (
ErrBatchAlreadyClosed = errors.New("batch already closed")
)
Functions ¶
This section is empty.
Types ¶
type AddManyFollowsParams ¶
type AddSocialToUserParams ¶
type AddUserRolesParams ¶
type Admire ¶
type Admire struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` Deleted bool `db:"deleted" json:"deleted"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` PostID persist.DBID `db:"post_id" json:"post_id"` TokenID persist.DBID `db:"token_id" json:"token_id"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` }
type AlchemySpamContract ¶
type BlockUserFromFeedParams ¶
type BlockUserParams ¶
type Collection ¶
type Collection struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` OwnerUserID persist.DBID `db:"owner_user_id" json:"owner_user_id"` Nfts persist.DBIDList `db:"nfts" json:"nfts"` Version sql.NullInt32 `db:"version" json:"version"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Hidden bool `db:"hidden" json:"hidden"` CollectorsNote sql.NullString `db:"collectors_note" json:"collectors_note"` Name sql.NullString `db:"name" json:"name"` Layout persist.TokenLayout `db:"layout" json:"layout"` TokenSettings map[persist.DBID]persist.CollectionTokenSettings `db:"token_settings" json:"token_settings"` GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` }
type Comment ¶
type Comment struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` ReplyTo persist.DBID `db:"reply_to" json:"reply_to"` Comment string `db:"comment" json:"comment"` Deleted bool `db:"deleted" json:"deleted"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` PostID persist.DBID `db:"post_id" json:"post_id"` Removed bool `db:"removed" json:"removed"` TopLevelCommentID persist.DBID `db:"top_level_comment_id" json:"top_level_comment_id"` }
type Community ¶
type Community struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` CommunityType persist.CommunityType `db:"community_type" json:"community_type"` Key1 string `db:"key1" json:"key1"` Key2 string `db:"key2" json:"key2"` Key3 string `db:"key3" json:"key3"` Key4 string `db:"key4" json:"key4"` Name string `db:"name" json:"name"` OverrideName sql.NullString `db:"override_name" json:"override_name"` Description string `db:"description" json:"description"` OverrideDescription sql.NullString `db:"override_description" json:"override_description"` ProfileImageUrl sql.NullString `db:"profile_image_url" json:"profile_image_url"` OverrideProfileImageUrl sql.NullString `db:"override_profile_image_url" json:"override_profile_image_url"` BadgeUrl sql.NullString `db:"badge_url" json:"badge_url"` OverrideBadgeUrl sql.NullString `db:"override_badge_url" json:"override_badge_url"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` WebsiteUrl sql.NullString `db:"website_url" json:"website_url"` OverrideWebsiteUrl sql.NullString `db:"override_website_url" json:"override_website_url"` MintUrl sql.NullString `db:"mint_url" json:"mint_url"` OverrideMintUrl sql.NullString `db:"override_mint_url" json:"override_mint_url"` }
type CommunityContractProvider ¶
type CommunityContractProvider struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` CommunityType persist.CommunityType `db:"community_type" json:"community_type"` IsValidProvider bool `db:"is_valid_provider" json:"is_valid_provider"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` }
type CommunityCreator ¶
type CommunityCreator struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` CreatorType persist.CommunityCreatorType `db:"creator_type" json:"creator_type"` CommunityID persist.DBID `db:"community_id" json:"community_id"` CreatorUserID persist.DBID `db:"creator_user_id" json:"creator_user_id"` CreatorAddress persist.Address `db:"creator_address" json:"creator_address"` CreatorAddressL1Chain persist.L1Chain `db:"creator_address_l1_chain" json:"creator_address_l1_chain"` CreatorAddressChain persist.Chain `db:"creator_address_chain" json:"creator_address_chain"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` }
type CommunityGallery ¶
type CommunityGallery struct { UserID persist.DBID `db:"user_id" json:"user_id"` CommunityID persist.DBID `db:"community_id" json:"community_id"` GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` GalleryRelevance int32 `db:"gallery_relevance" json:"gallery_relevance"` TokenIds persist.DBIDList `db:"token_ids" json:"token_ids"` TokenDefinitionIds persist.DBIDList `db:"token_definition_ids" json:"token_definition_ids"` TokenMedias persist.MediaList `db:"token_medias" json:"token_medias"` TokenMediaLastUpdated interface{} `db:"token_media_last_updated" json:"token_media_last_updated"` }
type CommunityRelevance ¶
type Contract ¶
type Contract struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Name sql.NullString `db:"name" json:"name"` Symbol sql.NullString `db:"symbol" json:"symbol"` Address persist.Address `db:"address" json:"address"` CreatorAddress persist.Address `db:"creator_address" json:"creator_address"` Chain persist.Chain `db:"chain" json:"chain"` ProfileBannerUrl sql.NullString `db:"profile_banner_url" json:"profile_banner_url"` ProfileImageUrl sql.NullString `db:"profile_image_url" json:"profile_image_url"` BadgeUrl sql.NullString `db:"badge_url" json:"badge_url"` Description sql.NullString `db:"description" json:"description"` OwnerAddress persist.Address `db:"owner_address" json:"owner_address"` IsProviderMarkedSpam bool `db:"is_provider_marked_spam" json:"is_provider_marked_spam"` ParentID persist.DBID `db:"parent_id" json:"parent_id"` OverrideCreatorUserID persist.DBID `db:"override_creator_user_id" json:"override_creator_user_id"` L1Chain persist.L1Chain `db:"l1_chain" json:"l1_chain"` }
type ContractCommunityMembership ¶
type ContractCommunityMembership struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` CommunityID persist.DBID `db:"community_id" json:"community_id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` }
type ContractCreator ¶
type CountAdmiresByCommentIDBatchBatchResults ¶
type CountAdmiresByCommentIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountAdmiresByCommentIDBatchBatchResults) Close ¶
func (b *CountAdmiresByCommentIDBatchBatchResults) Close() error
type CountAdmiresByFeedEventIDBatchBatchResults ¶
type CountAdmiresByFeedEventIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountAdmiresByFeedEventIDBatchBatchResults) Close ¶
func (b *CountAdmiresByFeedEventIDBatchBatchResults) Close() error
type CountAdmiresByPostIDBatchBatchResults ¶
type CountAdmiresByPostIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountAdmiresByPostIDBatchBatchResults) Close ¶
func (b *CountAdmiresByPostIDBatchBatchResults) Close() error
type CountAdmiresByTokenIDBatchBatchResults ¶
type CountAdmiresByTokenIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountAdmiresByTokenIDBatchBatchResults) Close ¶
func (b *CountAdmiresByTokenIDBatchBatchResults) Close() error
type CountCommentsByFeedEventIDBatchBatchResults ¶
type CountCommentsByFeedEventIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountCommentsByFeedEventIDBatchBatchResults) Close ¶
func (b *CountCommentsByFeedEventIDBatchBatchResults) Close() error
type CountCommentsByPostIDBatchBatchResults ¶
type CountCommentsByPostIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountCommentsByPostIDBatchBatchResults) Close ¶
func (b *CountCommentsByPostIDBatchBatchResults) Close() error
type CountGalleriesDisplayingCommunityIDBatchBatchResults ¶
type CountGalleriesDisplayingCommunityIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountGalleriesDisplayingCommunityIDBatchBatchResults) Close ¶
func (b *CountGalleriesDisplayingCommunityIDBatchBatchResults) Close() error
type CountInteractionsByFeedEventIDBatchBatchResults ¶
type CountInteractionsByFeedEventIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountInteractionsByFeedEventIDBatchBatchResults) Close ¶
func (b *CountInteractionsByFeedEventIDBatchBatchResults) Close() error
func (*CountInteractionsByFeedEventIDBatchBatchResults) Query ¶
func (b *CountInteractionsByFeedEventIDBatchBatchResults) Query(f func(int, []CountInteractionsByFeedEventIDBatchRow, error))
type CountInteractionsByPostIDBatchBatchResults ¶
type CountInteractionsByPostIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountInteractionsByPostIDBatchBatchResults) Close ¶
func (b *CountInteractionsByPostIDBatchBatchResults) Close() error
func (*CountInteractionsByPostIDBatchBatchResults) Query ¶
func (b *CountInteractionsByPostIDBatchBatchResults) Query(f func(int, []CountInteractionsByPostIDBatchRow, error))
type CountRepliesByCommentIDBatchBatchResults ¶
type CountRepliesByCommentIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*CountRepliesByCommentIDBatchBatchResults) Close ¶
func (b *CountRepliesByCommentIDBatchBatchResults) Close() error
type CountSharedCommunitiesParams ¶
type CountSharedCommunitiesParams struct {}
type CountSharedFollowsParams ¶
type CountSharedFollowsParams struct {}
type CreateAdmireEventParams ¶
type CreateAdmireEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` AdmireID persist.DBID `db:"admire_id" json:"admire_id"` SubjectID persist.DBID `db:"subject_id" json:"subject_id"` Data persist.EventData `db:"data" json:"data"` GroupID sql.NullString `db:"group_id" json:"group_id"` Caption sql.NullString `db:"caption" json:"caption"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Post sql.NullString `db:"post" json:"post"` Token sql.NullString `db:"token" json:"token"` Comment sql.NullString `db:"comment" json:"comment"` }
type CreateAdmireNotificationParams ¶
type CreateAdmireNotificationParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Post sql.NullString `db:"post" json:"post"` Token sql.NullString `db:"token" json:"token"` }
type CreateAnnouncementNotificationsParams ¶
type CreateAnnouncementNotificationsParams struct { Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` Internal string `db:"internal" json:"internal"` Ids []string `db:"ids" json:"ids"` }
type CreateCollectionEventParams ¶
type CreateCollectionEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` CollectionID persist.DBID `db:"collection_id" json:"collection_id"` Data persist.EventData `db:"data" json:"data"` Caption sql.NullString `db:"caption" json:"caption"` GroupID sql.NullString `db:"group_id" json:"group_id"` GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` }
type CreateCollectionParams ¶
type CreateCollectionParams struct { ID persist.DBID `db:"id" json:"id"` Name sql.NullString `db:"name" json:"name"` CollectorsNote sql.NullString `db:"collectors_note" json:"collectors_note"` OwnerUserID persist.DBID `db:"owner_user_id" json:"owner_user_id"` GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` Layout persist.TokenLayout `db:"layout" json:"layout"` Nfts persist.DBIDList `db:"nfts" json:"nfts"` Hidden bool `db:"hidden" json:"hidden"` TokenSettings map[persist.DBID]persist.CollectionTokenSettings `db:"token_settings" json:"token_settings"` }
type CreateCommentEventParams ¶
type CreateCommentEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` SubjectID persist.DBID `db:"subject_id" json:"subject_id"` Data persist.EventData `db:"data" json:"data"` GroupID sql.NullString `db:"group_id" json:"group_id"` Caption sql.NullString `db:"caption" json:"caption"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Post sql.NullString `db:"post" json:"post"` Mention sql.NullString `db:"mention" json:"mention"` }
type CreateCommentNotificationParams ¶
type CreateCommentNotificationParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Post sql.NullString `db:"post" json:"post"` }
type CreateCommunityEventParams ¶
type CreateCommunityEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` CommunityID persist.DBID `db:"community_id" json:"community_id"` Data persist.EventData `db:"data" json:"data"` GroupID sql.NullString `db:"group_id" json:"group_id"` Caption sql.NullString `db:"caption" json:"caption"` Post sql.NullString `db:"post" json:"post"` Comment sql.NullString `db:"comment" json:"comment"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Mention sql.NullString `db:"mention" json:"mention"` }
type CreateCommunityNotificationParams ¶
type CreateCommunityNotificationParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` CommunityID persist.DBID `db:"community_id" json:"community_id"` MentionID persist.DBID `db:"mention_id" json:"mention_id"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Post sql.NullString `db:"post" json:"post"` Comment sql.NullString `db:"comment" json:"comment"` }
type CreateDataOnlyEventParams ¶
type CreateDataOnlyEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` Data persist.EventData `db:"data" json:"data"` GroupID sql.NullString `db:"group_id" json:"group_id"` Caption sql.NullString `db:"caption" json:"caption"` SubjectID persist.DBID `db:"subject_id" json:"subject_id"` }
type CreateFeedEventParams ¶
type CreateFeedEventParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.FeedEventData `db:"data" json:"data"` EventTime time.Time `db:"event_time" json:"event_time"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` GroupID sql.NullString `db:"group_id" json:"group_id"` Caption sql.NullString `db:"caption" json:"caption"` }
type CreateGalleryEventParams ¶
type CreateGalleryEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` Data persist.EventData `db:"data" json:"data"` ExternalID sql.NullString `db:"external_id" json:"external_id"` GroupID sql.NullString `db:"group_id" json:"group_id"` Caption sql.NullString `db:"caption" json:"caption"` }
type CreateMentionUserNotificationParams ¶
type CreateMentionUserNotificationParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` MentionID persist.DBID `db:"mention_id" json:"mention_id"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Post sql.NullString `db:"post" json:"post"` Comment sql.NullString `db:"comment" json:"comment"` }
type CreatePostAdmireParams ¶
type CreatePostEventParams ¶
type CreatePostEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` UserID persist.DBID `db:"user_id" json:"user_id"` SubjectID persist.DBID `db:"subject_id" json:"subject_id"` PostID persist.DBID `db:"post_id" json:"post_id"` }
type CreatePostNotificationParams ¶
type CreatePostNotificationParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` PostID persist.DBID `db:"post_id" json:"post_id"` }
type CreatePushTicketsParams ¶
type CreateTokenAdmireParams ¶
type CreateTokenEventParams ¶
type CreateTokenEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` TokenID persist.DBID `db:"token_id" json:"token_id"` Data persist.EventData `db:"data" json:"data"` GroupID sql.NullString `db:"group_id" json:"group_id"` Caption sql.NullString `db:"caption" json:"caption"` Gallery sql.NullString `db:"gallery" json:"gallery"` Collection sql.NullString `db:"collection" json:"collection"` }
type CreateTokenNotificationParams ¶
type CreateTokenNotificationParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` TokenID persist.DBID `db:"token_id" json:"token_id"` Amount int32 `db:"amount" json:"amount"` }
type CreateUserEventParams ¶
type CreateUserEventParams struct { ID persist.DBID `db:"id" json:"id"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` UserID persist.DBID `db:"user_id" json:"user_id"` Data persist.EventData `db:"data" json:"data"` GroupID sql.NullString `db:"group_id" json:"group_id"` Caption sql.NullString `db:"caption" json:"caption"` Post sql.NullString `db:"post" json:"post"` Comment sql.NullString `db:"comment" json:"comment"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Mention sql.NullString `db:"mention" json:"mention"` }
type CreateUserPostedYourWorkNotificationParams ¶
type CreateUserPostedYourWorkNotificationParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` CommunityID persist.DBID `db:"community_id" json:"community_id"` Post sql.NullString `db:"post" json:"post"` }
type CreateViewGalleryNotificationParams ¶
type CreateViewGalleryNotificationParams struct { ID persist.DBID `db:"id" json:"id"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` }
type DeleteTokensBeforeTimestampParams ¶
type DeleteTokensBeforeTimestampParams struct { RemoveHolderStatus bool `db:"remove_holder_status" json:"remove_holder_status"` RemoveCreatorStatus bool `db:"remove_creator_status" json:"remove_creator_status"` OnlyFromUserID sql.NullString `db:"only_from_user_id" json:"only_from_user_id"` OnlyFromContractIds []string `db:"only_from_contract_ids" json:"only_from_contract_ids"` OnlyFromChains []int32 `db:"only_from_chains" json:"only_from_chains"` Timestamp time.Time `db:"timestamp" json:"timestamp"` }
type DeleteUserRolesParams ¶
type DevMetadataUser ¶
type EarlyAccess ¶
type Event ¶
type Event struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` ActorID sql.NullString `db:"actor_id" json:"actor_id"` ResourceTypeID persist.ResourceType `db:"resource_type_id" json:"resource_type_id"` SubjectID persist.DBID `db:"subject_id" json:"subject_id"` UserID persist.DBID `db:"user_id" json:"user_id"` TokenID persist.DBID `db:"token_id" json:"token_id"` CollectionID persist.DBID `db:"collection_id" json:"collection_id"` Action persist.Action `db:"action" json:"action"` Data persist.EventData `db:"data" json:"data"` Deleted bool `db:"deleted" json:"deleted"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` AdmireID persist.DBID `db:"admire_id" json:"admire_id"` FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` ExternalID sql.NullString `db:"external_id" json:"external_id"` Caption sql.NullString `db:"caption" json:"caption"` GroupID sql.NullString `db:"group_id" json:"group_id"` PostID persist.DBID `db:"post_id" json:"post_id"` MentionID persist.DBID `db:"mention_id" json:"mention_id"` CommunityID persist.DBID `db:"community_id" json:"community_id"` }
type ExternalSocialConnection ¶
type ExternalSocialConnection struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` SocialAccountType string `db:"social_account_type" json:"social_account_type"` FollowerID persist.DBID `db:"follower_id" json:"follower_id"` FolloweeID persist.DBID `db:"followee_id" json:"followee_id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` }
type FeedBlocklist ¶
type FeedBlocklist struct { ID persist.DBID `db:"id" json:"id"` UserID persist.DBID `db:"user_id" json:"user_id"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Deleted bool `db:"deleted" json:"deleted"` Reason persist.ReportReason `db:"reason" json:"reason"` Active sql.NullBool `db:"active" json:"active"` }
type FeedEntity ¶
type FeedEntityScore ¶
type FeedEntityScore struct { ID persist.DBID `db:"id" json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ContractIds persist.DBIDList `db:"contract_ids" json:"contract_ids"` Interactions int32 `db:"interactions" json:"interactions"` FeedEntityType int32 `db:"feed_entity_type" json:"feed_entity_type"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` }
type FeedEntityScoreView ¶
type FeedEntityScoreView struct { ID persist.DBID `db:"id" json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` Action persist.Action `db:"action" json:"action"` ContractIds persist.DBIDList `db:"contract_ids" json:"contract_ids"` Interactions int32 `db:"interactions" json:"interactions"` FeedEntityType int32 `db:"feed_entity_type" json:"feed_entity_type"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` }
type FeedEvent ¶
type FeedEvent struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` Data persist.FeedEventData `db:"data" json:"data"` EventTime time.Time `db:"event_time" json:"event_time"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` Deleted bool `db:"deleted" json:"deleted"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Caption sql.NullString `db:"caption" json:"caption"` GroupID sql.NullString `db:"group_id" json:"group_id"` }
type Follow ¶
type Follow struct { ID persist.DBID `db:"id" json:"id"` Follower persist.DBID `db:"follower" json:"follower"` Followee persist.DBID `db:"followee" json:"followee"` Deleted bool `db:"deleted" json:"deleted"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` }
type Gallery ¶
type Gallery struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Version sql.NullInt32 `db:"version" json:"version"` OwnerUserID persist.DBID `db:"owner_user_id" json:"owner_user_id"` Collections persist.DBIDList `db:"collections" json:"collections"` Name string `db:"name" json:"name"` Description string `db:"description" json:"description"` Hidden bool `db:"hidden" json:"hidden"` Position string `db:"position" json:"position"` }
type GalleryRelevance ¶
type GalleryRepoCreateParams ¶
type GalleryRepoCreateParams struct { GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` OwnerUserID persist.DBID `db:"owner_user_id" json:"owner_user_id"` Name string `db:"name" json:"name"` Description string `db:"description" json:"description"` Position string `db:"position" json:"position"` }
type GalleryRepoDeleteParams ¶
type GalleryRepoUpdateParams ¶
type GetAdmireByActorIDAndCommentIDBatchResults ¶
type GetAdmireByActorIDAndCommentIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetAdmireByActorIDAndCommentIDBatchResults) Close ¶
func (b *GetAdmireByActorIDAndCommentIDBatchResults) Close() error
type GetAdmireByActorIDAndFeedEventIDBatchResults ¶
type GetAdmireByActorIDAndFeedEventIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetAdmireByActorIDAndFeedEventIDBatchResults) Close ¶
func (b *GetAdmireByActorIDAndFeedEventIDBatchResults) Close() error
type GetAdmireByActorIDAndPostIDBatchResults ¶
type GetAdmireByActorIDAndPostIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetAdmireByActorIDAndPostIDBatchResults) Close ¶
func (b *GetAdmireByActorIDAndPostIDBatchResults) Close() error
type GetAdmireByActorIDAndTokenIDBatchResults ¶
type GetAdmireByActorIDAndTokenIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetAdmireByActorIDAndTokenIDBatchResults) Close ¶
func (b *GetAdmireByActorIDAndTokenIDBatchResults) Close() error
type GetAdmireByAdmireIDBatchBatchResults ¶
type GetAdmireByAdmireIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetAdmireByAdmireIDBatchBatchResults) Close ¶
func (b *GetAdmireByAdmireIDBatchBatchResults) Close() error
type GetAdmiresByActorIDBatchBatchResults ¶
type GetAdmiresByActorIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetAdmiresByActorIDBatchBatchResults) Close ¶
func (b *GetAdmiresByActorIDBatchBatchResults) Close() error
type GetChildContractsByParentIDBatchPaginateBatchResults ¶
type GetChildContractsByParentIDBatchPaginateBatchResults struct {
// contains filtered or unexported fields
}
func (*GetChildContractsByParentIDBatchPaginateBatchResults) Close ¶
func (b *GetChildContractsByParentIDBatchPaginateBatchResults) Close() error
type GetChildContractsByParentIDBatchPaginateParams ¶
type GetChildContractsByParentIDBatchPaginateParams struct { ParentID persist.DBID `db:"parent_id" json:"parent_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type GetCollectionByIdBatchBatchResults ¶
type GetCollectionByIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetCollectionByIdBatchBatchResults) Close ¶
func (b *GetCollectionByIdBatchBatchResults) Close() error
func (*GetCollectionByIdBatchBatchResults) QueryRow ¶
func (b *GetCollectionByIdBatchBatchResults) QueryRow(f func(int, Collection, error))
type GetCollectionsByGalleryIdBatchBatchResults ¶
type GetCollectionsByGalleryIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetCollectionsByGalleryIdBatchBatchResults) Close ¶
func (b *GetCollectionsByGalleryIdBatchBatchResults) Close() error
func (*GetCollectionsByGalleryIdBatchBatchResults) Query ¶
func (b *GetCollectionsByGalleryIdBatchBatchResults) Query(f func(int, []Collection, error))
type GetCommentByCommentIDBatchBatchResults ¶
type GetCommentByCommentIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetCommentByCommentIDBatchBatchResults) Close ¶
func (b *GetCommentByCommentIDBatchBatchResults) Close() error
type GetCommunitiesByKeysRow ¶
type GetCommunitiesByTokenDefinitionIDBatchResults ¶
type GetCommunitiesByTokenDefinitionIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetCommunitiesByTokenDefinitionIDBatchResults) Close ¶
func (b *GetCommunitiesByTokenDefinitionIDBatchResults) Close() error
type GetCommunityByIDBatchBatchResults ¶
type GetCommunityByIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetCommunityByIDBatchBatchResults) Close ¶
func (b *GetCommunityByIDBatchBatchResults) Close() error
type GetCommunityByKeyBatchResults ¶
type GetCommunityByKeyBatchResults struct {
// contains filtered or unexported fields
}
func (*GetCommunityByKeyBatchResults) Close ¶
func (b *GetCommunityByKeyBatchResults) Close() error
type GetCommunityByKeyParams ¶
type GetContractByChainAddressBatchBatchResults ¶
type GetContractByChainAddressBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetContractByChainAddressBatchBatchResults) Close ¶
func (b *GetContractByChainAddressBatchBatchResults) Close() error
type GetContractCreatorsByIdsRow ¶
type GetContractCreatorsByIdsRow struct { BatchKeyIndex int32 `db:"batch_key_index" json:"batch_key_index"` ContractCreator ContractCreator `db:"contract_creator" json:"contract_creator"` }
type GetContractLabelsRow ¶
type GetContractsByIDsRow ¶
type GetContractsDisplayedByUserIDBatchBatchResults ¶
type GetContractsDisplayedByUserIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetContractsDisplayedByUserIDBatchBatchResults) Close ¶
func (b *GetContractsDisplayedByUserIDBatchBatchResults) Close() error
type GetCreatedContractsBatchPaginateBatchResults ¶
type GetCreatedContractsBatchPaginateBatchResults struct {
// contains filtered or unexported fields
}
func (*GetCreatedContractsBatchPaginateBatchResults) Close ¶
func (b *GetCreatedContractsBatchPaginateBatchResults) Close() error
type GetCreatedContractsBatchPaginateParams ¶
type GetCreatedContractsBatchPaginateParams struct { UserID persist.DBID `db:"user_id" json:"user_id"` IncludeAllChains bool `db:"include_all_chains" json:"include_all_chains"` Chains string `db:"chains" json:"chains"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type GetCreatorsByCommunityIDBatchResults ¶
type GetCreatorsByCommunityIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetCreatorsByCommunityIDBatchResults) Close ¶
func (b *GetCreatorsByCommunityIDBatchResults) Close() error
func (*GetCreatorsByCommunityIDBatchResults) Query ¶
func (b *GetCreatorsByCommunityIDBatchResults) Query(f func(int, []GetCreatorsByCommunityIDRow, error))
type GetCreatorsByCommunityIDRow ¶
type GetCreatorsByCommunityIDRow struct { CommunityID persist.DBID `db:"community_id" json:"community_id"` CreatorUserID persist.DBID `db:"creator_user_id" json:"creator_user_id"` CreatorAddress persist.Address `db:"creator_address" json:"creator_address"` CreatorAddressChain persist.Chain `db:"creator_address_chain" json:"creator_address_chain"` }
type GetEventByIdBatchBatchResults ¶
type GetEventByIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetEventByIdBatchBatchResults) Close ¶
func (b *GetEventByIdBatchBatchResults) Close() error
type GetEventsInWindowParams ¶
type GetFarcasterConnectionsRow ¶
type GetFarcasterConnectionsRow struct {
User User `db:"user" json:"user"`
}
type GetFeedEntityScoresRow ¶
type GetFeedEntityScoresRow struct { FeedEntityScore FeedEntityScore `db:"feed_entity_score" json:"feed_entity_score"` Post Post `db:"post" json:"post"` Streak int64 `db:"streak" json:"streak"` IsGalleryPost bool `db:"is_gallery_post" json:"is_gallery_post"` }
type GetFollowGraphSourceRow ¶
type GetFollowersByUserIdBatchBatchResults ¶
type GetFollowersByUserIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetFollowersByUserIdBatchBatchResults) Close ¶
func (b *GetFollowersByUserIdBatchBatchResults) Close() error
type GetFollowingByUserIdBatchBatchResults ¶
type GetFollowingByUserIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetFollowingByUserIdBatchBatchResults) Close ¶
func (b *GetFollowingByUserIdBatchBatchResults) Close() error
type GetFrameTokensByCommunityIDBatchResults ¶
type GetFrameTokensByCommunityIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetFrameTokensByCommunityIDBatchResults) Close ¶
func (b *GetFrameTokensByCommunityIDBatchResults) Close() error
func (*GetFrameTokensByCommunityIDBatchResults) Query ¶
func (b *GetFrameTokensByCommunityIDBatchResults) Query(f func(int, []GetFrameTokensByCommunityIDRow, error))
type GetFrameTokensByCommunityIDRow ¶
type GetFrameTokensByCommunityIDRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` }
type GetGalleriesByUserIdBatchBatchResults ¶
type GetGalleriesByUserIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetGalleriesByUserIdBatchBatchResults) Close ¶
func (b *GetGalleriesByUserIdBatchBatchResults) Close() error
type GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults ¶
type GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults) Close ¶
func (b *GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults) Close() error
func (*GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults) Query ¶
func (b *GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults) Query(f func(int, []GetGalleriesDisplayingCommunityIDPaginateBatchRow, error))
type GetGalleriesDisplayingCommunityIDPaginateBatchParams ¶
type GetGalleriesDisplayingCommunityIDPaginateBatchParams struct { CommunityID persist.DBID `db:"community_id" json:"community_id"` RelativeToUserID persist.DBID `db:"relative_to_user_id" json:"relative_to_user_id"` CurBeforeIsNotRelativeUser bool `db:"cur_before_is_not_relative_user" json:"cur_before_is_not_relative_user"` CurBeforeRelevance float64 `db:"cur_before_relevance" json:"cur_before_relevance"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterIsNotRelativeUser bool `db:"cur_after_is_not_relative_user" json:"cur_after_is_not_relative_user"` CurAfterRelevance float64 `db:"cur_after_relevance" json:"cur_after_relevance"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type GetGalleriesDisplayingCommunityIDPaginateBatchRow ¶
type GetGalleriesDisplayingCommunityIDPaginateBatchRow struct { Gallery Gallery `db:"gallery" json:"gallery"` CommunityTokenIds persist.DBIDList `db:"community_token_ids" json:"community_token_ids"` CommunityMedias persist.MediaList `db:"community_medias" json:"community_medias"` CommunityMediaLastUpdated []time.Time `db:"community_media_last_updated" json:"community_media_last_updated"` AllTokenIds persist.DBIDList `db:"all_token_ids" json:"all_token_ids"` AllMedias persist.MediaList `db:"all_medias" json:"all_medias"` AllMediaLastUpdated []time.Time `db:"all_media_last_updated" json:"all_media_last_updated"` Relevance float64 `db:"relevance" json:"relevance"` }
type GetGalleryByCollectionIdBatchBatchResults ¶
type GetGalleryByCollectionIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetGalleryByCollectionIdBatchBatchResults) Close ¶
func (b *GetGalleryByCollectionIdBatchBatchResults) Close() error
type GetGalleryByIdBatchBatchResults ¶
type GetGalleryByIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetGalleryByIdBatchBatchResults) Close ¶
func (b *GetGalleryByIdBatchBatchResults) Close() error
type GetGalleryTokenMediasByGalleryIDBatchBatchResults ¶
type GetGalleryTokenMediasByGalleryIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetGalleryTokenMediasByGalleryIDBatchBatchResults) Close ¶
func (b *GetGalleryTokenMediasByGalleryIDBatchBatchResults) Close() error
func (*GetGalleryTokenMediasByGalleryIDBatchBatchResults) Query ¶
func (b *GetGalleryTokenMediasByGalleryIDBatchBatchResults) Query(f func(int, []TokenMedia, error))
type GetMediaByMediaIdIgnoringStatusBatchBatchResults ¶
type GetMediaByMediaIdIgnoringStatusBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetMediaByMediaIdIgnoringStatusBatchBatchResults) Close ¶
func (b *GetMediaByMediaIdIgnoringStatusBatchBatchResults) Close() error
func (*GetMediaByMediaIdIgnoringStatusBatchBatchResults) QueryRow ¶
func (b *GetMediaByMediaIdIgnoringStatusBatchBatchResults) QueryRow(f func(int, TokenMedia, error))
type GetMembershipByMembershipIdBatchBatchResults ¶
type GetMembershipByMembershipIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetMembershipByMembershipIdBatchBatchResults) Close ¶
func (b *GetMembershipByMembershipIdBatchBatchResults) Close() error
func (*GetMembershipByMembershipIdBatchBatchResults) QueryRow ¶
func (b *GetMembershipByMembershipIdBatchBatchResults) QueryRow(f func(int, Membership, error))
type GetMentionsByCommentIDBatchResults ¶
type GetMentionsByCommentIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetMentionsByCommentIDBatchResults) Close ¶
func (b *GetMentionsByCommentIDBatchResults) Close() error
type GetMentionsByPostIDBatchResults ¶
type GetMentionsByPostIDBatchResults struct {
// contains filtered or unexported fields
}
func (*GetMentionsByPostIDBatchResults) Close ¶
func (b *GetMentionsByPostIDBatchResults) Close() error
type GetMostActiveUsersParams ¶
type GetMostActiveUsersParams struct { Limit int32 `db:"limit" json:"limit"` AdmireReceivedWeight int32 `db:"admire_received_weight" json:"admire_received_weight"` AdmireGivenWeight int32 `db:"admire_given_weight" json:"admire_given_weight"` CommentsMadeWeight int32 `db:"comments_made_weight" json:"comments_made_weight"` CommentsReceivedWeight int32 `db:"comments_received_weight" json:"comments_received_weight"` }
type GetMostActiveUsersRow ¶
type GetMostActiveUsersRow struct { Score int32 `db:"score" json:"score"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` AdmiresGiven int64 `db:"admires_given" json:"admires_given"` AdmiresReceived int64 `db:"admires_received" json:"admires_received"` CommentsMade int64 `db:"comments_made" json:"comments_made"` CommentsReceived int64 `db:"comments_received" json:"comments_received"` Traits pgtype.JSONB `db:"traits" json:"traits"` }
type GetMostRecentNotificationByOwnerIDForActionParams ¶
type GetMostRecentNotificationByOwnerIDForActionParams struct { OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Action persist.Action `db:"action" json:"action"` FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` PostID persist.DBID `db:"post_id" json:"post_id"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` OnlyForFeedEvent bool `db:"only_for_feed_event" json:"only_for_feed_event"` OnlyForPost bool `db:"only_for_post" json:"only_for_post"` OnlyForComment bool `db:"only_for_comment" json:"only_for_comment"` }
type GetMostRecentNotificationByOwnerIDTokenIDForActionParams ¶
type GetMostRecentNotificationByOwnerIDTokenIDForActionParams struct { OwnerID persist.DBID `db:"owner_id" json:"owner_id"` TokenID persist.DBID `db:"token_id" json:"token_id"` Action persist.Action `db:"action" json:"action"` FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` PostID persist.DBID `db:"post_id" json:"post_id"` OnlyForFeedEvent bool `db:"only_for_feed_event" json:"only_for_feed_event"` OnlyForPost bool `db:"only_for_post" json:"only_for_post"` }
type GetNewTokensByFeedEventIdBatchBatchResults ¶
type GetNewTokensByFeedEventIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetNewTokensByFeedEventIdBatchBatchResults) Close ¶
func (b *GetNewTokensByFeedEventIdBatchBatchResults) Close() error
type GetNotificationByIDBatchBatchResults ¶
type GetNotificationByIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetNotificationByIDBatchBatchResults) Close ¶
func (b *GetNotificationByIDBatchBatchResults) Close() error
func (*GetNotificationByIDBatchBatchResults) QueryRow ¶
func (b *GetNotificationByIDBatchBatchResults) QueryRow(f func(int, Notification, error))
type GetOwnersByContractIdBatchPaginateBatchResults ¶
type GetOwnersByContractIdBatchPaginateBatchResults struct {
// contains filtered or unexported fields
}
func (*GetOwnersByContractIdBatchPaginateBatchResults) Close ¶
func (b *GetOwnersByContractIdBatchPaginateBatchResults) Close() error
type GetOwnersByContractIdBatchPaginateParams ¶
type GetOwnersByContractIdBatchPaginateParams struct { ID persist.DBID `db:"id" json:"id"` GalleryUsersOnly bool `db:"gallery_users_only" json:"gallery_users_only"` CurBeforeUniversal bool `db:"cur_before_universal" json:"cur_before_universal"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterUniversal bool `db:"cur_after_universal" json:"cur_after_universal"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit sql.NullInt32 `db:"limit" json:"limit"` }
type GetPostByIdBatchBatchResults ¶
type GetPostByIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetPostByIdBatchBatchResults) Close ¶
func (b *GetPostByIdBatchBatchResults) Close() error
type GetPostsByIdsPaginateBatchBatchResults ¶
type GetPostsByIdsPaginateBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetPostsByIdsPaginateBatchBatchResults) Close ¶
func (b *GetPostsByIdsPaginateBatchBatchResults) Close() error
type GetPotentialENSProfileImageByUserIdRow ¶
type GetPotentialENSProfileImageByUserIdRow struct { TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` TokenMedia TokenMedia `db:"token_media" json:"token_media"` Wallet Wallet `db:"wallet" json:"wallet"` }
type GetProfileImageByIdBatchBatchResults ¶
type GetProfileImageByIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetProfileImageByIdBatchBatchResults) Close ¶
func (b *GetProfileImageByIdBatchBatchResults) Close() error
func (*GetProfileImageByIdBatchBatchResults) QueryRow ¶
func (b *GetProfileImageByIdBatchBatchResults) QueryRow(f func(int, ProfileImage, error))
type GetProfileImageByIdBatchParams ¶
type GetProfileImageByIdBatchParams struct { ID persist.DBID `db:"id" json:"id"` EnsSourceType persist.ProfileImageSource `db:"ens_source_type" json:"ens_source_type"` TokenSourceType persist.ProfileImageSource `db:"token_source_type" json:"token_source_type"` }
type GetSVGTokensWithContractsByIDsRow ¶
type GetSVGTokensWithContractsByIDsRow struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CollectorsNote sql.NullString `db:"collectors_note" json:"collectors_note"` Quantity persist.HexString `db:"quantity" json:"quantity"` BlockNumber sql.NullInt64 `db:"block_number" json:"block_number"` OwnerUserID persist.DBID `db:"owner_user_id" json:"owner_user_id"` OwnedByWallets persist.DBIDList `db:"owned_by_wallets" json:"owned_by_wallets"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` IsUserMarkedSpam sql.NullBool `db:"is_user_marked_spam" json:"is_user_marked_spam"` LastSynced time.Time `db:"last_synced" json:"last_synced"` IsCreatorToken bool `db:"is_creator_token" json:"is_creator_token"` TokenDefinitionID persist.DBID `db:"token_definition_id" json:"token_definition_id"` IsHolderToken bool `db:"is_holder_token" json:"is_holder_token"` Displayable bool `db:"displayable" json:"displayable"` ID_2 persist.DBID `db:"id_2" json:"id_2"` Deleted_2 bool `db:"deleted_2" json:"deleted_2"` Version_2 sql.NullInt32 `db:"version_2" json:"version_2"` CreatedAt_2 time.Time `db:"created_at_2" json:"created_at_2"` LastUpdated_2 time.Time `db:"last_updated_2" json:"last_updated_2"` Name sql.NullString `db:"name" json:"name"` Symbol sql.NullString `db:"symbol" json:"symbol"` Address persist.Address `db:"address" json:"address"` CreatorAddress persist.Address `db:"creator_address" json:"creator_address"` Chain persist.Chain `db:"chain" json:"chain"` ProfileBannerUrl sql.NullString `db:"profile_banner_url" json:"profile_banner_url"` ProfileImageUrl sql.NullString `db:"profile_image_url" json:"profile_image_url"` BadgeUrl sql.NullString `db:"badge_url" json:"badge_url"` Description sql.NullString `db:"description" json:"description"` OwnerAddress persist.Address `db:"owner_address" json:"owner_address"` IsProviderMarkedSpam bool `db:"is_provider_marked_spam" json:"is_provider_marked_spam"` ParentID persist.DBID `db:"parent_id" json:"parent_id"` OverrideCreatorUserID persist.DBID `db:"override_creator_user_id" json:"override_creator_user_id"` L1Chain persist.L1Chain `db:"l1_chain" json:"l1_chain"` WalletAddress persist.Address `db:"wallet_address" json:"wallet_address"` }
type GetSharedCommunitiesBatchPaginateBatchResults ¶
type GetSharedCommunitiesBatchPaginateBatchResults struct {
// contains filtered or unexported fields
}
func (*GetSharedCommunitiesBatchPaginateBatchResults) Close ¶
func (b *GetSharedCommunitiesBatchPaginateBatchResults) Close() error
func (*GetSharedCommunitiesBatchPaginateBatchResults) Query ¶
func (b *GetSharedCommunitiesBatchPaginateBatchResults) Query(f func(int, []GetSharedCommunitiesBatchPaginateRow, error))
type GetSharedCommunitiesBatchPaginateParams ¶
type GetSharedCommunitiesBatchPaginateParams struct {}
type GetSharedCommunitiesBatchPaginateRow ¶
type GetSharedCommunitiesBatchPaginateRow struct {}
type GetSharedFollowersBatchPaginateBatchResults ¶
type GetSharedFollowersBatchPaginateBatchResults struct {
// contains filtered or unexported fields
}
func (*GetSharedFollowersBatchPaginateBatchResults) Close ¶
func (b *GetSharedFollowersBatchPaginateBatchResults) Close() error
func (*GetSharedFollowersBatchPaginateBatchResults) Query ¶
func (b *GetSharedFollowersBatchPaginateBatchResults) Query(f func(int, []GetSharedFollowersBatchPaginateRow, error))
type GetSharedFollowersBatchPaginateParams ¶
type GetSharedFollowersBatchPaginateParams struct {}
type GetSharedFollowersBatchPaginateRow ¶
type GetSharedFollowersBatchPaginateRow struct {}
type GetSocialAuthByUserIDParams ¶
type GetSocialAuthByUserIDParams struct { UserID persist.DBID `db:"user_id" json:"user_id"` Provider persist.SocialProvider `db:"provider" json:"provider"` }
type GetSocialConnectionsPaginateParams ¶
type GetSocialConnectionsPaginateParams struct { Limit int32 `db:"limit" json:"limit"` SocialIds []string `db:"social_ids" json:"social_ids"` SocialUsernames []string `db:"social_usernames" json:"social_usernames"` SocialDisplaynames []string `db:"social_displaynames" json:"social_displaynames"` SocialProfileImages []string `db:"social_profile_images" json:"social_profile_images"` Social string `db:"social" json:"social"` UserID persist.DBID `db:"user_id" json:"user_id"` OnlyUnfollowing bool `db:"only_unfollowing" json:"only_unfollowing"` CurBeforeFollowing bool `db:"cur_before_following" json:"cur_before_following"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterFollowing bool `db:"cur_after_following" json:"cur_after_following"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` }
type GetSocialConnectionsPaginateRow ¶
type GetSocialConnectionsPaginateRow struct { SocialID interface{} `db:"social_id" json:"social_id"` SocialUsername interface{} `db:"social_username" json:"social_username"` SocialDisplayname interface{} `db:"social_displayname" json:"social_displayname"` SocialProfileImage interface{} `db:"social_profile_image" json:"social_profile_image"` UserID persist.DBID `db:"user_id" json:"user_id"` UserCreatedAt time.Time `db:"user_created_at" json:"user_created_at"` AlreadyFollowing bool `db:"already_following" json:"already_following"` }
type GetSocialConnectionsParams ¶
type GetSocialConnectionsParams struct { SocialIds []string `db:"social_ids" json:"social_ids"` SocialUsernames []string `db:"social_usernames" json:"social_usernames"` SocialDisplaynames []string `db:"social_displaynames" json:"social_displaynames"` SocialProfileImages []string `db:"social_profile_images" json:"social_profile_images"` Social string `db:"social" json:"social"` UserID persist.DBID `db:"user_id" json:"user_id"` OnlyUnfollowing bool `db:"only_unfollowing" json:"only_unfollowing"` }
type GetSocialConnectionsRow ¶
type GetSocialConnectionsRow struct { SocialID interface{} `db:"social_id" json:"social_id"` SocialUsername interface{} `db:"social_username" json:"social_username"` SocialDisplayname interface{} `db:"social_displayname" json:"social_displayname"` SocialProfileImage interface{} `db:"social_profile_image" json:"social_profile_image"` UserID persist.DBID `db:"user_id" json:"user_id"` UserCreatedAt time.Time `db:"user_created_at" json:"user_created_at"` AlreadyFollowing bool `db:"already_following" json:"already_following"` }
type GetTokenByIdBatchBatchResults ¶
type GetTokenByIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokenByIdBatchBatchResults) Close ¶
func (b *GetTokenByIdBatchBatchResults) Close() error
func (*GetTokenByIdBatchBatchResults) QueryRow ¶
func (b *GetTokenByIdBatchBatchResults) QueryRow(f func(int, GetTokenByIdBatchRow, error))
type GetTokenByIdBatchRow ¶
type GetTokenByIdBatchRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` }
type GetTokenByIdIgnoreDisplayableBatchBatchResults ¶
type GetTokenByIdIgnoreDisplayableBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokenByIdIgnoreDisplayableBatchBatchResults) Close ¶
func (b *GetTokenByIdIgnoreDisplayableBatchBatchResults) Close() error
func (*GetTokenByIdIgnoreDisplayableBatchBatchResults) QueryRow ¶
func (b *GetTokenByIdIgnoreDisplayableBatchBatchResults) QueryRow(f func(int, GetTokenByIdIgnoreDisplayableBatchRow, error))
type GetTokenByIdIgnoreDisplayableBatchRow ¶
type GetTokenByIdIgnoreDisplayableBatchRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` }
type GetTokenByIdRow ¶
type GetTokenByIdRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` }
type GetTokenByUserTokenIdentifiersBatchBatchResults ¶
type GetTokenByUserTokenIdentifiersBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokenByUserTokenIdentifiersBatchBatchResults) Close ¶
func (b *GetTokenByUserTokenIdentifiersBatchBatchResults) Close() error
func (*GetTokenByUserTokenIdentifiersBatchBatchResults) QueryRow ¶
func (b *GetTokenByUserTokenIdentifiersBatchBatchResults) QueryRow(f func(int, GetTokenByUserTokenIdentifiersBatchRow, error))
type GetTokenByUserTokenIdentifiersBatchRow ¶
type GetTokenByUserTokenIdentifiersBatchRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` }
type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults ¶
type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults) Close ¶
func (b *GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults) Close() error
func (*GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults) QueryRow ¶
func (b *GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults) QueryRow(f func(int, GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchRow, error))
type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchParams ¶
type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchParams struct { OwnerID persist.DBID `db:"owner_id" json:"owner_id"` TokenID persist.HexTokenID `db:"token_id" json:"token_id"` Chain persist.Chain `db:"chain" json:"chain"` ContractAddress persist.Address `db:"contract_address" json:"contract_address"` }
type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchRow ¶
type GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` TokenMedia TokenMedia `db:"token_media" json:"token_media"` }
type GetTokenByUserTokenIdentifiersRow ¶
type GetTokenByUserTokenIdentifiersRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` }
type GetTokenDefinitionByIdBatchBatchResults ¶
type GetTokenDefinitionByIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokenDefinitionByIdBatchBatchResults) Close ¶
func (b *GetTokenDefinitionByIdBatchBatchResults) Close() error
func (*GetTokenDefinitionByIdBatchBatchResults) QueryRow ¶
func (b *GetTokenDefinitionByIdBatchBatchResults) QueryRow(f func(int, TokenDefinition, error))
type GetTokenDefinitionByTokenDbidBatchBatchResults ¶
type GetTokenDefinitionByTokenDbidBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokenDefinitionByTokenDbidBatchBatchResults) Close ¶
func (b *GetTokenDefinitionByTokenDbidBatchBatchResults) Close() error
func (*GetTokenDefinitionByTokenDbidBatchBatchResults) QueryRow ¶
func (b *GetTokenDefinitionByTokenDbidBatchBatchResults) QueryRow(f func(int, TokenDefinition, error))
type GetTokenFullDetailsByUserTokenIdentifiersParams ¶
type GetTokenFullDetailsByUserTokenIdentifiersParams struct { OwnerUserID persist.DBID `db:"owner_user_id" json:"owner_user_id"` Chain persist.Chain `db:"chain" json:"chain"` ContractAddress persist.Address `db:"contract_address" json:"contract_address"` TokenID persist.HexTokenID `db:"token_id" json:"token_id"` }
type GetTokenFullDetailsByUserTokenIdentifiersRow ¶
type GetTokenFullDetailsByUserTokenIdentifiersRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` }
type GetTokensByCollectionIdBatchBatchResults ¶
type GetTokensByCollectionIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokensByCollectionIdBatchBatchResults) Close ¶
func (b *GetTokensByCollectionIdBatchBatchResults) Close() error
type GetTokensByContractAddressUserIdRow ¶
type GetTokensByContractAddressUserIdRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` }
type GetTokensByContractIdPaginateParams ¶
type GetTokensByContractIdPaginateParams struct { ID persist.DBID `db:"id" json:"id"` Limit int32 `db:"limit" json:"limit"` GalleryUsersOnly bool `db:"gallery_users_only" json:"gallery_users_only"` CurBeforeUniversal bool `db:"cur_before_universal" json:"cur_before_universal"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterUniversal bool `db:"cur_after_universal" json:"cur_after_universal"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` }
type GetTokensByContractIdPaginateRow ¶
type GetTokensByContractIdPaginateRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` User User `db:"user" json:"user"` }
type GetTokensByUserIdBatchBatchResults ¶
type GetTokensByUserIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokensByUserIdBatchBatchResults) Close ¶
func (b *GetTokensByUserIdBatchBatchResults) Close() error
func (*GetTokensByUserIdBatchBatchResults) Query ¶
func (b *GetTokensByUserIdBatchBatchResults) Query(f func(int, []GetTokensByUserIdBatchRow, error))
type GetTokensByUserIdBatchRow ¶
type GetTokensByUserIdBatchRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` }
type GetTokensByWalletIdsBatchBatchResults ¶
type GetTokensByWalletIdsBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetTokensByWalletIdsBatchBatchResults) Close ¶
func (b *GetTokensByWalletIdsBatchBatchResults) Close() error
func (*GetTokensByWalletIdsBatchBatchResults) Query ¶
func (b *GetTokensByWalletIdsBatchBatchResults) Query(f func(int, []GetTokensByWalletIdsBatchRow, error))
type GetTokensByWalletIdsBatchRow ¶
type GetTokensByWalletIdsBatchRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` }
type GetUniqueTokenIdentifiersByTokenIDRow ¶
type GetUniqueTokenIdentifiersByTokenIDRow struct { TokenID persist.HexTokenID `db:"token_id" json:"token_id"` ContractAddress persist.Address `db:"contract_address" json:"contract_address"` Chain persist.Chain `db:"chain" json:"chain"` Quantity persist.HexString `db:"quantity" json:"quantity"` OwnerAddresses []string `db:"owner_addresses" json:"owner_addresses"` }
type GetUserByAddressAndL1BatchBatchResults ¶
type GetUserByAddressAndL1BatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetUserByAddressAndL1BatchBatchResults) Close ¶
func (b *GetUserByAddressAndL1BatchBatchResults) Close() error
type GetUserByIdBatchBatchResults ¶
type GetUserByIdBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetUserByIdBatchBatchResults) Close ¶
func (b *GetUserByIdBatchBatchResults) Close() error
type GetUserByUsernameBatchBatchResults ¶
type GetUserByUsernameBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetUserByUsernameBatchBatchResults) Close ¶
func (b *GetUserByUsernameBatchBatchResults) Close() error
type GetUserNotificationsBatchBatchResults ¶
type GetUserNotificationsBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetUserNotificationsBatchBatchResults) Close ¶
func (b *GetUserNotificationsBatchBatchResults) Close() error
func (*GetUserNotificationsBatchBatchResults) Query ¶
func (b *GetUserNotificationsBatchBatchResults) Query(f func(int, []Notification, error))
type GetUserNotificationsBatchParams ¶
type GetUserNotificationsBatchParams struct { OwnerID persist.DBID `db:"owner_id" json:"owner_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type GetUserNotificationsParams ¶
type GetUserNotificationsParams struct { OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Limit int32 `db:"limit" json:"limit"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` }
type GetUserRolesByUserIdParams ¶
type GetUserRolesByUserIdParams struct { UserID persist.DBID `db:"user_id" json:"user_id"` Chain persist.Chain `db:"chain" json:"chain"` MembershipAddress persist.Address `db:"membership_address" json:"membership_address"` MembershipTokenIds []string `db:"membership_token_ids" json:"membership_token_ids"` GrantedMembershipRole string `db:"granted_membership_role" json:"granted_membership_role"` }
type GetUserUnseenNotificationsParams ¶
type GetUserUnseenNotificationsParams struct { OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Limit int32 `db:"limit" json:"limit"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` }
type GetUsersByChainAddressesRow ¶
type GetUsersByChainAddressesRow struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Username sql.NullString `db:"username" json:"username"` UsernameIdempotent sql.NullString `db:"username_idempotent" json:"username_idempotent"` Wallets persist.WalletList `db:"wallets" json:"wallets"` Bio sql.NullString `db:"bio" json:"bio"` Traits pgtype.JSONB `db:"traits" json:"traits"` Universal bool `db:"universal" json:"universal"` NotificationSettings persist.UserNotificationSettings `db:"notification_settings" json:"notification_settings"` EmailUnsubscriptions persist.EmailUnsubscriptions `db:"email_unsubscriptions" json:"email_unsubscriptions"` FeaturedGallery *persist.DBID `db:"featured_gallery" json:"featured_gallery"` PrimaryWalletID persist.DBID `db:"primary_wallet_id" json:"primary_wallet_id"` UserExperiences pgtype.JSONB `db:"user_experiences" json:"user_experiences"` ProfileImageID persist.DBID `db:"profile_image_id" json:"profile_image_id"` Persona persist.Persona `db:"persona" json:"persona"` Address persist.Address `db:"address" json:"address"` }
type GetUsersByIDsParams ¶
type GetUsersByIDsParams struct { Limit int32 `db:"limit" json:"limit"` UserIds []persist.DBID `db:"user_ids" json:"user_ids"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` }
type GetUsersByPositionPaginateBatchBatchResults ¶
type GetUsersByPositionPaginateBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetUsersByPositionPaginateBatchBatchResults) Close ¶
func (b *GetUsersByPositionPaginateBatchBatchResults) Close() error
type GetUsersByPositionPersonalizedBatchBatchResults ¶
type GetUsersByPositionPersonalizedBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetUsersByPositionPersonalizedBatchBatchResults) Close ¶
func (b *GetUsersByPositionPersonalizedBatchBatchResults) Close() error
type GetUsersWithEmailNotificationsOnForEmailTypeParams ¶
type GetUsersWithEmailNotificationsOnForEmailTypeParams struct { Limit int32 `db:"limit" json:"limit"` EmailUnsubscription string `db:"email_unsubscription" json:"email_unsubscription"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` EmailTestersOnly bool `db:"email_testers_only" json:"email_testers_only"` PagingForward bool `db:"paging_forward" json:"paging_forward"` }
type GetUsersWithRolePaginateParams ¶
type GetUsersWithRolePaginateParams struct { Limit int32 `db:"limit" json:"limit"` Role persist.Role `db:"role" json:"role"` CurBeforeKey string `db:"cur_before_key" json:"cur_before_key"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterKey string `db:"cur_after_key" json:"cur_after_key"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` }
type GetUsersWithTraitBatchBatchResults ¶
type GetUsersWithTraitBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetUsersWithTraitBatchBatchResults) Close ¶
func (b *GetUsersWithTraitBatchBatchResults) Close() error
type GetVisibleCollectionsByIDsPaginateBatchBatchResults ¶
type GetVisibleCollectionsByIDsPaginateBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetVisibleCollectionsByIDsPaginateBatchBatchResults) Close ¶
func (b *GetVisibleCollectionsByIDsPaginateBatchBatchResults) Close() error
func (*GetVisibleCollectionsByIDsPaginateBatchBatchResults) Query ¶
func (b *GetVisibleCollectionsByIDsPaginateBatchBatchResults) Query(f func(int, []Collection, error))
type GetWalletByIDBatchBatchResults ¶
type GetWalletByIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetWalletByIDBatchBatchResults) Close ¶
func (b *GetWalletByIDBatchBatchResults) Close() error
type GetWalletsByUserIDBatchBatchResults ¶
type GetWalletsByUserIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*GetWalletsByUserIDBatchBatchResults) Close ¶
func (b *GetWalletsByUserIDBatchBatchResults) Close() error
type HasLaterGroupedEventParams ¶
type HasLaterGroupedEventParams struct { GroupID sql.NullString `db:"group_id" json:"group_id"` EventID persist.DBID `db:"event_id" json:"event_id"` }
type HasMintedClaimsByUserIDParams ¶
type HasMintedClaimsByUserIDParams struct { RecipientUserID persist.DBID `db:"recipient_user_id" json:"recipient_user_id"` HighlightCollectionID string `db:"highlight_collection_id" json:"highlight_collection_id"` MintedStatuses []string `db:"minted_statuses" json:"minted_statuses"` PendingStatuses []string `db:"pending_statuses" json:"pending_statuses"` }
type HasMintedClaimsByWalletAddressParams ¶
type HasMintedClaimsByWalletAddressParams struct { RecipientL1Chain persist.L1Chain `db:"recipient_l1_chain" json:"recipient_l1_chain"` RecipientAddress persist.Address `db:"recipient_address" json:"recipient_address"` HighlightCollectionID string `db:"highlight_collection_id" json:"highlight_collection_id"` MintedStatuses []string `db:"minted_statuses" json:"minted_statuses"` PendingStatuses []string `db:"pending_statuses" json:"pending_statuses"` }
type HighlightMintClaim ¶
type HighlightMintClaim struct { ID persist.DBID `db:"id" json:"id"` RecipientUserID persist.DBID `db:"recipient_user_id" json:"recipient_user_id"` RecipientL1Chain persist.L1Chain `db:"recipient_l1_chain" json:"recipient_l1_chain"` RecipientAddress persist.Address `db:"recipient_address" json:"recipient_address"` RecipientWalletID persist.DBID `db:"recipient_wallet_id" json:"recipient_wallet_id"` InternalTokenID persist.DBID `db:"internal_token_id" json:"internal_token_id"` HighlightCollectionID string `db:"highlight_collection_id" json:"highlight_collection_id"` HighlightClaimID string `db:"highlight_claim_id" json:"highlight_claim_id"` CollectionAddress persist.Address `db:"collection_address" json:"collection_address"` CollectionChain persist.Chain `db:"collection_chain" json:"collection_chain"` MintedTokenID persist.HexTokenID `db:"minted_token_id" json:"minted_token_id"` MintedTokenMetadata persist.TokenMetadata `db:"minted_token_metadata" json:"minted_token_metadata"` Status highlight.ClaimStatus `db:"status" json:"status"` ErrorMessage sql.NullString `db:"error_message" json:"error_message"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` }
type InsertCommentMentionParams ¶
type InsertCommentMentionParams struct { ID persist.DBID `db:"id" json:"id"` User sql.NullString `db:"user" json:"user"` Community sql.NullString `db:"community" json:"community"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` Start sql.NullInt32 `db:"start" json:"start"` Length sql.NullInt32 `db:"length" json:"length"` }
type InsertCommentParams ¶
type InsertCommentParams struct { ID persist.DBID `db:"id" json:"id"` FeedEvent sql.NullString `db:"feed_event" json:"feed_event"` Post sql.NullString `db:"post" json:"post"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` Reply sql.NullString `db:"reply" json:"reply"` Comment string `db:"comment" json:"comment"` }
type InsertMentionParams ¶
type InsertMentionParams struct { ID persist.DBID `db:"id" json:"id"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` Start sql.NullInt32 `db:"start" json:"start"` Length sql.NullInt32 `db:"length" json:"length"` User sql.NullString `db:"user" json:"user"` Community sql.NullString `db:"community" json:"community"` }
type InsertNonceParams ¶
type InsertPostMentionParams ¶
type InsertPostMentionParams struct { ID persist.DBID `db:"id" json:"id"` User sql.NullString `db:"user" json:"user"` Community sql.NullString `db:"community" json:"community"` PostID persist.DBID `db:"post_id" json:"post_id"` Start sql.NullInt32 `db:"start" json:"start"` Length sql.NullInt32 `db:"length" json:"length"` }
type InsertPostParams ¶
type InsertPostParams struct { ID persist.DBID `db:"id" json:"id"` TokenIds persist.DBIDList `db:"token_ids" json:"token_ids"` ContractIds persist.DBIDList `db:"contract_ids" json:"contract_ids"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` Caption sql.NullString `db:"caption" json:"caption"` UserMintUrl sql.NullString `db:"user_mint_url" json:"user_mint_url"` }
type InsertTokenPipelineResultsParams ¶
type InsertTokenPipelineResultsParams struct { ProcessingJobID persist.DBID `db:"processing_job_id" json:"processing_job_id"` TokenProperties persist.TokenProperties `db:"token_properties" json:"token_properties"` PipelineMetadata persist.PipelineMetadata `db:"pipeline_metadata" json:"pipeline_metadata"` ProcessingCause persist.ProcessingCause `db:"processing_cause" json:"processing_cause"` ProcessorVersion string `db:"processor_version" json:"processor_version"` RetiringMediaID persist.DBID `db:"retiring_media_id" json:"retiring_media_id"` Chain persist.Chain `db:"chain" json:"chain"` ContractAddress persist.Address `db:"contract_address" json:"contract_address"` TokenID persist.HexTokenID `db:"token_id" json:"token_id"` NewMediaIsActive bool `db:"new_media_is_active" json:"new_media_is_active"` NewMediaID persist.DBID `db:"new_media_id" json:"new_media_id"` DecimalTokenID persist.DecimalTokenID `db:"decimal_token_id" json:"decimal_token_id"` NewMedia pgtype.JSONB `db:"new_media" json:"new_media"` NewMetadata pgtype.JSONB `db:"new_metadata" json:"new_metadata"` NewName sql.NullString `db:"new_name" json:"new_name"` NewDescription sql.NullString `db:"new_description" json:"new_description"` }
type InsertTokenPipelineResultsRow ¶
type InsertTokenPipelineResultsRow struct {
TokenMedia TokenMedia `db:"token_media" json:"token_media"`
}
type InsertUserParams ¶
type InsertUserParams struct { ID persist.DBID `db:"id" json:"id"` Username sql.NullString `db:"username" json:"username"` UsernameIdempotent sql.NullString `db:"username_idempotent" json:"username_idempotent"` Bio sql.NullString `db:"bio" json:"bio"` Universal bool `db:"universal" json:"universal"` EmailUnsubscriptions persist.EmailUnsubscriptions `db:"email_unsubscriptions" json:"email_unsubscriptions"` }
type InsertWalletParams ¶
type InsertWalletParams struct { ID persist.DBID `db:"id" json:"id"` Address persist.Address `db:"address" json:"address"` Chain persist.Chain `db:"chain" json:"chain"` L1Chain persist.L1Chain `db:"l1_chain" json:"l1_chain"` WalletType persist.WalletType `db:"wallet_type" json:"wallet_type"` UserID persist.DBID `db:"user_id" json:"user_id"` }
type IsActorSubjectActionActiveParams ¶
type IsActorSubjectActionActiveParams struct { ActorID sql.NullString `db:"actor_id" json:"actor_id"` SubjectID persist.DBID `db:"subject_id" json:"subject_id"` Actions []persist.Action `db:"actions" json:"actions"` WindowStart time.Time `db:"window_start" json:"window_start"` WindowEnd time.Time `db:"window_end" json:"window_end"` }
type LegacyNonce ¶
type LegacyNonce struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` UserID persist.DBID `db:"user_id" json:"user_id"` Address persist.Address `db:"address" json:"address"` Value sql.NullString `db:"value" json:"value"` Chain persist.Chain `db:"chain" json:"chain"` L1Chain persist.L1Chain `db:"l1_chain" json:"l1_chain"` }
type LegacyView ¶
type LegacyView struct { UserID persist.DBID `db:"user_id" json:"user_id"` ViewCount sql.NullInt32 `db:"view_count" json:"view_count"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Deleted sql.NullBool `db:"deleted" json:"deleted"` }
type MarketplaceContract ¶
type MediaValidationRule ¶
type Membership ¶
type Membership struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` TokenID persist.DBID `db:"token_id" json:"token_id"` Name sql.NullString `db:"name" json:"name"` AssetUrl sql.NullString `db:"asset_url" json:"asset_url"` Owners persist.TokenHolderList `db:"owners" json:"owners"` }
type Mention ¶
type Mention struct { ID persist.DBID `db:"id" json:"id"` PostID persist.DBID `db:"post_id" json:"post_id"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` UserID persist.DBID `db:"user_id" json:"user_id"` Start sql.NullInt32 `db:"start" json:"start"` Length sql.NullInt32 `db:"length" json:"length"` CreatedAt time.Time `db:"created_at" json:"created_at"` Deleted bool `db:"deleted" json:"deleted"` CommunityID persist.DBID `db:"community_id" json:"community_id"` }
type Merch ¶
type Merch struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` TokenID persist.HexTokenID `db:"token_id" json:"token_id"` ObjectType int32 `db:"object_type" json:"object_type"` DiscountCode sql.NullString `db:"discount_code" json:"discount_code"` Redeemed bool `db:"redeemed" json:"redeemed"` }
type MigrationValidation ¶
type MigrationValidation struct { ID persist.DBID `db:"id" json:"id"` MediaID persist.DBID `db:"media_id" json:"media_id"` ProcessingJobID persist.DBID `db:"processing_job_id" json:"processing_job_id"` Chain persist.Chain `db:"chain" json:"chain"` Contract sql.NullString `db:"contract" json:"contract"` TokenID persist.DBID `db:"token_id" json:"token_id"` MediaType interface{} `db:"media_type" json:"media_type"` RemappedTo interface{} `db:"remapped_to" json:"remapped_to"` OldMedia pgtype.JSONB `db:"old_media" json:"old_media"` NewMedia pgtype.JSONB `db:"new_media" json:"new_media"` MediaTypeValidation string `db:"media_type_validation" json:"media_type_validation"` DimensionsValidation string `db:"dimensions_validation" json:"dimensions_validation"` MediaUrlValidation string `db:"media_url_validation" json:"media_url_validation"` ThumbnailUrlValidation string `db:"thumbnail_url_validation" json:"thumbnail_url_validation"` LivePreviewUrlValidation string `db:"live_preview_url_validation" json:"live_preview_url_validation"` LastRefreshed interface{} `db:"last_refreshed" json:"last_refreshed"` }
type Notification ¶
type Notification struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` OwnerID persist.DBID `db:"owner_id" json:"owner_id"` Version sql.NullInt32 `db:"version" json:"version"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Action persist.Action `db:"action" json:"action"` Data persist.NotificationData `db:"data" json:"data"` EventIds persist.DBIDList `db:"event_ids" json:"event_ids"` FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` CommentID persist.DBID `db:"comment_id" json:"comment_id"` GalleryID persist.DBID `db:"gallery_id" json:"gallery_id"` Seen bool `db:"seen" json:"seen"` Amount int32 `db:"amount" json:"amount"` PostID persist.DBID `db:"post_id" json:"post_id"` TokenID persist.DBID `db:"token_id" json:"token_id"` MentionID persist.DBID `db:"mention_id" json:"mention_id"` CommunityID persist.DBID `db:"community_id" json:"community_id"` }
type OwnedCommunity ¶
type OwnedCommunity struct { UserID persist.DBID `db:"user_id" json:"user_id"` UserCreatedAt time.Time `db:"user_created_at" json:"user_created_at"` CommunityID persist.DBID `db:"community_id" json:"community_id"` OwnedCount int64 `db:"owned_count" json:"owned_count"` DisplayedCount int64 `db:"displayed_count" json:"displayed_count"` Displayed bool `db:"displayed" json:"displayed"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` }
type OwnedContract ¶
type OwnedContract struct { UserID persist.DBID `db:"user_id" json:"user_id"` UserCreatedAt time.Time `db:"user_created_at" json:"user_created_at"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` OwnedCount int64 `db:"owned_count" json:"owned_count"` DisplayedCount int64 `db:"displayed_count" json:"displayed_count"` Displayed bool `db:"displayed" json:"displayed"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` }
type PaginateAdmiresByCommentIDBatchBatchResults ¶
type PaginateAdmiresByCommentIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateAdmiresByCommentIDBatchBatchResults) Close ¶
func (b *PaginateAdmiresByCommentIDBatchBatchResults) Close() error
type PaginateAdmiresByCommentIDBatchParams ¶
type PaginateAdmiresByCommentIDBatchParams struct { CommentID persist.DBID `db:"comment_id" json:"comment_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateAdmiresByFeedEventIDBatchBatchResults ¶
type PaginateAdmiresByFeedEventIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateAdmiresByFeedEventIDBatchBatchResults) Close ¶
func (b *PaginateAdmiresByFeedEventIDBatchBatchResults) Close() error
type PaginateAdmiresByFeedEventIDBatchParams ¶
type PaginateAdmiresByFeedEventIDBatchParams struct { FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateAdmiresByPostIDBatchBatchResults ¶
type PaginateAdmiresByPostIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateAdmiresByPostIDBatchBatchResults) Close ¶
func (b *PaginateAdmiresByPostIDBatchBatchResults) Close() error
type PaginateAdmiresByPostIDBatchParams ¶
type PaginateAdmiresByPostIDBatchParams struct { PostID persist.DBID `db:"post_id" json:"post_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateAdmiresByTokenIDBatchBatchResults ¶
type PaginateAdmiresByTokenIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateAdmiresByTokenIDBatchBatchResults) Close ¶
func (b *PaginateAdmiresByTokenIDBatchBatchResults) Close() error
type PaginateAdmiresByTokenIDBatchParams ¶
type PaginateAdmiresByTokenIDBatchParams struct { TokenID persist.DBID `db:"token_id" json:"token_id"` OnlyForActor bool `db:"only_for_actor" json:"only_for_actor"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateCommentsByFeedEventIDBatchBatchResults ¶
type PaginateCommentsByFeedEventIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateCommentsByFeedEventIDBatchBatchResults) Close ¶
func (b *PaginateCommentsByFeedEventIDBatchBatchResults) Close() error
type PaginateCommentsByFeedEventIDBatchParams ¶
type PaginateCommentsByFeedEventIDBatchParams struct { FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateCommentsByPostIDBatchBatchResults ¶
type PaginateCommentsByPostIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateCommentsByPostIDBatchBatchResults) Close ¶
func (b *PaginateCommentsByPostIDBatchBatchResults) Close() error
type PaginateCommentsByPostIDBatchParams ¶
type PaginateCommentsByPostIDBatchParams struct { PostID persist.DBID `db:"post_id" json:"post_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateGlobalFeedParams ¶
type PaginateGlobalFeedParams struct { CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` ViewerID persist.DBID `db:"viewer_id" json:"viewer_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateHoldersByCommunityIDBatchResults ¶
type PaginateHoldersByCommunityIDBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateHoldersByCommunityIDBatchResults) Close ¶
func (b *PaginateHoldersByCommunityIDBatchResults) Close() error
type PaginateHoldersByCommunityIDParams ¶
type PaginateHoldersByCommunityIDParams struct { CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit sql.NullInt32 `db:"limit" json:"limit"` CommunityID persist.DBID `db:"community_id" json:"community_id"` }
type PaginateInteractionsByFeedEventIDBatchBatchResults ¶
type PaginateInteractionsByFeedEventIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateInteractionsByFeedEventIDBatchBatchResults) Close ¶
func (b *PaginateInteractionsByFeedEventIDBatchBatchResults) Close() error
func (*PaginateInteractionsByFeedEventIDBatchBatchResults) Query ¶
func (b *PaginateInteractionsByFeedEventIDBatchBatchResults) Query(f func(int, []PaginateInteractionsByFeedEventIDBatchRow, error))
type PaginateInteractionsByFeedEventIDBatchParams ¶
type PaginateInteractionsByFeedEventIDBatchParams struct { AdmireTag int32 `db:"admire_tag" json:"admire_tag"` FeedEventID persist.DBID `db:"feed_event_id" json:"feed_event_id"` CurBeforeTag int32 `db:"cur_before_tag" json:"cur_before_tag"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTag int32 `db:"cur_after_tag" json:"cur_after_tag"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` CommentTag int32 `db:"comment_tag" json:"comment_tag"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateInteractionsByPostIDBatchBatchResults ¶
type PaginateInteractionsByPostIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateInteractionsByPostIDBatchBatchResults) Close ¶
func (b *PaginateInteractionsByPostIDBatchBatchResults) Close() error
func (*PaginateInteractionsByPostIDBatchBatchResults) Query ¶
func (b *PaginateInteractionsByPostIDBatchBatchResults) Query(f func(int, []PaginateInteractionsByPostIDBatchRow, error))
type PaginateInteractionsByPostIDBatchParams ¶
type PaginateInteractionsByPostIDBatchParams struct { AdmireTag int32 `db:"admire_tag" json:"admire_tag"` PostID persist.DBID `db:"post_id" json:"post_id"` CurBeforeTag int32 `db:"cur_before_tag" json:"cur_before_tag"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTag int32 `db:"cur_after_tag" json:"cur_after_tag"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` CommentTag int32 `db:"comment_tag" json:"comment_tag"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginatePersonalFeedByUserIDParams ¶
type PaginatePersonalFeedByUserIDParams struct { Follower persist.DBID `db:"follower" json:"follower"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginatePostsByCommunityIDBatchResults ¶
type PaginatePostsByCommunityIDBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginatePostsByCommunityIDBatchResults) Close ¶
func (b *PaginatePostsByCommunityIDBatchResults) Close() error
type PaginatePostsByCommunityIDParams ¶
type PaginatePostsByCommunityIDParams struct { CommunityID persist.DBID `db:"community_id" json:"community_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginatePostsByContractIDAndProjectIDParams ¶
type PaginatePostsByContractIDAndProjectIDParams struct { CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` ProjectIDInt int32 `db:"project_id_int" json:"project_id_int"` }
type PaginatePostsByContractIDBatchResults ¶
type PaginatePostsByContractIDBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginatePostsByContractIDBatchResults) Close ¶
func (b *PaginatePostsByContractIDBatchResults) Close() error
type PaginatePostsByContractIDParams ¶
type PaginatePostsByContractIDParams struct { ContractID persist.DBID `db:"contract_id" json:"contract_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginatePostsByUserIDParams ¶
type PaginatePostsByUserIDParams struct { UserID persist.DBID `db:"user_id" json:"user_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateRepliesByCommentIDBatchBatchResults ¶
type PaginateRepliesByCommentIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateRepliesByCommentIDBatchBatchResults) Close ¶
func (b *PaginateRepliesByCommentIDBatchBatchResults) Close() error
type PaginateRepliesByCommentIDBatchParams ¶
type PaginateRepliesByCommentIDBatchParams struct { CommentID persist.DBID `db:"comment_id" json:"comment_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateTokensAdmiredByUserIDBatchBatchResults ¶
type PaginateTokensAdmiredByUserIDBatchBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateTokensAdmiredByUserIDBatchBatchResults) Close ¶
func (b *PaginateTokensAdmiredByUserIDBatchBatchResults) Close() error
func (*PaginateTokensAdmiredByUserIDBatchBatchResults) Query ¶
func (b *PaginateTokensAdmiredByUserIDBatchBatchResults) Query(f func(int, []PaginateTokensAdmiredByUserIDBatchRow, error))
type PaginateTokensAdmiredByUserIDBatchParams ¶
type PaginateTokensAdmiredByUserIDBatchParams struct { UserID persist.DBID `db:"user_id" json:"user_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateTokensByCommunityIDBatchResults ¶
type PaginateTokensByCommunityIDBatchResults struct {
// contains filtered or unexported fields
}
func (*PaginateTokensByCommunityIDBatchResults) Close ¶
func (b *PaginateTokensByCommunityIDBatchResults) Close() error
func (*PaginateTokensByCommunityIDBatchResults) Query ¶
func (b *PaginateTokensByCommunityIDBatchResults) Query(f func(int, []PaginateTokensByCommunityIDRow, error))
type PaginateTokensByCommunityIDParams ¶
type PaginateTokensByCommunityIDParams struct { CommunityID persist.DBID `db:"community_id" json:"community_id"` CurBeforeTime time.Time `db:"cur_before_time" json:"cur_before_time"` CurBeforeID persist.DBID `db:"cur_before_id" json:"cur_before_id"` CurAfterTime time.Time `db:"cur_after_time" json:"cur_after_time"` CurAfterID persist.DBID `db:"cur_after_id" json:"cur_after_id"` PagingForward bool `db:"paging_forward" json:"paging_forward"` Limit int32 `db:"limit" json:"limit"` }
type PaginateTokensByCommunityIDRow ¶
type PaginateTokensByCommunityIDRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` }
type PiiAccountCreationInfo ¶
type PiiForUser ¶
type PiiForUser struct { UserID persist.DBID `db:"user_id" json:"user_id"` PiiUnverifiedEmailAddress persist.Email `db:"pii_unverified_email_address" json:"pii_unverified_email_address"` Deleted bool `db:"deleted" json:"deleted"` PiiSocials persist.Socials `db:"pii_socials" json:"pii_socials"` PiiVerifiedEmailAddress persist.Email `db:"pii_verified_email_address" json:"pii_verified_email_address"` }
type PiiSocialsAuth ¶
type PiiSocialsAuth struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` UserID persist.DBID `db:"user_id" json:"user_id"` Provider persist.SocialProvider `db:"provider" json:"provider"` AccessToken sql.NullString `db:"access_token" json:"access_token"` RefreshToken sql.NullString `db:"refresh_token" json:"refresh_token"` }
type PiiUserView ¶
type PiiUserView struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Username sql.NullString `db:"username" json:"username"` UsernameIdempotent sql.NullString `db:"username_idempotent" json:"username_idempotent"` Wallets persist.WalletList `db:"wallets" json:"wallets"` Bio sql.NullString `db:"bio" json:"bio"` Traits pgtype.JSONB `db:"traits" json:"traits"` Universal bool `db:"universal" json:"universal"` NotificationSettings persist.UserNotificationSettings `db:"notification_settings" json:"notification_settings"` EmailUnsubscriptions persist.EmailUnsubscriptions `db:"email_unsubscriptions" json:"email_unsubscriptions"` FeaturedGallery *persist.DBID `db:"featured_gallery" json:"featured_gallery"` PrimaryWalletID persist.DBID `db:"primary_wallet_id" json:"primary_wallet_id"` UserExperiences pgtype.JSONB `db:"user_experiences" json:"user_experiences"` ProfileImageID persist.DBID `db:"profile_image_id" json:"profile_image_id"` PiiUnverifiedEmailAddress persist.Email `db:"pii_unverified_email_address" json:"pii_unverified_email_address"` PiiVerifiedEmailAddress persist.Email `db:"pii_verified_email_address" json:"pii_verified_email_address"` PiiSocials persist.Socials `db:"pii_socials" json:"pii_socials"` }
type Post ¶
type Post struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` TokenIds persist.DBIDList `db:"token_ids" json:"token_ids"` ContractIds persist.DBIDList `db:"contract_ids" json:"contract_ids"` ActorID persist.DBID `db:"actor_id" json:"actor_id"` Caption sql.NullString `db:"caption" json:"caption"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` IsFirstPost bool `db:"is_first_post" json:"is_first_post"` UserMintUrl sql.NullString `db:"user_mint_url" json:"user_mint_url"` }
type PrivyUser ¶
type PrivyUser struct { ID persist.DBID `db:"id" json:"id"` PrivyDid string `db:"privy_did" json:"privy_did"` UserID persist.DBID `db:"user_id" json:"user_id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` }
type ProfileImage ¶
type ProfileImage struct { ID persist.DBID `db:"id" json:"id"` UserID persist.DBID `db:"user_id" json:"user_id"` TokenID persist.DBID `db:"token_id" json:"token_id"` SourceType persist.ProfileImageSource `db:"source_type" json:"source_type"` Deleted bool `db:"deleted" json:"deleted"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` WalletID persist.DBID `db:"wallet_id" json:"wallet_id"` EnsAvatarUri sql.NullString `db:"ens_avatar_uri" json:"ens_avatar_uri"` EnsDomain sql.NullString `db:"ens_domain" json:"ens_domain"` }
type PushNotificationTicket ¶
type PushNotificationTicket struct { ID persist.DBID `db:"id" json:"id"` PushTokenID persist.DBID `db:"push_token_id" json:"push_token_id"` TicketID string `db:"ticket_id" json:"ticket_id"` CreatedAt time.Time `db:"created_at" json:"created_at"` CheckAfter time.Time `db:"check_after" json:"check_after"` NumCheckAttempts int32 `db:"num_check_attempts" json:"num_check_attempts"` Deleted bool `db:"deleted" json:"deleted"` Status string `db:"status" json:"status"` }
type PushNotificationToken ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddCollectionToGallery ¶
func (q *Queries) AddCollectionToGallery(ctx context.Context, arg AddCollectionToGalleryParams) error
func (*Queries) AddManyFollows ¶
func (*Queries) AddPiiAccountCreationInfo ¶
func (q *Queries) AddPiiAccountCreationInfo(ctx context.Context, arg AddPiiAccountCreationInfoParams) error
func (*Queries) AddSocialToUser ¶
func (q *Queries) AddSocialToUser(ctx context.Context, arg AddSocialToUserParams) error
func (*Queries) AddUserRoles ¶
func (q *Queries) AddUserRoles(ctx context.Context, arg AddUserRolesParams) error
func (*Queries) BlockUserFromFeed ¶
func (q *Queries) BlockUserFromFeed(ctx context.Context, arg BlockUserFromFeedParams) error
func (*Queries) CheckUserOwnsAllTokenDbids ¶
func (*Queries) ClearNotificationsForUser ¶
func (*Queries) ConsumeNonce ¶
func (*Queries) CountAdmiresByCommentIDBatch ¶
func (*Queries) CountAdmiresByFeedEventIDBatch ¶
func (*Queries) CountAdmiresByPostIDBatch ¶
func (*Queries) CountAdmiresByTokenIDBatch ¶
func (*Queries) CountCommentsAndRepliesByFeedEventID ¶
func (*Queries) CountCommentsAndRepliesByPostID ¶
func (*Queries) CountCommentsByFeedEventIDBatch ¶
func (*Queries) CountCommentsByPostIDBatch ¶
func (*Queries) CountFollowersByUserID ¶
func (*Queries) CountGalleriesDisplayingCommunityIDBatch ¶
func (*Queries) CountHoldersByCommunityID ¶
func (*Queries) CountInteractionsByFeedEventIDBatch ¶
func (q *Queries) CountInteractionsByFeedEventIDBatch(ctx context.Context, arg []CountInteractionsByFeedEventIDBatchParams) *CountInteractionsByFeedEventIDBatchBatchResults
func (*Queries) CountInteractionsByPostIDBatch ¶
func (q *Queries) CountInteractionsByPostIDBatch(ctx context.Context, arg []CountInteractionsByPostIDBatchParams) *CountInteractionsByPostIDBatchBatchResults
func (*Queries) CountOwnersByContractId ¶
func (*Queries) CountPostsByCommunityID ¶
func (*Queries) CountPostsByContractID ¶
func (*Queries) CountPostsByUserID ¶
func (*Queries) CountRepliesByCommentIDBatch ¶
func (*Queries) CountSharedCommunities ¶
func (*Queries) CountSharedFollows ¶
func (*Queries) CountSocialConnections ¶
func (*Queries) CountTokensAdmiredByUserID ¶
func (*Queries) CountTokensByCommunityID ¶
func (*Queries) CountTokensByContractId ¶
func (*Queries) CountUserNotifications ¶
func (*Queries) CountUserUnseenNotifications ¶
func (*Queries) CreateAdmireEvent ¶
func (*Queries) CreateAdmireNotification ¶
func (q *Queries) CreateAdmireNotification(ctx context.Context, arg CreateAdmireNotificationParams) (Notification, error)
func (*Queries) CreateAnnouncementNotifications ¶
func (q *Queries) CreateAnnouncementNotifications(ctx context.Context, arg CreateAnnouncementNotificationsParams) ([]Notification, error)
later on, we might want to add a "global" column to notifications or even an enum column like "match" to determine how largely consumed notifications will get searched for for a given user. For example, global notifications will always return for a user and follower notifications will perform the check to see if the user follows the owner of the notification. Where this breaks is how we handle "seen" notifications. Since there is 1:1 notifications to users right now, we can't have a "seen" field on the notification itself. We would have to move seen out into a separate table.
func (*Queries) CreateCollection ¶
func (*Queries) CreateCollectionEvent ¶
func (*Queries) CreateCommentAdmire ¶
func (*Queries) CreateCommentEvent ¶
func (*Queries) CreateCommentNotification ¶
func (q *Queries) CreateCommentNotification(ctx context.Context, arg CreateCommentNotificationParams) (Notification, error)
func (*Queries) CreateCommunityEvent ¶
func (*Queries) CreateCommunityNotification ¶
func (q *Queries) CreateCommunityNotification(ctx context.Context, arg CreateCommunityNotificationParams) (Notification, error)
func (*Queries) CreateDataOnlyEvent ¶
func (*Queries) CreateFeedEvent ¶
func (*Queries) CreateFeedEventAdmire ¶
func (*Queries) CreateGalleryEvent ¶
func (*Queries) CreateMentionUserNotification ¶
func (q *Queries) CreateMentionUserNotification(ctx context.Context, arg CreateMentionUserNotificationParams) (Notification, error)
func (*Queries) CreatePostAdmire ¶
func (*Queries) CreatePostEvent ¶
func (*Queries) CreatePostNotification ¶
func (q *Queries) CreatePostNotification(ctx context.Context, arg CreatePostNotificationParams) (Notification, error)
func (*Queries) CreatePushTickets ¶
func (q *Queries) CreatePushTickets(ctx context.Context, arg CreatePushTicketsParams) error
func (*Queries) CreatePushTokenForUser ¶
func (q *Queries) CreatePushTokenForUser(ctx context.Context, arg CreatePushTokenForUserParams) (PushNotificationToken, error)
func (*Queries) CreateSimpleNotification ¶
func (q *Queries) CreateSimpleNotification(ctx context.Context, arg CreateSimpleNotificationParams) (Notification, error)
func (*Queries) CreateTokenAdmire ¶
func (*Queries) CreateTokenEvent ¶
func (*Queries) CreateTokenNotification ¶
func (q *Queries) CreateTokenNotification(ctx context.Context, arg CreateTokenNotificationParams) (Notification, error)
func (*Queries) CreateUserEvent ¶
func (*Queries) CreateUserPostedYourWorkNotification ¶
func (q *Queries) CreateUserPostedYourWorkNotification(ctx context.Context, arg CreateUserPostedYourWorkNotificationParams) (Notification, error)
func (*Queries) CreateViewGalleryNotification ¶
func (q *Queries) CreateViewGalleryNotification(ctx context.Context, arg CreateViewGalleryNotificationParams) (Notification, error)
func (*Queries) DeleteAdmireByID ¶
func (*Queries) DeleteCollections ¶
func (*Queries) DeletePostByID ¶
func (*Queries) DeletePushTokensByIDs ¶
func (*Queries) DeleteTokensBeforeTimestamp ¶
func (*Queries) DeleteUserByID ¶
func (*Queries) DeleteUserRoles ¶
func (q *Queries) DeleteUserRoles(ctx context.Context, arg DeleteUserRolesParams) error
func (*Queries) DeleteWalletByID ¶
func (*Queries) GalleryRepoAddCollections ¶
func (*Queries) GalleryRepoCheckOwnCollections ¶
func (*Queries) GalleryRepoCountAllCollections ¶
func (*Queries) GalleryRepoCountColls ¶
func (*Queries) GalleryRepoCreate ¶
func (*Queries) GalleryRepoDelete ¶
func (q *Queries) GalleryRepoDelete(ctx context.Context, arg GalleryRepoDeleteParams) error
func (*Queries) GalleryRepoGetByUserIDRaw ¶
func (*Queries) GalleryRepoGetGalleryCollections ¶
func (*Queries) GalleryRepoGetPreviewsForUserID ¶
func (*Queries) GalleryRepoUpdate ¶
func (*Queries) GetActiveWallets ¶
func (*Queries) GetActorForGroup ¶
func (q *Queries) GetActorForGroup(ctx context.Context, groupID sql.NullString) (sql.NullString, error)
func (*Queries) GetAdmireByActorIDAndCommentID ¶
func (q *Queries) GetAdmireByActorIDAndCommentID(ctx context.Context, arg []GetAdmireByActorIDAndCommentIDParams) *GetAdmireByActorIDAndCommentIDBatchResults
func (*Queries) GetAdmireByActorIDAndFeedEventID ¶
func (q *Queries) GetAdmireByActorIDAndFeedEventID(ctx context.Context, arg []GetAdmireByActorIDAndFeedEventIDParams) *GetAdmireByActorIDAndFeedEventIDBatchResults
func (*Queries) GetAdmireByActorIDAndPostID ¶
func (q *Queries) GetAdmireByActorIDAndPostID(ctx context.Context, arg []GetAdmireByActorIDAndPostIDParams) *GetAdmireByActorIDAndPostIDBatchResults
func (*Queries) GetAdmireByActorIDAndTokenID ¶
func (q *Queries) GetAdmireByActorIDAndTokenID(ctx context.Context, arg []GetAdmireByActorIDAndTokenIDParams) *GetAdmireByActorIDAndTokenIDBatchResults
func (*Queries) GetAdmireByAdmireID ¶
func (*Queries) GetAdmireByAdmireIDBatch ¶
func (*Queries) GetAdmiresByActorID ¶
func (*Queries) GetAdmiresByActorIDBatch ¶
func (*Queries) GetAdmiresByAdmireIDs ¶
func (*Queries) GetAllTimeTrendingUserIDs ¶
func (*Queries) GetCheckablePushTickets ¶
func (*Queries) GetChildContractsByParentIDBatchPaginate ¶
func (q *Queries) GetChildContractsByParentIDBatchPaginate(ctx context.Context, arg []GetChildContractsByParentIDBatchPaginateParams) *GetChildContractsByParentIDBatchPaginateBatchResults
func (*Queries) GetCollectionById ¶
func (*Queries) GetCollectionByIdBatch ¶
func (*Queries) GetCollectionTokensByCollectionID ¶
func (*Queries) GetCollectionsByGalleryId ¶
func (*Queries) GetCollectionsByGalleryIdBatch ¶
func (*Queries) GetCommentByCommentID ¶
func (*Queries) GetCommentByCommentIDBatch ¶
func (*Queries) GetCommentsByCommentIDs ¶
func (*Queries) GetCommunitiesByKeys ¶
func (q *Queries) GetCommunitiesByKeys(ctx context.Context, arg GetCommunitiesByKeysParams) ([]GetCommunitiesByKeysRow, error)
dataloader-config: skip=true Get communities by keys
func (*Queries) GetCommunitiesByTokenDefinitionID ¶
func (*Queries) GetCommunityByID ¶
func (*Queries) GetCommunityByIDBatch ¶
func (*Queries) GetCommunityByKey ¶
func (q *Queries) GetCommunityByKey(ctx context.Context, arg []GetCommunityByKeyParams) *GetCommunityByKeyBatchResults
func (*Queries) GetCommunityContractProviders ¶
func (*Queries) GetContractByChainAddress ¶
func (*Queries) GetContractByChainAddressBatch ¶
func (q *Queries) GetContractByChainAddressBatch(ctx context.Context, arg []GetContractByChainAddressBatchParams) *GetContractByChainAddressBatchBatchResults
func (*Queries) GetContractByID ¶
func (*Queries) GetContractCreatorsByIds ¶
func (*Queries) GetContractLabels ¶
func (*Queries) GetContractsByIDs ¶
func (*Queries) GetContractsByTokenIDs ¶
func (*Queries) GetContractsDisplayedByUserIDBatch ¶
func (*Queries) GetCreatedContractsBatchPaginate ¶
func (q *Queries) GetCreatedContractsBatchPaginate(ctx context.Context, arg []GetCreatedContractsBatchPaginateParams) *GetCreatedContractsBatchPaginateBatchResults
func (*Queries) GetCreatedContractsByUserID ¶
func (q *Queries) GetCreatedContractsByUserID(ctx context.Context, arg GetCreatedContractsByUserIDParams) ([]GetCreatedContractsByUserIDRow, error)
func (*Queries) GetCreatorsByCommunityID ¶
func (*Queries) GetCurrentTime ¶
func (*Queries) GetEthereumWalletsForEnsProfileImagesByUserID ¶
func (*Queries) GetEventByIdBatch ¶
func (*Queries) GetEventsInGroup ¶
func (*Queries) GetEventsInWindow ¶
func (*Queries) GetExternalFollowGraphSource ¶
func (q *Queries) GetExternalFollowGraphSource(ctx context.Context) ([]GetExternalFollowGraphSourceRow, error)
func (*Queries) GetFarcasterConnections ¶
func (q *Queries) GetFarcasterConnections(ctx context.Context, arg GetFarcasterConnectionsParams) ([]GetFarcasterConnectionsRow, error)
func (*Queries) GetFeedEntityScores ¶
func (q *Queries) GetFeedEntityScores(ctx context.Context, arg GetFeedEntityScoresParams) ([]GetFeedEntityScoresRow, error)
func (*Queries) GetFeedEventByID ¶
func (*Queries) GetFeedEventsByIds ¶
func (*Queries) GetFollowEdgesByUserID ¶
func (*Queries) GetFollowGraphSource ¶
func (q *Queries) GetFollowGraphSource(ctx context.Context) ([]GetFollowGraphSourceRow, error)
func (*Queries) GetFollowersByUserIdBatch ¶
func (*Queries) GetFollowingByUserIdBatch ¶
func (*Queries) GetFrameTokensByCommunityID ¶
func (q *Queries) GetFrameTokensByCommunityID(ctx context.Context, arg []GetFrameTokensByCommunityIDParams) *GetFrameTokensByCommunityIDBatchResults
This is a temporary query that gets tokens from a community without pagination or any specific ordering. It returns them very quickly, and is currently used to populate community frames. At present, a community is either entirely token-based or contract-based, so only one of these two union clauses will return any tokens (which means it's okay for each clause to have its own ordering). This query was originally written with a union of results from contract_memberships and token_memberships and a single outer select + join on the results of that union, but that prevented the query planner from using indexes correctly (since the referenced tables might be indexed, but the union of results is not). The current method is verbose and brittle, but it's fast!
func (*Queries) GetGalleriesByUserId ¶
func (*Queries) GetGalleriesByUserIdBatch ¶
func (*Queries) GetGalleriesDisplayingCommunityIDPaginateBatch ¶
func (q *Queries) GetGalleriesDisplayingCommunityIDPaginateBatch(ctx context.Context, arg []GetGalleriesDisplayingCommunityIDPaginateBatchParams) *GetGalleriesDisplayingCommunityIDPaginateBatchBatchResults
func (*Queries) GetGalleryByCollectionId ¶
func (*Queries) GetGalleryByCollectionIdBatch ¶
func (*Queries) GetGalleryById ¶
func (*Queries) GetGalleryByIdBatch ¶
func (*Queries) GetGalleryEventsInWindow ¶
func (*Queries) GetGalleryIDByCollectionID ¶
func (*Queries) GetGalleryTokenMediasByGalleryIDBatch ¶
func (*Queries) GetHighlightMintClaimByID ¶
func (*Queries) GetLastFeedEventForCollection ¶
func (*Queries) GetLastFeedEventForToken ¶
func (*Queries) GetLastFeedEventForUser ¶
func (*Queries) GetMediaByMediaIdIgnoringStatusBatch ¶
func (*Queries) GetMediaByTokenIdentifiersIgnoringStatus ¶
func (q *Queries) GetMediaByTokenIdentifiersIgnoringStatus(ctx context.Context, arg GetMediaByTokenIdentifiersIgnoringStatusParams) (TokenMedia, error)
func (*Queries) GetMembershipByMembershipId ¶
func (*Queries) GetMembershipByMembershipIdBatch ¶
func (*Queries) GetMentionByID ¶
func (*Queries) GetMentionsByCommentID ¶
func (*Queries) GetMentionsByPostID ¶
func (*Queries) GetMerchDiscountCodeByTokenID ¶
func (q *Queries) GetMerchDiscountCodeByTokenID(ctx context.Context, tokenHex persist.HexTokenID) (sql.NullString, error)
func (*Queries) GetMostActiveUsers ¶
func (q *Queries) GetMostActiveUsers(ctx context.Context, arg GetMostActiveUsersParams) ([]GetMostActiveUsersRow, error)
func (*Queries) GetMostRecentNotificationByOwnerIDForAction ¶
func (q *Queries) GetMostRecentNotificationByOwnerIDForAction(ctx context.Context, arg GetMostRecentNotificationByOwnerIDForActionParams) (Notification, error)
func (*Queries) GetMostRecentNotificationByOwnerIDTokenIDForAction ¶
func (q *Queries) GetMostRecentNotificationByOwnerIDTokenIDForAction(ctx context.Context, arg GetMostRecentNotificationByOwnerIDTokenIDForActionParams) (Notification, error)
func (*Queries) GetNewTokensByFeedEventIdBatch ¶
func (*Queries) GetNotificationByID ¶
func (*Queries) GetNotificationByIDBatch ¶
func (*Queries) GetNotificationsByOwnerIDForActionAfter ¶
func (q *Queries) GetNotificationsByOwnerIDForActionAfter(ctx context.Context, arg GetNotificationsByOwnerIDForActionAfterParams) ([]Notification, error)
func (*Queries) GetOnboardingUserRecommendations ¶
func (*Queries) GetOwnersByContractIdBatchPaginate ¶
func (q *Queries) GetOwnersByContractIdBatchPaginate(ctx context.Context, arg []GetOwnersByContractIdBatchPaginateParams) *GetOwnersByContractIdBatchPaginateBatchResults
Note: sqlc has trouble recognizing that the output of the "select distinct" subquery below will
return complete rows from the users table. As a workaround, aliasing the subquery to "users" seems to fix the issue (along with aliasing the users table inside the subquery to "u" to avoid confusion -- otherwise, sqlc creates a custom row type that includes all users.* fields twice).
func (*Queries) GetPostByID ¶
func (*Queries) GetPostByIdBatch ¶
func (*Queries) GetPostsByIdsPaginateBatch ¶
func (q *Queries) GetPostsByIdsPaginateBatch(ctx context.Context, arg []GetPostsByIdsPaginateBatchParams) *GetPostsByIdsPaginateBatchBatchResults
func (*Queries) GetPotentialENSProfileImageByUserId ¶
func (q *Queries) GetPotentialENSProfileImageByUserId(ctx context.Context, arg GetPotentialENSProfileImageByUserIdParams) (GetPotentialENSProfileImageByUserIdRow, error)
func (*Queries) GetPreviewURLsByContractIdAndUserId ¶
func (*Queries) GetProfileImageByIdBatch ¶
func (q *Queries) GetProfileImageByIdBatch(ctx context.Context, arg []GetProfileImageByIdBatchParams) *GetProfileImageByIdBatchBatchResults
func (*Queries) GetPushTokenByPushToken ¶
func (*Queries) GetPushTokensByIDs ¶
func (*Queries) GetPushTokensByUserID ¶
func (*Queries) GetRecentUnseenNotifications ¶
func (q *Queries) GetRecentUnseenNotifications(ctx context.Context, arg GetRecentUnseenNotificationsParams) ([]Notification, error)
func (*Queries) GetReprocessJobRangeByID ¶
func (*Queries) GetSVGTokensWithContractsByIDs ¶
func (q *Queries) GetSVGTokensWithContractsByIDs(ctx context.Context, arg GetSVGTokensWithContractsByIDsParams) ([]GetSVGTokensWithContractsByIDsRow, error)
func (*Queries) GetSharedCommunitiesBatchPaginate ¶
func (q *Queries) GetSharedCommunitiesBatchPaginate(ctx context.Context, arg []GetSharedCommunitiesBatchPaginateParams) *GetSharedCommunitiesBatchPaginateBatchResults
func (*Queries) GetSharedFollowersBatchPaginate ¶
func (q *Queries) GetSharedFollowersBatchPaginate(ctx context.Context, arg []GetSharedFollowersBatchPaginateParams) *GetSharedFollowersBatchPaginateBatchResults
func (*Queries) GetSocialAuthByUserID ¶
func (q *Queries) GetSocialAuthByUserID(ctx context.Context, arg GetSocialAuthByUserIDParams) (PiiSocialsAuth, error)
func (*Queries) GetSocialConnections ¶
func (q *Queries) GetSocialConnections(ctx context.Context, arg GetSocialConnectionsParams) ([]GetSocialConnectionsRow, error)
func (*Queries) GetSocialConnectionsPaginate ¶
func (q *Queries) GetSocialConnectionsPaginate(ctx context.Context, arg GetSocialConnectionsPaginateParams) ([]GetSocialConnectionsPaginateRow, error)
this query will take in enoug info to create a sort of fake table of social accounts matching them up to users in gallery with twitter connected. it will also go and search for whether the specified user follows any of the users returned
func (*Queries) GetSocialsByUserID ¶
func (*Queries) GetTokenById ¶
func (*Queries) GetTokenByIdBatch ¶
func (*Queries) GetTokenByIdIgnoreDisplayableBatch ¶
func (*Queries) GetTokenByUserTokenIdentifiers ¶
func (q *Queries) GetTokenByUserTokenIdentifiers(ctx context.Context, arg GetTokenByUserTokenIdentifiersParams) (GetTokenByUserTokenIdentifiersRow, error)
func (*Queries) GetTokenByUserTokenIdentifiersBatch ¶
func (q *Queries) GetTokenByUserTokenIdentifiersBatch(ctx context.Context, arg []GetTokenByUserTokenIdentifiersBatchParams) *GetTokenByUserTokenIdentifiersBatchBatchResults
Fetch the definition and contract to cache since downstream queries will likely use them
func (*Queries) GetTokenByUserTokenIdentifiersIgnoreDisplayableBatch ¶
func (q *Queries) GetTokenByUserTokenIdentifiersIgnoreDisplayableBatch(ctx context.Context, arg []GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchParams) *GetTokenByUserTokenIdentifiersIgnoreDisplayableBatchBatchResults
func (*Queries) GetTokenDefinitionById ¶
func (*Queries) GetTokenDefinitionByIdBatch ¶
func (*Queries) GetTokenDefinitionByTokenDbid ¶
func (*Queries) GetTokenDefinitionByTokenDbidBatch ¶
func (*Queries) GetTokenDefinitionByTokenIdentifiers ¶
func (q *Queries) GetTokenDefinitionByTokenIdentifiers(ctx context.Context, arg GetTokenDefinitionByTokenIdentifiersParams) (TokenDefinition, error)
func (*Queries) GetTokenFullDetailsByUserTokenIdentifiers ¶
func (q *Queries) GetTokenFullDetailsByUserTokenIdentifiers(ctx context.Context, arg GetTokenFullDetailsByUserTokenIdentifiersParams) (GetTokenFullDetailsByUserTokenIdentifiersRow, error)
func (*Queries) GetTokensByCollectionIdBatch ¶
func (q *Queries) GetTokensByCollectionIdBatch(ctx context.Context, arg []GetTokensByCollectionIdBatchParams) *GetTokensByCollectionIdBatchBatchResults
func (*Queries) GetTokensByContractAddressUserId ¶
func (q *Queries) GetTokensByContractAddressUserId(ctx context.Context, arg GetTokensByContractAddressUserIdParams) ([]GetTokensByContractAddressUserIdRow, error)
func (*Queries) GetTokensByContractIdPaginate ¶
func (q *Queries) GetTokensByContractIdPaginate(ctx context.Context, arg GetTokensByContractIdPaginateParams) ([]GetTokensByContractIdPaginateRow, error)
func (*Queries) GetTokensByUserIdBatch ¶
func (q *Queries) GetTokensByUserIdBatch(ctx context.Context, arg []GetTokensByUserIdBatchParams) *GetTokensByUserIdBatchBatchResults
func (*Queries) GetTokensByWalletIdsBatch ¶
func (*Queries) GetTopCollectionsForCommunity ¶
func (*Queries) GetTopCommunitiesByPosts ¶
func (*Queries) GetTopGalleriesByViews ¶
func (*Queries) GetTopRecommendedUserIDs ¶
func (*Queries) GetTrendingUsersByIDs ¶
func (*Queries) GetUniqueTokenIdentifiersByTokenID ¶
func (*Queries) GetUserByAddressAndL1 ¶
func (*Queries) GetUserByAddressAndL1Batch ¶
func (q *Queries) GetUserByAddressAndL1Batch(ctx context.Context, arg []GetUserByAddressAndL1BatchParams) *GetUserByAddressAndL1BatchBatchResults
func (*Queries) GetUserById ¶
func (*Queries) GetUserByIdBatch ¶
func (*Queries) GetUserByPrivyDID ¶
func (*Queries) GetUserByUsername ¶
func (*Queries) GetUserByUsernameBatch ¶
func (q *Queries) GetUserByUsernameBatch(ctx context.Context, lower []string) *GetUserByUsernameBatchBatchResults
func (*Queries) GetUserByVerifiedEmailAddress ¶
func (*Queries) GetUserByWalletID ¶
func (*Queries) GetUserExperiencesByUserID ¶
func (*Queries) GetUserIsBlockedFromFeed ¶
func (*Queries) GetUserLabels ¶
func (*Queries) GetUserNotifications ¶
func (q *Queries) GetUserNotifications(ctx context.Context, arg GetUserNotificationsParams) ([]Notification, error)
func (*Queries) GetUserNotificationsBatch ¶
func (q *Queries) GetUserNotificationsBatch(ctx context.Context, arg []GetUserNotificationsBatchParams) *GetUserNotificationsBatchBatchResults
func (*Queries) GetUserRolesByUserId ¶
func (*Queries) GetUserUnseenNotifications ¶
func (q *Queries) GetUserUnseenNotifications(ctx context.Context, arg GetUserUnseenNotificationsParams) ([]Notification, error)
func (*Queries) GetUserWithPIIByID ¶
func (*Queries) GetUsersByChainAddresses ¶
func (q *Queries) GetUsersByChainAddresses(ctx context.Context, arg GetUsersByChainAddressesParams) ([]GetUsersByChainAddressesRow, error)
func (*Queries) GetUsersByFarcasterIDs ¶
func (*Queries) GetUsersByIDs ¶
func (*Queries) GetUsersByPositionPaginateBatch ¶
func (q *Queries) GetUsersByPositionPaginateBatch(ctx context.Context, arg []GetUsersByPositionPaginateBatchParams) *GetUsersByPositionPaginateBatchBatchResults
func (*Queries) GetUsersByPositionPersonalizedBatch ¶
func (q *Queries) GetUsersByPositionPersonalizedBatch(ctx context.Context, arg []GetUsersByPositionPersonalizedBatchParams) *GetUsersByPositionPersonalizedBatchBatchResults
func (*Queries) GetUsersBySocialIDs ¶
func (q *Queries) GetUsersBySocialIDs(ctx context.Context, arg GetUsersBySocialIDsParams) ([]PiiUserView, error)
func (*Queries) GetUsersByWalletAddressesAndChains ¶
func (q *Queries) GetUsersByWalletAddressesAndChains(ctx context.Context, arg GetUsersByWalletAddressesAndChainsParams) ([]GetUsersByWalletAddressesAndChainsRow, error)
func (*Queries) GetUsersWithEmailNotificationsOnForEmailType ¶
func (q *Queries) GetUsersWithEmailNotificationsOnForEmailType(ctx context.Context, arg GetUsersWithEmailNotificationsOnForEmailTypeParams) ([]PiiUserView, error)
for some reason this query will not allow me to use @tags for $1
func (*Queries) GetUsersWithRolePaginate ¶
func (*Queries) GetUsersWithTrait ¶
func (*Queries) GetUsersWithTraitBatch ¶
func (q *Queries) GetUsersWithTraitBatch(ctx context.Context, dollar_1 []string) *GetUsersWithTraitBatchBatchResults
func (*Queries) GetUsersWithoutSocials ¶
func (q *Queries) GetUsersWithoutSocials(ctx context.Context) ([]GetUsersWithoutSocialsRow, error)
func (*Queries) GetVisibleCollectionsByIDsPaginateBatch ¶
func (q *Queries) GetVisibleCollectionsByIDsPaginateBatch(ctx context.Context, arg []GetVisibleCollectionsByIDsPaginateBatchParams) *GetVisibleCollectionsByIDsPaginateBatchBatchResults
func (*Queries) GetWalletByAddressAndL1Chain ¶
func (*Queries) GetWalletByID ¶
func (*Queries) GetWalletByIDBatch ¶
func (*Queries) GetWalletsByUserID ¶
func (*Queries) GetWalletsByUserIDBatch ¶
func (*Queries) GetWindowedTrendingUserIDs ¶
func (*Queries) HasLaterGroupedEvent ¶
func (*Queries) HasMintedClaimsByUserID ¶
func (q *Queries) HasMintedClaimsByUserID(ctx context.Context, arg HasMintedClaimsByUserIDParams) (HasMintedClaimsByUserIDRow, error)
func (*Queries) HasMintedClaimsByWalletAddress ¶
func (q *Queries) HasMintedClaimsByWalletAddress(ctx context.Context, arg HasMintedClaimsByWalletAddressParams) (HasMintedClaimsByWalletAddressRow, error)
func (*Queries) InsertComment ¶
func (*Queries) InsertCommentMention ¶
func (*Queries) InsertMention ¶
func (*Queries) InsertNonce ¶
func (*Queries) InsertPost ¶
func (*Queries) InsertPostMention ¶
func (*Queries) InsertSpamContracts ¶
func (q *Queries) InsertSpamContracts(ctx context.Context, arg InsertSpamContractsParams) error
func (*Queries) InsertTokenPipelineResults ¶
func (q *Queries) InsertTokenPipelineResults(ctx context.Context, arg InsertTokenPipelineResultsParams) (InsertTokenPipelineResultsRow, error)
Always return the new media that was inserted, even if its inactive so the pipeline can report metrics accurately
func (*Queries) InsertUser ¶
func (*Queries) InsertWallet ¶
func (q *Queries) InsertWallet(ctx context.Context, arg InsertWalletParams) error
func (*Queries) InvalidateSession ¶
func (*Queries) IsActorActionActive ¶
func (*Queries) IsActorGalleryActive ¶
func (*Queries) IsActorSubjectActionActive ¶
func (*Queries) IsActorSubjectActive ¶
func (*Queries) IsFeedEventExistsForGroup ¶
func (*Queries) IsMemberOfCommunity ¶
func (*Queries) PaginateAdmiresByCommentIDBatch ¶
func (q *Queries) PaginateAdmiresByCommentIDBatch(ctx context.Context, arg []PaginateAdmiresByCommentIDBatchParams) *PaginateAdmiresByCommentIDBatchBatchResults
func (*Queries) PaginateAdmiresByFeedEventIDBatch ¶
func (q *Queries) PaginateAdmiresByFeedEventIDBatch(ctx context.Context, arg []PaginateAdmiresByFeedEventIDBatchParams) *PaginateAdmiresByFeedEventIDBatchBatchResults
func (*Queries) PaginateAdmiresByPostIDBatch ¶
func (q *Queries) PaginateAdmiresByPostIDBatch(ctx context.Context, arg []PaginateAdmiresByPostIDBatchParams) *PaginateAdmiresByPostIDBatchBatchResults
func (*Queries) PaginateAdmiresByTokenIDBatch ¶
func (q *Queries) PaginateAdmiresByTokenIDBatch(ctx context.Context, arg []PaginateAdmiresByTokenIDBatchParams) *PaginateAdmiresByTokenIDBatchBatchResults
func (*Queries) PaginateCommentsByFeedEventIDBatch ¶
func (q *Queries) PaginateCommentsByFeedEventIDBatch(ctx context.Context, arg []PaginateCommentsByFeedEventIDBatchParams) *PaginateCommentsByFeedEventIDBatchBatchResults
func (*Queries) PaginateCommentsByPostIDBatch ¶
func (q *Queries) PaginateCommentsByPostIDBatch(ctx context.Context, arg []PaginateCommentsByPostIDBatchParams) *PaginateCommentsByPostIDBatchBatchResults
func (*Queries) PaginateGlobalFeed ¶
func (q *Queries) PaginateGlobalFeed(ctx context.Context, arg PaginateGlobalFeedParams) ([]FeedEntity, error)
func (*Queries) PaginateHoldersByCommunityID ¶
func (q *Queries) PaginateHoldersByCommunityID(ctx context.Context, arg []PaginateHoldersByCommunityIDParams) *PaginateHoldersByCommunityIDBatchResults
Note: sqlc has trouble recognizing that the output of the "select distinct" subquery below will
return complete rows from the users table. As a workaround, aliasing the subquery to "users" seems to fix the issue (along with aliasing the users table inside the subquery to "u" to avoid confusion -- otherwise, sqlc creates a custom row type that includes all users.* fields twice).
func (*Queries) PaginateInteractionsByFeedEventIDBatch ¶
func (q *Queries) PaginateInteractionsByFeedEventIDBatch(ctx context.Context, arg []PaginateInteractionsByFeedEventIDBatchParams) *PaginateInteractionsByFeedEventIDBatchBatchResults
func (*Queries) PaginateInteractionsByPostIDBatch ¶
func (q *Queries) PaginateInteractionsByPostIDBatch(ctx context.Context, arg []PaginateInteractionsByPostIDBatchParams) *PaginateInteractionsByPostIDBatchBatchResults
func (*Queries) PaginatePersonalFeedByUserID ¶
func (q *Queries) PaginatePersonalFeedByUserID(ctx context.Context, arg PaginatePersonalFeedByUserIDParams) ([]FeedEntity, error)
func (*Queries) PaginatePostsByCommunityID ¶
func (q *Queries) PaginatePostsByCommunityID(ctx context.Context, arg []PaginatePostsByCommunityIDParams) *PaginatePostsByCommunityIDBatchResults
func (*Queries) PaginatePostsByContractID ¶
func (q *Queries) PaginatePostsByContractID(ctx context.Context, arg []PaginatePostsByContractIDParams) *PaginatePostsByContractIDBatchResults
func (*Queries) PaginatePostsByContractIDAndProjectID ¶
func (*Queries) PaginatePostsByUserID ¶
func (*Queries) PaginateRepliesByCommentIDBatch ¶
func (q *Queries) PaginateRepliesByCommentIDBatch(ctx context.Context, arg []PaginateRepliesByCommentIDBatchParams) *PaginateRepliesByCommentIDBatchBatchResults
func (*Queries) PaginateTokensAdmiredByUserIDBatch ¶
func (q *Queries) PaginateTokensAdmiredByUserIDBatch(ctx context.Context, arg []PaginateTokensAdmiredByUserIDBatchParams) *PaginateTokensAdmiredByUserIDBatchBatchResults
func (*Queries) PaginateTokensByCommunityID ¶
func (q *Queries) PaginateTokensByCommunityID(ctx context.Context, arg []PaginateTokensByCommunityIDParams) *PaginateTokensByCommunityIDBatchResults
At present, a community is either entirely token-based or contract-based, so only one of these two union clauses will return any tokens (which means it's okay for each clause to have its own ordering). This query was originally written with a union of results from contract_memberships and token_memberships and a single outer select + join on the results of that union, but that prevented the query planner from using indexes correctly (since the referenced tables might be indexed, but the union of results is not). The current method is verbose and brittle, but it's fast!
func (*Queries) RedeemMerch ¶
func (q *Queries) RedeemMerch(ctx context.Context, arg RedeemMerchParams) (sql.NullString, error)
func (*Queries) RemoveCollectionFromGallery ¶
func (q *Queries) RemoveCollectionFromGallery(ctx context.Context, arg RemoveCollectionFromGalleryParams) error
func (*Queries) RemoveComment ¶
func (*Queries) RemoveContractOverrideCreator ¶
func (*Queries) RemoveProfileImage ¶
func (*Queries) RemoveSocialFromUser ¶
func (q *Queries) RemoveSocialFromUser(ctx context.Context, arg RemoveSocialFromUserParams) error
func (*Queries) RemoveStaleCreatorStatusFromTokens ¶
func (*Queries) RemoveWalletFromTokens ¶
func (q *Queries) RemoveWalletFromTokens(ctx context.Context, arg RemoveWalletFromTokensParams) error
func (*Queries) ReportPost ¶
func (*Queries) SaveHighlightMintClaim ¶
func (*Queries) SearchCommunities ¶
func (*Queries) SearchGalleries ¶
func (*Queries) SearchUsers ¶
func (*Queries) SetContractOverrideCreator ¶
func (q *Queries) SetContractOverrideCreator(ctx context.Context, arg SetContractOverrideCreatorParams) error
func (*Queries) SetPersonaByUserID ¶
func (q *Queries) SetPersonaByUserID(ctx context.Context, arg SetPersonaByUserIDParams) error
func (*Queries) SetPrivyDIDForUser ¶
func (q *Queries) SetPrivyDIDForUser(ctx context.Context, arg SetPrivyDIDForUserParams) error
func (*Queries) SetProfileImageToENS ¶
func (q *Queries) SetProfileImageToENS(ctx context.Context, arg SetProfileImageToENSParams) (SetProfileImageToENSRow, error)
func (*Queries) SetProfileImageToToken ¶
func (q *Queries) SetProfileImageToToken(ctx context.Context, arg SetProfileImageToTokenParams) error
func (*Queries) UnblockUser ¶
func (q *Queries) UnblockUser(ctx context.Context, arg UnblockUserParams) error
func (*Queries) UnblockUserFromFeed ¶
func (*Queries) UpdateCollectionGallery ¶
func (q *Queries) UpdateCollectionGallery(ctx context.Context, arg UpdateCollectionGalleryParams) error
func (*Queries) UpdateCollectionTokens ¶
func (q *Queries) UpdateCollectionTokens(ctx context.Context, arg UpdateCollectionTokensParams) error
func (*Queries) UpdateCollectionsInfo ¶
func (q *Queries) UpdateCollectionsInfo(ctx context.Context, arg UpdateCollectionsInfoParams) error
func (*Queries) UpdateEventCaptionByGroup ¶
func (q *Queries) UpdateEventCaptionByGroup(ctx context.Context, arg UpdateEventCaptionByGroupParams) error
func (*Queries) UpdateFeedEventCaptionByGroup ¶
func (*Queries) UpdateGalleryCollections ¶
func (q *Queries) UpdateGalleryCollections(ctx context.Context, arg UpdateGalleryCollectionsParams) error
func (*Queries) UpdateGalleryHidden ¶
func (*Queries) UpdateGalleryInfo ¶
func (q *Queries) UpdateGalleryInfo(ctx context.Context, arg UpdateGalleryInfoParams) error
func (*Queries) UpdateGalleryPositions ¶
func (q *Queries) UpdateGalleryPositions(ctx context.Context, arg UpdateGalleryPositionsParams) error
func (*Queries) UpdateHighlightMintClaimStatus ¶
func (q *Queries) UpdateHighlightMintClaimStatus(ctx context.Context, arg UpdateHighlightMintClaimStatusParams) (HighlightMintClaim, error)
func (*Queries) UpdateHighlightMintClaimStatusMediaProcessing ¶
func (q *Queries) UpdateHighlightMintClaimStatusMediaProcessing(ctx context.Context, arg UpdateHighlightMintClaimStatusMediaProcessingParams) (HighlightMintClaim, error)
func (*Queries) UpdateHighlightMintClaimStatusTxSucceeded ¶
func (q *Queries) UpdateHighlightMintClaimStatusTxSucceeded(ctx context.Context, arg UpdateHighlightMintClaimStatusTxSucceededParams) (HighlightMintClaim, error)
func (*Queries) UpdateNotification ¶
func (q *Queries) UpdateNotification(ctx context.Context, arg UpdateNotificationParams) error
func (*Queries) UpdateNotificationSettingsByID ¶
func (q *Queries) UpdateNotificationSettingsByID(ctx context.Context, arg UpdateNotificationSettingsByIDParams) error
func (*Queries) UpdatePushTickets ¶
func (q *Queries) UpdatePushTickets(ctx context.Context, arg UpdatePushTicketsParams) error
func (*Queries) UpdateTokenCollectorsNoteByTokenDbidUserId ¶
func (q *Queries) UpdateTokenCollectorsNoteByTokenDbidUserId(ctx context.Context, arg UpdateTokenCollectorsNoteByTokenDbidUserIdParams) error
func (*Queries) UpdateTokenMetadataFieldsByTokenIdentifiers ¶
func (q *Queries) UpdateTokenMetadataFieldsByTokenIdentifiers(ctx context.Context, arg UpdateTokenMetadataFieldsByTokenIdentifiersParams) (TokenDefinition, error)
func (*Queries) UpdateTokensAsUserMarkedSpam ¶
func (q *Queries) UpdateTokensAsUserMarkedSpam(ctx context.Context, arg UpdateTokensAsUserMarkedSpamParams) error
func (*Queries) UpdateTopActiveUsers ¶
func (*Queries) UpdateUserEmailUnsubscriptions ¶
func (q *Queries) UpdateUserEmailUnsubscriptions(ctx context.Context, arg UpdateUserEmailUnsubscriptionsParams) error
func (*Queries) UpdateUserExperience ¶
func (q *Queries) UpdateUserExperience(ctx context.Context, arg UpdateUserExperienceParams) error
func (*Queries) UpdateUserFeaturedGallery ¶
func (q *Queries) UpdateUserFeaturedGallery(ctx context.Context, arg UpdateUserFeaturedGalleryParams) error
func (*Queries) UpdateUserPrimaryWallet ¶
func (q *Queries) UpdateUserPrimaryWallet(ctx context.Context, arg UpdateUserPrimaryWalletParams) error
func (*Queries) UpdateUserSocials ¶
func (q *Queries) UpdateUserSocials(ctx context.Context, arg UpdateUserSocialsParams) error
func (*Queries) UpdateUserUnverifiedEmail ¶
func (q *Queries) UpdateUserUnverifiedEmail(ctx context.Context, arg UpdateUserUnverifiedEmailParams) error
func (*Queries) UpdateUserVerifiedEmail ¶
func (q *Queries) UpdateUserVerifiedEmail(ctx context.Context, arg UpdateUserVerifiedEmailParams) error
func (*Queries) UpdatedRecommendationResults ¶
func (q *Queries) UpdatedRecommendationResults(ctx context.Context, arg UpdatedRecommendationResultsParams) error
func (*Queries) UpsertCommunities ¶
func (*Queries) UpsertCommunityContractProviders ¶
func (q *Queries) UpsertCommunityContractProviders(ctx context.Context, arg UpsertCommunityContractProvidersParams) error
func (*Queries) UpsertCommunityCreators ¶
func (q *Queries) UpsertCommunityCreators(ctx context.Context, arg UpsertCommunityCreatorsParams) ([]CommunityCreator, error)
func (*Queries) UpsertContractCommunityMemberships ¶
func (q *Queries) UpsertContractCommunityMemberships(ctx context.Context, arg UpsertContractCommunityMembershipsParams) ([]ContractCommunityMembership, error)
func (*Queries) UpsertParentContracts ¶
func (*Queries) UpsertSession ¶
func (*Queries) UpsertSocialOAuth ¶
func (q *Queries) UpsertSocialOAuth(ctx context.Context, arg UpsertSocialOAuthParams) error
func (*Queries) UpsertTokenCommunityMemberships ¶
func (q *Queries) UpsertTokenCommunityMemberships(ctx context.Context, arg UpsertTokenCommunityMembershipsParams) ([]TokenCommunityMembership, error)
func (*Queries) UpsertTokenDefinitionCommunityMemberships ¶
func (q *Queries) UpsertTokenDefinitionCommunityMemberships(ctx context.Context, arg UpsertTokenDefinitionCommunityMembershipsParams) ([]TokenCommunityMembership, error)
func (*Queries) UpsertTokenDefinitions ¶
func (q *Queries) UpsertTokenDefinitions(ctx context.Context, arg UpsertTokenDefinitionsParams) ([]UpsertTokenDefinitionsRow, error)
token_definitions is the snapshot of the table prior to inserting. We can determine if a token is new by checking against this snapshot.
func (*Queries) UpsertTokens ¶
func (q *Queries) UpsertTokens(ctx context.Context, arg UpsertTokensParams) ([]UpsertTokensRow, error)
tokens is the snapshot of the table prior to inserting. We can determine if a token is new by checking against this snapshot.
func (*Queries) UserHasDuplicateGalleryPositions ¶
func (*Queries) UserOwnsCollection ¶
func (*Queries) UserOwnsGallery ¶
func (*Queries) UsersFollowUser ¶
type RecommendationResult ¶
type RecommendationResult struct { ID persist.DBID `db:"id" json:"id"` Version sql.NullInt32 `db:"version" json:"version"` UserID persist.DBID `db:"user_id" json:"user_id"` RecommendedUserID persist.DBID `db:"recommended_user_id" json:"recommended_user_id"` RecommendedCount sql.NullInt32 `db:"recommended_count" json:"recommended_count"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` }
type RedeemMerchParams ¶
type RedeemMerchParams struct { TokenHex persist.HexTokenID `db:"token_hex" json:"token_hex"` ObjectType int32 `db:"object_type" json:"object_type"` }
type ReportPostParams ¶
type ReportPostParams struct { ID persist.DBID `db:"id" json:"id"` Reporter sql.NullString `db:"reporter" json:"reporter"` Reason persist.ReportReason `db:"reason" json:"reason"` PostID persist.DBID `db:"post_id" json:"post_id"` }
type ReportedPost ¶
type ReportedPost struct { ID persist.DBID `db:"id" json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` ReporterID persist.DBID `db:"reporter_id" json:"reporter_id"` PostID persist.DBID `db:"post_id" json:"post_id"` Reason persist.ReportReason `db:"reason" json:"reason"` }
type ReprocessJob ¶
type SaveHighlightMintClaimParams ¶
type SaveHighlightMintClaimParams struct { ID persist.DBID `db:"id" json:"id"` RecipientUserID persist.DBID `db:"recipient_user_id" json:"recipient_user_id"` RecipientL1Chain persist.L1Chain `db:"recipient_l1_chain" json:"recipient_l1_chain"` RecipientAddress persist.Address `db:"recipient_address" json:"recipient_address"` RecipientWalletID persist.DBID `db:"recipient_wallet_id" json:"recipient_wallet_id"` HighlightCollectionID string `db:"highlight_collection_id" json:"highlight_collection_id"` HighlightClaimID string `db:"highlight_claim_id" json:"highlight_claim_id"` CollectionAddress persist.Address `db:"collection_address" json:"collection_address"` CollectionChain persist.Chain `db:"collection_chain" json:"collection_chain"` Status highlight.ClaimStatus `db:"status" json:"status"` ErrorMessage sql.NullString `db:"error_message" json:"error_message"` }
type ScrubbedPiiForUser ¶
type ScrubbedPiiForUser struct { UserID persist.DBID `db:"user_id" json:"user_id"` PiiUnverifiedEmailAddress persist.Email `db:"pii_unverified_email_address" json:"pii_unverified_email_address"` Deleted bool `db:"deleted" json:"deleted"` PiiSocials persist.Socials `db:"pii_socials" json:"pii_socials"` PiiVerifiedEmailAddress persist.Email `db:"pii_verified_email_address" json:"pii_verified_email_address"` }
type SearchCommunitiesParams ¶
type SearchCommunitiesParams struct { Query string `db:"query" json:"query"` NameWeight float32 `db:"name_weight" json:"name_weight"` DescriptionWeight float32 `db:"description_weight" json:"description_weight"` Limit int32 `db:"limit" json:"limit"` PoapAddressWeight float32 `db:"poap_address_weight" json:"poap_address_weight"` ProviderNameWeight float32 `db:"provider_name_weight" json:"provider_name_weight"` }
type SearchGalleriesParams ¶
type SearchUsersParams ¶
type Session ¶
type Session struct { ID persist.DBID `db:"id" json:"id"` UserID persist.DBID `db:"user_id" json:"user_id"` CreatedAt time.Time `db:"created_at" json:"created_at"` CreatedWithUserAgent string `db:"created_with_user_agent" json:"created_with_user_agent"` CreatedWithPlatform string `db:"created_with_platform" json:"created_with_platform"` CreatedWithOs string `db:"created_with_os" json:"created_with_os"` LastRefreshed time.Time `db:"last_refreshed" json:"last_refreshed"` LastUserAgent string `db:"last_user_agent" json:"last_user_agent"` LastPlatform string `db:"last_platform" json:"last_platform"` LastOs string `db:"last_os" json:"last_os"` CurrentRefreshID string `db:"current_refresh_id" json:"current_refresh_id"` ActiveUntil time.Time `db:"active_until" json:"active_until"` Invalidated bool `db:"invalidated" json:"invalidated"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` }
type SetProfileImageToENSParams ¶
type SetProfileImageToENSParams struct { UserID persist.DBID `db:"user_id" json:"user_id"` ProfileID persist.DBID `db:"profile_id" json:"profile_id"` EnsSourceType persist.ProfileImageSource `db:"ens_source_type" json:"ens_source_type"` WalletID persist.DBID `db:"wallet_id" json:"wallet_id"` EnsDomain sql.NullString `db:"ens_domain" json:"ens_domain"` EnsAvatarUri sql.NullString `db:"ens_avatar_uri" json:"ens_avatar_uri"` }
type SetProfileImageToENSRow ¶
type SetProfileImageToENSRow struct {
ProfileImage ProfileImage `db:"profile_image" json:"profile_image"`
}
type SpamUserScore ¶
type SpamUserScore struct { UserID persist.DBID `db:"user_id" json:"user_id"` Score int32 `db:"score" json:"score"` DecidedIsSpam sql.NullBool `db:"decided_is_spam" json:"decided_is_spam"` DecidedAt sql.NullTime `db:"decided_at" json:"decided_at"` Deleted bool `db:"deleted" json:"deleted"` CreatedAt time.Time `db:"created_at" json:"created_at"` }
type Token ¶
type Token struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CollectorsNote sql.NullString `db:"collectors_note" json:"collectors_note"` Quantity persist.HexString `db:"quantity" json:"quantity"` BlockNumber sql.NullInt64 `db:"block_number" json:"block_number"` OwnerUserID persist.DBID `db:"owner_user_id" json:"owner_user_id"` OwnedByWallets persist.DBIDList `db:"owned_by_wallets" json:"owned_by_wallets"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` IsUserMarkedSpam sql.NullBool `db:"is_user_marked_spam" json:"is_user_marked_spam"` LastSynced time.Time `db:"last_synced" json:"last_synced"` IsCreatorToken bool `db:"is_creator_token" json:"is_creator_token"` TokenDefinitionID persist.DBID `db:"token_definition_id" json:"token_definition_id"` IsHolderToken bool `db:"is_holder_token" json:"is_holder_token"` Displayable bool `db:"displayable" json:"displayable"` }
type TokenCommunityMembership ¶
type TokenCommunityMembership struct { ID persist.DBID `db:"id" json:"id"` Version int32 `db:"version" json:"version"` TokenDefinitionID persist.DBID `db:"token_definition_id" json:"token_definition_id"` CommunityID persist.DBID `db:"community_id" json:"community_id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` TokenID persist.DecimalTokenID `db:"token_id" json:"token_id"` }
type TokenDefinition ¶
type TokenDefinition struct { ID persist.DBID `db:"id" json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` Name sql.NullString `db:"name" json:"name"` Description sql.NullString `db:"description" json:"description"` TokenType persist.TokenType `db:"token_type" json:"token_type"` TokenID persist.HexTokenID `db:"token_id" json:"token_id"` ExternalUrl sql.NullString `db:"external_url" json:"external_url"` Chain persist.Chain `db:"chain" json:"chain"` Metadata persist.TokenMetadata `db:"metadata" json:"metadata"` FallbackMedia persist.FallbackMedia `db:"fallback_media" json:"fallback_media"` ContractAddress persist.Address `db:"contract_address" json:"contract_address"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` TokenMediaID persist.DBID `db:"token_media_id" json:"token_media_id"` IsFxhash bool `db:"is_fxhash" json:"is_fxhash"` }
type TokenMedia ¶
type TokenMedia struct { ID persist.DBID `db:"id" json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Version int32 `db:"version" json:"version"` Active bool `db:"active" json:"active"` Media persist.Media `db:"media" json:"media"` ProcessingJobID persist.DBID `db:"processing_job_id" json:"processing_job_id"` Deleted bool `db:"deleted" json:"deleted"` Chain persist.Chain `db:"chain" json:"chain"` ContractAddress persist.Address `db:"contract_address" json:"contract_address"` TokenID persist.DecimalTokenID `db:"token_id" json:"token_id"` }
type TokenMediasActive ¶
type TokenMediasActive struct { ID persist.DBID `db:"id" json:"id"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` MediaType interface{} `db:"media_type" json:"media_type"` JobID persist.DBID `db:"job_id" json:"job_id"` TokenProperties pgtype.JSONB `db:"token_properties" json:"token_properties"` PipelineMetadata pgtype.JSONB `db:"pipeline_metadata" json:"pipeline_metadata"` }
type TokenProcessingJob ¶
type TokenProcessingJob struct { ID persist.DBID `db:"id" json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` TokenProperties persist.TokenProperties `db:"token_properties" json:"token_properties"` PipelineMetadata persist.PipelineMetadata `db:"pipeline_metadata" json:"pipeline_metadata"` ProcessingCause persist.ProcessingCause `db:"processing_cause" json:"processing_cause"` ProcessorVersion string `db:"processor_version" json:"processor_version"` Deleted bool `db:"deleted" json:"deleted"` }
type TopRecommendedUser ¶
type UnblockUserParams ¶
type UpdateCollectionsInfoParams ¶
type UpdateCollectionsInfoParams struct { Ids []string `db:"ids" json:"ids"` Names []string `db:"names" json:"names"` CollectorsNotes []string `db:"collectors_notes" json:"collectors_notes"` Layouts []pgtype.JSONB `db:"layouts" json:"layouts"` TokenSettings []pgtype.JSONB `db:"token_settings" json:"token_settings"` Hidden []bool `db:"hidden" json:"hidden"` }
type UpdateEventCaptionByGroupParams ¶
type UpdateEventCaptionByGroupParams struct { Caption sql.NullString `db:"caption" json:"caption"` GroupID sql.NullString `db:"group_id" json:"group_id"` }
type UpdateGalleryInfoParams ¶
type UpdateHighlightMintClaimStatusParams ¶
type UpdateHighlightMintClaimStatusParams struct { Status highlight.ClaimStatus `db:"status" json:"status"` ErrorMessage sql.NullString `db:"error_message" json:"error_message"` ID persist.DBID `db:"id" json:"id"` }
type UpdateHighlightMintClaimStatusTxSucceededParams ¶
type UpdateHighlightMintClaimStatusTxSucceededParams struct { Status highlight.ClaimStatus `db:"status" json:"status"` MintedTokenID persist.HexTokenID `db:"minted_token_id" json:"minted_token_id"` MintedTokenMetadata persist.TokenMetadata `db:"minted_token_metadata" json:"minted_token_metadata"` ID persist.DBID `db:"id" json:"id"` }
type UpdateNotificationSettingsByIDParams ¶
type UpdateNotificationSettingsByIDParams struct { ID persist.DBID `db:"id" json:"id"` NotificationSettings persist.UserNotificationSettings `db:"notification_settings" json:"notification_settings"` }
type UpdatePushTicketsParams ¶
type UpdatePushTicketsParams struct { Ids []string `db:"ids" json:"ids"` CheckAfter []time.Time `db:"check_after" json:"check_after"` NumCheckAttempts []int32 `db:"num_check_attempts" json:"num_check_attempts"` Status []string `db:"status" json:"status"` Deleted []bool `db:"deleted" json:"deleted"` }
type UpdateTokenMetadataFieldsByTokenIdentifiersParams ¶
type UpdateTokenMetadataFieldsByTokenIdentifiersParams struct { Name sql.NullString `db:"name" json:"name"` Description sql.NullString `db:"description" json:"description"` TokenID persist.HexTokenID `db:"token_id" json:"token_id"` ContractID persist.DBID `db:"contract_id" json:"contract_id"` Chain persist.Chain `db:"chain" json:"chain"` }
type UpdateUserEmailUnsubscriptionsParams ¶
type UpdateUserEmailUnsubscriptionsParams struct { ID persist.DBID `db:"id" json:"id"` EmailUnsubscriptions persist.EmailUnsubscriptions `db:"email_unsubscriptions" json:"email_unsubscriptions"` }
type UpdateUserSocialsParams ¶
type UpsertCommunitiesParams ¶
type UpsertCommunitiesParams struct { Ids []string `db:"ids" json:"ids"` Version []int32 `db:"version" json:"version"` Name []string `db:"name" json:"name"` Description []string `db:"description" json:"description"` CommunityType []int32 `db:"community_type" json:"community_type"` Key1 []string `db:"key1" json:"key1"` Key2 []string `db:"key2" json:"key2"` Key3 []string `db:"key3" json:"key3"` Key4 []string `db:"key4" json:"key4"` ProfileImageUrl []string `db:"profile_image_url" json:"profile_image_url"` BadgeUrl []string `db:"badge_url" json:"badge_url"` WebsiteUrl []string `db:"website_url" json:"website_url"` ContractID []string `db:"contract_id" json:"contract_id"` }
type UpsertCommunityCreatorsParams ¶
type UpsertCommunityCreatorsParams struct { Ids []string `db:"ids" json:"ids"` CommunityID []string `db:"community_id" json:"community_id"` CreatorType []int32 `db:"creator_type" json:"creator_type"` CreatorUserID []string `db:"creator_user_id" json:"creator_user_id"` CreatorAddress []string `db:"creator_address" json:"creator_address"` CreatorAddressChain []int32 `db:"creator_address_chain" json:"creator_address_chain"` CreatorAddressL1Chain []int32 `db:"creator_address_l1_chain" json:"creator_address_l1_chain"` }
type UpsertParentContractsParams ¶
type UpsertParentContractsParams struct { Ids []string `db:"ids" json:"ids"` Version []int32 `db:"version" json:"version"` Address []string `db:"address" json:"address"` Symbol []string `db:"symbol" json:"symbol"` Name []string `db:"name" json:"name"` OwnerAddress []string `db:"owner_address" json:"owner_address"` Chain []int32 `db:"chain" json:"chain"` L1Chain []int32 `db:"l1_chain" json:"l1_chain"` Description []string `db:"description" json:"description"` ProfileImageUrl []string `db:"profile_image_url" json:"profile_image_url"` ProviderMarkedSpam []bool `db:"provider_marked_spam" json:"provider_marked_spam"` CanOverwriteOwnerAddress bool `db:"can_overwrite_owner_address" json:"can_overwrite_owner_address"` }
type UpsertSessionParams ¶
type UpsertSessionParams struct { ID persist.DBID `db:"id" json:"id"` UserID persist.DBID `db:"user_id" json:"user_id"` UserAgent string `db:"user_agent" json:"user_agent"` Platform string `db:"platform" json:"platform"` Os string `db:"os" json:"os"` CurrentRefreshID string `db:"current_refresh_id" json:"current_refresh_id"` ActiveUntil time.Time `db:"active_until" json:"active_until"` }
type UpsertSocialOAuthParams ¶
type UpsertSocialOAuthParams struct { ID persist.DBID `db:"id" json:"id"` UserID persist.DBID `db:"user_id" json:"user_id"` Provider persist.SocialProvider `db:"provider" json:"provider"` AccessToken sql.NullString `db:"access_token" json:"access_token"` RefreshToken sql.NullString `db:"refresh_token" json:"refresh_token"` }
type UpsertTokenDefinitionCommunityMembershipsParams ¶
type UpsertTokenDefinitionCommunityMembershipsParams struct { CommunityMembershipDbid []string `db:"community_membership_dbid" json:"community_membership_dbid"` CommunityTokenDefinitionID []string `db:"community_token_definition_id" json:"community_token_definition_id"` CommunityMembershipTokenID []pgtype.Numeric `db:"community_membership_token_id" json:"community_membership_token_id"` CommunityContractID []string `db:"community_contract_id" json:"community_contract_id"` }
type UpsertTokenDefinitionsParams ¶
type UpsertTokenDefinitionsParams struct { DefinitionDbid []string `db:"definition_dbid" json:"definition_dbid"` DefinitionName []string `db:"definition_name" json:"definition_name"` DefinitionDescription []string `db:"definition_description" json:"definition_description"` DefinitionTokenType []string `db:"definition_token_type" json:"definition_token_type"` DefinitionTokenID []string `db:"definition_token_id" json:"definition_token_id"` DefinitionExternalUrl []string `db:"definition_external_url" json:"definition_external_url"` DefinitionChain []int32 `db:"definition_chain" json:"definition_chain"` DefinitionFallbackMedia []pgtype.JSONB `db:"definition_fallback_media" json:"definition_fallback_media"` DefinitionContractAddress []string `db:"definition_contract_address" json:"definition_contract_address"` DefinitionContractID []string `db:"definition_contract_id" json:"definition_contract_id"` DefinitionMetadata []pgtype.JSONB `db:"definition_metadata" json:"definition_metadata"` DefinitionIsFxhash []bool `db:"definition_is_fxhash" json:"definition_is_fxhash"` }
type UpsertTokenDefinitionsRow ¶
type UpsertTokenDefinitionsRow struct { TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` IsNewDefinition bool `db:"is_new_definition" json:"is_new_definition"` }
type UpsertTokensParams ¶
type UpsertTokensParams struct { SetHolderFields bool `db:"set_holder_fields" json:"set_holder_fields"` SetCreatorFields bool `db:"set_creator_fields" json:"set_creator_fields"` TokenDbid []string `db:"token_dbid" json:"token_dbid"` TokenVersion []int32 `db:"token_version" json:"token_version"` TokenCollectorsNote []string `db:"token_collectors_note" json:"token_collectors_note"` TokenQuantity []string `db:"token_quantity" json:"token_quantity"` TokenBlockNumber []int64 `db:"token_block_number" json:"token_block_number"` TokenOwnerUserID []string `db:"token_owner_user_id" json:"token_owner_user_id"` TokenOwnedByWallets []string `db:"token_owned_by_wallets" json:"token_owned_by_wallets"` TokenOwnedByWalletsStartIdx []int32 `db:"token_owned_by_wallets_start_idx" json:"token_owned_by_wallets_start_idx"` TokenOwnedByWalletsEndIdx []int32 `db:"token_owned_by_wallets_end_idx" json:"token_owned_by_wallets_end_idx"` TokenIsCreatorToken []bool `db:"token_is_creator_token" json:"token_is_creator_token"` TokenTokenID []string `db:"token_token_id" json:"token_token_id"` TokenContractAddress []string `db:"token_contract_address" json:"token_contract_address"` TokenChain []int32 `db:"token_chain" json:"token_chain"` TokenDefinitionID []string `db:"token_definition_id" json:"token_definition_id"` TokenContractID []string `db:"token_contract_id" json:"token_contract_id"` }
type UpsertTokensRow ¶
type UpsertTokensRow struct { Token Token `db:"token" json:"token"` TokenDefinition TokenDefinition `db:"token_definition" json:"token_definition"` Contract Contract `db:"contract" json:"contract"` }
type User ¶
type User struct { ID persist.DBID `db:"id" json:"id"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` CreatedAt time.Time `db:"created_at" json:"created_at"` Username sql.NullString `db:"username" json:"username"` UsernameIdempotent sql.NullString `db:"username_idempotent" json:"username_idempotent"` Wallets persist.WalletList `db:"wallets" json:"wallets"` Bio sql.NullString `db:"bio" json:"bio"` Traits pgtype.JSONB `db:"traits" json:"traits"` Universal bool `db:"universal" json:"universal"` NotificationSettings persist.UserNotificationSettings `db:"notification_settings" json:"notification_settings"` EmailUnsubscriptions persist.EmailUnsubscriptions `db:"email_unsubscriptions" json:"email_unsubscriptions"` FeaturedGallery *persist.DBID `db:"featured_gallery" json:"featured_gallery"` PrimaryWalletID persist.DBID `db:"primary_wallet_id" json:"primary_wallet_id"` UserExperiences pgtype.JSONB `db:"user_experiences" json:"user_experiences"` ProfileImageID persist.DBID `db:"profile_image_id" json:"profile_image_id"` Persona persist.Persona `db:"persona" json:"persona"` }
type UserBlocklist ¶
type UserBlocklist struct { ID persist.DBID `db:"id" json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` UserID persist.DBID `db:"user_id" json:"user_id"` BlockedUserID persist.DBID `db:"blocked_user_id" json:"blocked_user_id"` Active sql.NullBool `db:"active" json:"active"` }
type UserOwnsGalleryParams ¶
type UserRelevance ¶
type UserRole ¶
type UserRole struct { ID persist.DBID `db:"id" json:"id"` UserID persist.DBID `db:"user_id" json:"user_id"` Role persist.Role `db:"role" json:"role"` Version int32 `db:"version" json:"version"` Deleted bool `db:"deleted" json:"deleted"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` }
type UsersFollowUserParams ¶
type Wallet ¶
type Wallet struct { ID persist.DBID `db:"id" json:"id"` CreatedAt time.Time `db:"created_at" json:"created_at"` LastUpdated time.Time `db:"last_updated" json:"last_updated"` Deleted bool `db:"deleted" json:"deleted"` Version sql.NullInt32 `db:"version" json:"version"` Address persist.Address `db:"address" json:"address"` WalletType persist.WalletType `db:"wallet_type" json:"wallet_type"` Chain persist.Chain `db:"chain" json:"chain"` L1Chain persist.L1Chain `db:"l1_chain" json:"l1_chain"` }