mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-11 13:29:12 +00:00
* fix: correct HTTP error handling in gateway * refactor: migrate database and ORM to internal modules * feat: introduce taskfile build system for improved workflow management * refactor: update taskfiles to use relative paths * feat: add profile status field * refactor: move rendering logic to context package * fix: improve error handling in credentials retrieval * refactor: optimize HTTP request handling in Wasm environment * refactor: refactor config loading in motr command * chore: add process-compose for service management * chore: remove default task and update gum format command * fix: update project dependencies * refactor: improve code readability and maintainability * refactor: consolidate error handling components * refactor: update index handler to use new context package * refactor: consolidate database scripts and move to deploy directory * feat: Update flake.nix with development tools and environment configuration * fix: ignore flake.lock file * refactor: migrate build process to use taskfiles for improved modularity and maintainability * refactor: improve GatewayContext and reorganize handlers * refactor: Remove unused profile creation functions * (chore): templ generation * test: add test file for vaults.go * maintenance: remove defunct Discord server link * docs: update checks workflow documentation * test: remove obsolete vaults test file * refactor: move version bumping logic to release workflow
100 lines
2.0 KiB
Go
100 lines
2.0 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.27.0
|
|
|
|
package hwayorm
|
|
|
|
import (
|
|
"github.com/jackc/pgx/v5/pgtype"
|
|
)
|
|
|
|
type Account struct {
|
|
ID string
|
|
CreatedAt pgtype.Timestamptz
|
|
UpdatedAt pgtype.Timestamptz
|
|
DeletedAt pgtype.Timestamptz
|
|
Number int64
|
|
Sequence int32
|
|
Address string
|
|
PublicKey string
|
|
ChainID string
|
|
Controller string
|
|
IsSubsidiary bool
|
|
IsValidator bool
|
|
IsDelegator bool
|
|
IsAccountable bool
|
|
}
|
|
|
|
type Asset struct {
|
|
ID string
|
|
CreatedAt pgtype.Timestamptz
|
|
UpdatedAt pgtype.Timestamptz
|
|
DeletedAt pgtype.Timestamptz
|
|
Name string
|
|
Symbol string
|
|
Decimals int32
|
|
ChainID string
|
|
Channel string
|
|
AssetType string
|
|
CoingeckoID pgtype.Text
|
|
}
|
|
|
|
type Credential struct {
|
|
ID string
|
|
CreatedAt pgtype.Timestamptz
|
|
UpdatedAt pgtype.Timestamptz
|
|
DeletedAt pgtype.Timestamptz
|
|
Handle string
|
|
CredentialID string
|
|
AuthenticatorAttachment string
|
|
Origin string
|
|
Type string
|
|
Transports string
|
|
}
|
|
|
|
type Profile struct {
|
|
ID string
|
|
CreatedAt pgtype.Timestamptz
|
|
UpdatedAt pgtype.Timestamptz
|
|
DeletedAt pgtype.Timestamptz
|
|
Address string
|
|
Handle string
|
|
Origin string
|
|
Name string
|
|
Status string
|
|
}
|
|
|
|
type Session struct {
|
|
ID string
|
|
CreatedAt pgtype.Timestamptz
|
|
UpdatedAt pgtype.Timestamptz
|
|
DeletedAt pgtype.Timestamptz
|
|
BrowserName string
|
|
BrowserVersion string
|
|
ClientIpaddr string
|
|
Platform string
|
|
IsDesktop bool
|
|
IsMobile bool
|
|
IsTablet bool
|
|
IsTv bool
|
|
IsBot bool
|
|
Challenge string
|
|
IsHumanFirst bool
|
|
IsHumanLast bool
|
|
ProfileID string
|
|
}
|
|
|
|
type Vault struct {
|
|
ID int64
|
|
CreatedAt pgtype.Timestamptz
|
|
UpdatedAt pgtype.Timestamptz
|
|
DeletedAt pgtype.Timestamptz
|
|
Handle string
|
|
Origin string
|
|
Address string
|
|
Cid string
|
|
Config []byte
|
|
SessionID int64
|
|
RedirectUri string
|
|
}
|