From ec15def4efa3a30b4a885d8d97d725923f60c96d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Thu, 26 Jan 2023 15:19:01 +0100 Subject: [PATCH] Convert all models' file names to PascalCase --- src/components/ExportToJsonLink.astro | 4 ++-- src/components/vue/PlaylistSearchInput.vue | 4 ++-- src/components/vue/SnapshotCalendar.vue | 4 ++-- src/layouts/PlaylistPageTab.astro | 2 +- src/models/{playlist-snapshot.ts => PlaylistSnapshot.ts} | 4 ++-- src/models/{search-suggestion.ts => SearchSuggestion.ts} | 0 src/models/{snapshot-meta.ts => SnapshotMeta.ts} | 0 ...update-month-year-payload.ts => UpdateMonthYearPayload.ts} | 0 src/models/track.ts | 2 +- src/pages/playlists/[playlistId]/snapshots.json.ts | 2 +- src/pages/playlists/[playlistId]/snapshots/[commitSha].astro | 2 +- src/utils/getPlaylistLayoutProps.ts | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) rename src/models/{playlist-snapshot.ts => PlaylistSnapshot.ts} (73%) rename src/models/{search-suggestion.ts => SearchSuggestion.ts} (100%) rename src/models/{snapshot-meta.ts => SnapshotMeta.ts} (100%) rename src/models/{update-month-year-payload.ts => UpdateMonthYearPayload.ts} (100%) diff --git a/src/components/ExportToJsonLink.astro b/src/components/ExportToJsonLink.astro index 6f14730..6034b6c 100644 --- a/src/components/ExportToJsonLink.astro +++ b/src/components/ExportToJsonLink.astro @@ -1,5 +1,5 @@ --- -import type { PlaylistSnapshot } from '@/models/playlist-snapshot'; +import type { PlaylistSnapshot } from '@/models/PlaylistSnapshot'; interface Props { snapshot: PlaylistSnapshot; @@ -9,7 +9,7 @@ const { snapshot } = Astro.props; ---