// error colors in priority order const ErrorColors: Array<{ key: string; color: string }> = [ { key: 'outOfLimit', color: 'red' }, { key: 'ambiguousAttachment', color: 'orange' }, { key: 'notAttached', color: 'blue' }, { key: 'incomplete', color: 'red' }, ]; const Errors = ErrorColors.map((errorColor) => errorColor.key); const DefaultTolerance = { C: 0.25, H: 0.02, N: 0.25, F: 0.25, Si: 0.25, P: 0.25, }; export { DefaultTolerance, ErrorColors, Errors };