School Commit Init

This commit is contained in:
2024-08-31 12:07:21 +03:00
commit 0b130ee18c
2801 changed files with 4720552 additions and 0 deletions
@@ -0,0 +1,34 @@
import Drug from "../interfaces/Drug";
import Manufacturer from "../interfaces/Manufacturer";
export const getEmptyDrug = (): Drug => {
return {
id: -1,
name: '',
stock: 0,
price: 0,
manufacturer: '',
description: '',
sideEffects: '',
interactions: '',
dosage: '',
contraindications: '',
warnings: '',
storage: '',
pregnancy: '',
breastfeeding: '',
overdose: '',
} as Drug;
}
export const getEmptyManufacturer = (): Manufacturer => {
return {
id: -1,
name: '',
address: '',
contact: '',
totalCount: 0,
} as Manufacturer;
}
export default getEmptyDrug;