import type { ColumnType } from "kysely"; export type Generated = T extends ColumnType ? ColumnType : ColumnType; export type Int8 = ColumnType; export type Timestamp = ColumnType; export type TransferType = "availability_rewards" | "node_operator_rewards" | "open_compute_rewards" | "upgrade_rewards"; export type TxStatus = "created" | "executed" | "ready"; export interface AvailabilityRewardsTransfer { device_id: string | null; epoch_id: Generated; transfer_id: Generated; } export interface Burn { burned: Int8; executed_at: Timestamp | null; id: Generated; marked_burned_at: Timestamp | null; priced_at: Timestamp | null; quote_amt: Int8 | null; sol_tx: string; usdc_spent: Int8 | null; } export interface DbMigration { burn_id: Generated; migrated: boolean | null; transfer_id: Generated; } export interface Job { burn_id: Generated; completed_at: Timestamp | null; id: Generated; inserted_at: Timestamp | null; render_amt: Int8; } export interface JobId { epoch_id: Generated; id: Int8; } export interface LiabMigration { id: Generated; } export interface Lock { acquired_at: Timestamp | null; cursor: string | null; description: string | null; id: Generated; released_at: Timestamp | null; } export interface NodeOperatorEpoch { burn_tx: string | null; burned: Generated; description: string | null; end_time: Timestamp | null; id: Generated; saved_at: Timestamp | null; start_time: Timestamp | null; total_rndr: Generated; } export interface NodeOperatorRewardsTransfer { end_time: Timestamp | null; epoch_id: Generated; start_time: Timestamp | null; transfer_id: Generated; } export interface OpenComputeRewardsTransfer { device_id: string | null; epoch_id: Generated; transfer_id: Generated; } export interface SolTx { executed_at: Timestamp | null; id: Generated; sig: string; } export interface SolTxTransfer { amount: Int8 | null; sol_tx_id: Generated; transfer_id: Generated; } export interface SquadsTx { id: Generated; sq_tx: string; tx_status: TxStatus; } export interface Transfer { amount_due: Int8; amount_payed: Int8; created_at: Generated; id: Generated; payed_at: Timestamp | null; sol_key: string | null; sol_tx: string | null; sq_tx_id: Int8 | null; transfer_type: TransferType; } export interface TxMigration { sol_tx: string; typ: Generated; } export interface UpgradeRewardsTransfer { epoch_id: Generated; epoch_start_time: Timestamp | null; points: Int8 | null; transfer_id: Generated; } export interface DB { availability_rewards_transfer: AvailabilityRewardsTransfer; burn: Burn; db_migration: DbMigration; job: Job; job_id: JobId; liab_migration: LiabMigration; lock: Lock; node_operator_epoch: NodeOperatorEpoch; node_operator_rewards_transfer: NodeOperatorRewardsTransfer; open_compute_rewards_transfer: OpenComputeRewardsTransfer; sol_tx: SolTx; sol_tx_transfer: SolTxTransfer; squads_tx: SquadsTx; transfer: Transfer; tx_migration: TxMigration; upgrade_rewards_transfer: UpgradeRewardsTransfer; } //# sourceMappingURL=dbTypes.d.ts.map