insomnia/app/constants/global.js
2016-04-09 14:08:55 -07:00

24 lines
511 B
JavaScript

// Global
export const LOCALSTORAGE_DEBOUNCE_MILLIS = 500;
export const LOCALSTORAGE_KEY = 'insomnia';
// HTTP Methods
export const METHOD_GET = 'GET';
export const METHOD_PUT = 'PUT';
export const METHOD_POST = 'POST';
export const METHOD_PATCH = 'PATCH';
export const METHOD_DELETE = 'DELETE';
export const METHOD_OPTIONS = 'OPTIONS';
export const METHOD_HEAD = 'HEAD';
export const METHODS = [
METHOD_GET,
METHOD_PUT,
METHOD_PATCH,
METHOD_POST,
METHOD_DELETE,
METHOD_OPTIONS,
METHOD_HEAD
];