formatQueueColumns() — supabase Function Reference
Architecture documentation for the formatQueueColumns() function in Queues.utils.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 607a83f1_8836_166e_0622_61df1deeda8f["formatQueueColumns()"] 61ab0cd5_c207_d402_6414_4155d52489e2["QueuesTab()"] 61ab0cd5_c207_d402_6414_4155d52489e2 -->|calls| 607a83f1_8836_166e_0622_61df1deeda8f style 607a83f1_8836_166e_0622_61df1deeda8f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/Integrations/Queues/Queues.utils.tsx lines 15–103
export const formatQueueColumns = (): Column<QueueWithMetrics>[] => {
return [
{
key: 'queue_name',
name: 'Name',
resizable: true,
minWidth: 200,
headerCellClass: undefined,
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full ml-8')}>
<p className="!text-foreground">Name</p>
</div>
)
},
renderCell: (props) => {
return <QueueNameCell queue={props.row} />
},
},
{
key: 'type',
name: 'Type',
resizable: true,
minWidth: 120,
headerCellClass: undefined,
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full')}>
<p className="!text-foreground">Type</p>
</div>
)
},
renderCell: (props) => {
return <QueueTypeCell queue={props.row} />
},
},
{
key: 'rls_enabled',
name: 'RLS enabled',
resizable: true,
minWidth: 120,
headerCellClass: undefined,
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full')}>
<p className="!text-foreground">RLS enabled</p>
</div>
)
},
renderCell: (props) => {
return <QueueRLSCell queue={props.row} />
},
},
{
key: 'created_at',
name: 'Created at',
resizable: true,
minWidth: 180,
headerCellClass: undefined,
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full')}>
<p className="!text-foreground">Created at</p>
</div>
)
},
renderCell: (props) => {
return <QueueCreatedAtCell queue={props.row} />
},
},
{
key: 'queue_size',
name: 'Size',
resizable: true,
minWidth: 120,
headerCellClass: undefined,
renderHeaderCell: () => {
return (
<div className={cn('flex items-center justify-between font-normal text-xs w-full')}>
<p className="!text-foreground">Size</p>
</div>
)
},
renderCell: (props) => {
return <QueueSizeCell queue={props.row} />
},
},
]
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does formatQueueColumns() do?
formatQueueColumns() is a function in the supabase codebase.
What calls formatQueueColumns()?
formatQueueColumns() is called by 1 function(s): QueuesTab.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free