Initial commit
This commit is contained in:
19
frontend/src/types.ts
Normal file
19
frontend/src/types.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export interface RecipeSummary {
|
||||
id: number;
|
||||
name: string;
|
||||
level: number;
|
||||
category: string;
|
||||
crystal: string;
|
||||
}
|
||||
|
||||
export interface RecipeDetail {
|
||||
id: number;
|
||||
name: string;
|
||||
level: number;
|
||||
category: string;
|
||||
crystal: string;
|
||||
key_item?: string | null;
|
||||
ingredients: [string, number][];
|
||||
hq_yields: ([string, number] | null)[];
|
||||
subcrafts: [string, number][];
|
||||
}
|
||||
Reference in New Issue
Block a user