@hmcts/media-viewer
Version:
30 lines • 991 B
TypeScript
import { Action } from '@ngrx/store';
import { TagsModel } from '../../annotations/models/tags.model';
export declare const UPDATE_TAGS = "[Tags] Update Tags";
export declare const ADD_FILTER_TAGS = "[Tags] Add Filter Tags";
export declare const CLEAR_FILTER_TAGS = "[Tags] Clear Filter Tags";
export declare class UpdateTags implements Action {
payload: {
tags: TagsModel[];
annoId: string;
};
readonly type = "[Tags] Update Tags";
constructor(payload: {
tags: TagsModel[];
annoId: string;
});
}
export declare class AddFilterTags implements Action {
payload: {
[id: string]: boolean;
};
readonly type = "[Tags] Add Filter Tags";
constructor(payload: {
[id: string]: boolean;
});
}
export declare class ClearFilterTags implements Action {
readonly type = "[Tags] Clear Filter Tags";
}
export type TagsActions = UpdateTags | AddFilterTags | ClearFilterTags;
//# sourceMappingURL=tag.actions.d.ts.map