From 6b702b13e416052f13a34314c40fe0ea177e0696 Mon Sep 17 00:00:00 2001 From: Jaime Baez Date: Wed, 7 Sep 2022 16:04:50 +0200 Subject: [PATCH] Rename albums BLoC (`.bloc.ts` convention) By convention now it's `album.bloc.ts` --- web/src/routes/albums/+page.svelte | 2 +- .../__tests__/{albums-bloc.spec.ts => albums.bloc.spec.ts} | 2 +- web/src/routes/albums/{albums-bloc.ts => albums.bloc.ts} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename web/src/routes/albums/__tests__/{albums-bloc.spec.ts => albums.bloc.spec.ts} (99%) rename web/src/routes/albums/{albums-bloc.ts => albums.bloc.ts} (100%) diff --git a/web/src/routes/albums/+page.svelte b/web/src/routes/albums/+page.svelte index 25ef145f6e..116cf573cf 100644 --- a/web/src/routes/albums/+page.svelte +++ b/web/src/routes/albums/+page.svelte @@ -9,7 +9,7 @@ import NavigationBar from '$lib/components/shared-components/navigation-bar.svelte'; import SideBar from '$lib/components/shared-components/side-bar/side-bar.svelte'; import PlusBoxOutline from 'svelte-material-icons/PlusBoxOutline.svelte'; - import { useAlbums } from './albums-bloc'; + import { useAlbums } from './albums.bloc'; export let data: PageData; diff --git a/web/src/routes/albums/__tests__/albums-bloc.spec.ts b/web/src/routes/albums/__tests__/albums.bloc.spec.ts similarity index 99% rename from web/src/routes/albums/__tests__/albums-bloc.spec.ts rename to web/src/routes/albums/__tests__/albums.bloc.spec.ts index 2abb176011..8565202d6b 100644 --- a/web/src/routes/albums/__tests__/albums-bloc.spec.ts +++ b/web/src/routes/albums/__tests__/albums.bloc.spec.ts @@ -1,5 +1,5 @@ import { jest, describe, it, expect, beforeEach, afterEach } from '@jest/globals'; -import { useAlbums } from '../albums-bloc'; +import { useAlbums } from '../albums.bloc'; import { api, CreateAlbumDto } from '@api'; import { notificationController, diff --git a/web/src/routes/albums/albums-bloc.ts b/web/src/routes/albums/albums.bloc.ts similarity index 100% rename from web/src/routes/albums/albums-bloc.ts rename to web/src/routes/albums/albums.bloc.ts