Something went wrong. Try again.
An ATProto Powered Reputation Network
Something went wrong. Try again.
6.4 kB · 106 lines
Go
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107// Code generated by sqlc. DO NOT EDIT.// versions:// sqlc v1.31.1
package db
import ( "context")
type Querier interface { AddSecret(ctx context.Context, arg AddSecretParams) error AdvanceCursor(ctx context.Context, arg AdvanceCursorParams) error AdvanceReplayAccount(ctx context.Context, arg AdvanceReplayAccountParams) error AuthorRecords(ctx context.Context, author string) ([]Vouch, error) BumpGraphRevision(ctx context.Context) error CachedTrust(ctx context.Context, arg CachedTrustParams) (CachedTrustRow, error) ClearListAuthor(ctx context.Context, author string) error ClearListVersions(ctx context.Context, author string) error ClearSoft(ctx context.Context, author string) error ClearSoftVersions(ctx context.Context, author string) error ClearTrust(ctx context.Context) error ClearVersions(ctx context.Context, author string) error ClearVouches(ctx context.Context, author string) error ConsumeSecret(ctx context.Context, arg ConsumeSecretParams) ([]byte, error) Cursor(ctx context.Context, source string) (int64, error) DeferReplayIndexes(ctx context.Context, source string) error DeferTrustInvalidation(ctx context.Context) error DeleteListRecord(ctx context.Context, arg DeleteListRecordParams) error DeleteRecord(ctx context.Context, arg DeleteRecordParams) error DeleteReplaySoft(ctx context.Context, arg DeleteReplaySoftParams) error DeleteSoft(ctx context.Context, arg DeleteSoftParams) error DeleteTrust(ctx context.Context, cacheKey string) error FinishReplayIndexes(ctx context.Context) error GetSecret(ctx context.Context, arg GetSecretParams) ([]byte, error) Graph(ctx context.Context, arg GraphParams) ([]Vouch, error) GraphRevision(ctx context.Context) (int64, error) Incoming(ctx context.Context, arg IncomingParams) ([]Vouch, error) InitCursor(ctx context.Context, arg InitCursorParams) error InsertVouch(ctx context.Context, arg InsertVouchParams) error Join(ctx context.Context, did string) error JoinReplaySoft(ctx context.Context, did int64) error JoinSoft(ctx context.Context, did string) error LegacyKeys(ctx context.Context) ([]LegacyKeysRow, error) ListAuthorRecords(ctx context.Context, arg ListAuthorRecordsParams) ([]ListAuthorRecordsRow, error) ListBootstrap(ctx context.Context, author string) (int64, error) ListGraph(ctx context.Context, arg ListGraphParams) ([]ListEdge, error) ListIncoming(ctx context.Context, arg ListIncomingParams) ([]ListEdge, error) ListOutgoing(ctx context.Context, arg ListOutgoingParams) ([]ListEdge, error) ListRecord(ctx context.Context, arg ListRecordParams) (ListRecordRow, error) ListURIRecords(ctx context.Context, listUri string) ([]ListURIRecordsRow, error) ListVersion(ctx context.Context, arg ListVersionParams) (int64, error) ListWatermark(ctx context.Context, listUri string) (int64, error) // Outgoing reads preserve per-pair selection and use author indexes rather than a global graph scan. Outgoing(ctx context.Context, arg OutgoingParams) ([]Vouch, error) OwnVouches(ctx context.Context, arg OwnVouchesParams) ([]Vouch, error) Participant(ctx context.Context, did string) (Participant, error) Participants(ctx context.Context, limit int64) ([]Participant, error) PruneSecrets(ctx context.Context, expires int64) error PutIdentity(ctx context.Context, did string) error PutListBootstrap(ctx context.Context, arg PutListBootstrapParams) error PutListRecord(ctx context.Context, arg PutListRecordParams) error PutListVersion(ctx context.Context, arg PutListVersionParams) error PutListWatermark(ctx context.Context, arg PutListWatermarkParams) error PutSecret(ctx context.Context, arg PutSecretParams) error RecordVersion(ctx context.Context, arg RecordVersionParams) (int64, error) RemoveSecret(ctx context.Context, arg RemoveSecretParams) error ReplaceReplaySoft(ctx context.Context, arg ReplaceReplaySoftParams) error ReplaceSoft(ctx context.Context, arg ReplaceSoftParams) error ReplaceVouch(ctx context.Context, arg ReplaceVouchParams) error ReplayClearLists(ctx context.Context, arg ReplayClearListsParams) error ReplayIndexState(ctx context.Context) (ReplayIndexStateRow, error) ReplaySequence(ctx context.Context, arg ReplaySequenceParams) (ReplaySequenceRow, error) ResumeTrustInvalidation(ctx context.Context) error SaveDependency(ctx context.Context, arg SaveDependencyParams) error SaveTrust(ctx context.Context, arg SaveTrustParams) error SaveTrustPath(ctx context.Context, arg SaveTrustPathParams) error SaveTrustScore(ctx context.Context, arg SaveTrustScoreParams) error SetAccount(ctx context.Context, arg SetAccountParams) error SetBootstrap(ctx context.Context, arg SetBootstrapParams) error SetDeleted(ctx context.Context, arg SetDeletedParams) error SetLegacyKey(ctx context.Context, arg SetLegacyKeyParams) error SetRecordVersion(ctx context.Context, arg SetRecordVersionParams) error SetReplaySoftVersion(ctx context.Context, arg SetReplaySoftVersionParams) error SetSoftVersion(ctx context.Context, arg SetSoftVersionParams) error SetSynced(ctx context.Context, arg SetSyncedParams) error SetThreshold(ctx context.Context, arg SetThresholdParams) (int64, error) SoftAccount(ctx context.Context, did string) (SoftAccountRow, error) SoftAccountState(ctx context.Context, arg SoftAccountStateParams) error SoftBootstrap(ctx context.Context, arg SoftBootstrapParams) error SoftDeleted(ctx context.Context, arg SoftDeletedParams) error // The caller sorts complete results. Avoid a global DID sort before the edge limit. SoftGraph(ctx context.Context, arg SoftGraphParams) ([]SoftEdge, error) SoftIncoming(ctx context.Context, arg SoftIncomingParams) ([]SoftEdge, error) SoftOutgoing(ctx context.Context, arg SoftOutgoingParams) ([]SoftEdge, error) SoftRecords(ctx context.Context, author string) ([]SoftVouch, error) SoftReplayState(ctx context.Context, arg SoftReplayStateParams) (SoftReplayStateRow, error) SoftVersion(ctx context.Context, arg SoftVersionParams) (int64, error) Tags(ctx context.Context, arg TagsParams) ([]string, error) TrustCachePath(ctx context.Context, cacheKey string) ([]string, error) TrustCacheScores(ctx context.Context, cacheKey string) ([]TrustCacheScoresRow, error) WantsListOwner(ctx context.Context, owner string) (bool, error) WantsListURI(ctx context.Context, listUri string) (bool, error)}
var _ Querier = (*Queries)(nil)