| author | Alexandre Segura <mex.zktk@gmail.com> |
| Thu, 01 Jun 2017 19:01:03 +0200 | |
| changeset 18 | dab2a16500e0 |
| parent 17 | 877d8796b86d |
| child 26 | 930e486ad0a8 |
| permissions | -rw-r--r-- |
import uuidV1 from 'uuid/v1'; import * as types from '../constants/actionTypes'; export const addNote = (session, data) => { return { type: types.ADD_NOTE, note: { id: uuidV1(), session: session.id, raw: data.raw, plain: data.plain, html: data.html, startedAt: data.startedAt, finishedAt: data.finishedAt } }; }