mirror of
https://github.com/cf-sonr/dbx.git
synced 2026-01-11 18:58:54 +00:00
69 lines
2.3 KiB
Go
69 lines
2.3 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.28.0
|
|
|
|
package users
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
)
|
|
|
|
type Account struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
Number int64 `json:"number"`
|
|
Sequence int64 `json:"sequence"`
|
|
Address string `json:"address"`
|
|
PublicKey string `json:"public_key"`
|
|
ChainID string `json:"chain_id"`
|
|
BlockCreated int64 `json:"block_created"`
|
|
Controller string `json:"controller"`
|
|
Label string `json:"label"`
|
|
Handle string `json:"handle"`
|
|
IsSubsidiary bool `json:"is_subsidiary"`
|
|
IsValidator bool `json:"is_validator"`
|
|
IsDelegator bool `json:"is_delegator"`
|
|
IsAccountable bool `json:"is_accountable"`
|
|
}
|
|
|
|
type Credential struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
Handle string `json:"handle"`
|
|
CredentialID string `json:"credential_id"`
|
|
AuthenticatorAttachment string `json:"authenticator_attachment"`
|
|
Origin string `json:"origin"`
|
|
Type string `json:"type"`
|
|
Transports string `json:"transports"`
|
|
}
|
|
|
|
type Profile struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
Address string `json:"address"`
|
|
Handle string `json:"handle"`
|
|
Origin string `json:"origin"`
|
|
Name string `json:"name"`
|
|
}
|
|
|
|
type Vault struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
Handle string `json:"handle"`
|
|
Origin string `json:"origin"`
|
|
Address string `json:"address"`
|
|
Cid string `json:"cid"`
|
|
Config string `json:"config"`
|
|
SessionID string `json:"session_id"`
|
|
RedirectUri string `json:"redirect_uri"`
|
|
}
|