mirror of
https://github.com/cf-sonr/motr.git
synced 2026-01-12 02:59:13 +00:00
* ui: improve visual consistency across components * feat: simplify task execution with consolidated commands * feat: enable account registration flow * feat: integrate price tracking functionality * feat: add metadata components for improved SEO and web crawling * refactor: improve code organization and consistency * fix: update login template package names * refactor: rename and restructure UI components for clarity * feat: introduce dynamic asset selection for transfer UI * chore: update dependencies and build process * feat: Add KVNamespace interface for Cloudflare KV store operations * refactor: Update JSON operations to use Golang generics with JSON Marshaller interface * feat: Add json import for KVNamespace generic JSON operations * refactor: Update PutJSON method to accept any type for JSON marshaling * refactor: migrate to modular architecture with domain-driven design * fix: directory structure for component routing * refactor: partial routes to htmx * docs: update documentation to reflect UI structure changes * refactor: relocate build artifacts for cleaner project structure * feat: integrate Cloudflare cache for improved performance * build: update import paths for middleware package * feat: implement core authentication flows * refactor: rename view handler to index handler for clarity * feat: introduce devbox for streamlined development environment * feat: introduce deployment and build scripts * feat: introduce radar and worker services with build automation * feat: introduce WASM-based worker and radar services * feat: migrate to standard go build process * fix: correct worker script path in wrangler configuration * feat: enhance service monitoring capabilities * refactor: migrate to new database and KV store context pattern * build: streamline worker builds using devbox scripts * feat: migrate to D1 database bindings for improved data access * feat: introduce session ID middleware * perf: optimize WASM build size by stripping debug information * feat: introduce process-compose for simplified local development * feat: enable direct wrangler commands and simplify deployment
54 lines
2.8 KiB
Go
54 lines
2.8 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package users
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Querier interface {
|
|
CheckHandleExists(ctx context.Context, handle string) (bool, error)
|
|
GetAccountByAddress(ctx context.Context, address string) (Account, error)
|
|
GetAccountByController(ctx context.Context, controller string) (Account, error)
|
|
GetAccountByID(ctx context.Context, id string) (Account, error)
|
|
GetAccountByNumber(ctx context.Context, number int64) (Account, error)
|
|
GetAccountByPublicKey(ctx context.Context, publicKey string) (Account, error)
|
|
GetAccountBySequence(ctx context.Context, sequence int64) (Account, error)
|
|
GetAccountsByChainID(ctx context.Context, chainID string) ([]Account, error)
|
|
GetAccountsByController(ctx context.Context, controller string) ([]Account, error)
|
|
GetAccountsByHandle(ctx context.Context, handle string) ([]Account, error)
|
|
GetAccountsByLabel(ctx context.Context, label string) ([]Account, error)
|
|
GetCredentialByID(ctx context.Context, credentialID string) (Credential, error)
|
|
GetCredentialsByHandle(ctx context.Context, handle string) ([]Credential, 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)
|
|
GetVaultByID(ctx context.Context, id string) (Vault, error)
|
|
GetVaultConfigByCID(ctx context.Context, cid string) (Vault, error)
|
|
GetVaultRedirectURIBySessionID(ctx context.Context, sessionID string) (string, error)
|
|
GetVaultsByHandle(ctx context.Context, handle string) ([]Vault, error)
|
|
// ACCOUNT QUERIES
|
|
InsertAccount(ctx context.Context, arg InsertAccountParams) (Account, error)
|
|
// CREDENTIAL QUERIES
|
|
InsertCredential(ctx context.Context, arg InsertCredentialParams) (Credential, error)
|
|
// PROFILE QUERIES
|
|
InsertProfile(ctx context.Context, arg InsertProfileParams) (Profile, error)
|
|
// VAULT QUERIES
|
|
InsertVault(ctx context.Context, arg InsertVaultParams) (Vault, error)
|
|
ListDelegatorAccounts(ctx context.Context) ([]Account, error)
|
|
ListProfiles(ctx context.Context, arg ListProfilesParams) ([]Profile, error)
|
|
ListValidatorAccounts(ctx context.Context) ([]Account, error)
|
|
SoftDeleteAccount(ctx context.Context, id string) error
|
|
SoftDeleteCredential(ctx context.Context, credentialID string) error
|
|
SoftDeleteProfile(ctx context.Context, address string) error
|
|
SoftDeleteVault(ctx context.Context, id string) error
|
|
UpdateAccountLabel(ctx context.Context, arg UpdateAccountLabelParams) (Account, error)
|
|
UpdateAccountSequence(ctx context.Context, arg UpdateAccountSequenceParams) (Account, error)
|
|
UpdateProfile(ctx context.Context, arg UpdateProfileParams) (Profile, error)
|
|
UpdateVault(ctx context.Context, arg UpdateVaultParams) (Vault, error)
|
|
}
|
|
|
|
var _ Querier = (*Queries)(nil)
|