From 56a835611a815d129a83a2f77c5354004076b4a2 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 21 Mar 2026 15:19:32 +0200 Subject: [PATCH] Update Biome to 2.4.8 --- app/features/admin/routes/admin.tsx | 3 +- app/features/api/routes/api.tsx | 3 +- app/features/art/routes/art.new.tsx | 3 +- app/features/art/routes/art.tsx | 1 + app/features/articles/routes/a.$slug.tsx | 1 + app/features/articles/routes/a.tsx | 1 + .../associations/routes/associations.new.tsx | 1 + .../associations/routes/associations.tsx | 3 +- .../badges/routes/badges.$id.edit.tsx | 1 + app/features/badges/routes/badges.$id.tsx | 1 + app/features/badges/routes/badges.tsx | 1 + app/features/ban/routes/suspended.tsx | 1 + .../routes/builds.$slug.popular.tsx | 1 + .../build-stats/routes/builds.$slug.stats.tsx | 1 + app/features/builds/routes/builds.$slug.tsx | 1 + .../routes/calendar.$id.report-winners.tsx | 3 +- app/features/calendar/routes/calendar.$id.tsx | 3 +- app/features/calendar/routes/calendar.ics.tsx | 1 + app/features/calendar/routes/calendar.new.tsx | 3 +- app/features/calendar/routes/calendar.tsx | 1 + app/features/front-page/routes/index.tsx | 1 + .../img-upload/routes/upload.admin.tsx | 1 + app/features/img-upload/routes/upload.tsx | 1 + .../leaderboards/routes/leaderboards.tsx | 1 + app/features/lfg/routes/lfg.new.tsx | 3 +- app/features/lfg/routes/lfg.tsx | 3 +- .../notifications/routes/notifications.tsx | 1 + ...plus.suggestions.comment.$tier.$userId.tsx | 1 + .../routes/plus.suggestions.new.tsx | 1 + .../routes/plus.suggestions.tsx | 1 + .../routes/plus.voting.results.tsx | 1 + .../plus-voting/routes/plus.voting.tsx | 1 + app/features/scrims/routes/scrims.$id.tsx | 3 +- app/features/scrims/routes/scrims.new.tsx | 3 +- app/features/scrims/routes/scrims.tsx | 1 + .../sendouq-match/routes/q.match.$id.tsx | 3 +- .../sendouq-settings/routes/q.settings.tsx | 3 +- .../sendouq-streams/routes/q.streams.tsx | 1 + app/features/sendouq/routes/q.looking.tsx | 1 + app/features/sendouq/routes/q.preparing.tsx | 3 +- app/features/sendouq/routes/q.tsx | 3 +- app/features/sendouq/routes/tiers.tsx | 1 + app/features/settings/routes/settings.tsx | 3 +- .../team/routes/t.$customUrl.edit.tsx | 1 + .../team/routes/t.$customUrl.index.tsx | 1 + .../team/routes/t.$customUrl.join.tsx | 3 +- .../team/routes/t.$customUrl.results.tsx | 1 + .../team/routes/t.$customUrl.roster.tsx | 3 +- app/features/team/routes/t.$customUrl.tsx | 1 + app/features/team/routes/t.new.tsx | 3 +- .../top-search/routes/xsearch.player.$id.tsx | 3 +- app/features/top-search/routes/xsearch.tsx | 1 + .../routes/to.$id.brackets.finalize.tsx | 1 + .../routes/to.$id.brackets.tsx | 1 + .../routes/to.$id.divisions.tsx | 1 + .../routes/to.$id.matches.$mid.tsx | 1 + .../routes/org.$slug.edit.tsx | 1 + .../routes/org.$slug.tsx | 1 + .../routes/org.new.tsx | 1 + .../tournament/routes/to.$id.join.tsx | 1 + .../tournament/routes/to.$id.register.tsx | 3 +- .../tournament/routes/to.$id.seeds.tsx | 3 +- .../tournament/routes/to.$id.teams.$tid.tsx | 1 + app/features/tournament/routes/to.$id.tsx | 1 + .../user-page/routes/u.$identifier.admin.tsx | 3 +- .../user-page/routes/u.$identifier.art.tsx | 1 + .../user-page/routes/u.$identifier.builds.tsx | 3 +- .../routes/u.$identifier.edit-widgets.tsx | 2 +- .../user-page/routes/u.$identifier.edit.tsx | 3 +- .../user-page/routes/u.$identifier.index.tsx | 1 + .../u.$identifier.results.highlights.tsx | 3 +- .../routes/u.$identifier.results.tsx | 1 + .../routes/u.$identifier.seasons.tsx | 1 + .../user-page/routes/u.$identifier.tsx | 1 + .../user-page/routes/u.$identifier.vods.tsx | 1 + app/features/vods/routes/vods.$id.tsx | 3 +- app/features/vods/routes/vods.tsx | 1 + app/styles/front.module.css | 1 - package-lock.json | 72 +++++++++---------- package.json | 2 +- 80 files changed, 141 insertions(+), 66 deletions(-) diff --git a/app/features/admin/routes/admin.tsx b/app/features/admin/routes/admin.tsx index 1f2098532..26de2f186 100644 --- a/app/features/admin/routes/admin.tsx +++ b/app/features/admin/routes/admin.tsx @@ -37,7 +37,8 @@ import { import { action } from "../actions/admin.server"; import { DANGEROUS_CAN_ACCESS_DEV_CONTROLS } from "../core/dev-controls"; import { loader } from "../loaders/admin.server"; -export { loader, action }; + +export { action, loader }; export const meta: MetaFunction = (args) => { return metaTags({ diff --git a/app/features/api/routes/api.tsx b/app/features/api/routes/api.tsx index 458b630a2..cf1e77df0 100644 --- a/app/features/api/routes/api.tsx +++ b/app/features/api/routes/api.tsx @@ -12,7 +12,8 @@ import { metaTags } from "~/utils/remix"; import { API_DOC_LINK } from "~/utils/urls"; import { action } from "../actions/api.server"; import { loader } from "../loaders/api.server"; -export { loader, action }; + +export { action, loader }; export const meta: MetaFunction = (args) => { return metaTags({ diff --git a/app/features/art/routes/art.new.tsx b/app/features/art/routes/art.new.tsx index 68bc66fc2..efff2f512 100644 --- a/app/features/art/routes/art.new.tsx +++ b/app/features/art/routes/art.new.tsx @@ -23,7 +23,8 @@ import { ART } from "../art-constants"; import { previewUrl } from "../art-utils"; import { TagSelect } from "../components/TagSelect"; import { loader } from "../loaders/art.new.server"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { i18n: ["art"], diff --git a/app/features/art/routes/art.tsx b/app/features/art/routes/art.tsx index b3a139b05..8372d066a 100644 --- a/app/features/art/routes/art.tsx +++ b/app/features/art/routes/art.tsx @@ -21,6 +21,7 @@ import { FILTERED_TAG_KEY_SEARCH_PARAM_KEY } from "../art-constants"; import { ArtGrid } from "../components/ArtGrid"; import { TagSelect } from "../components/TagSelect"; import { loader } from "../loaders/art.server"; + export { loader }; const OPEN_COMMISIONS_KEY = "open"; diff --git a/app/features/articles/routes/a.$slug.tsx b/app/features/articles/routes/a.$slug.tsx index 3fd8ead70..a8961c551 100644 --- a/app/features/articles/routes/a.$slug.tsx +++ b/app/features/articles/routes/a.$slug.tsx @@ -13,6 +13,7 @@ import { import { metaTags, type SerializeFrom } from "../../../utils/remix"; import { loader } from "../loaders/a.$slug.server"; + export { loader }; export const handle: SendouRouteHandle = { diff --git a/app/features/articles/routes/a.tsx b/app/features/articles/routes/a.tsx index 2c83ba08c..510f33c7f 100644 --- a/app/features/articles/routes/a.tsx +++ b/app/features/articles/routes/a.tsx @@ -7,6 +7,7 @@ import { ARTICLES_MAIN_PAGE, articlePage, navIconUrl } from "~/utils/urls"; import { metaTags } from "../../../utils/remix"; import { loader } from "../loaders/a.server"; import styles from "./a.module.css"; + export { loader }; export const handle: SendouRouteHandle = { diff --git a/app/features/associations/routes/associations.new.tsx b/app/features/associations/routes/associations.new.tsx index ab3769570..7d0c20ea2 100644 --- a/app/features/associations/routes/associations.new.tsx +++ b/app/features/associations/routes/associations.new.tsx @@ -6,6 +6,7 @@ import type { SendouRouteHandle } from "~/utils/remix.server"; import { associationsPage } from "~/utils/urls"; import { action } from "../actions/associations.new.server"; + export { action }; export const handle: SendouRouteHandle = { diff --git a/app/features/associations/routes/associations.tsx b/app/features/associations/routes/associations.tsx index cdefe5f01..ffb478c90 100644 --- a/app/features/associations/routes/associations.tsx +++ b/app/features/associations/routes/associations.tsx @@ -18,7 +18,8 @@ import { useUser } from "~/features/auth/core/user"; import { useHasPermission } from "~/modules/permissions/hooks"; import type { SendouRouteHandle } from "~/utils/remix.server"; import { associationsPage, userPage } from "~/utils/urls"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { i18n: "scrims", diff --git a/app/features/badges/routes/badges.$id.edit.tsx b/app/features/badges/routes/badges.$id.edit.tsx index c7aea85de..c55c4c55f 100644 --- a/app/features/badges/routes/badges.$id.edit.tsx +++ b/app/features/badges/routes/badges.$id.edit.tsx @@ -11,6 +11,7 @@ import { action } from "../actions/badges.$id.edit.server"; import styles from "../badges.module.css"; import type { BadgeDetailsLoaderData } from "../loaders/badges.$id.server"; import type { BadgeDetailsContext } from "./badges.$id"; + export { action }; export default function EditBadgePage() { diff --git a/app/features/badges/routes/badges.$id.tsx b/app/features/badges/routes/badges.$id.tsx index e4c722629..22d00b8cc 100644 --- a/app/features/badges/routes/badges.$id.tsx +++ b/app/features/badges/routes/badges.$id.tsx @@ -10,6 +10,7 @@ import styles from "../badges.module.css"; import { badgeExplanationText } from "../badges-utils"; import { loader } from "../loaders/badges.$id.server"; + export { loader }; export interface BadgeDetailsContext { diff --git a/app/features/badges/routes/badges.tsx b/app/features/badges/routes/badges.tsx index 995bc724e..6d68c3eeb 100644 --- a/app/features/badges/routes/badges.tsx +++ b/app/features/badges/routes/badges.tsx @@ -13,6 +13,7 @@ import { BADGES_DOC_LINK, BADGES_PAGE, navIconUrl } from "~/utils/urls"; import { metaTags } from "../../../utils/remix"; import { type BadgesLoaderData, loader } from "../loaders/badges.server"; + export { loader }; import styles from "../badges.module.css"; diff --git a/app/features/ban/routes/suspended.tsx b/app/features/ban/routes/suspended.tsx index 242213c1f..f0f1f7d6f 100644 --- a/app/features/ban/routes/suspended.tsx +++ b/app/features/ban/routes/suspended.tsx @@ -4,6 +4,7 @@ import { useTimeFormat } from "~/hooks/useTimeFormat"; import { databaseTimestampToDate } from "~/utils/dates"; import { loader } from "../loaders/suspended.server"; + export { loader }; export default function SuspendedPage() { diff --git a/app/features/build-stats/routes/builds.$slug.popular.tsx b/app/features/build-stats/routes/builds.$slug.popular.tsx index 9a0aeff9f..62ecd411d 100644 --- a/app/features/build-stats/routes/builds.$slug.popular.tsx +++ b/app/features/build-stats/routes/builds.$slug.popular.tsx @@ -14,6 +14,7 @@ import { import { metaTags, type SerializeFrom } from "../../../utils/remix"; import { loader } from "../loaders/builds.$slug.popular.server"; + export { loader }; export const meta: MetaFunction = (args) => { diff --git a/app/features/build-stats/routes/builds.$slug.stats.tsx b/app/features/build-stats/routes/builds.$slug.stats.tsx index 83823e5cd..8695cc824 100644 --- a/app/features/build-stats/routes/builds.$slug.stats.tsx +++ b/app/features/build-stats/routes/builds.$slug.stats.tsx @@ -14,6 +14,7 @@ import { import { metaTags, type SerializeFrom } from "../../../utils/remix"; import { loader } from "../loaders/builds.$slug.stats.server"; + export { loader }; import { MAX_AP } from "~/features/build-analyzer/analyzer-constants"; diff --git a/app/features/builds/routes/builds.$slug.tsx b/app/features/builds/routes/builds.$slug.tsx index ede5d13e1..eaf503866 100644 --- a/app/features/builds/routes/builds.$slug.tsx +++ b/app/features/builds/routes/builds.$slug.tsx @@ -44,6 +44,7 @@ import type { AbilityBuildFilter, BuildFilter } from "../builds-types"; import { FilterSection } from "../components/FilterSection"; import { loader } from "../loaders/builds.$slug.server"; + export { loader }; import styles from "./builds.$slug.module.css"; diff --git a/app/features/calendar/routes/calendar.$id.report-winners.tsx b/app/features/calendar/routes/calendar.$id.report-winners.tsx index 331c3bff5..45b9abae6 100644 --- a/app/features/calendar/routes/calendar.$id.report-winners.tsx +++ b/app/features/calendar/routes/calendar.$id.report-winners.tsx @@ -14,7 +14,8 @@ import type { Unpacked } from "~/utils/types"; import { action } from "../actions/calendar.$id.report-winners.server"; import { CALENDAR_EVENT_RESULT } from "../calendar-constants"; import { loader } from "../loaders/calendar.$id.report-winners.server"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { i18n: "calendar", diff --git a/app/features/calendar/routes/calendar.$id.tsx b/app/features/calendar/routes/calendar.$id.tsx index 4fff3a271..ee80b8901 100644 --- a/app/features/calendar/routes/calendar.$id.tsx +++ b/app/features/calendar/routes/calendar.$id.tsx @@ -38,7 +38,8 @@ import { } from "../calendar-utils"; import { Tags } from "../components/Tags"; import { loader } from "../loaders/calendar.$id.server"; -export { loader, action }; + +export { action, loader }; export const meta: MetaFunction = (args) => { const data = args.data as SerializeFrom; diff --git a/app/features/calendar/routes/calendar.ics.tsx b/app/features/calendar/routes/calendar.ics.tsx index 54fd2884d..0e08a4282 100644 --- a/app/features/calendar/routes/calendar.ics.tsx +++ b/app/features/calendar/routes/calendar.ics.tsx @@ -1,2 +1,3 @@ import { loader } from "../loaders/calendar[.]ics.server"; + export { loader }; diff --git a/app/features/calendar/routes/calendar.new.tsx b/app/features/calendar/routes/calendar.new.tsx index c26fa57e9..db62eab8a 100644 --- a/app/features/calendar/routes/calendar.new.tsx +++ b/app/features/calendar/routes/calendar.new.tsx @@ -53,7 +53,8 @@ import { import { BracketProgressionSelector } from "../components/BracketProgressionSelector"; import { Tags } from "../components/Tags"; import { loader } from "../loaders/calendar.new.server"; -export { loader, action }; + +export { action, loader }; export const meta: MetaFunction = (args) => { if (!args.data) return []; diff --git a/app/features/calendar/routes/calendar.tsx b/app/features/calendar/routes/calendar.tsx index a453bce20..e811f0740 100644 --- a/app/features/calendar/routes/calendar.tsx +++ b/app/features/calendar/routes/calendar.tsx @@ -39,6 +39,7 @@ import { FiltersDialog } from "../components/FiltersDialog"; import { TournamentCard } from "../components/TournamentCard"; import * as CalendarEvent from "../core/CalendarEvent"; import { type CalendarLoaderData, loader } from "../loaders/calendar.server"; + export { action, loader }; import styles from "./calendar.module.css"; diff --git a/app/features/front-page/routes/index.tsx b/app/features/front-page/routes/index.tsx index a482954c6..8d2e5de51 100644 --- a/app/features/front-page/routes/index.tsx +++ b/app/features/front-page/routes/index.tsx @@ -29,6 +29,7 @@ import { sqHeaderGuyImageUrl, } from "~/utils/urls"; import { type LeaderboardEntry, loader } from "../loaders/index.server"; + export { loader }; export const handle: SendouRouteHandle = { diff --git a/app/features/img-upload/routes/upload.admin.tsx b/app/features/img-upload/routes/upload.admin.tsx index 701aa4831..0d910db2b 100644 --- a/app/features/img-upload/routes/upload.admin.tsx +++ b/app/features/img-upload/routes/upload.admin.tsx @@ -8,6 +8,7 @@ import { SubmitButton } from "~/components/SubmitButton"; import { action } from "../actions/upload.admin.server"; import { loader } from "../loaders/upload.admin.server"; + export { action, loader }; export default function ImageUploadAdminPage() { diff --git a/app/features/img-upload/routes/upload.tsx b/app/features/img-upload/routes/upload.tsx index ac231531a..4f4a3f443 100644 --- a/app/features/img-upload/routes/upload.tsx +++ b/app/features/img-upload/routes/upload.tsx @@ -10,6 +10,7 @@ import { action } from "../actions/upload.server"; import { loader } from "../loaders/upload.server"; import { imgTypeToDimensions, imgTypeToStyle } from "../upload-constants"; import type { ImageUploadType } from "../upload-types"; + export { action, loader }; export default function FileUploadPage() { diff --git a/app/features/leaderboards/routes/leaderboards.tsx b/app/features/leaderboards/routes/leaderboards.tsx index ac30b110f..76ddb6bd0 100644 --- a/app/features/leaderboards/routes/leaderboards.tsx +++ b/app/features/leaderboards/routes/leaderboards.tsx @@ -30,6 +30,7 @@ import { } from "../leaderboards-constants"; import { seasonHasTopTen } from "../leaderboards-utils"; import { loader } from "../loaders/leaderboards.server"; + export { loader }; import styles from "../../top-search/top-search.module.css"; diff --git a/app/features/lfg/routes/lfg.new.tsx b/app/features/lfg/routes/lfg.new.tsx index 2732a9a06..088e67860 100644 --- a/app/features/lfg/routes/lfg.new.tsx +++ b/app/features/lfg/routes/lfg.new.tsx @@ -19,7 +19,8 @@ import { action } from "../actions/lfg.new.server"; import { LFG, TEAM_POST_TYPES, TIMEZONES } from "../lfg-constants"; import { lfgNewSchema } from "../lfg-schemas"; import { loader } from "../loaders/lfg.new.server"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { i18n: ["lfg"], diff --git a/app/features/lfg/routes/lfg.tsx b/app/features/lfg/routes/lfg.tsx index 0b501de82..eec5e49b3 100644 --- a/app/features/lfg/routes/lfg.tsx +++ b/app/features/lfg/routes/lfg.tsx @@ -27,7 +27,8 @@ import { } from "../lfg-types"; import { loader } from "../loaders/lfg.server"; import styles from "./lfg.module.css"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { i18n: ["lfg"], diff --git a/app/features/notifications/routes/notifications.tsx b/app/features/notifications/routes/notifications.tsx index 35a5c3fd4..a2c21bc93 100644 --- a/app/features/notifications/routes/notifications.tsx +++ b/app/features/notifications/routes/notifications.tsx @@ -12,6 +12,7 @@ import { } from "../components/NotificationList"; import { loader } from "../loaders/notifications.server"; import { useMarkNotificationsAsSeen } from "../notifications-hooks"; + export { loader }; import styles from "./notifications.module.css"; diff --git a/app/features/plus-suggestions/routes/plus.suggestions.comment.$tier.$userId.tsx b/app/features/plus-suggestions/routes/plus.suggestions.comment.$tier.$userId.tsx index e091dbb42..32b230e96 100644 --- a/app/features/plus-suggestions/routes/plus.suggestions.comment.$tier.$userId.tsx +++ b/app/features/plus-suggestions/routes/plus.suggestions.comment.$tier.$userId.tsx @@ -8,6 +8,7 @@ import { action } from "../actions/plus.suggestions.comment.$tier.$userId.server import { followUpCommentFormSchema } from "../plus-suggestions-schemas"; import { canAddCommentToSuggestionFE } from "../plus-suggestions-utils"; import type { PlusSuggestionsLoaderData } from "./plus.suggestions"; + export { action }; export default function PlusCommentModalPage() { diff --git a/app/features/plus-suggestions/routes/plus.suggestions.new.tsx b/app/features/plus-suggestions/routes/plus.suggestions.new.tsx index 07036de0d..a75a1566e 100644 --- a/app/features/plus-suggestions/routes/plus.suggestions.new.tsx +++ b/app/features/plus-suggestions/routes/plus.suggestions.new.tsx @@ -9,6 +9,7 @@ import { PLUS_TIERS } from "../plus-suggestions-constants"; import { newSuggestionFormSchema } from "../plus-suggestions-schemas"; import { canSuggestNewUser } from "../plus-suggestions-utils"; import type { PlusSuggestionsLoaderData } from "./plus.suggestions"; + export { action }; export default function PlusNewSuggestionModalPage() { diff --git a/app/features/plus-suggestions/routes/plus.suggestions.tsx b/app/features/plus-suggestions/routes/plus.suggestions.tsx index 20bd24215..7adacc688 100644 --- a/app/features/plus-suggestions/routes/plus.suggestions.tsx +++ b/app/features/plus-suggestions/routes/plus.suggestions.tsx @@ -32,6 +32,7 @@ import { canEditSuggestion, canSuggestNewUser, } from "../plus-suggestions-utils"; + export { action, loader }; export const meta: MetaFunction = (args) => { diff --git a/app/features/plus-voting/routes/plus.voting.results.tsx b/app/features/plus-voting/routes/plus.voting.results.tsx index 6796ed17f..4ed84bab6 100644 --- a/app/features/plus-voting/routes/plus.voting.results.tsx +++ b/app/features/plus-voting/routes/plus.voting.results.tsx @@ -6,6 +6,7 @@ import { PLUS_SERVER_DISCORD_URL, userPage } from "~/utils/urls"; import { loader } from "../loaders/plus.voting.results.server"; import styles from "../plus-voting-results.module.css"; + export { loader }; export const meta: MetaFunction = (args) => { diff --git a/app/features/plus-voting/routes/plus.voting.tsx b/app/features/plus-voting/routes/plus.voting.tsx index 2aa5a63b9..451dfdc80 100644 --- a/app/features/plus-voting/routes/plus.voting.tsx +++ b/app/features/plus-voting/routes/plus.voting.tsx @@ -17,6 +17,7 @@ import { loader, type PlusVotingLoaderData, } from "../loaders/plus.voting.server"; + export { action, loader }; export const meta: MetaFunction = (args) => { diff --git a/app/features/scrims/routes/scrims.$id.tsx b/app/features/scrims/routes/scrims.$id.tsx index 85ed632ba..661e48977 100644 --- a/app/features/scrims/routes/scrims.$id.tsx +++ b/app/features/scrims/routes/scrims.$id.tsx @@ -33,7 +33,8 @@ import * as Scrim from "../core/Scrim"; import { loader } from "../loaders/scrims.$id.server"; import type { ScrimPost, ScrimPost as ScrimPostType } from "../scrims-types"; import styles from "./scrims.$id.module.css"; -export { loader, action }; + +export { action, loader }; import { Check, OctagonAlert } from "lucide-react"; diff --git a/app/features/scrims/routes/scrims.new.tsx b/app/features/scrims/routes/scrims.new.tsx index 8787359ff..1056859f6 100644 --- a/app/features/scrims/routes/scrims.new.tsx +++ b/app/features/scrims/routes/scrims.new.tsx @@ -21,7 +21,8 @@ import { loader, type ScrimsNewLoaderData } from "../loaders/scrims.new.server"; import { SCRIM } from "../scrims-constants"; import { scrimsNewFormSchema } from "../scrims-schemas"; import styles from "./scrims.new.module.css"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { i18n: "scrims", diff --git a/app/features/scrims/routes/scrims.tsx b/app/features/scrims/routes/scrims.tsx index 86ff8c4b7..c56a918d2 100644 --- a/app/features/scrims/routes/scrims.tsx +++ b/app/features/scrims/routes/scrims.tsx @@ -27,6 +27,7 @@ import * as Scrim from "../core/Scrim"; import { loader } from "../loaders/scrims.server"; import type { newRequestSchema } from "../scrims-schemas"; import type { ScrimFilters, ScrimPost } from "../scrims-types"; + export { action, loader }; import { Check, Download, Funnel, Megaphone } from "lucide-react"; diff --git a/app/features/sendouq-match/routes/q.match.$id.tsx b/app/features/sendouq-match/routes/q.match.$id.tsx index 8c5b6a1d9..42a1d9f73 100644 --- a/app/features/sendouq-match/routes/q.match.$id.tsx +++ b/app/features/sendouq-match/routes/q.match.$id.tsx @@ -62,7 +62,8 @@ import { action } from "../actions/q.match.$id.server"; import { matchEndedAtIndex } from "../core/match"; import { loader } from "../loaders/q.match.$id.server"; import { resolveGroupMemberOf } from "../q-match-utils"; -export { loader, action }; + +export { action, loader }; import styles from "./q.match.$id.module.css"; diff --git a/app/features/sendouq-settings/routes/q.settings.tsx b/app/features/sendouq-settings/routes/q.settings.tsx index 2d2cd6b28..a9229d04b 100644 --- a/app/features/sendouq-settings/routes/q.settings.tsx +++ b/app/features/sendouq-settings/routes/q.settings.tsx @@ -37,7 +37,8 @@ import { updateVoiceChatSchema, updateWeaponPoolSchema, } from "../q-settings-schemas"; -export { loader, action }; + +export { action, loader }; import styles from "./q.settings.module.css"; diff --git a/app/features/sendouq-streams/routes/q.streams.tsx b/app/features/sendouq-streams/routes/q.streams.tsx index 28c4d515d..9357ddf01 100644 --- a/app/features/sendouq-streams/routes/q.streams.tsx +++ b/app/features/sendouq-streams/routes/q.streams.tsx @@ -14,6 +14,7 @@ import type { SendouRouteHandle } from "~/utils/remix.server"; import { FAQ_PAGE, sendouQMatchPage, twitchUrl, userPage } from "~/utils/urls"; import { loader } from "../loaders/q.streams.server"; + export { loader }; import styles from "./q.streams.module.css"; diff --git a/app/features/sendouq/routes/q.looking.tsx b/app/features/sendouq/routes/q.looking.tsx index 1ce7f7717..709c1078c 100644 --- a/app/features/sendouq/routes/q.looking.tsx +++ b/app/features/sendouq/routes/q.looking.tsx @@ -40,6 +40,7 @@ import { FULL_GROUP_SIZE, IS_Q_LOOKING_MOBILE_BREAKPOINT, } from "../q-constants"; + export { action, loader }; import styles from "./q.looking.module.css"; diff --git a/app/features/sendouq/routes/q.preparing.tsx b/app/features/sendouq/routes/q.preparing.tsx index d7034b939..910dbe5ca 100644 --- a/app/features/sendouq/routes/q.preparing.tsx +++ b/app/features/sendouq/routes/q.preparing.tsx @@ -13,7 +13,8 @@ import { GroupLeaver } from "../components/GroupLeaver"; import { MemberAdder } from "../components/MemberAdder"; import { loader } from "../loaders/q.preparing.server"; import { FULL_GROUP_SIZE } from "../q-constants"; -export { loader, action }; + +export { action, loader }; import styles from "./q.preparing.module.css"; diff --git a/app/features/sendouq/routes/q.tsx b/app/features/sendouq/routes/q.tsx index b38bd64de..730ba1812 100644 --- a/app/features/sendouq/routes/q.tsx +++ b/app/features/sendouq/routes/q.tsx @@ -39,7 +39,8 @@ import { action } from "../actions/q.server"; import { loader } from "../loaders/q.server"; import { FULL_GROUP_SIZE } from "../q-constants"; import { userCanJoinQueueAt } from "../q-utils"; -export { loader, action }; + +export { action, loader }; import styles from "./q.module.css"; diff --git a/app/features/sendouq/routes/tiers.tsx b/app/features/sendouq/routes/tiers.tsx index 1899564c0..158458787 100644 --- a/app/features/sendouq/routes/tiers.tsx +++ b/app/features/sendouq/routes/tiers.tsx @@ -13,6 +13,7 @@ import { metaTags } from "~/utils/remix"; import type { SendouRouteHandle } from "~/utils/remix.server"; import { loader } from "../loaders/tiers.server"; + export { loader }; export const meta: MetaFunction = (args) => { diff --git a/app/features/settings/routes/settings.tsx b/app/features/settings/routes/settings.tsx index e47678c5a..2b852c477 100644 --- a/app/features/settings/routes/settings.tsx +++ b/app/features/settings/routes/settings.tsx @@ -35,7 +35,8 @@ import { import styles from "./settings.module.css"; import "./settings.global.css"; import type { ThemeInput } from "~/utils/oklch-gamut"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { breadcrumb: () => ({ diff --git a/app/features/team/routes/t.$customUrl.edit.tsx b/app/features/team/routes/t.$customUrl.edit.tsx index 0b2d222fa..e00f69f36 100644 --- a/app/features/team/routes/t.$customUrl.edit.tsx +++ b/app/features/team/routes/t.$customUrl.edit.tsx @@ -22,6 +22,7 @@ import { loader } from "../loaders/t.$customUrl.edit.server"; import styles from "../team.module.css"; import { TEAM } from "../team-constants"; import { isTeamOwner } from "../team-utils"; + export { action, loader }; export const meta: MetaFunction = (args) => { diff --git a/app/features/team/routes/t.$customUrl.index.tsx b/app/features/team/routes/t.$customUrl.index.tsx index b48abf981..658b385c2 100644 --- a/app/features/team/routes/t.$customUrl.index.tsx +++ b/app/features/team/routes/t.$customUrl.index.tsx @@ -22,6 +22,7 @@ import { isTeamOwner, resolveNewOwner, } from "../team-utils"; + export { action }; export default function TeamIndexPage() { diff --git a/app/features/team/routes/t.$customUrl.join.tsx b/app/features/team/routes/t.$customUrl.join.tsx index f62572cde..d5aa4e4d6 100644 --- a/app/features/team/routes/t.$customUrl.join.tsx +++ b/app/features/team/routes/t.$customUrl.join.tsx @@ -6,7 +6,8 @@ import type { SendouRouteHandle } from "~/utils/remix.server"; import { action } from "../actions/t.$customUrl.join.server"; import { loader } from "../loaders/t.$customUrl.join.server"; import styles from "../team.module.css"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { i18n: ["team"], diff --git a/app/features/team/routes/t.$customUrl.results.tsx b/app/features/team/routes/t.$customUrl.results.tsx index 7418aebf2..3529b36ca 100644 --- a/app/features/team/routes/t.$customUrl.results.tsx +++ b/app/features/team/routes/t.$customUrl.results.tsx @@ -3,6 +3,7 @@ import { Main } from "~/components/Main"; import { TeamGoBackButton } from "~/features/team/components/TeamGoBackButton"; import { TeamResultsTable } from "~/features/team/components/TeamResultsTable"; import { loader } from "../loaders/t.$customUrl.results.server"; + export { loader }; export default function TeamResultsPage() { diff --git a/app/features/team/routes/t.$customUrl.roster.tsx b/app/features/team/routes/t.$customUrl.roster.tsx index 6cc22bfc2..35914a993 100644 --- a/app/features/team/routes/t.$customUrl.roster.tsx +++ b/app/features/team/routes/t.$customUrl.roster.tsx @@ -22,7 +22,8 @@ import type * as TeamRepository from "../TeamRepository.server"; import styles from "../team.module.css"; import { TEAM_MEMBER_ROLES } from "../team-constants"; import { isTeamFull } from "../team-utils"; -export { loader, action }; + +export { action, loader }; export const meta: MetaFunction = (args) => { return metaTags({ diff --git a/app/features/team/routes/t.$customUrl.tsx b/app/features/team/routes/t.$customUrl.tsx index 1b3d6bee6..40cf5b47b 100644 --- a/app/features/team/routes/t.$customUrl.tsx +++ b/app/features/team/routes/t.$customUrl.tsx @@ -9,6 +9,7 @@ import { metaTags, type SerializeFrom } from "~/utils/remix"; import type { SendouRouteHandle } from "~/utils/remix.server"; import { bskyUrl, navIconUrl, TEAM_SEARCH_PAGE, teamPage } from "~/utils/urls"; import { loader } from "../loaders/t.$customUrl.server"; + export { loader }; import styles from "../team.module.css"; diff --git a/app/features/team/routes/t.new.tsx b/app/features/team/routes/t.new.tsx index d513cc8c3..cb54e4175 100644 --- a/app/features/team/routes/t.new.tsx +++ b/app/features/team/routes/t.new.tsx @@ -12,7 +12,8 @@ import { action } from "../actions/t.new.server"; import { loader } from "../loaders/t.new.server"; import { TEAM } from "../team-constants"; import { createTeamSchema } from "../team-schemas"; -export { loader, action }; + +export { action, loader }; export const meta: MetaFunction = (args) => { return metaTags({ diff --git a/app/features/top-search/routes/xsearch.player.$id.tsx b/app/features/top-search/routes/xsearch.player.$id.tsx index 08f0f7871..95abc5b05 100644 --- a/app/features/top-search/routes/xsearch.player.$id.tsx +++ b/app/features/top-search/routes/xsearch.player.$id.tsx @@ -17,7 +17,8 @@ import { import { action } from "../actions/xsearch.player.$id.server"; import { PlacementsTable } from "../components/Placements"; import { loader } from "../loaders/xsearch.player.$id.server"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { breadcrumb: ({ match }) => { diff --git a/app/features/top-search/routes/xsearch.tsx b/app/features/top-search/routes/xsearch.tsx index ad82d2cd3..1dba5c76f 100644 --- a/app/features/top-search/routes/xsearch.tsx +++ b/app/features/top-search/routes/xsearch.tsx @@ -13,6 +13,7 @@ import { navIconUrl, topSearchPage } from "~/utils/urls"; import { PlacementsTable } from "../components/Placements"; import { loader } from "../loaders/xsearch.server"; import type { MonthYear } from "../top-search-utils"; + export { loader }; export const handle: SendouRouteHandle = { diff --git a/app/features/tournament-bracket/routes/to.$id.brackets.finalize.tsx b/app/features/tournament-bracket/routes/to.$id.brackets.finalize.tsx index 45a91f3ce..76780483a 100644 --- a/app/features/tournament-bracket/routes/to.$id.brackets.finalize.tsx +++ b/app/features/tournament-bracket/routes/to.$id.brackets.finalize.tsx @@ -20,6 +20,7 @@ import { type FinalizeTournamentLoaderData, loader, } from "../loaders/to.$id.brackets.finalize.server"; + export { action, loader }; export default function TournamentFinalizePage() { diff --git a/app/features/tournament-bracket/routes/to.$id.brackets.tsx b/app/features/tournament-bracket/routes/to.$id.brackets.tsx index f603591a7..50a4aa2f5 100644 --- a/app/features/tournament-bracket/routes/to.$id.brackets.tsx +++ b/app/features/tournament-bracket/routes/to.$id.brackets.tsx @@ -33,6 +33,7 @@ import { BracketMapListDialog } from "../components/BracketMapListDialog"; import { TournamentTeamActions } from "../components/TournamentTeamActions"; import type { Bracket as BracketType } from "../core/Bracket"; import * as PreparedMaps from "../core/PreparedMaps"; + export { action }; import styles from "../tournament-bracket.module.css"; diff --git a/app/features/tournament-bracket/routes/to.$id.divisions.tsx b/app/features/tournament-bracket/routes/to.$id.divisions.tsx index 2c41826f8..6da947602 100644 --- a/app/features/tournament-bracket/routes/to.$id.divisions.tsx +++ b/app/features/tournament-bracket/routes/to.$id.divisions.tsx @@ -7,6 +7,7 @@ import { tournamentBracketsPage } from "../../../utils/urls"; import { loader } from "../loaders/to.$id.divisions.server"; import styles from "./to.$id.divisions.module.css"; + export { loader }; export default function TournamentDivisionsPage() { diff --git a/app/features/tournament-bracket/routes/to.$id.matches.$mid.tsx b/app/features/tournament-bracket/routes/to.$id.matches.$mid.tsx index 24cac1fe5..3252ddf9b 100644 --- a/app/features/tournament-bracket/routes/to.$id.matches.$mid.tsx +++ b/app/features/tournament-bracket/routes/to.$id.matches.$mid.tsx @@ -21,6 +21,7 @@ import { StartedMatch } from "../components/StartedMatch"; import { getRounds } from "../core/rounds"; import { loader } from "../loaders/to.$id.matches.$mid.server"; import { groupNumberToLetters } from "../tournament-bracket-utils"; + export { action, loader }; import styles from "../tournament-bracket.module.css"; diff --git a/app/features/tournament-organization/routes/org.$slug.edit.tsx b/app/features/tournament-organization/routes/org.$slug.edit.tsx index 68acd1c42..d6f23e7db 100644 --- a/app/features/tournament-organization/routes/org.$slug.edit.tsx +++ b/app/features/tournament-organization/routes/org.$slug.edit.tsx @@ -7,6 +7,7 @@ import { action } from "../actions/org.$slug.edit.server"; import { loader } from "../loaders/org.$slug.edit.server"; import { handle, meta } from "../routes/org.$slug"; import { organizationEditFormSchema } from "../tournament-organization-schemas"; + export { action, handle, loader, meta }; export default function TournamentOrganizationEditPage() { diff --git a/app/features/tournament-organization/routes/org.$slug.tsx b/app/features/tournament-organization/routes/org.$slug.tsx index e269c4b9f..f93685221 100644 --- a/app/features/tournament-organization/routes/org.$slug.tsx +++ b/app/features/tournament-organization/routes/org.$slug.tsx @@ -43,6 +43,7 @@ import { loader } from "../loaders/org.$slug.server"; import styles from "../tournament-organization.module.css"; import { TOURNAMENT_SERIES_EVENTS_PER_PAGE } from "../tournament-organization-constants"; import { updateIsEstablishedSchema } from "../tournament-organization-schemas"; + export { action, loader }; export const meta: MetaFunction = (args) => { diff --git a/app/features/tournament-organization/routes/org.new.tsx b/app/features/tournament-organization/routes/org.new.tsx index 041412074..4fb0ec701 100644 --- a/app/features/tournament-organization/routes/org.new.tsx +++ b/app/features/tournament-organization/routes/org.new.tsx @@ -5,6 +5,7 @@ import { SendouForm } from "~/form/SendouForm"; import { useHasRole } from "~/modules/permissions/hooks"; import { action } from "../actions/org.new.server"; import { newOrganizationSchema } from "../tournament-organization-schemas"; + export { action }; export default function NewOrganizationPage() { diff --git a/app/features/tournament/routes/to.$id.join.tsx b/app/features/tournament/routes/to.$id.join.tsx index b87de689c..3e729e0a5 100644 --- a/app/features/tournament/routes/to.$id.join.tsx +++ b/app/features/tournament/routes/to.$id.join.tsx @@ -13,6 +13,7 @@ import { loader } from "../loaders/to.$id.join.server"; import styles from "../tournament.module.css"; import { validateCanJoinTeam } from "../tournament-utils"; import { useTournament } from "./to.$id"; + export { action, loader }; export default function JoinTeamPage() { diff --git a/app/features/tournament/routes/to.$id.register.tsx b/app/features/tournament/routes/to.$id.register.tsx index 8f3a9ea72..8744ccd7a 100644 --- a/app/features/tournament/routes/to.$id.register.tsx +++ b/app/features/tournament/routes/to.$id.register.tsx @@ -71,7 +71,8 @@ import { validateCounterPickMapPool, } from "../tournament-utils"; import { useTournament } from "./to.$id"; -export { loader, action }; + +export { action, loader }; export default function TournamentRegisterPage() { const isMounted = useIsMounted(); diff --git a/app/features/tournament/routes/to.$id.seeds.tsx b/app/features/tournament/routes/to.$id.seeds.tsx index 4f814630d..df87d5f6c 100644 --- a/app/features/tournament/routes/to.$id.seeds.tsx +++ b/app/features/tournament/routes/to.$id.seeds.tsx @@ -37,7 +37,8 @@ import { action } from "../actions/to.$id.seeds.server"; import { loader } from "../loaders/to.$id.seeds.server"; import { useTournament } from "./to.$id"; import styles from "./to.$id.seeds.module.css"; -export { loader, action }; + +export { action, loader }; export default function TournamentSeedsPage() { const tournament = useTournament(); diff --git a/app/features/tournament/routes/to.$id.teams.$tid.tsx b/app/features/tournament/routes/to.$id.teams.$tid.tsx index 5ac1343ad..23cb3d281 100644 --- a/app/features/tournament/routes/to.$id.teams.$tid.tsx +++ b/app/features/tournament/routes/to.$id.teams.$tid.tsx @@ -25,6 +25,7 @@ import type { PlayedSet } from "../core/sets.server"; import { loader } from "../loaders/to.$id.teams.$tid.server"; import styles from "../tournament.module.css"; import { useTournament } from "./to.$id"; + export { loader }; export const meta: MetaFunction = (args) => { diff --git a/app/features/tournament/routes/to.$id.tsx b/app/features/tournament/routes/to.$id.tsx index 86ecefdc3..873ad163c 100644 --- a/app/features/tournament/routes/to.$id.tsx +++ b/app/features/tournament/routes/to.$id.tsx @@ -24,6 +24,7 @@ import { import { metaTags } from "../../../utils/remix"; import { loader, type TournamentLoaderData } from "../loaders/to.$id.server"; + export { loader }; export const shouldRevalidate: ShouldRevalidateFunction = (args) => { diff --git a/app/features/user-page/routes/u.$identifier.admin.tsx b/app/features/user-page/routes/u.$identifier.admin.tsx index 619348aa1..33f826bd8 100644 --- a/app/features/user-page/routes/u.$identifier.admin.tsx +++ b/app/features/user-page/routes/u.$identifier.admin.tsx @@ -15,7 +15,8 @@ import { action } from "../actions/u.$identifier.admin.server"; import { SubPageHeader } from "../components/SubPageHeader"; import { loader } from "../loaders/u.$identifier.admin.server"; import type { UserPageLoaderData } from "../loaders/u.$identifier.server"; -export { loader, action }; + +export { action, loader }; export default function UserAdminPage() { const [, parentRoute] = useMatches(); diff --git a/app/features/user-page/routes/u.$identifier.art.tsx b/app/features/user-page/routes/u.$identifier.art.tsx index 685d3ee4e..329cc4d3b 100644 --- a/app/features/user-page/routes/u.$identifier.art.tsx +++ b/app/features/user-page/routes/u.$identifier.art.tsx @@ -11,6 +11,7 @@ import { action } from "../actions/u.$identifier.art.server"; import { SubPageHeader } from "../components/SubPageHeader"; import { loader } from "../loaders/u.$identifier.art.server"; import type { UserPageLoaderData } from "../loaders/u.$identifier.server"; + export { action, loader }; export const handle: SendouRouteHandle = { diff --git a/app/features/user-page/routes/u.$identifier.builds.tsx b/app/features/user-page/routes/u.$identifier.builds.tsx index 71e15cf15..7d76205f9 100644 --- a/app/features/user-page/routes/u.$identifier.builds.tsx +++ b/app/features/user-page/routes/u.$identifier.builds.tsx @@ -24,7 +24,8 @@ import { } from "../loaders/u.$identifier.builds.server"; import type { UserPageLoaderData } from "../loaders/u.$identifier.server"; import { DEFAULT_BUILD_SORT } from "../user-page-constants"; -export { loader, action }; + +export { action, loader }; import userStyles from "../user-page.module.css"; import styles from "./u.$identifier.builds.module.css"; diff --git a/app/features/user-page/routes/u.$identifier.edit-widgets.tsx b/app/features/user-page/routes/u.$identifier.edit-widgets.tsx index 615a2724e..e6f1f5b1e 100644 --- a/app/features/user-page/routes/u.$identifier.edit-widgets.tsx +++ b/app/features/user-page/routes/u.$identifier.edit-widgets.tsx @@ -36,7 +36,7 @@ import { WidgetSettingsForm } from "../components/WidgetSettingsForm"; import { loader } from "../loaders/u.$identifier.edit-widgets.server"; import styles from "./u.$identifier.edit-widgets.module.css"; -export { loader, action }; +export { action, loader }; export default function EditWidgetsPage() { const { t } = useTranslation(["user", "common"]); diff --git a/app/features/user-page/routes/u.$identifier.edit.tsx b/app/features/user-page/routes/u.$identifier.edit.tsx index 9f16910b5..4a6f6cc54 100644 --- a/app/features/user-page/routes/u.$identifier.edit.tsx +++ b/app/features/user-page/routes/u.$identifier.edit.tsx @@ -15,7 +15,8 @@ import { loader } from "../loaders/u.$identifier.edit.server"; import type { UserPageLoaderData } from "../loaders/u.$identifier.server"; import { COUNTRY_CODES } from "../user-page-constants"; import { userEditProfileBaseSchema } from "../user-page-schemas"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { i18n: ["common", "user"], diff --git a/app/features/user-page/routes/u.$identifier.index.tsx b/app/features/user-page/routes/u.$identifier.index.tsx index 56d7d0674..91064ea8a 100644 --- a/app/features/user-page/routes/u.$identifier.index.tsx +++ b/app/features/user-page/routes/u.$identifier.index.tsx @@ -41,6 +41,7 @@ import { loader } from "../loaders/u.$identifier.index.server"; import type { UserPageLoaderData } from "../loaders/u.$identifier.server"; import styles from "../user-page.module.css"; import newStyles from "./u.$identifier.module.css"; + export { loader }; export const handle: SendouRouteHandle = { diff --git a/app/features/user-page/routes/u.$identifier.results.highlights.tsx b/app/features/user-page/routes/u.$identifier.results.highlights.tsx index 6244aed04..bae93b5b0 100644 --- a/app/features/user-page/routes/u.$identifier.results.highlights.tsx +++ b/app/features/user-page/routes/u.$identifier.results.highlights.tsx @@ -6,7 +6,8 @@ import { UserResultsTable } from "~/features/user-page/components/UserResultsTab import { action } from "../actions/u.$identifier.results.highlights.server"; import { loader } from "../loaders/u.$identifier.results.server"; import styles from "../user-page.module.css"; -export { loader, action }; + +export { action, loader }; export default function ResultHighlightsEditPage() { const { t } = useTranslation(["common", "user"]); diff --git a/app/features/user-page/routes/u.$identifier.results.tsx b/app/features/user-page/routes/u.$identifier.results.tsx index 938035d28..e6be55a7e 100644 --- a/app/features/user-page/routes/u.$identifier.results.tsx +++ b/app/features/user-page/routes/u.$identifier.results.tsx @@ -10,6 +10,7 @@ import { SendouButton } from "../../../components/elements/Button"; import { SubPageHeader } from "../components/SubPageHeader"; import { loader } from "../loaders/u.$identifier.results.server"; import type { UserPageLoaderData } from "../loaders/u.$identifier.server"; + export { loader }; export default function UserResultsPage() { diff --git a/app/features/user-page/routes/u.$identifier.seasons.tsx b/app/features/user-page/routes/u.$identifier.seasons.tsx index c79989898..0c44fdf0f 100644 --- a/app/features/user-page/routes/u.$identifier.seasons.tsx +++ b/app/features/user-page/routes/u.$identifier.seasons.tsx @@ -65,6 +65,7 @@ import { } from "../loaders/u.$identifier.seasons.server"; import type { UserPageLoaderData } from "../loaders/u.$identifier.server"; import styles from "../user-page.module.css"; + export { loader }; export const handle: SendouRouteHandle = { diff --git a/app/features/user-page/routes/u.$identifier.tsx b/app/features/user-page/routes/u.$identifier.tsx index 51ab36e71..65d33fbc4 100644 --- a/app/features/user-page/routes/u.$identifier.tsx +++ b/app/features/user-page/routes/u.$identifier.tsx @@ -24,6 +24,7 @@ import { loader, type UserPageLoaderData, } from "../loaders/u.$identifier.server"; + export { loader }; import "~/features/user-page/user-page.module.css"; diff --git a/app/features/user-page/routes/u.$identifier.vods.tsx b/app/features/user-page/routes/u.$identifier.vods.tsx index 241e1c9d6..4654bd4c4 100644 --- a/app/features/user-page/routes/u.$identifier.vods.tsx +++ b/app/features/user-page/routes/u.$identifier.vods.tsx @@ -7,6 +7,7 @@ import { userPage } from "~/utils/urls"; import { SubPageHeader } from "../components/SubPageHeader"; import type { UserPageLoaderData } from "../loaders/u.$identifier.server"; import { loader } from "../loaders/u.$identifier.vods.server"; + export { loader }; export const handle: SendouRouteHandle = { diff --git a/app/features/vods/routes/vods.$id.tsx b/app/features/vods/routes/vods.$id.tsx index aed73f17d..865e19d1f 100644 --- a/app/features/vods/routes/vods.$id.tsx +++ b/app/features/vods/routes/vods.$id.tsx @@ -32,7 +32,8 @@ import { loader } from "../loaders/vods.$id.server"; import type { Vod } from "../vods-types"; import { canEditVideo, secondsToHoursMinutesSecondString } from "../vods-utils"; import styles from "./vods.$id.module.css"; -export { loader, action }; + +export { action, loader }; export const handle: SendouRouteHandle = { breadcrumb: ({ match }) => { diff --git a/app/features/vods/routes/vods.tsx b/app/features/vods/routes/vods.tsx index 6137f2761..1fd364917 100644 --- a/app/features/vods/routes/vods.tsx +++ b/app/features/vods/routes/vods.tsx @@ -15,6 +15,7 @@ import { VodListing } from "../components/VodListing"; import { loader } from "../loaders/vods.server"; import { VODS_PAGE_BATCH_SIZE, videoMatchTypes } from "../vods-constants"; import styles from "./vods.module.css"; + export { loader }; export const handle: SendouRouteHandle = { diff --git a/app/styles/front.module.css b/app/styles/front.module.css index 78b8866d5..f327f6269 100644 --- a/app/styles/front.module.css +++ b/app/styles/front.module.css @@ -149,7 +149,6 @@ background-color: var(--color-bg-higher); border-radius: var(--radius-selector); width: max-content; - padding: 0 var(--s-2); height: var(--selector-size); display: flex; gap: var(--s-1); diff --git a/package-lock.json b/package-lock.json index f84dd79ba..26b3a56b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -68,7 +68,7 @@ "zod": "^4.3.6" }, "devDependencies": { - "@biomejs/biome": "2.4.4", + "@biomejs/biome": "2.4.8", "@playwright/test": "^1.58.2", "@react-router/dev": "^7.13.1", "@types/better-sqlite3": "^7.6.13", @@ -1422,9 +1422,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.4.4.tgz", - "integrity": "sha512-tigwWS5KfJf0cABVd52NVaXyAVv4qpUXOWJ1rxFL8xF1RVoeS2q/LK+FHgYoKMclJCuRoCWAPy1IXaN9/mS61Q==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.4.8.tgz", + "integrity": "sha512-ponn0oKOky1oRXBV+rlSaUlixUxf1aZvWC19Z41zBfUOUesthrQqL3OtiAlSB1EjFjyWpn98Q64DHelhA6jNlA==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -1438,20 +1438,20 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "2.4.4", - "@biomejs/cli-darwin-x64": "2.4.4", - "@biomejs/cli-linux-arm64": "2.4.4", - "@biomejs/cli-linux-arm64-musl": "2.4.4", - "@biomejs/cli-linux-x64": "2.4.4", - "@biomejs/cli-linux-x64-musl": "2.4.4", - "@biomejs/cli-win32-arm64": "2.4.4", - "@biomejs/cli-win32-x64": "2.4.4" + "@biomejs/cli-darwin-arm64": "2.4.8", + "@biomejs/cli-darwin-x64": "2.4.8", + "@biomejs/cli-linux-arm64": "2.4.8", + "@biomejs/cli-linux-arm64-musl": "2.4.8", + "@biomejs/cli-linux-x64": "2.4.8", + "@biomejs/cli-linux-x64-musl": "2.4.8", + "@biomejs/cli-win32-arm64": "2.4.8", + "@biomejs/cli-win32-x64": "2.4.8" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.4.4.tgz", - "integrity": "sha512-jZ+Xc6qvD6tTH5jM6eKX44dcbyNqJHssfl2nnwT6vma6B1sj7ZLTGIk6N5QwVBs5xGN52r3trk5fgd3sQ9We9A==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.4.8.tgz", + "integrity": "sha512-ARx0tECE8I7S2C2yjnWYLNbBdDoPdq3oyNLhMglmuctThwUsuzFWRKrHmIGwIRWKz0Mat9DuzLEDp52hGnrxGQ==", "cpu": [ "arm64" ], @@ -1466,9 +1466,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.4.4.tgz", - "integrity": "sha512-Dh1a/+W+SUCXhEdL7TiX3ArPTFCQKJTI1mGncZNWfO+6suk+gYA4lNyJcBB+pwvF49uw0pEbUS49BgYOY4hzUg==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.4.8.tgz", + "integrity": "sha512-Jg9/PsB9vDCJlANE8uhG7qDhb5w0Ix69D7XIIc8IfZPUoiPrbLm33k2Ig3NOJ/7nb3UbesFz3D1aDKm9DvzjhQ==", "cpu": [ "x64" ], @@ -1483,9 +1483,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.4.4.tgz", - "integrity": "sha512-V/NFfbWhsUU6w+m5WYbBenlEAz8eYnSqRMDMAW3K+3v0tYVkNyZn8VU0XPxk/lOqNXLSCCrV7FmV/u3SjCBShg==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.4.8.tgz", + "integrity": "sha512-5CdrsJct76XG2hpKFwXnEtlT1p+4g4yV+XvvwBpzKsTNLO9c6iLlAxwcae2BJ7ekPGWjNGw9j09T5KGPKKxQig==", "cpu": [ "arm64" ], @@ -1500,9 +1500,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.4.4.tgz", - "integrity": "sha512-+sPAXq3bxmFwhVFJnSwkSF5Rw2ZAJMH3MF6C9IveAEOdSpgajPhoQhbbAK12SehN9j2QrHpk4J/cHsa/HqWaYQ==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.4.8.tgz", + "integrity": "sha512-Zo9OhBQDJ3IBGPlqHiTISloo5H0+FBIpemqIJdW/0edJ+gEcLR+MZeZozcUyz3o1nXkVA7++DdRKQT0599j9jA==", "cpu": [ "arm64" ], @@ -1517,9 +1517,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.4.4.tgz", - "integrity": "sha512-R4+ZCDtG9kHArasyBO+UBD6jr/FcFCTH8QkNTOCu0pRJzCWyWC4EtZa2AmUZB5h3e0jD7bRV2KvrENcf8rndBg==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.4.8.tgz", + "integrity": "sha512-PdKXspVEaMCQLjtZCn6vfSck/li4KX9KGwSDbZdgIqlrizJ2MnMcE3TvHa2tVfXNmbjMikzcfJpuPWH695yJrw==", "cpu": [ "x64" ], @@ -1534,9 +1534,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.4.4.tgz", - "integrity": "sha512-gGvFTGpOIQDb5CQ2VC0n9Z2UEqlP46c4aNgHmAMytYieTGEcfqhfCFnhs6xjt0S3igE6q5GLuIXtdQt3Izok+g==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.4.8.tgz", + "integrity": "sha512-Gi8quv8MEuDdKaPFtS2XjEnMqODPsRg6POT6KhoP+VrkNb+T2ywunVB+TvOU0LX1jAZzfBr+3V1mIbBhzAMKvw==", "cpu": [ "x64" ], @@ -1551,9 +1551,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.4.4.tgz", - "integrity": "sha512-trzCqM7x+Gn832zZHgr28JoYagQNX4CZkUZhMUac2YxvvyDRLJDrb5m9IA7CaZLlX6lTQmADVfLEKP1et1Ma4Q==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.4.8.tgz", + "integrity": "sha512-LoFatS0tnHv6KkCVpIy3qZCih+MxUMvdYiPWLHRri7mhi2vyOOs8OrbZBcLTUEWCS+ktO72nZMy4F96oMhkOHQ==", "cpu": [ "arm64" ], @@ -1568,9 +1568,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.4.4.tgz", - "integrity": "sha512-gnOHKVPFAAPrpoPt2t+Q6FZ7RPry/FDV3GcpU53P3PtLNnQjBmKyN2Vh/JtqXet+H4pme8CC76rScwdjDcT1/A==", + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.4.8.tgz", + "integrity": "sha512-vAn7iXDoUbqFXqVocuq1sMYAd33p8+mmurqJkWl6CtIhobd/O6moe4rY5AJvzbunn/qZCdiDVcveqtkFh1e7Hg==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index 8b66093bc..9228ec895 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "zod": "^4.3.6" }, "devDependencies": { - "@biomejs/biome": "2.4.4", + "@biomejs/biome": "2.4.8", "@playwright/test": "^1.58.2", "@react-router/dev": "^7.13.1", "@types/better-sqlite3": "^7.6.13",