PolicyTemplate Type — supabase Architecture
Architecture documentation for the PolicyTemplate type/interface in PolicyTemplates.constants.ts from the supabase codebase.
Entity Profile
Source Code
apps/studio/components/interfaces/Auth/Policies/PolicyTemplates/PolicyTemplates.constants.ts lines 1–12
export interface PolicyTemplate {
id: string
preview: boolean
templateName: string
description: string
name: string
statement: string
definition: string
check: string
command: 'SELECT' | 'INSERT' | 'UPDATE' | 'DELETE' | 'ALL'
roles: string[]
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free