feat(shared): reworked shared library

Shared library is now access using `@shared/module`
This commit is contained in:
maix0 2025-06-16 23:16:34 +02:00 committed by Maieul BOYER
parent 1bc33ab912
commit 37403d304a
56 changed files with 366 additions and 970 deletions

1
src/@shared/dist/database/init.sql.js vendored Normal file
View file

@ -0,0 +1 @@
export default "-- this file will make sure that the database is always up to date with the correct schema\n-- when editing this file, make sure to always include stuff like `IF NOT EXISTS` such as to not throw error\n-- NEVER DROP ANYTHING IN THIS FILE\nCREATE TABLE IF NOT EXISTS users (\n id STRING UNIQUE PRIMARY KEY, -- UUIDv7 as a string\n name STRING UNIQUE, -- name of the user\n token STRING UNIQUE, -- the token of the user (aka the cookie)\n);\n\n";