RLSCodeEditorProps Type — supabase Architecture
Architecture documentation for the RLSCodeEditorProps type/interface in RLSCodeEditor.tsx from the supabase codebase.
Entity Profile
Source Code
apps/studio/components/interfaces/Auth/Policies/PolicyEditorPanel/RLSCodeEditor.tsx lines 14–31
interface RLSCodeEditorProps {
id: string
defaultValue?: string
onInputChange?: (value?: string) => void
wrapperClassName?: string
className?: string
value?: string
placeholder?: string
readOnly?: boolean
disableTabToUsePlaceholder?: boolean
lineNumberStart?: number
onChange?: () => void
onMount?: () => void
editorRef: MutableRefObject<editor.IStandaloneCodeEditor | null>
monacoRef?: MutableRefObject<Monaco>
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free