You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every existing module type (db, auth, worker) will need to expose certain standard functions. We can use these functions to build up an admin interface without forcing the user to pick a stack.
Auth:
isAdmin
getAllUsers
DB:
getAllTables
getTable
getRow
Worker:
getAllQueues
getQueue
getQueueItem
Regardless of if you are using Auth.js or Lucia, Drizzle or Prisma, Bull or PgBoss, they will all define as many of those functions as possible, and if they exist, the admin interface will render it at /x/admin (assuming isAdmin returns true)
The text was updated successfully, but these errors were encountered:
Every existing module type (db, auth, worker) will need to expose certain standard functions. We can use these functions to build up an admin interface without forcing the user to pick a stack.
Auth:
DB:
Worker:
Regardless of if you are using Auth.js or Lucia, Drizzle or Prisma, Bull or PgBoss, they will all define as many of those functions as possible, and if they exist, the admin interface will render it at
/x/admin
(assumingisAdmin
returns true)The text was updated successfully, but these errors were encountered: