The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: run prettier
[email protected]525b6fccb1ee
diff --git a/studio/components/interfaces/Auth/AuthProvidersForm/FormField.tsx b/studio/components/interfaces/Auth/AuthProvidersForm/FormField.tsxindex 0bbf5940fc3..a9665541e76 100644--- a/studio/components/interfaces/Auth/AuthProvidersForm/FormField.tsx+++ b/studio/components/interfaces/Auth/AuthProvidersForm/FormField.tsx@@ -14,7 +14,8 @@ interface Props {const FormField: FC<Props> = ({ name, properties, formValues, disabled = false }) => {const [hidden, setHidden] = useState(!!properties.isSecret)- if (properties.show && !properties.show.matches.includes(formValues[properties.show.key])) return null+ if (properties.show && !properties.show.matches.includes(formValues[properties.show.key]))+ return nullswitch (properties.type) {case 'string':@@ -28,35 +29,35 @@ const FormField: FC<Props> = ({ name, properties, formValues, disabled = false }type={hidden ? 'password' : 'text'}label={properties.title}labelOptional={- properties.descriptionOptional ? (- <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.descriptionOptional}- </ReactMarkdown>- ) : null+ properties.descriptionOptional ? (+ <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>+ {properties.descriptionOptional}+ </ReactMarkdown>+ ) : null}descriptionText={- properties.description ? (- <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.description}- </ReactMarkdown>- ) : null+ properties.description ? (+ <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>+ {properties.description}+ </ReactMarkdown>+ ) : null}actions={- !!properties.isSecret ? (- <Button- icon={hidden ? <IconEye /> : <IconEyeOff />}- type="default"- onClick={() => setHidden(!hidden)}- />- ) : (- <span className="mr-3 text-scale-900">- {properties.units ? (- <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.units}- </ReactMarkdown>- ) : null}- </span>- )+ !!properties.isSecret ? (+ <Button+ icon={hidden ? <IconEye /> : <IconEyeOff />}+ type="default"+ onClick={() => setHidden(!hidden)}+ />+ ) : (+ <span className="mr-3 text-scale-900">+ {properties.units ? (+ <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>+ {properties.units}+ </ReactMarkdown>+ ) : null}+ </span>+ )}/>)diff --git a/studio/pages/api/auth/[ref]/config.ts b/studio/pages/api/auth/[ref]/config.tsindex ea7d533851c..34878dd37f3 100644--- a/studio/pages/api/auth/[ref]/config.ts+++ b/studio/pages/api/auth/[ref]/config.ts@@ -113,19 +113,19 @@ const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => {MAILER_SUBJECTS_MAGIC_LINK: 'Your Magic Link',MAILER_TEMPLATES_INVITE: null,MAILER_TEMPLATES_INVITE_CONTENT:- '<h2>You have been invited</h2>\n\n<p>You have been invited to create a user on {{ .SiteURL }}. Follow this link to accept the invite:</p>\n<p><a href="{{ .ConfirmationURL }}">Accept the invite</a></p>',+ '<h2>You have been invited</h2>\n\n<p>You have been invited to create a user on {{ .SiteURL }}. Follow this link to accept the invite:</p>\n<p><a href="{{ .ConfirmationURL }}">Accept the invite</a></p>',MAILER_TEMPLATES_CONFIRMATION: null,MAILER_TEMPLATES_CONFIRMATION_CONTENT:- '<h2>Confirm your email</h2>\n\n<p>Follow this link to confirm your email:</p>\n\n<p><a href="{{ .ConfirmationURL }}">Confirm your email address</a></p>',+ '<h2>Confirm your email</h2>\n\n<p>Follow this link to confirm your email:</p>\n\n<p><a href="{{ .ConfirmationURL }}">Confirm your email address</a></p>',MAILER_TEMPLATES_RECOVERY: null,MAILER_TEMPLATES_RECOVERY_CONTENT:- '<h2>Reset Password</h2>\n\n<p>Follow this link to reset the password for your user:</p>\n<p><a href="{{ .ConfirmationURL }}">Reset Password</a></p>',+ '<h2>Reset Password</h2>\n\n<p>Follow this link to reset the password for your user:</p>\n<p><a href="{{ .ConfirmationURL }}">Reset Password</a></p>',MAILER_TEMPLATES_EMAIL_CHANGE: null,MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT:- '<h2>Confirm Change of Email</h2>\n\n<p>Follow this link to confirm the update of your email from {{ .Email }} to {{ .NewEmail }}:</p>\n<p><a href="{{ .ConfirmationURL }}">Change Email</a></p>',+ '<h2>Confirm Change of Email</h2>\n\n<p>Follow this link to confirm the update of your email from {{ .Email }} to {{ .NewEmail }}:</p>\n<p><a href="{{ .ConfirmationURL }}">Change Email</a></p>',MAILER_TEMPLATES_MAGIC_LINK: null,MAILER_TEMPLATES_MAGIC_LINK_CONTENT:- '<h2>Magic Link</h2>\n\n<p>Follow this link to login:</p>\n<p><a href="{{ .ConfirmationURL }}">Log In</a></p>',+ '<h2>Magic Link</h2>\n\n<p>Follow this link to login:</p>\n<p><a href="{{ .ConfirmationURL }}">Log In</a></p>',PASSWORD_MIN_LENGTH: 6,SMTP_SENDER_NAME: null,SMS_AUTOCONFIRM: false,