wip, run migration command, fix api

This commit is contained in:
2025-01-21 00:08:18 -05:00
parent 08b56e13f3
commit d08171ef14
37 changed files with 8894 additions and 8458 deletions

View File

@@ -2,13 +2,17 @@
import { fade } from 'svelte/transition';
import { createEventDispatcher } from 'svelte';
export let message: string;
export let type: 'info' | 'success' | 'warning' | 'error' = 'info';
export let duration: number = 3000;
interface Props {
message: string;
type?: 'info' | 'success' | 'warning' | 'error';
duration?: number;
}
let { message, type = 'info', duration = 3000 }: Props = $props();
const dispatch = createEventDispatcher();
let visible = true;
let visible = $state(true);
setTimeout(() => {
visible = false;