mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 22:05:45 +00:00
refactor(FE): Remove FCR-related components and types
This commit is contained in:
Vendored
-1
@@ -1,5 +1,4 @@
|
||||
import { Area } from '@/types/api/master-data/area';
|
||||
import { Fcr } from '@/types/api/master-data/fcr';
|
||||
import { Flock } from '@/types/api/master-data/flock';
|
||||
import { Location } from '@/types/api/master-data/location';
|
||||
import { Kandang } from '@/types/api/master-data/kandang';
|
||||
|
||||
Vendored
-30
@@ -1,30 +0,0 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
|
||||
export type BaseFcr = {
|
||||
id: number;
|
||||
name: string;
|
||||
};
|
||||
|
||||
export type FcrStandard = {
|
||||
id: number;
|
||||
weight: number;
|
||||
fcr_number: number;
|
||||
mortality: number;
|
||||
};
|
||||
|
||||
export type Fcr = BaseMetadata & BaseFcr;
|
||||
|
||||
export type FcrWithStandards = Fcr & {
|
||||
fcr_standards: FcrStandard[];
|
||||
};
|
||||
|
||||
export type CreateFcrPayload = {
|
||||
name: string;
|
||||
fcr_standards: {
|
||||
weight: number;
|
||||
fcr_number: number;
|
||||
mortality: number;
|
||||
}[];
|
||||
};
|
||||
|
||||
export type UpdateFcrPayload = CreateFcrPayload;
|
||||
Reference in New Issue
Block a user