Home / Type/ Provider Type — supabase Architecture

Provider Type — supabase Architecture

Architecture documentation for the Provider type/interface in AuthProvidersForm.types.ts from the supabase codebase.

Entity Profile

Source Code

apps/studio/components/interfaces/Auth/AuthProvidersForm/AuthProvidersForm.types.ts lines 7–40

export interface Provider {
  $schema: string
  type: 'object'
  title: string
  link: string
  properties: {
    [x: string]: {
      title: string
      type: 'boolean' | 'string' | 'select' | 'number'
      enum: Enum[]
      show: {
        key: string
        matches: string
      }
      description?: string
      descriptionOptional?: string
      units?: string
      isSecret?: boolean
      isPaid?: boolean
      link?: string
    }
  }
  validationSchema: any // todo: use Yup type
  misc: {
    iconKey: 'gitlab-icon'
    hasLightIcon: boolean
    requiresRedirect: true
    helper: string
    alert: {
      title: string
      description: string
    }
  }
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free