The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Pull master and resolve conflicts
Joshen Lima74f0a9ec749
diff --cc studio/components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.types.tsindex 848cb29b8de,848cb29b8de..1aef61b6539--- a/studio/components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.types.ts+++ b/studio/components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.types.ts@@@ -14,6 -14,6 +14,7 @@@ export interface Providertype: 'boolean' | 'string' | 'select' | 'number'description?: stringdescriptionOptional?: string++ units?: stringenum: Enum[]show: {key: stringdiff --cc studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsxindex 790936be139,37f8a59dcb9..bc9db760c88--- a/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx+++ b/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx@@@ -148,22 -148,20 +148,29 @@@ const ProviderForm: FC<Props> = ({ provkey={x}name={x}label={properties.title}- descriptionText={- properties.description ? (++ labelOptional={++ properties.descriptionOptional ? (+ <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.description}++ {properties.descriptionOptional}+ </ReactMarkdown>+ ) : null+ }- labelOptional={- properties.descriptionOptional ? (+ descriptionText={+ properties.description ? (<ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.descriptionOptional}+ {properties.description}</ReactMarkdown>) : null}+ actions={+ <span className="text-scale-900 mr-3">- {properties.descriptionOptional ? (++ {properties.units ? (+ <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.descriptionOptional}++ {properties.units}+ </ReactMarkdown>+ ) : null}+ </span>+ }/>)@@@ -176,22 -174,20 +183,29 @@@key={x}name={x}label={properties.title}- descriptionText={- properties.description ? (++ labelOptional={++ properties.descriptionOptional ? (+ <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.description}++ {properties.descriptionOptional}+ </ReactMarkdown>+ ) : null+ }- labelOptional={- properties.descriptionOptional ? (+ descriptionText={+ properties.description ? (<ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.descriptionOptional}+ {properties.description}</ReactMarkdown>) : null}+ actions={+ <span className="text-scale-900 mr-3">- {properties.descriptionOptional ? (++ {properties.units ? (+ <ReactMarkdown unwrapDisallowed disallowedElements={['p']}>- {properties.descriptionOptional}++ {properties.units}+ </ReactMarkdown>+ ) : null}+ </span>+ }/>)diff --cc studio/components/interfaces/Auth/AutoSchemaForm.tsxindex 80b34a3c793,0e8d2addf93..d93412c1d28--- a/studio/components/interfaces/Auth/AutoSchemaForm.tsx+++ b/studio/components/interfaces/Auth/AutoSchemaForm.tsx@@@ -124,16 -124,16 +124,16 @@@ const AutoSchemaForm = observer(() =>id="JWT_EXP"size="small"label="JWT expiry limit"- labelOptional="In seconds"descriptionText="How long tokens are valid for. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week)."- actions={<span className="text-scale-900 mr-3">In seconds</span>}++ actions={<span className="text-scale-900 mr-3">seconds</span>}/><InputNumberid="SECURITY_REFRESH_TOKEN_REUSE_INTERVAL"size="small"min={0}label="Reuse Interval"- labelOptional="In seconds"descriptionText="Time interval where the same refresh token can be used to request for an access token."- actions={<span className="text-scale-900 mr-3">In seconds</span>}++ actions={<span className="text-scale-900 mr-3">seconds</span>}/></FormSectionContent></FormSection>diff --cc studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsxindex 9ef496ee1df,9ef496ee1df..28f801d5e56--- a/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx+++ b/studio/stores/authConfig/schema/AuthProviders/AuthProvidersFormValidation.tsx@@@ -28,7 -28,7 +28,7 @@@ const PROVIDER_EMAIL =title: 'Mailer OTP Expiration',type: 'number',description: 'Duration before an email otp / link expires.',-- descriptionOptional: 'In seconds',++ units: 'seconds',},PASSWORD_MIN_LENGTH: {title: 'Min password length',@@@ -174,13 -174,13 +174,13 @@@ const PROVIDER_PHONE =title: 'SMS OTP Expiry',type: 'number',description: 'Duration before an SMS OTP expires',-- descriptionOptional: 'In seconds',++ units: 'seconds',},SMS_OTP_LENGTH: {title: 'SMS OTP Length',type: 'number',description: 'Number of digits in OTP',-- descriptionOptional: 'In seconds',++ units: 'seconds',},SMS_TEMPLATE: {title: 'SMS Message',