trade-backend/src/interfaces/database/ChatRow.ts

19 lines
368 B
TypeScript
Raw Normal View History

2025-07-01 21:07:46 +05:00
type DepositState = null | 'default' | 'deposit' | 'confirmed' | 'canceled';
interface ChatRow {
id: string;
offer_number: string;
buyer_id: string;
chat_history: string;
status: string;
pay: number;
receive: number;
owner_deposit: DepositState;
opponent_deposit: DepositState;
view_list: string[];
}
export default ChatRow;
export { type DepositState };