0.0.3Updated 3 hours ago
import { field, type Infer, type Schema } from "../modules/schema.ts";

export const UserFriendRequestsSchema = {
  requester_id: field('integer'),
  recipient_id: field('integer'),
  request_date: field('timestamp'),
  deleted_at: field('timestamp', { nullable: true })
} satisfies Schema;

export type UserFriendRequestType = Infer<typeof UserFriendRequestsSchema>