mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 22:35:45 +00:00
feat(FE): api integration production standards
This commit is contained in:
+42
-4
@@ -12,8 +12,8 @@ export interface ProductionStandard {
|
||||
|
||||
export interface StandardDetails {
|
||||
week: number;
|
||||
standard_growth_details: StandardGrowthDetails;
|
||||
production_standard_details: ProductionStandardDetails;
|
||||
growth_standard_detail: StandardGrowthDetails;
|
||||
egg_production_standard_detail: ProductionStandardDetails;
|
||||
}
|
||||
|
||||
export interface ProductionStandardDetails {
|
||||
@@ -27,7 +27,45 @@ export interface StandardGrowthDetails {
|
||||
target_mean_bw: number;
|
||||
max_depletion: number;
|
||||
min_uniformity: number;
|
||||
max_cv: number;
|
||||
week: number;
|
||||
feed_intake: number;
|
||||
}
|
||||
|
||||
export interface CreateProductionStandardPayload {
|
||||
name: string;
|
||||
project_category: string;
|
||||
details: {
|
||||
week: number;
|
||||
growth_standard_detail: {
|
||||
target_mean_bw: number;
|
||||
max_depletion: number;
|
||||
min_uniformity: number;
|
||||
feed_intake: number;
|
||||
};
|
||||
egg_production_standard_detail: {
|
||||
target_hen_day_production: number;
|
||||
target_hen_house_production: number;
|
||||
target_egg_weight: number;
|
||||
target_egg_mass: number;
|
||||
};
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface UpdateProductionStandardPayload {
|
||||
name: string;
|
||||
project_category: string;
|
||||
details: {
|
||||
week: number;
|
||||
growth_standard_detail: {
|
||||
target_mean_bw: number;
|
||||
max_depletion: number;
|
||||
min_uniformity: number;
|
||||
feed_intake: number;
|
||||
};
|
||||
egg_production_standard_detail: {
|
||||
target_hen_day_production: number;
|
||||
target_hen_house_production: number;
|
||||
target_egg_weight: number;
|
||||
target_egg_mass: number;
|
||||
};
|
||||
}[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user