feat: create type for Phase Activity

This commit is contained in:
ValdiANS
2026-01-08 09:41:44 +07:00
parent 21acb09f0c
commit 4ae36ee3f0
+24
View File
@@ -0,0 +1,24 @@
import { BaseMetadata } from '@/types/api/api-general';
export type BasePhaseActivity = {
id: number;
phase_id: number;
name: string;
description: string;
time_type: string;
};
export type PhaseActivity = BaseMetadata & BasePhaseActivity;
export type CreatePhaseActivityPayload = {
phase_id: number;
name: string;
description: string;
time_type: string;
};
export type UpdatePhaseActivityPayload = {
name: string;
description: string;
time_type: string;
};