feat: create type for Phase

This commit is contained in:
ValdiANS
2026-01-08 09:41:50 +07:00
parent 4ae36ee3f0
commit 7d4869fbdc
+19
View File
@@ -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;
};