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,5 +1,5 @@
|
||||
import type { EntityView } from "$lib/api/types";
|
||||
import { safeHref } from "$lib/format/url";
|
||||
import type { EntityView } from "#lib/api/types.js";
|
||||
import { safeHref } from "#lib/format/url.js";
|
||||
|
||||
export interface TextNode {
|
||||
kind: "text";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Chat, Folder } from "$lib/api/types";
|
||||
import type { Chat, Folder } from "#lib/api/types.js";
|
||||
|
||||
function categoryMatch(folder: Folder, chat: Chat): boolean {
|
||||
if (chat.is_broadcast) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Account, PeerView } from "$lib/api/types";
|
||||
import type { Account, PeerView } from "#lib/api/types.js";
|
||||
|
||||
const PEER_COLOR_COUNT = 7;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { PresenceSample } from "$lib/api/types";
|
||||
import { formatListDate } from "$lib/format/datetime";
|
||||
import type { PresenceSample } from "#lib/api/types.js";
|
||||
import { formatListDate } from "#lib/format/datetime.js";
|
||||
|
||||
export function isOnline(sample: PresenceSample | null): boolean {
|
||||
if (sample === null || sample.status !== "online") {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { FileShare } from "$lib/api/types";
|
||||
import { formatFull } from "$lib/format/datetime";
|
||||
import type { FileShare } from "#lib/api/types.js";
|
||||
import { formatFull } from "#lib/format/datetime.js";
|
||||
|
||||
const TEEN_START = 11;
|
||||
const TEEN_END = 14;
|
||||
|
||||
Reference in new issue
Block a user