From eefec938113f1c687227b9fcb87f3df60a0ff67e Mon Sep 17 00:00:00 2001 From: rstubryan Date: Mon, 19 Jan 2026 14:59:26 +0700 Subject: [PATCH] refactor(FE): Add Kandang and Location to Recording type --- src/types/api/production/recording.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/api/production/recording.d.ts b/src/types/api/production/recording.d.ts index e30abe4c..928afae0 100644 --- a/src/types/api/production/recording.d.ts +++ b/src/types/api/production/recording.d.ts @@ -1,6 +1,8 @@ import { BaseApproval, BaseMetadata, User } from '@/types/api/api-general'; import { ProductWarehouse } from '@/types/api/inventory/product-warehouse'; import { Warehouse } from '@/types/api/master-data/warehouse'; +import { Kandang } from '@/types/api/master-data/kandang'; +import { Location } from '@/types/api/master-data/location'; export type ProductionStandard = { id: number; @@ -87,6 +89,8 @@ export type Recording = BaseMetadata & approval?: BaseApproval; created_user: User; warehouse?: Warehouse; + kandang?: Kandang; + location?: Location; product_category?: 'GROWING' | 'LAYING'; depletions?: RecordingDepletion[]; stocks?: RecordingStock[];