{"size": 937, "ext": "js", "max_stars_repo_path": "src/utils/constants.js", "max_stars_repo_name": "aharsh38/node-express-es8", "max_stars_repo_stars_event_min_datetime": "2019-11-20T10:00:07.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-16T13:21:13.000Z", "max_issues_repo_path": "src/utils/constants.js", "max_issues_repo_name": "aharsh38/node-express-es8", "max_issues_repo_issues_event_min_datetime": "2021-05-11T19:48:50.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-11T19:48:50.000Z", "max_forks_repo_path": "src/utils/constants.js", "max_forks_repo_name": "aharsh38/node-express-es8", "max_forks_repo_forks_event_min_datetime": "2019-11-20T10:00:08.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-29T17:14:30.000Z"}
{"max_stars_count": 18, "max_issues_count": 1, "max_forks_count": 12, "avg_line_length": 24.0256410256, "max_line_length": 73, "alphanum_fraction": 0.7203842049}
module.exports = {

  // HTTP Status Codes
  ACCEPTED: 202,
  BAD_GATEWAY: 502,
  BAD_REQUEST: 400,
  CONFLICT: 409,
  CREATED: 201,
  FORBIDDEN: 403,
  GATEWAY_TIMEOUT: 504,
  INTERNAL_SERVER_ERROR: 500,
  NOT_FOUND: 404,
  NOT_IMPLEMENTED: 501,
  OK: 200,
  PAYMENT_REQUIRED: 402,
  PRECONDITION_FAILED: 412,
  PROXY_AUTHENTICATION_REQUIRED: 407,
  REQUEST_TOO_LONG: 413,
  REQUEST_URI_TOO_LONG: 414,
  SERVICE_UNAVAILABLE: 503,
  TOO_MANY_REQUESTS: 429,
  UNAUTHORIZED: 401,
  UNPROCESSABLE_ENTITY: 422,

  // API Defaults
  ROLES: ['user', 'admin'],
  ADMIN: 'admin',
  LOGGED_IN: 'logged_in',
  USER: 'user',
  DEFAULT_IMAGE: 'default.jpg',

  // Messages
  NO_RECORD_FOUND: 'No record found for given details',
  VALIDATION_ERROR: 'Validation Error',
  INVALID_CREDENTIALS: 'Invalid Credentials, Please check and try again',
  EMAIL_EXIST: 'Email is already in use by another account',
  INVALID_FILE_TYPE: 'Invalid file type',
};
