2016-04-29 03:37:49 +00:00
|
|
|
// Global Stuff
|
|
|
|
export const LOCALSTORAGE_KEY = 'insomnia.state';
|
2016-05-11 05:43:51 +00:00
|
|
|
export const DB_PERSIST_INTERVAL = 1000;
|
2016-04-29 03:37:49 +00:00
|
|
|
|
2016-03-20 04:00:40 +00:00
|
|
|
// HTTP Methods
|
|
|
|
export const METHOD_GET = 'GET';
|
|
|
|
export const METHOD_PUT = 'PUT';
|
|
|
|
export const METHOD_POST = 'POST';
|
2016-04-07 01:11:16 +00:00
|
|
|
export const METHOD_PATCH = 'PATCH';
|
2016-03-20 04:00:40 +00:00
|
|
|
export const METHOD_DELETE = 'DELETE';
|
|
|
|
export const METHOD_OPTIONS = 'OPTIONS';
|
|
|
|
export const METHOD_HEAD = 'HEAD';
|
2016-04-04 07:15:30 +00:00
|
|
|
|
2016-03-20 20:42:27 +00:00
|
|
|
export const METHODS = [
|
|
|
|
METHOD_GET,
|
|
|
|
METHOD_PUT,
|
2016-04-07 01:11:16 +00:00
|
|
|
METHOD_PATCH,
|
2016-03-20 20:42:27 +00:00
|
|
|
METHOD_POST,
|
|
|
|
METHOD_DELETE,
|
|
|
|
METHOD_OPTIONS,
|
|
|
|
METHOD_HEAD
|
|
|
|
];
|
2016-04-04 07:15:30 +00:00
|
|
|
|
2016-04-26 07:29:24 +00:00
|
|
|
export const MODAL_WORKSPACE_RENAME = 'workspace.update.name';
|
2016-04-23 06:08:52 +00:00
|
|
|
export const MODAL_REQUEST_GROUP_RENAME = 'requestgroup.update.name';
|
2016-04-26 07:29:24 +00:00
|
|
|
export const MODAL_REQUEST_RENAME = 'request.update.name';
|
2016-04-23 06:08:52 +00:00
|
|
|
export const MODAL_ENVIRONMENT_EDITOR = 'environment.edit';
|
2016-05-07 17:29:24 +00:00
|
|
|
export const MODAL_SETTINGS = 'settings';
|