update recipe detail and recipe detail list

This commit is contained in:
Kenta420 2023-11-24 17:47:44 +07:00
parent 8b45ed53ee
commit d52cad09fd
16 changed files with 947 additions and 458 deletions

View file

@ -1,3 +1,50 @@
export type RecipeOverview = {
id: string;
productCode: string;
name: string;
otherName: string;
description: string;
lastUpdated: Date;
};
export type RecipesDashboard = {
configNumber: number;
LastUpdated: Date;
filename: string;
};
export type RecipeOverviewList = {
result: RecipeOverview[];
hasMore: boolean;
totalCount: number;
};
export type RecipeDetail = {
name: string;
otherName: string;
description: string;
otherDescription: string;
lastUpdated: Date;
picture: string;
};
export type RecipeDetailMat = {
materialID: number;
name: string;
mixOrder: number;
feedParameter: number;
feedPattern: number;
isUse: boolean;
materialPathId: number;
powderGram: number;
powderTime: number;
stirTime: number;
syrupGram: number;
syrupTime: number;
waterCold: number;
waterYield: number;
};
export interface Recipe {
Timestamp: Date;
MachineSetting: MachineSetting;