Skip to content

Helper.entities

Javi Jiménez edited this page Jun 26, 2016 · 3 revisions

A dictionary for use with action.type property:

Example

import { entities } from 'ava-ia/lib/helpers'

...
state.action = {
  ...
  type: entities.knowledge,
  ...
};
...

Definition

'use strict';

export default {
  request: 0,

  person: 1,
  location: 2,
  object: 3,
  knowledge: 4,
}

Feel free to offer new features, improvements or anything you can think of. This project makes sense with your participation and experience using Ava.

Clone this wiki locally