diff --git a/src/types/api/daily-checklist/phase.d.ts b/src/types/api/daily-checklist/phase.d.ts new file mode 100644 index 00000000..b628a7c0 --- /dev/null +++ b/src/types/api/daily-checklist/phase.d.ts @@ -0,0 +1,19 @@ +import { BaseMetadata } from '@/types/api/api-general'; + +export type BasePhase = { + id: number; + name: string; + is_active: boolean; + category: string; +}; + +export type Phase = BaseMetadata & BasePhase; + +export type CreatePhasePayload = { + name: string; + category: string; +}; + +export type UpdatePhasePayload = { + name: string; +};