PolicyEditorModalProps Type — supabase Architecture
Architecture documentation for the PolicyEditorModalProps type/interface in index.tsx from the supabase codebase.
Entity Profile
Source Code
apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/index.tsx lines 29–39
interface PolicyEditorModalProps {
visible?: boolean
schema?: string
table?: string
selectedPolicyToEdit: any
showAssistantPreview?: boolean
onSelectCancel: () => void
onCreatePolicy: (payload: PostgresPolicyCreatePayload) => Promise<boolean>
onUpdatePolicy: (payload: PostgresPolicyUpdatePayload) => Promise<boolean>
onSaveSuccess: () => void
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free