Route (_public/projects.$projectId.functions.$functionId.domains.add.tsx)

appwrite · apps/console/src/routes/_public/projects.$projectId.functions.$functionId.domains.add.tsx · typescript · BSD-3-Clause
email

React route for adding a domain or SMTP domain in the app.

// Source: https://github.com/appwrite/appwrite | License: BSD-3-Clause | Copyright 2019 Appwrite (https://appwrite.io) and individual contributors
// Provided via justclaw.it.com; keep this notice with the code.
import { createFileRoute } from '@tanstack/react-router'
import { AddDomainWizard } from '@/components/pages/projects/$projectId/functions/domains/AddDomainWizard'
import { AddSmtpDomainWizard } from '@/components/pages/projects/$projectId/functions/domains/AddSmtpDomainWizard'
import { pageTitle } from '@/lib/utils/page-title'

type AddDomainSearch = {
  /** `smtp` opens the inbound email domain wizard instead of the HTTP one. */
  protocol?: 'smtp'
}

export const Route = createFileRoute(
  '/_public/projects/$projectId/functions/$functionId/domains/add',
)({
  validateSearch: (

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key