> For the complete documentation index, see [llms.txt](https://mgcrea.gitbook.io/redux-rest-resource/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mgcrea.gitbook.io/redux-rest-resource/basics/types.md).

# Types

**Action types** are strings that indicates the type of action being performed.

## Exported action types

**Redux REST Resource** does expose action types that will be used in dispatched actions.

We're using scoped `types` with a namespace to prevent conflicts when using multiple resources.

```javascript
types ==
  {
    CREATE_USER: '@@resource/USER/CREATE',
    FETCH_USERS: '@@resource/USER/FETCH',
    GET_USER: '@@resource/USER/GET',
    UPDATE_USER: '@@resource/USER/UPDATE',
    UPDATE_USERS: '@@resource/USER/UPDATE_MANY',
    DELETE_USER: '@@resource/USER/DELETE',
    DELETE_USERS: '@@resource/USER/DELETE_MANY'
  };
```
