onlook icon indicating copy to clipboard operation
onlook copied to clipboard

feat: add domain tables

Open Kitenite opened this issue 9 months ago • 2 comments

Description

Related Issues

Type of Change

  • [ ] Bug fix
  • [x] New feature
  • [ ] Documentation update
  • [ ] Release
  • [ ] Refactor
  • [ ] Other (please describe):

Testing

Screenshots (if applicable)

Additional Notes


[!IMPORTANT] Add domain management features with new database tables, API routers, and models for handling custom, preview, and published domains, and domain verification.

  • Database Schema:
    • Add customDomains, previewDomains, publishedDomains, and customDomainVerification tables in packages/db/src/schema/project/domain/.
    • Define relations for domain tables in custom.ts, preview.ts, published.ts, and verification.ts.
    • Update project.ts to include domain relations.
  • API Routers:
    • Add domainRouter in routers/domain/index.ts with sub-routers for preview and verification.
    • Move and rename domain.ts to domain/preview.ts.
    • Add freestyle.ts for SDK initialization.
  • Models:
    • Add VerificationRequestStatus enum in models/src/domain/index.ts.
    • Export domain models in models/src/index.ts.
  • Misc:

This description was created by Ellipsis for 938db1afc465416690c9223906b9c5820461057b. You can customize this summary. It will automatically update as commits are pushed.

Kitenite avatar Jun 09 '25 23:06 Kitenite

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 9:40pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 9:40pm

vercel[bot] avatar Jun 09 '25 23:06 vercel[bot]

This pull request has been ignored for the connected project wowaemfasoptxrdjhilu because there are no changes detected in apps/backend/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase. Learn more about Supabase Branching ↗︎.

supabase[bot] avatar Jun 09 '25 23:06 supabase[bot]