mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 20:46:42 +02:00
Fix wrong type
import, make auth and chat work
This commit is contained in:
parent
b8f9bc107c
commit
9c47119535
261 changed files with 24453 additions and 443 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { browser } from '$app/environment';
|
||||
import { themes, defaultTheme, type ThemePreset } from './presets';
|
||||
import { themes, defaultTheme } from './presets';
|
||||
import type { ThemePreset } from './presets';
|
||||
import { writable, derived, get } from 'svelte/store';
|
||||
|
||||
export type ThemeMode = 'light' | 'dark' | 'system';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { fail } from '@sveltejs/kit';
|
||||
import { pb, generateTagSlug, DEFAULT_TAG_COLORS, type Tag } from '$lib/pocketbase';
|
||||
import { pb, generateTagSlug, DEFAULT_TAG_COLORS } from '$lib/pocketbase';
|
||||
import type { Tag } from '$lib/pocketbase';
|
||||
import type { Actions, PageServerLoad } from './$types';
|
||||
|
||||
export const load: PageServerLoad = async ({ locals }) => {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { fail } from '@sveltejs/kit';
|
||||
import { pb, generateShortCode, type Link, type Click, type User } from '$lib/pocketbase';
|
||||
import { pb, generateShortCode } from '$lib/pocketbase';
|
||||
import type { Link, Click, User } from '$lib/pocketbase';
|
||||
import { getCollection } from '$lib/content';
|
||||
import type { BlogPostWithMeta } from '../content/config';
|
||||
import type { Actions, PageServerLoad } from './$types';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { redirect, error, fail } from '@sveltejs/kit';
|
||||
import { parseUserAgent, type Link } from '$lib/pocketbase';
|
||||
import { parseUserAgent } from '$lib/pocketbase';
|
||||
import type { Link } from '$lib/pocketbase';
|
||||
import { linkCache } from '$lib/server/linkCache';
|
||||
import type { PageServerLoad, Actions } from './$types';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { error } from '@sveltejs/kit';
|
||||
import { pb, type User, type Link } from '$lib/pocketbase';
|
||||
import { pb } from '$lib/pocketbase';
|
||||
import type { User, Link } from '$lib/pocketbase';
|
||||
import type { PageServerLoad } from './$types';
|
||||
|
||||
export const load: PageServerLoad = async ({ params }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue