- Added user management routes and logic in `+page.server.ts` for creating, updating, resetting passwords, and deleting users. - Created a user management interface in `+page.svelte` with dialogs for user actions. - Integrated password validation and hashing using `@node-rs/argon2`. - Updated database schema to include a `user` table with necessary fields. - Seeded a default admin user during database migration if no users exist. - Added necessary dependencies in `package.json`.
23 lines
480 B
TypeScript
23 lines
480 B
TypeScript
import Root from "./empty.svelte";
|
|
import Header from "./empty-header.svelte";
|
|
import Media from "./empty-media.svelte";
|
|
import Title from "./empty-title.svelte";
|
|
import Description from "./empty-description.svelte";
|
|
import Content from "./empty-content.svelte";
|
|
|
|
export {
|
|
Root,
|
|
Header,
|
|
Media,
|
|
Title,
|
|
Description,
|
|
Content,
|
|
//
|
|
Root as Empty,
|
|
Header as EmptyHeader,
|
|
Media as EmptyMedia,
|
|
Title as EmptyTitle,
|
|
Description as EmptyDescription,
|
|
Content as EmptyContent,
|
|
};
|