Commit f4b3e8f2 authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: lint missing whitespace error

parent abb8cb76
import {HttpClientTestingModule} from "@angular/common/http/testing"; import {HttpClientTestingModule} from "@angular/common/http/testing";
import {NO_ERRORS_SCHEMA} from "@angular/core"; import {NO_ERRORS_SCHEMA} from "@angular/core";
import {async, ComponentFixture, TestBed,} from "@angular/core/testing"; import {
async,
ComponentFixture,
TestBed,
} from "@angular/core/testing";
import {ReactiveFormsModule} from "@angular/forms"; import {ReactiveFormsModule} from "@angular/forms";
import {SharedSearchPresentational} from "@app/shared/components/presentationals/shared-search/shared-search.presentational"; import {SharedSearchPresentational} from "@app/shared/components/presentationals/shared-search/shared-search.presentational";
import {TranslateService} from "@ngx-translate/core"; import {TranslateService} from "@ngx-translate/core";
......
import {ChangeDetectionStrategy, Component,} from "@angular/core"; import {
ChangeDetectionStrategy,
Component,
} from "@angular/core";
import {SharedAbstractPresentational} from "@app/shared/components/presentationals/shared-abstract/shared-abstract.presentational"; import {SharedAbstractPresentational} from "@app/shared/components/presentationals/shared-abstract/shared-abstract.presentational";
import {ApplicationRoleEnum} from "@app/shared/enums/application-role.enum"; import {ApplicationRoleEnum} from "@app/shared/enums/application-role.enum";
import {RoutesEnum} from "@app/shared/enums/routes.enum"; import {RoutesEnum} from "@app/shared/enums/routes.enum";
...@@ -38,7 +41,7 @@ export class PreservationSpaceHomeRoutable extends SharedAbstractPresentational ...@@ -38,7 +41,7 @@ export class PreservationSpaceHomeRoutable extends SharedAbstractPresentational
subtitleToTranslate: TRANSLATE("admin.contributor.home.subtitle"), subtitleToTranslate: TRANSLATE("admin.contributor.home.subtitle"),
path: RoutesEnum.contributor, path: RoutesEnum.contributor,
isVisible: () => true, isVisible: () => true,
} },
]; ];
constructor(private store: Store) { constructor(private store: Store) {
......
import {NgModule} from "@angular/core"; import {NgModule} from "@angular/core";
import {RouterModule} from "@angular/router"; import {RouterModule} from "@angular/router";
import {DlcmRoutes} from "@app/shared/models/dlcm-route.model";
import {AppRoutesEnum, ContributorRoutesEnum,} from "@shared/enums/routes.enum";
import {ContributorListRoutable} from "@app/features/preservation-space/contributor/components/routables/contributor-list/contributor-list.routable";
import {ContributorDetailEditRoutable} from "@app/features/preservation-space/contributor/components/routables/contributor-detail-edit/contributor-detail-edit.routable"; import {ContributorDetailEditRoutable} from "@app/features/preservation-space/contributor/components/routables/contributor-detail-edit/contributor-detail-edit.routable";
import {ContributorListRoutable} from "@app/features/preservation-space/contributor/components/routables/contributor-list/contributor-list.routable";
import {ContributorState} from "@app/features/preservation-space/contributor/stores/contributor.state"; import {ContributorState} from "@app/features/preservation-space/contributor/stores/contributor.state";
import {DlcmRoutes} from "@app/shared/models/dlcm-route.model";
import {
AppRoutesEnum,
ContributorRoutesEnum,
} from "@shared/enums/routes.enum";
const routes: DlcmRoutes = [ const routes: DlcmRoutes = [
{ {
...@@ -18,8 +21,8 @@ const routes: DlcmRoutes = [ ...@@ -18,8 +21,8 @@ const routes: DlcmRoutes = [
component: ContributorDetailEditRoutable, component: ContributorDetailEditRoutable,
data: { data: {
breadcrumbMemoizedSelector: ContributorState.currentTitle, breadcrumbMemoizedSelector: ContributorState.currentTitle,
} },
} },
]; ];
@NgModule({ @NgModule({
......
import {NgModule} from "@angular/core"; import {NgModule} from "@angular/core";
import {RouterModule} from "@angular/router"; import {RouterModule} from "@angular/router";
import {AppRoutesEnum,} from "@app/shared/enums/routes.enum";
import {DlcmRoutes} from "@app/shared/models/dlcm-route.model";
import {PreservationSpaceHomeRoutable} from "@app/features/preservation-space/components/routables/preservation-space-home/preservation-space-home.routable"; import {PreservationSpaceHomeRoutable} from "@app/features/preservation-space/components/routables/preservation-space-home/preservation-space-home.routable";
import {TRANSLATE} from "solidify-frontend"; import {AppRoutesEnum} from "@app/shared/enums/routes.enum";
import {DlcmRoutes} from "@app/shared/models/dlcm-route.model";
import {ApplicationRoleGuardService} from "@shared/guards/application-role-guard.service"; import {ApplicationRoleGuardService} from "@shared/guards/application-role-guard.service";
import {TRANSLATE} from "solidify-frontend";
const routes: DlcmRoutes = [ const routes: DlcmRoutes = [
{ {
...@@ -20,7 +20,7 @@ const routes: DlcmRoutes = [ ...@@ -20,7 +20,7 @@ const routes: DlcmRoutes = [
breadcrumb: TRANSLATE("breadcrumb.contributor.root"), breadcrumb: TRANSLATE("breadcrumb.contributor.root"),
}, },
canActivate: [ApplicationRoleGuardService], canActivate: [ApplicationRoleGuardService],
} },
]; ];
@NgModule({ @NgModule({
......
import {LocalStateEnum} from "@app/shared/enums/local-state.enum";
import {State, Store} from "@ngxs/store";
import {BaseStateModel, defaultResourceStateInitValue,} from "solidify-frontend";
import { import {
ContributorState, ContributorState,
ContributorStateModel ContributorStateModel,
} from "@app/features/preservation-space/contributor/stores/contributor.state"; } from "@app/features/preservation-space/contributor/stores/contributor.state";
import {LocalStateEnum} from "@app/shared/enums/local-state.enum";
import {
State,
Store,
} from "@ngxs/store";
import {
BaseStateModel,
defaultResourceStateInitValue,
} from "solidify-frontend";
export interface PreservationSpaceStateModel extends BaseStateModel { export interface PreservationSpaceStateModel extends BaseStateModel {
preservationSpace_contributor: ContributorStateModel; preservationSpace_contributor: ContributorStateModel;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment