Skip to content
Snippets Groups Projects
svom-json-kw.actions.ts 827 B
Newer Older
  • Learn to ignore specific revisions
  • /**
     * This file is part of Anis Client.
     *
     * @copyright Laboratoire d'Astrophysique de Marseille / CNRS
     *
     * For the full copyright and license information, please view the LICENSE
     * file that was distributed with this source code.
     */
    
    import { createAction, props } from '@ngrx/store';
    
    import { SvomKeyword } from '../models';
    
    export const resetKw = createAction('[SVOM Json Kw] Reset Kw');
    export const selectAcronym = createAction('[SVOM Json Kw] Select Acronym', props<{ acronymSelected: string }>());
    export const loadKwSearchable = createAction('[SVOM Json Kw] Load Kw Searchable');
    export const loadKwSearchableSuccess = createAction('[SVOM Json Kw] Load Kw Searchable Success', props<{ svomKeywords: SvomKeyword[] }>());
    export const loadKwSearchableFail = createAction('[SVOM Json Kw] Load Kw Searchable Fail');