import { field, type Infer, type Schema } from "../modules/schema.ts";
export const QuestionSchema = {
id: field('serial'),
difficulty: field('integer'),
text: field('text'),
deleted_at: field('timestamp', { nullable: true })
} satisfies Schema;
export type QuestionType = Infer<typeof QuestionSchema>