UNPKG

@data-client/core

Version:

Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch

24 lines (22 loc) 972 B
export const FETCH = 'rdc/fetch' as const; export const SET = 'rdc/set' as const; export const SET_RESPONSE = 'rdc/setresponse' as const; export const OPTIMISTIC = 'rdc/optimistic' as const; export const RESET = 'rdc/reset' as const; export const SUBSCRIBE = 'rdc/subscribe' as const; export const UNSUBSCRIBE = 'rdc/unsubscribe' as const; export const INVALIDATE = 'rdc/invalidate' as const; export const INVALIDATEALL = 'rdc/invalidateall' as const; export const EXPIREALL = 'rdc/expireall' as const; export const GC = 'rdc/gc' as const; export const FETCH_TYPE = FETCH; export const SET_TYPE = SET; export const SET_RESPONSE_TYPE = SET_RESPONSE; export const OPTIMISTIC_TYPE = OPTIMISTIC; export const RESET_TYPE = RESET; export const SUBSCRIBE_TYPE = SUBSCRIBE; export const UNSUBSCRIBE_TYPE = UNSUBSCRIBE; export const INVALIDATE_TYPE = INVALIDATE; export const INVALIDATEALL_TYPE = INVALIDATEALL; export const EXPIREALL_TYPE = EXPIREALL; export const GC_TYPE = GC;