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
64 lines
2.3 KiB
Go
64 lines
2.3 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package activity
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
)
|
|
|
|
type Activity struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
AccountID string `json:"account_id"`
|
|
TxHash sql.NullString `json:"tx_hash"`
|
|
TxType string `json:"tx_type"`
|
|
Status string `json:"status"`
|
|
Amount sql.NullString `json:"amount"`
|
|
Fee sql.NullString `json:"fee"`
|
|
GasUsed sql.NullInt64 `json:"gas_used"`
|
|
GasWanted sql.NullInt64 `json:"gas_wanted"`
|
|
Memo sql.NullString `json:"memo"`
|
|
BlockHeight sql.NullInt64 `json:"block_height"`
|
|
Timestamp time.Time `json:"timestamp"`
|
|
RawLog sql.NullString `json:"raw_log"`
|
|
Error sql.NullString `json:"error"`
|
|
}
|
|
|
|
type Health struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
EndpointUrl string `json:"endpoint_url"`
|
|
EndpointType string `json:"endpoint_type"`
|
|
ChainID sql.NullString `json:"chain_id"`
|
|
Status string `json:"status"`
|
|
ResponseTimeMs sql.NullInt64 `json:"response_time_ms"`
|
|
LastChecked time.Time `json:"last_checked"`
|
|
NextCheck sql.NullTime `json:"next_check"`
|
|
FailureCount int64 `json:"failure_count"`
|
|
SuccessCount int64 `json:"success_count"`
|
|
ResponseData sql.NullString `json:"response_data"`
|
|
ErrorMessage sql.NullString `json:"error_message"`
|
|
}
|
|
|
|
type Service struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
Name string `json:"name"`
|
|
Description sql.NullString `json:"description"`
|
|
ChainID string `json:"chain_id"`
|
|
Address string `json:"address"`
|
|
OwnerAddress string `json:"owner_address"`
|
|
Metadata sql.NullString `json:"metadata"`
|
|
Status string `json:"status"`
|
|
BlockHeight int64 `json:"block_height"`
|
|
}
|