Home / Type/ TableOption Type — supabase Architecture

TableOption Type — supabase Architecture

Architecture documentation for the TableOption type/interface in Wrappers.types.ts from the supabase codebase.

Entity Profile

Source Code

apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.types.ts lines 39–60

export type TableOption =
  | {
      name: string
      defaultValue?: string
      editable: boolean
      required: boolean
      label?: string
      placeholder?: string
      type: 'text'
    }
  | {
      name: string
      defaultValue?: string
      editable: boolean
      required: boolean
      label?: string
      type: 'select'
      options: {
        label: string
        value: string
      }[]
    }

Analyze Your Own Codebase

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

Try Supermodel Free