refactor: run formatter

This commit is contained in:
Elias Schneider
2026-07-10 15:57:17 +02:00
parent 2910c517bb
commit 59a6868ecd
8 changed files with 30 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
import Root from "./input-otp.svelte";
import Group from "./input-otp-group.svelte";
import Slot from "./input-otp-slot.svelte";
import Separator from "./input-otp-separator.svelte";
import Root from './input-otp.svelte';
import Group from './input-otp-group.svelte';
import Slot from './input-otp-slot.svelte';
import Separator from './input-otp-separator.svelte';
export {
Root,
@@ -11,5 +11,5 @@ export {
Root as InputOTP,
Group as InputOTPGroup,
Slot as InputOTPSlot,
Separator as InputOTPSeparator,
Separator as InputOTPSeparator
};

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import type { HTMLAttributes } from "svelte/elements";
import type { WithElementRef } from "$lib/utils/style.js";
import { cn } from "$lib/utils/style.js";
import type { HTMLAttributes } from 'svelte/elements';
import type { WithElementRef } from '$lib/utils/style.js';
import { cn } from '$lib/utils/style.js';
import MinusIcon from '@lucide/svelte/icons/minus';
let {
@@ -22,6 +22,6 @@
{#if children}
{@render children?.()}
{:else}
<MinusIcon />
<MinusIcon />
{/if}
</div>

View File

@@ -18,7 +18,14 @@ export function getAuthRedirectPath(url: URL, user: User | null) {
const isPublicPath =
path.startsWith('/lc/') ||
['/interaction', '/interaction/error', '/login/alternative/code', '/device', '/health', '/healthz'].includes(path);
[
'/interaction',
'/interaction/error',
'/login/alternative/code',
'/device',
'/health',
'/healthz'
].includes(path);
const isAdminPath = path == '/settings/admin' || path.startsWith('/settings/admin/');

View File

@@ -117,12 +117,10 @@ export function startPageTrace(path?: string): void {
}
endPageSpan();
pageSpan = otel.trace
.getTracer(TRACER_NAME)
.startSpan(path ? `pageview ${path}` : 'pageview', {
root: true,
kind: otel.SpanKind.INTERNAL
});
pageSpan = otel.trace.getTracer(TRACER_NAME).startSpan(path ? `pageview ${path}` : 'pageview', {
root: true,
kind: otel.SpanKind.INTERNAL
});
pageContext = otel.trace.setSpan(otel.ROOT_CONTEXT, pageSpan);
}

View File

@@ -132,10 +132,7 @@
</p>
</Card.Header>
<Card.Content data-testid="scopes">
<ScopeList
scopes={deviceInfo!.scope || []}
scopeInfo={deviceInfo!.scopeInfo || []}
/>
<ScopeList scopes={deviceInfo!.scope || []} scopeInfo={deviceInfo!.scopeInfo || []} />
</Card.Content>
</Card.Root>
</div>

View File

@@ -1,7 +1,7 @@
import type { PageLoad } from './$types';
export const load: PageLoad = async ({ url }) => {
const error = url.searchParams.get('error') ?? "An unknown error occured."
const error = url.searchParams.get('error') ?? 'An unknown error occured.';
return {
error

View File

@@ -7,9 +7,7 @@
import appConfigStore from '$lib/stores/application-configuration-store';
import type { AllAppConfig } from '$lib/types/application-configuration.type';
import { axiosErrorToast } from '$lib/utils/error-util';
import {
LucideInfo
} from '@lucide/svelte';
import { LucideInfo } from '@lucide/svelte';
import { toast } from 'svelte-sonner';
import AppConfigEmailForm from './forms/app-config-email-form.svelte';
import AppConfigGeneralForm from './forms/app-config-general-form.svelte';

View File

@@ -18,7 +18,12 @@
import type { ScimServiceProviderCreate } from '$lib/types/scim.type';
import { cachedOidcClientLogo } from '$lib/utils/cached-image-util';
import { axiosErrorToast } from '$lib/utils/error-util';
import { LucideChevronLeft, LucideInfo, LucideRefreshCcw, LucideTriangleAlert } from '@lucide/svelte';
import {
LucideChevronLeft,
LucideInfo,
LucideRefreshCcw,
LucideTriangleAlert
} from '@lucide/svelte';
import { toast } from 'svelte-sonner';
import { slide } from 'svelte/transition';
import { backNavigate } from '../../users/navigate-back-util';