# digirati-annotation-redux

> Describe annotation-redux here

Latest version **1.0.0-rc.11** (published 2018-02-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install digirati-annotation-redux
pnpm add digirati-annotation-redux
yarn add digirati-annotation-redux
bun add digirati-annotation-redux
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-rc.11 |
| Published | 2018-02-12 |
| First published | 2017-03-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 318.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | dryton, stephenwf, stephenwf2 |

## Links

- npm: https://www.npmjs.com/package/digirati-annotation-redux
- npm.io page: https://npm.io/package/digirati-annotation-redux

## Dependencies (10)

- [uuid](https://npm.io/package/uuid.md) ^3.0.1
- [redux](https://npm.io/package/redux.md) ^3.6.0
- [react-intl](https://npm.io/package/react-intl.md) ^2.4.0
- [redux-saga](https://npm.io/package/redux-saga.md) ^0.14.3
- [blueimp-md5](https://npm.io/package/blueimp-md5.md) ^2.7.0
- [react-redux](https://npm.io/package/react-redux.md) ^5.0.3
- [redux-thunk](https://npm.io/package/redux-thunk.md) ^2.2.0
- [redux-logger](https://npm.io/package/redux-logger.md) ^2.8.2
- [whatwg-fetch](https://npm.io/package/whatwg-fetch.md) ^2.0.3
- [immutability-helper](https://npm.io/package/immutability-helper.md) ^2.1.2

## Recent versions

- 1.0.0-rc.11 (latest) — 2018-02-12
- 1.0.0-rc.3dc3dfc1 (canary) — 2018-02-12
- 1.0.0-rc.1c33a17c — 2018-02-12
- 1.0.0-rc.255d8738 — 2018-02-09
- 1.0.0-rc.10 — 2018-02-09
- 1.0.0-rc.9 — 2018-02-09
- 1.0.0-rc.f3739a39 — 2018-01-31
- 1.0.0-rc.b54ce50e — 2018-01-31
- 1.0.0-rc.8 — 2018-01-30
- 1.0.0-rc.4 — 2017-12-11
- 1.0.0-rc.942bcb80 — 2017-12-05
- 1.0.0-rc.fcbdc014 — 2017-12-05
- 1.0.0-rc.14b41279 — 2017-12-05
- 1.0.0-rc.f58b0cdf — 2017-12-05
- 1.0.0-rc.62855fd6 — 2017-12-05
- … 132 more at https://npm.io/package/digirati-annotation-redux/versions

## README

# Annotation Redux
Annotation redux is made of actions, queries and a few interfaces for plugging your own redux flows (middleware, reducers)

## Overview
- Actions (dispatch-able)
  - annotations
    - `addAnnotation`
  - drafts
    - `createDraft`
    - `deselectDraft`
    - `updateDraft`
    - `addSelectorToDraft`
    - `selectDraft`
    - `previewDraft`
    - `unpreviewDraft`
    - `asyncPublishDraft`
    - `publishDraft`
  - elucidate
    - `initialiseElucidate`
    - `setServer`
    - `setResource`
    - `createCollection`
    - `setCollection`
    - `addElucidateAnnotation`
    - `sendAnnotation`
  - logging
    - `log`
  - manifest
    - `requestManifest`
    - `selectCanvas`
    - `selectManifest`
    - `addManifest`
    - `removeManifest`
  - resourceTemplate
    - `moveForward`
    - `moveBack`
    - `reset`
    - `addResourceTemplate`
    - `addCaptureModel`
    - `addInteractiveResource`
  - selectors
    - `setAvailableSelectors`
    - `chooseSelector`
    - `updateSelector`
    - `commitToCurrentDraft`
  - viewer
    - `setViewer`
    - `withViewer`
- lib/elucidate (not dispatch-able)
  - `AnnotationSelector` (class)
  - `makeRequest`
  - `get`
  - `post`
  - `getAnnotation`
  - `getAllAnnotationsFromCollection`
  - `fetchPageCollection`
  - `createElucidateCollection`
  - `sendAnnotationToServer`
- query
  - draftQuery
    - `getCurrentDraftId`
    - `getDraftById`
    - `getCurrentDraft`
  - elucidateQuery
    - `getServer`
    - `getAnnotationById`
    - `isSendingAnnotations`
    - `getCanvasFromManifest`
    - `getCollectionId`
    - `richAnnotationList` (will be renamed `annotationList`)
    - `annotationList`
  - manifestQuery
    - `currentManifest`
    - `getImageServiceFromCanvas`
    - `currentImageService`
    - `currentCanvas`
    - `manifestById`
    - `allManifests
  - resourceTemplateQuery
    - `getCurrentResourceTemplate`
    - `getForm`
    - `resourceTemplateList`
    - `getCurrentPath`
  - `connector` 
  - `createStore`
  - middleware
    - `logger`
    - `viewerAware`
    - `thunk`

---
_Source: https://npm.io/package/digirati-annotation-redux · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
