Get Unit Converter
This commit is contained in:
@@ -73,3 +73,29 @@ export interface IngredientUnitConverterRequest {
|
||||
to_unit_id: string
|
||||
conversion_factor: number
|
||||
}
|
||||
|
||||
export interface UnitConversion {
|
||||
id: string
|
||||
organization_id: string
|
||||
ingredient_id: string
|
||||
from_unit_id: string
|
||||
to_unit_id: string
|
||||
conversion_factor: number
|
||||
is_active: boolean
|
||||
created_at: string
|
||||
updated_at: string
|
||||
created_by: string
|
||||
updated_by: string
|
||||
from_unit: UnitConversionFrom
|
||||
to_unit: UnitConversionTo
|
||||
}
|
||||
|
||||
export interface UnitConversionFrom {
|
||||
id: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface UnitConversionTo {
|
||||
id: string
|
||||
name: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user