Files
supabase/apps/ui-library/registry/examples.ts
Ivan Vasilov 191a291c2d feat: Preliminary work for shadcn add @supabase/...block... (#39322)
* Build the current registry.

* Export the blocks as JSON and import them into registry.json.

* Move the registry.json into public/r.

* Fix a prettier error.

* Clean up extra files in vue blocks.

* Bump shadcn.

* Readd shadcn to vue blocks.

* Fix the shadcn types.

* Remove extra package exclusions.
2025-10-07 20:32:24 +02:00

93 lines
2.0 KiB
TypeScript

import type { RegistryItem } from 'shadcn/schema'
export const examples: RegistryItem[] = [
{
name: 'dropzone-demo',
type: 'registry:example',
registryDependencies: [],
files: [
{
path: 'registry/default/examples/dropzone-demo.tsx',
type: 'registry:example',
},
],
},
{
name: 'realtime-cursor-demo',
type: 'registry:example',
registryDependencies: [],
files: [
{
path: 'registry/default/examples/realtime-cursor-demo.tsx',
type: 'registry:example',
},
],
},
{
name: 'password-based-auth-demo',
type: 'registry:example',
registryDependencies: [],
files: [
{
path: 'registry/default/examples/password-based-auth.tsx',
type: 'registry:example',
},
],
},
{
name: 'current-user-avatar-demo',
type: 'registry:example',
registryDependencies: [],
files: [
{
path: 'registry/default/examples/current-user-avatar-demo.tsx',
type: 'registry:example',
},
],
},
{
name: 'current-user-avatar-preview',
type: 'registry:example',
registryDependencies: [],
files: [
{
path: 'registry/default/examples/current-user-avatar-preview.tsx',
type: 'registry:example',
},
],
},
{
name: 'realtime-avatar-stack-demo',
type: 'registry:example',
registryDependencies: [],
files: [
{
path: 'registry/default/examples/realtime-avatar-stack-demo.tsx',
type: 'registry:example',
},
],
},
{
name: 'realtime-avatar-stack-preview',
type: 'registry:example',
registryDependencies: [],
files: [
{
path: 'registry/default/examples/realtime-avatar-stack-preview.tsx',
type: 'registry:example',
},
],
},
{
name: 'infinite-query-hook-demo',
type: 'registry:example',
registryDependencies: [],
files: [
{
path: 'registry/default/examples/infinite-query-hook-demo.tsx',
type: 'registry:example',
},
],
},
]