Merge branch 'feat/FE/daily-checklist' into 'development'

[FEAT/FE] Daily Checklist

See merge request mbugroup/lti-web-client!146
This commit is contained in:
Rivaldi A N S
2026-01-08 06:18:03 +00:00
79 changed files with 15579 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
import { BaseMetadata } from '@/types/api/api-general';
import { BaseLocation } from '@/types/api/master-data/location';
import { BaseUser } from '@/types/api/user';
import { BaseKandang } from '@/types/api/master-data/kandang';
export type BaseEmployee = {
id: number;
name: string;
is_active: boolean;
kandangs: Pick<BaseKandang, 'id' | 'name' | 'status' | 'capacity'>[];
};
export type Employee = BaseMetadata & BaseEmployee;
export type CreateEmployeePayload = {
name: string;
is_active: boolean;
kandang_ids: number[];
};
export type UpdateEmployeePayload = CreateEmployeePayload;
+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;
};
+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;
};