45 lines
773 B
TypeScript
45 lines
773 B
TypeScript
export const MIMEType = {
|
|
png: 'image/png',
|
|
jpg: 'image/jpg',
|
|
jpeg: 'image/jpeg',
|
|
gif: 'image/gif',
|
|
txt: 'text/plain',
|
|
pdf: 'application/pdf'
|
|
};
|
|
|
|
|
|
//for status of object 0 no change, 1 changed , -1 is deleted.
|
|
export enum mState {
|
|
Delete = -1,
|
|
NoChange = 0,
|
|
Modified = 1,
|
|
New =2,
|
|
};
|
|
|
|
export enum PickListType {
|
|
Ok =0,
|
|
BodyPart = 16, // Body Part
|
|
Location = 17,
|
|
Equipment = 18,
|
|
LocationType = 19,
|
|
CheckList = 20,
|
|
Company = 21,
|
|
NonConformance = 22,
|
|
Occupation = 23,
|
|
IncidentType = 24,
|
|
InvestigationAgency = 25,
|
|
OutCome = 26,
|
|
Visibility = 27,
|
|
Surface = 28,
|
|
Lighting = 29,
|
|
Weather = 30,
|
|
CauseOfPrimaryInjury = 31,
|
|
ContributingFactor = 32,
|
|
HazardControlType = 33,
|
|
}
|
|
|
|
export enum userRole {
|
|
Normal = 1,
|
|
Admin = 2,
|
|
};
|