[ACS-9859] replace deprecated APIs and modules (#4687)

* [ACS-9859] replace deprecated APIs and modules

* [ACS-9859] delete deprecated code

* [ACS-9859] fix rebase errors

* [ACS-9859] revert wrong code deletion

* [ACS-9859] fix after rebase
This commit is contained in:
Grzegorz Jaśkowski
2025-08-27 09:24:24 +02:00
committed by GitHub
parent 5c5e6ed89c
commit 396add1e88
4 changed files with 1 additions and 14 deletions
@@ -40,7 +40,6 @@ import {
UploadEffects,
ViewerEffects
} from './effects';
import { INITIAL_STATE } from './initial-state';
import { SearchAiEffects } from './effects/search-ai.effects';
@NgModule({
@@ -48,7 +47,6 @@ import { SearchAiEffects } from './effects/search-ai.effects';
provideStore(
{ app: appReducer },
{
initialState: INITIAL_STATE,
runtimeChecks: {
strictStateImmutability: false,
strictActionImmutability: false
@@ -22,4 +22,4 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/
export { INITIAL_STATE, INITIAL_APP_STATE } from '@alfresco/aca-shared/store';
export { INITIAL_APP_STATE } from '@alfresco/aca-shared/store';
@@ -30,7 +30,6 @@ import { RepositoryInfo, VersionInfo } from '@alfresco/js-api';
import { provideStore } from '@ngrx/store';
import { appReducer } from '../store/reducers/app.reducer';
import { provideEffects } from '@ngrx/effects';
import { INITIAL_STATE } from '../store/initial-state';
import { BehaviorSubject, Observable, of } from 'rxjs';
import { ContentManagementService } from '../services/content-management.service';
import { DocumentBasePageService } from '@alfresco/aca-shared';
@@ -47,7 +46,6 @@ import { provideRouter } from '@angular/router';
provideStore(
{ app: appReducer },
{
initialState: INITIAL_STATE,
runtimeChecks: {
strictStateImmutability: false,
strictActionImmutability: false
@@ -24,10 +24,6 @@
import { SelectionState, ProfileState, NavigationState } from '@alfresco/adf-extensions';
import { RepositoryInfo, VersionEntry } from '@alfresco/js-api';
import { InjectionToken } from '@angular/core';
/** @deprecated no longer used */
export const STORE_INITIAL_APP_DATA = new InjectionToken<AppState>('STORE_INITIAL_APP_DATA');
export const INITIAL_APP_STATE: AppState = {
user: {
@@ -59,11 +55,6 @@ export const INITIAL_APP_STATE: AppState = {
searchItemsTotalCount: null
};
/** @deprecated no longer used */
export const INITIAL_STATE: AppStore = {
app: INITIAL_APP_STATE
};
export interface AppState {
currentNodeVersion: VersionEntry;
selection: SelectionState;