From ce80da846f78b95bd9be58a64ff4e9b6b42c0129 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 11 Dec 2023 13:58:43 +0000 Subject: [PATCH] chore: code tidying --- apps/picsa-apps/dashboard/src/app/app.routes.ts | 2 +- .../resources/create/resource-create.component.html | 0 .../resources/create/resource-create.component.scss | 0 .../resources/create/resource-create.component.spec.ts | 0 .../resources/create/resource-create.component.ts | 0 .../app/{pages => modules}/resources/home/resources.page.html | 0 .../app/{pages => modules}/resources/home/resources.page.scss | 0 .../{pages => modules}/resources/home/resources.page.spec.ts | 0 .../src/app/{pages => modules}/resources/home/resources.page.ts | 0 .../src/app/{pages => modules}/resources/resources.module.ts | 0 .../src/app/{pages => modules}/resources/resources.service.ts | 1 + 11 files changed, 2 insertions(+), 1 deletion(-) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/create/resource-create.component.html (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/create/resource-create.component.scss (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/create/resource-create.component.spec.ts (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/create/resource-create.component.ts (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/home/resources.page.html (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/home/resources.page.scss (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/home/resources.page.spec.ts (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/home/resources.page.ts (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/resources.module.ts (100%) rename apps/picsa-apps/dashboard/src/app/{pages => modules}/resources/resources.service.ts (98%) diff --git a/apps/picsa-apps/dashboard/src/app/app.routes.ts b/apps/picsa-apps/dashboard/src/app/app.routes.ts index 0e7f01bb8..e417943af 100644 --- a/apps/picsa-apps/dashboard/src/app/app.routes.ts +++ b/apps/picsa-apps/dashboard/src/app/app.routes.ts @@ -3,6 +3,6 @@ import { Route } from '@angular/router'; export const appRoutes: Route[] = [ { path: 'resources', - loadChildren: () => import('./pages/resources/resources.module').then((m) => m.ResourcesPageModule), + loadChildren: () => import('./modules/resources/resources.module').then((m) => m.ResourcesPageModule), }, ]; diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/create/resource-create.component.html b/apps/picsa-apps/dashboard/src/app/modules/resources/create/resource-create.component.html similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/create/resource-create.component.html rename to apps/picsa-apps/dashboard/src/app/modules/resources/create/resource-create.component.html diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/create/resource-create.component.scss b/apps/picsa-apps/dashboard/src/app/modules/resources/create/resource-create.component.scss similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/create/resource-create.component.scss rename to apps/picsa-apps/dashboard/src/app/modules/resources/create/resource-create.component.scss diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/create/resource-create.component.spec.ts b/apps/picsa-apps/dashboard/src/app/modules/resources/create/resource-create.component.spec.ts similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/create/resource-create.component.spec.ts rename to apps/picsa-apps/dashboard/src/app/modules/resources/create/resource-create.component.spec.ts diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/create/resource-create.component.ts b/apps/picsa-apps/dashboard/src/app/modules/resources/create/resource-create.component.ts similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/create/resource-create.component.ts rename to apps/picsa-apps/dashboard/src/app/modules/resources/create/resource-create.component.ts diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/home/resources.page.html b/apps/picsa-apps/dashboard/src/app/modules/resources/home/resources.page.html similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/home/resources.page.html rename to apps/picsa-apps/dashboard/src/app/modules/resources/home/resources.page.html diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/home/resources.page.scss b/apps/picsa-apps/dashboard/src/app/modules/resources/home/resources.page.scss similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/home/resources.page.scss rename to apps/picsa-apps/dashboard/src/app/modules/resources/home/resources.page.scss diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/home/resources.page.spec.ts b/apps/picsa-apps/dashboard/src/app/modules/resources/home/resources.page.spec.ts similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/home/resources.page.spec.ts rename to apps/picsa-apps/dashboard/src/app/modules/resources/home/resources.page.spec.ts diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/home/resources.page.ts b/apps/picsa-apps/dashboard/src/app/modules/resources/home/resources.page.ts similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/home/resources.page.ts rename to apps/picsa-apps/dashboard/src/app/modules/resources/home/resources.page.ts diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/resources.module.ts b/apps/picsa-apps/dashboard/src/app/modules/resources/resources.module.ts similarity index 100% rename from apps/picsa-apps/dashboard/src/app/pages/resources/resources.module.ts rename to apps/picsa-apps/dashboard/src/app/modules/resources/resources.module.ts diff --git a/apps/picsa-apps/dashboard/src/app/pages/resources/resources.service.ts b/apps/picsa-apps/dashboard/src/app/modules/resources/resources.service.ts similarity index 98% rename from apps/picsa-apps/dashboard/src/app/pages/resources/resources.service.ts rename to apps/picsa-apps/dashboard/src/app/modules/resources/resources.service.ts index 78f9d48ce..8d2ffc908 100644 --- a/apps/picsa-apps/dashboard/src/app/pages/resources/resources.service.ts +++ b/apps/picsa-apps/dashboard/src/app/modules/resources/resources.service.ts @@ -1,4 +1,5 @@ import { Injectable, signal } from '@angular/core'; +// eslint-disable-next-line @nx/enforce-module-boundaries import { Database } from '@picsa/server-types'; import { PicsaNotificationService } from '@picsa/shared/services/core/notification.service'; import { SupabaseService } from '@picsa/shared/services/core/supabase';