circuitstream-aws-utils
Version:
AWS service integrations for electronic component inventory management with DynamoDB, S3, Rekognition, SNS, and Cognito support
33 lines (30 loc) • 514 B
JavaScript
export const ComponentTypes = {
RESISTOR: 'resistor',
CAPACITOR: 'capacitor',
INDUCTOR: 'inductor',
DIODE: 'diode',
TRANSISTOR: 'transistor',
IC: 'integrated_circuit',
LED: 'led',
CONNECTOR: 'connector',
SWITCH: 'switch',
SENSOR: 'sensor',
OTHER: 'other'
};
export const StockThresholds = {
CRITICAL: 5,
LOW: 10,
NORMAL: 20
};
export const ResistorColorCodes = {
BLACK: 0,
BROWN: 1,
RED: 2,
ORANGE: 3,
YELLOW: 4,
GREEN: 5,
BLUE: 6,
VIOLET: 7,
GREY: 8,
WHITE: 9
};