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

export const UserFriendRequestSchema = {
  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 UserFriendRequestSchema>