feat(frontend)!: sveltekit 3 on the v0.7.0 template, typescript 6, adapter-auto dropped; backend base moves to trixie
This commit is contained in:
1 parent
b1ffebe858
commit
4d16105e92
116 files changed
+756
-711
No files matched your search
@@ -1,25 +1,25 @@
|
||||
<script lang="ts">
|
||||
import { page } from "$app/state";
|
||||
import {
|
||||
getCurrentPresence,
|
||||
getMessageVolume,
|
||||
getPresenceHistory,
|
||||
getPresenceHourly,
|
||||
getResponseStats,
|
||||
} from "$lib/api/endpoints";
|
||||
} from "#lib/api/endpoints.js";
|
||||
import type {
|
||||
PresenceHourly,
|
||||
PresenceSample,
|
||||
ResponseStats,
|
||||
VolumeBucket,
|
||||
} from "$lib/api/types";
|
||||
import PresenceHeatmap from "$lib/components/presence/PresenceHeatmap.svelte";
|
||||
import VolumeChart from "$lib/components/presence/VolumeChart.svelte";
|
||||
import EmptyState from "$lib/components/ui/EmptyState.svelte";
|
||||
import { formatFull } from "$lib/format/datetime";
|
||||
import { formatPresence } from "$lib/format/presence";
|
||||
import { accounts } from "$lib/stores/accounts.svelte";
|
||||
import { events } from "$lib/stores/events.svelte";
|
||||
} from "#lib/api/types.js";
|
||||
import PresenceHeatmap from "#lib/components/presence/PresenceHeatmap.svelte";
|
||||
import VolumeChart from "#lib/components/presence/VolumeChart.svelte";
|
||||
import EmptyState from "#lib/components/ui/EmptyState.svelte";
|
||||
import { formatFull } from "#lib/format/datetime.js";
|
||||
import { formatPresence } from "#lib/format/presence.js";
|
||||
import { accounts } from "#lib/stores/accounts.svelte.js";
|
||||
import { events } from "#lib/stores/events.svelte.js";
|
||||
import { page } from "$app/state";
|
||||
|
||||
const HISTORY_LIMIT = 200;
|
||||
const SECONDS_IN_MINUTE = 60;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { PresenceHourly } from "$lib/api/types";
|
||||
import type { PresenceHourly } from "#lib/api/types.js";
|
||||
|
||||
interface Props {
|
||||
hourly: PresenceHourly[];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { VolumeBucket } from "$lib/api/types";
|
||||
import type { VolumeBucket } from "#lib/api/types.js";
|
||||
|
||||
interface Props {
|
||||
volume: VolumeBucket[];
|
||||
|
||||
Reference in new issue
Block a user