refactor: replace all server-side load functions by universal load functions #1699
Labels
back
This issue is related to the Svelte backend or the DB
enhancement
New feature or request
front
This issue is related to the front-end of the app.
Milestone
We need to replace all the
+page.server.ts
and+layout.server.ts
by+page.ts
and+layout.ts
. In order to do this, we need to create more routes undersrc/routes/api
with+server.ts
GET endpoints, which we can thenfetch
inside the universal load functions.The following server-side load functions need to be replaced:
src/routes/+layout.server.ts
src/routes/assistants/+page.server.ts
src/routes/conversation/[id]/+page.server.ts
src/routes/settings/+layout.server.ts
src/routes/tools/+page.server.ts
src/routes/tools/[toolId]/+layout.server.ts
The text was updated successfully, but these errors were encountered: