format files (new prettier version changes some formatting)

I'm upset that the textarea closing tag is being put on the same line instead of new lined, but I couldn't figure out what changed, so I'll cry in silence and hope it gets fixed one day.
This commit is contained in:
IRHM
2026-07-28 05:03:07 +01:00
committed by momi
parent 347113be68
commit d32a1ecb39
8 changed files with 17 additions and 31 deletions
+1 -1
View File
@@ -98,7 +98,7 @@
<Icon i="chevron" facing={open ? "up" : "down"} />
</button>
<ul bind:this={ulElement}>
{#each showActiveElementsInOptions ? options : options.filter( (o) => (typeof o === "string" ? o !== active : o.id !== active), ) as o}
{#each showActiveElementsInOptions ? options : options.filter( (o) => (typeof o === "string" ? o !== active : o.id !== active) ) as o}
<li>
<button
class="plain"
+1 -2
View File
@@ -66,8 +66,7 @@
placeholder={`My thoughts on ${contentTitle}`}
value={thoughts}
bind:this={textarea}
oninput={resizeTextarea}
></textarea>
oninput={resizeTextarea}></textarea>
</Modal>
{/if}
+4 -2
View File
@@ -34,8 +34,10 @@ export const noAuthReq = new Reqer(baseURL, false);
/**
* Options for our internal updateWatched func.
*/
export interface UpdateWatchedOptions
extends Omit<WatchedUpdateRequest, "removeThoughts"> {
export interface UpdateWatchedOptions extends Omit<
WatchedUpdateRequest,
"removeThoughts"
> {
/**
* TMDB ID.
*/
+1 -2
View File
@@ -60,8 +60,7 @@
// Set when user clicks 'Change Statuses' button for the change all
// statuses modal.
let changeAllStatusesModalCb:
| ((newStatus?: WatchedStatus) => void)
| undefined = $state();
((newStatus?: WatchedStatus) => void) | undefined = $state();
async function getList() {
const list = store.importedList;
+1 -2
View File
@@ -146,8 +146,7 @@
rows="1"
placeholder="my bio"
onblur={updateBio}
value={user?.bio}
></textarea>
value={user?.bio}></textarea>
</div>
</div>
+2 -3
View File
@@ -115,9 +115,8 @@
async function plexLogin() {
try {
const { preparePlexAuth, doPlexLogin, plexPinPoll } = await import(
"@/lib/util/plex"
);
const { preparePlexAuth, doPlexLogin, plexPinPoll } =
await import("@/lib/util/plex");
const p = preparePlexAuth();
const pin = await doPlexLogin(p);
plexPinPoll(pin, p, (err, token) => {
+2 -1
View File
@@ -22,7 +22,8 @@ $success-hover: #1e7e34;
// For ratings that are on bg-color.
$rating-color: var(--rating-color);
$blended-mask: linear-gradient(
$blended-mask:
linear-gradient(
to right,
var(--bg-color),
rgba(from var(--bg-color) r g b / 0.984) 0.97%,
+5 -18
View File
@@ -1,9 +1,5 @@
export type WatchedStatus =
| "PLANNED"
| "WATCHING"
| "FINISHED"
| "HOLD"
| "DROPPED";
"PLANNED" | "WATCHING" | "FINISHED" | "HOLD" | "DROPPED";
/**
* Types of media supported by Watcharr in an overarching way.
*/
@@ -70,10 +66,7 @@ export type Icon =
export type Theme = "light" | "dark" | "system";
export type WLDetailedViewOption =
| "statusRating"
| "lastWatched"
| "dateAdded"
| "dateModified";
"statusRating" | "lastWatched" | "dateAdded" | "dateModified";
export enum UserType {
Watcharr = 0,
@@ -618,13 +611,11 @@ interface ArrSettingsPublicResponseBase {
automaticSearch: boolean;
}
export interface SonarrSettingsPublicResponseResult
extends ArrSettingsPublicResponseBase {
export interface SonarrSettingsPublicResponseResult extends ArrSettingsPublicResponseBase {
languageProfile?: number;
}
export interface RadarrSettingsPublicResponseResult
extends ArrSettingsPublicResponseBase {}
export interface RadarrSettingsPublicResponseResult extends ArrSettingsPublicResponseBase {}
export interface TwitchSettings {
clientId?: string;
@@ -710,11 +701,7 @@ export interface RadarrTestResponse {
}
export type ArrRequestStatus =
| "PENDING"
| "APPROVED"
| "AUTO_APPROVED"
| "DENIED"
| "FOUND";
"PENDING" | "APPROVED" | "AUTO_APPROVED" | "DENIED" | "FOUND";
export interface ArrRequestResponse {
id: number;