UNPKG

vuex-xhr-state

Version:

Use Vuex to manage the state of you're ajax calls.

31 lines (30 loc) 609 B
export declare const STATE: { PENDING: string; ERROR: string; FETCHED: string; DEFAULT: string; RESPONSE: string; }; export declare const MUTATIONS: { REQUEST: string; RECEIVED: string; FAILED: string; RESET: string; INVALIDATE: string; }; export declare const GET: { PENDING: string; HAS_ERROR: string; FETCHED: string; DATA: string; RESPONSE: string; PAYLOAD_KEYS: string; }; export declare const ACTION: { SEND: string; FETCH: string; FORCE_FETCH: string; RESET: string; INVALIDATE: string; INVALIDATE_ALL: string; };