- 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`.
26 lines
548 B
TypeScript
26 lines
548 B
TypeScript
import Root from "./card.svelte";
|
|
import Content from "./card-content.svelte";
|
|
import Description from "./card-description.svelte";
|
|
import Footer from "./card-footer.svelte";
|
|
import Header from "./card-header.svelte";
|
|
import Title from "./card-title.svelte";
|
|
import Action from "./card-action.svelte";
|
|
|
|
export {
|
|
Root,
|
|
Content,
|
|
Description,
|
|
Footer,
|
|
Header,
|
|
Title,
|
|
Action,
|
|
//
|
|
Root as Card,
|
|
Content as CardContent,
|
|
Description as CardDescription,
|
|
Footer as CardFooter,
|
|
Header as CardHeader,
|
|
Title as CardTitle,
|
|
Action as CardAction,
|
|
};
|