mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
* Add rr auth block * Fix file structure * Update components with new flow * Fix the registry item for react router auth. * Update the forgot-password for react router. * Fix the rest of the link imports. * Fix the react route client. * Refactor the auth block for React Router. * Add config for recovery mail to the ui library supabase config. * snapshot. * Minor fixes. * Minor doc fixes. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
906 lines
33 KiB
JSON
906 lines
33 KiB
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry.json",
|
|
"name": "Supabase UI Library",
|
|
"homepage": "https://supabase.com/ui",
|
|
"items": [
|
|
{
|
|
"name": "password-based-auth-nextjs",
|
|
"type": "registry:block",
|
|
"title": "Password Based Auth flow for Nextjs and Supabase",
|
|
"description": "Password Based Auth flow for Nextjs and Supabase",
|
|
"registryDependencies": ["button", "card", "input", "label"],
|
|
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/app/login/page.tsx",
|
|
"type": "registry:page",
|
|
"target": "app/login/page.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/app/error/page.tsx",
|
|
"type": "registry:page",
|
|
"target": "app/auth/error/page.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx",
|
|
"type": "registry:page",
|
|
"target": "app/protected/page.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/app/confirm/route.ts",
|
|
"type": "registry:page",
|
|
"target": "app/auth/confirm/route.ts"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/components/login-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/middleware.ts",
|
|
"type": "registry:file",
|
|
"target": "middleware.ts"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/app/sign-up/page.tsx",
|
|
"type": "registry:page",
|
|
"target": "app/sign-up/page.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/app/sign-up-success/page.tsx",
|
|
"type": "registry:page",
|
|
"target": "app/sign-up-success/page.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/app/forgot-password/page.tsx",
|
|
"type": "registry:page",
|
|
"target": "app/forgot-password/page.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/app/update-password/page.tsx",
|
|
"type": "registry:page",
|
|
"target": "app/update-password/page.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "password-based-auth-react",
|
|
"type": "registry:block",
|
|
"title": "Password Based Auth flow for React and Supabase",
|
|
"description": "Password Based Auth flow for React and Supabase",
|
|
"registryDependencies": ["button", "card", "input", "label"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react/components/login-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react/components/sign-up-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react/components/forgot-password-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react/components/update-password-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
],
|
|
"dependencies": ["@supabase/supabase-js@latest"]
|
|
},
|
|
{
|
|
"name": "password-based-auth-react-router",
|
|
"type": "registry:block",
|
|
"title": "Password Based Auth flow for React Router and Supabase",
|
|
"description": "Password Based Auth flow for React Router and Supabase",
|
|
"registryDependencies": ["button", "card", "input", "label"],
|
|
"dependencies": [
|
|
"@supabase/ssr@latest",
|
|
"@react-router/dev@latest",
|
|
"@react-router/fs-routes@latest",
|
|
"@supabase/supabase-js@latest"
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes/auth.confirm.tsx",
|
|
"type": "registry:file",
|
|
"target": "app/routes/auth.confirm.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes/auth.error.tsx",
|
|
"type": "registry:file",
|
|
"target": "app/routes/auth.error.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes/forgot-password.tsx",
|
|
"type": "registry:file",
|
|
"target": "app/routes/forgot-password.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes/login.tsx",
|
|
"type": "registry:file",
|
|
"target": "app/routes/login.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes/logout.tsx",
|
|
"type": "registry:file",
|
|
"target": "app/routes/logout.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes/protected.tsx",
|
|
"type": "registry:file",
|
|
"target": "app/routes/protected.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes/sign-up.tsx",
|
|
"type": "registry:file",
|
|
"target": "app/routes/sign-up.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes/update-password.tsx",
|
|
"type": "registry:file",
|
|
"target": "app/routes/update-password.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-react-router/app/routes.ts",
|
|
"type": "registry:file",
|
|
"target": "app/routes.ts"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "password-based-auth-tanstack",
|
|
"type": "registry:block",
|
|
"title": "Password Based Auth flow for tanstack and Supabase",
|
|
"description": "Password Based Auth flow for tanstack and Supabase",
|
|
"registryDependencies": ["button", "card", "input", "label"],
|
|
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/login.tsx",
|
|
"type": "registry:file",
|
|
"target": "routes/login.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/auth/error.tsx",
|
|
"type": "registry:file",
|
|
"target": "routes/auth/error.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/_protected.tsx",
|
|
"type": "registry:file",
|
|
"target": "routes/_protected.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/_protected/info.tsx",
|
|
"type": "registry:file",
|
|
"target": "routes/_protected/info.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/auth/confirm.ts",
|
|
"type": "registry:file",
|
|
"target": "routes/auth/confirm.ts"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/components/login-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/sign-up.tsx",
|
|
"type": "registry:file",
|
|
"target": "routes/sign-up.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/sign-up-success.tsx",
|
|
"type": "registry:file",
|
|
"target": "routes/sign-up-success.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/components/sign-up-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/forgot-password.tsx",
|
|
"type": "registry:file",
|
|
"target": "routes/forgot-password.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/routes/update-password.tsx",
|
|
"type": "registry:file",
|
|
"target": "routes/update-password.tsx"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/components/forgot-password-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/components/update-password-form.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/password-based-auth-tanstack/lib/supabase/fetch-user-server-fn.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "dropzone-nextjs",
|
|
"type": "registry:component",
|
|
"title": "Dropzone (File Upload)",
|
|
"description": "Displays a control for easier uploading of files directly to Supabase Storage.",
|
|
"registryDependencies": ["button", "tooltip", "progress"],
|
|
"dependencies": ["react-dropzone", "lucide-react", "@supabase/ssr@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/dropzone/components/dropzone.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/dropzone/hooks/use-supabase-upload.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "dropzone-react",
|
|
"type": "registry:component",
|
|
"title": "Dropzone (File Upload)",
|
|
"description": "Displays a control for easier uploading of files directly to Supabase Storage.",
|
|
"registryDependencies": ["button", "tooltip", "progress"],
|
|
"dependencies": ["react-dropzone", "lucide-react", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/dropzone/components/dropzone.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/dropzone/hooks/use-supabase-upload.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "dropzone-react-router",
|
|
"type": "registry:component",
|
|
"title": "Dropzone (File Upload)",
|
|
"description": "Displays a control for easier uploading of files directly to Supabase Storage.",
|
|
"registryDependencies": ["button", "tooltip", "progress"],
|
|
"dependencies": [
|
|
"react-dropzone",
|
|
"lucide-react",
|
|
"@supabase/ssr@latest",
|
|
"@supabase/supabase-js@latest"
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/dropzone/components/dropzone.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/dropzone/hooks/use-supabase-upload.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "dropzone-tanstack",
|
|
"type": "registry:component",
|
|
"title": "Dropzone (File Upload)",
|
|
"description": "Displays a control for easier uploading of files directly to Supabase Storage.",
|
|
"registryDependencies": ["button", "tooltip", "progress"],
|
|
"dependencies": [
|
|
"react-dropzone",
|
|
"lucide-react",
|
|
"@supabase/ssr@latest",
|
|
"@supabase/supabase-js@latest"
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/dropzone/components/dropzone.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/dropzone/hooks/use-supabase-upload.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "realtime-cursor-nextjs",
|
|
"type": "registry:component",
|
|
"title": "Realtime Cursor",
|
|
"description": "Component which renders realtime cursors from other users in a room.",
|
|
"registryDependencies": [],
|
|
"dependencies": ["lucide-react", "@supabase/ssr@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/components/cursor.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/components/realtime-cursors.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/hooks/use-realtime-cursors.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "realtime-cursor-react",
|
|
"type": "registry:component",
|
|
"title": "Realtime Cursor",
|
|
"description": "Component which renders realtime cursors from other users in a room.",
|
|
"registryDependencies": [],
|
|
"dependencies": ["lucide-react", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/components/cursor.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/components/realtime-cursors.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/hooks/use-realtime-cursors.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "realtime-cursor-react-router",
|
|
"type": "registry:component",
|
|
"title": "Realtime Cursor",
|
|
"description": "Component which renders realtime cursors from other users in a room.",
|
|
"registryDependencies": [],
|
|
"dependencies": ["lucide-react", "@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/components/cursor.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/components/realtime-cursors.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/hooks/use-realtime-cursors.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "realtime-cursor-tanstack",
|
|
"type": "registry:component",
|
|
"title": "Realtime Cursor",
|
|
"description": "Component which renders realtime cursors from other users in a room.",
|
|
"registryDependencies": [],
|
|
"dependencies": ["lucide-react", "@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/components/cursor.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/components/realtime-cursors.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-cursor/hooks/use-realtime-cursors.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "current-user-avatar-nextjs",
|
|
"type": "registry:component",
|
|
"title": "Current User Avatar",
|
|
"description": "Component which renders the current user's avatar.",
|
|
"registryDependencies": ["avatar"],
|
|
"dependencies": ["@supabase/ssr@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/components/current-user-avatar.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-name.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-image.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "current-user-avatar-react",
|
|
"type": "registry:component",
|
|
"title": "Current User Avatar",
|
|
"description": "Component which renders the current user's avatar.",
|
|
"registryDependencies": ["avatar"],
|
|
"dependencies": ["@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/components/current-user-avatar.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-name.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-image.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "current-user-avatar-react-router",
|
|
"type": "registry:component",
|
|
"title": "Current User Avatar",
|
|
"description": "Component which renders the current user's avatar.",
|
|
"registryDependencies": ["avatar"],
|
|
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/components/current-user-avatar.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-name.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-image.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "current-user-avatar-tanstack",
|
|
"type": "registry:component",
|
|
"title": "Current User Avatar",
|
|
"description": "Component which renders the current user's avatar.",
|
|
"registryDependencies": ["avatar"],
|
|
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/components/current-user-avatar.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-name.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-image.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "realtime-avatar-stack-nextjs",
|
|
"type": "registry:component",
|
|
"title": "Avatar Stack with Realtime Presence",
|
|
"description": "Component which stack of avatars, tracked by realtime presence.",
|
|
"registryDependencies": ["avatar", "tooltip"],
|
|
"dependencies": ["@supabase/ssr@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/components/realtime-avatar-stack.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/hooks/use-realtime-presence-room.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-name.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-image.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "realtime-avatar-stack-react",
|
|
"type": "registry:component",
|
|
"title": "Avatar Stack with Realtime Presence",
|
|
"description": "Component which stack of avatars, tracked by realtime presence.",
|
|
"registryDependencies": ["avatar", "tooltip"],
|
|
"dependencies": ["@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/components/realtime-avatar-stack.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/hooks/use-realtime-presence-room.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-name.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-image.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "realtime-avatar-stack-react-router",
|
|
"type": "registry:component",
|
|
"title": "Avatar Stack with Realtime Presence",
|
|
"description": "Component which stack of avatars, tracked by realtime presence.",
|
|
"registryDependencies": ["avatar", "tooltip"],
|
|
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/components/realtime-avatar-stack.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/hooks/use-realtime-presence-room.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-name.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-image.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "realtime-avatar-stack-tanstack",
|
|
"type": "registry:component",
|
|
"title": "Avatar Stack with Realtime Presence",
|
|
"description": "Component which stack of avatars, tracked by realtime presence.",
|
|
"registryDependencies": ["avatar", "tooltip"],
|
|
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/components/realtime-avatar-stack.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/realtime-avatar-stack/hooks/use-realtime-presence-room.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-name.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/blocks/current-user-avatar/hooks/use-current-user-image.ts",
|
|
"type": "registry:hook"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "supabase-client-nextjs",
|
|
"type": "registry:lib",
|
|
"title": "Supabase Client for Next.js",
|
|
"description": "",
|
|
"registryDependencies": [],
|
|
"dependencies": ["@supabase/ssr@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/nextjs/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "supabase-client-react",
|
|
"type": "registry:lib",
|
|
"title": "Supabase Client for React",
|
|
"description": "",
|
|
"registryDependencies": [],
|
|
"dependencies": ["@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/clients/react/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "supabase-client-react-router",
|
|
"type": "registry:lib",
|
|
"title": "Supabase Client for React Router",
|
|
"description": "",
|
|
"registryDependencies": [],
|
|
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/react-router/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "supabase-client-tanstack",
|
|
"type": "registry:lib",
|
|
"title": "Supabase Client for Tanstack Start",
|
|
"description": "",
|
|
"registryDependencies": [],
|
|
"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/client.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/default/clients/tanstack/lib/supabase/server.ts",
|
|
"type": "registry:lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
"name": "ai-editor-rules",
|
|
"type": "registry:file",
|
|
"title": "Prompt rules for AI Editors",
|
|
"description": "Prompts for working with Supabase using AI-powered IDE tools",
|
|
"registryDependencies": [],
|
|
"dependencies": [],
|
|
"files": [
|
|
{
|
|
"path": "registry/default/ai-editor-rules/create-db-functions.md",
|
|
"type": "registry:file",
|
|
"target": ".rules/create-db-functions.md"
|
|
},
|
|
{
|
|
"path": "registry/default/ai-editor-rules/create-migration.md",
|
|
"type": "registry:file",
|
|
"target": ".rules/create-migration.md"
|
|
},
|
|
{
|
|
"path": "registry/default/ai-editor-rules/create-rls-policies.md",
|
|
"type": "registry:file",
|
|
"target": ".rules/create-rls-policies.md"
|
|
},
|
|
{
|
|
"path": "registry/default/ai-editor-rules/postgres-sql-style-guide.md",
|
|
"type": "registry:file",
|
|
"target": ".rules/postgres-sql-style-guide.md"
|
|
},
|
|
{
|
|
"path": "registry/default/ai-editor-rules/writing-supabase-edge-functions.md",
|
|
"type": "registry:file",
|
|
"target": ".rules/writing-supabase-edge-functions.md"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|