mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
* chore(docs): remove token economy guide * refactor(context): update GatewayContext to use Querier interface * chore(database): update schema path * docs: Update READMEs for x/did, x/dwn, and x/svc with UCAN integration * chore(pkg): update database scope name * refactor(did): optimize GenesisState proto methods * refactor(svc): update Service proto to use repeated fields * refactor(api): rename MsgSpawn to MsgInitialize
35 lines
1.7 KiB
Go
35 lines
1.7 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.27.0
|
|
|
|
package motrorm
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Querier interface {
|
|
CheckHandleExists(ctx context.Context, handle string) (bool, error)
|
|
CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error)
|
|
GetChallengeBySessionID(ctx context.Context, id string) (string, error)
|
|
GetCredentialByID(ctx context.Context, credentialID string) (Credential, error)
|
|
GetCredentialsByHandle(ctx context.Context, handle string) ([]Credential, error)
|
|
GetHumanVerificationNumbers(ctx context.Context, id string) (GetHumanVerificationNumbersRow, error)
|
|
GetProfileByAddress(ctx context.Context, address string) (Profile, error)
|
|
GetProfileByHandle(ctx context.Context, handle string) (Profile, error)
|
|
GetProfileByID(ctx context.Context, id string) (Profile, error)
|
|
GetSessionByClientIP(ctx context.Context, clientIpaddr string) (Session, error)
|
|
GetSessionByID(ctx context.Context, id string) (Session, error)
|
|
GetVaultConfigByCID(ctx context.Context, cid string) (Vault, error)
|
|
GetVaultRedirectURIBySessionID(ctx context.Context, sessionID string) (string, error)
|
|
InsertCredential(ctx context.Context, arg InsertCredentialParams) (Credential, error)
|
|
InsertProfile(ctx context.Context, arg InsertProfileParams) (Profile, error)
|
|
SoftDeleteCredential(ctx context.Context, credentialID string) error
|
|
SoftDeleteProfile(ctx context.Context, address string) error
|
|
UpdateProfile(ctx context.Context, arg UpdateProfileParams) (Profile, error)
|
|
UpdateSessionHumanVerification(ctx context.Context, arg UpdateSessionHumanVerificationParams) (Session, error)
|
|
UpdateSessionWithProfileID(ctx context.Context, arg UpdateSessionWithProfileIDParams) (Session, error)
|
|
}
|
|
|
|
var _ Querier = (*Queries)(nil)
|