ACS-8404: consolidate application settings (#3952)

This commit is contained in:
Denys Vuika
2024-07-18 09:01:46 -04:00
committed by GitHub
parent 74384f09f8
commit 2ff54affb2
19 changed files with 132 additions and 182 deletions
@@ -23,7 +23,6 @@
*/
export enum AppActionTypes {
SetInitialState = 'SET_INITIAL_STATE',
SetCurrentFolder = 'SET_CURRENT_FOLDER',
SetCurrentVersion = 'SET_CURRENT_VERSION',
SetCurrentUrl = 'SET_CURRENT_URL',
@@ -24,15 +24,8 @@
import { Action } from '@ngrx/store';
import { Node, Person, Group, RepositoryInfo, VersionEntry } from '@alfresco/js-api';
import { AppState } from '../states/app.state';
import { AppActionTypes } from './app-action-types';
export class SetInitialStateAction implements Action {
readonly type = AppActionTypes.SetInitialState;
constructor(public payload: AppState) {}
}
export class SetCurrentFolderAction implements Action {
readonly type = AppActionTypes.SetCurrentFolder;