Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

zenstack-authenticated-db-params

Étoiles1
Forks0
Mis à jour27 janvier 2026 à 08:46

Fix TypeScript circular reference errors when passing ZenStack authenticated database client as function parameter. Use when: (1) TypeScript error "TS2502: 'db' is referenced directly or indirectly in its own type annotation", (2) Utility functions need to accept authenticated db from server actions, (3) Using `ReturnType<typeof db.$setAuth>` causes circular reference. Solves typing authenticated ZenStack clients in Better Auth + ZenStack projects with proper access control enforcement.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly