import { useState } from 'react'
import {
Button,
Dialog,
DialogContent,
DialogFooter,
DialogHeader,
DialogSection,
DialogSectionSeparator,
DialogTitle,
DialogTrigger,
} from 'ui'
import { Admonition } from 'ui-patterns'
import { INTERNAL_SCHEMAS, useIsProtectedSchema } from '@/hooks/useProtectedSchemas'
export const ProtectedSchemaDialog = ({ onClose }: { onClose: () => void }) => {
return (
<>
The following schemas are managed by Briven and are currently protected from write
access through the dashboard.
These schemas are critical to the functionality of your Briven project and hence we
highly recommend not altering them.
You can, however, still interact with those schemas through the SQL Editor although we
advise you only do so if you know what you are doing.
{schema}
))}
{schema} schema is used by Briven to
connect to analytics buckets and is read-only through the dashboard.
The {schema} schema is used by Briven to
connect to vector buckets and is read-only through the dashboard.
The {schema} schema is managed by Briven and
is read-only through the dashboard.