61 lines
1.3 KiB
TypeScript
61 lines
1.3 KiB
TypeScript
|
|
export interface ChemicalInventory {
|
||
|
|
id: string;
|
||
|
|
user_id: string;
|
||
|
|
piFirstName: string;
|
||
|
|
physicalState: string;
|
||
|
|
chemicalName: string;
|
||
|
|
bldgCode: string;
|
||
|
|
lab: string;
|
||
|
|
storageLocation: string;
|
||
|
|
storageDevice: string;
|
||
|
|
numberOfContainers: string;
|
||
|
|
amountPerContainer: string;
|
||
|
|
unitOfMeasure: string;
|
||
|
|
casNumber: string;
|
||
|
|
chemicalFormula?: string;
|
||
|
|
molecularWeight?: string;
|
||
|
|
vendor?: string;
|
||
|
|
catalogNumber?: string;
|
||
|
|
foundInCatalog?: string;
|
||
|
|
poNumber?: string;
|
||
|
|
receiptDate?: string;
|
||
|
|
openDate?: string;
|
||
|
|
maxOnHand?: string;
|
||
|
|
expirationDate?: string;
|
||
|
|
contact?: string;
|
||
|
|
comments?: string;
|
||
|
|
dateEntered?: string;
|
||
|
|
permitNumber?: string;
|
||
|
|
barcode?: string;
|
||
|
|
lastChanged?: string;
|
||
|
|
concentration?: string;
|
||
|
|
chemicalNumber?: string;
|
||
|
|
lotNumber?: string;
|
||
|
|
multipleCAS?: string;
|
||
|
|
msds?: string;
|
||
|
|
percentageFull?: number;
|
||
|
|
needsManualEntry?: string[];
|
||
|
|
scannedImage?: string;
|
||
|
|
created_at?: string;
|
||
|
|
updated_at?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface SafetyIssue {
|
||
|
|
type: "critical" | "warning" | "suggestion";
|
||
|
|
category: string;
|
||
|
|
message: string;
|
||
|
|
source?: string;
|
||
|
|
sourceUrl?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface Protocol {
|
||
|
|
id: string;
|
||
|
|
user_id: string;
|
||
|
|
title: string;
|
||
|
|
content: string;
|
||
|
|
file_url?: string;
|
||
|
|
analysis_results?: SafetyIssue[];
|
||
|
|
created_at: string;
|
||
|
|
updated_at: string;
|
||
|
|
}
|