Ankilan/src/constants/anki-constants.js

44 lines
1.6 KiB
JavaScript
Raw Normal View History

2020-03-05 22:16:34 +00:00
//export const ct = 'ct';
//Anki edit actions
export const ERROR = 'ERROR';
export const CREATE_MODEL = 'CREATE_MODEL';
export const EDIT_INPUT_WORD = 'EDIT_INPUT_WORD';
//Anki get actions
export const REQUEST_PERMISSIONS = 'REQUEST_PERMISSIONS';
export const CHECK_ANKI_ACCESS = 'CHECK_ANKI_ACCESS';
export const GET_DECK_LIST = 'GET_DECK_LIST';
export const GET_MODEL_LIST = 'GET_MODEL_LIST';
export const GET_FIELD_LIST = 'GET_FIELD_LIST';
//Anki set actions
export const SET_DECK = 'SET_DECK';
2020-03-10 04:22:42 +00:00
export const SET_FIELD_LIST = 'SET_FIELD_LIST';
2020-03-05 22:16:34 +00:00
export const SET_WORD_DEFINITION = 'SET_DEFINITION';
export const SET_WORD_SOUND = 'SET_WORD_SOUND';
export const SET_WORD_TRANSLATE = 'SET_WORD_TRANSLATE';
2020-03-08 11:17:42 +00:00
export const SET_ANKI_NOTE_CREATOR = 'SET_ANKI_NOTE_CREATOR';
export const SET_CREATOR_TEMPLATE = 'SET_CREATOR_TEMPLATE';
2020-03-24 13:37:25 +00:00
export const SET_FIELDS = 'SET_FIELDS';
2020-04-01 13:16:29 +00:00
export const SET_ANKI_DATA = 'SET_ANKI_DATA';
export const SET_GLOBAL_DEF = 'SET_GLOBAL_DEF';
2020-03-05 22:16:34 +00:00
//Anki ui actions
export const SHOW_FIELDS = 'SHOW_FIELDS';
2020-03-07 19:38:01 +00:00
// Anki check actions
export const SET_EXISTING_OF_ANKI_LAN_MODEL = 'SET_EXISTING_OF_ANKI_LAN_MODEL';
//rn-async-storage kesy
export const ANKILAN_NOTE_CREATOR = '@ANKILAN_NOTE_CREATOR';
export const ANKILAN_NOTE_TEMPLATE = '@ANKILAN_NOTE_TEMPLATE';
export const ANKILAN_DATA = 'ANKILAN_DATA';
//form actions
export const SEND_FIELD = 'SEND_FIELD';
export const SELECT_POS_ID = 'SELECT_POS_ID';
//field names
export const SOUND = 'SOUND';
export const EXAMPLES = 'EXAMPLES';
export const PRONUNCIATION = 'PRONUNCIATION';
export const DEF_LIST1 = 'DEF_LIST1';
export const DEF_LIST2 = 'DEF_LIST2';
export const WORD = 'WORD';