Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

zenstack-authenticated-db-params

النجوم١
التفرعات٠
آخر تحديث٢٧ يناير ٢٠٢٦ في ٠٨:٤٦

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.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly