mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 11:55:05 +03:00
* Rename the regular/normal queues to basic. * Move the partitioned type of queues to the end. * Add metrics for the queues. * Add actions for postponing and deleting a message. * Add queue actions for purging and deleting a queue. * Minor fixes for the empty stateof the queues page. * Add a modal to send a message to the queue. * Minor fixes. * Correct some button texts. * Refactor the metrics to switch to a rougher estimate method if it timeouts. * Fix type errors. * More minor fixes.
24 lines
688 B
TypeScript
24 lines
688 B
TypeScript
import { Rows2, Rows3, Rows4 } from 'lucide-react'
|
|
|
|
export const QUEUE_TYPES = [
|
|
{
|
|
value: 'basic',
|
|
icon: <Rows4 strokeWidth={1} />,
|
|
label: 'Basic queue',
|
|
description: 'Create a basic queue.',
|
|
},
|
|
{
|
|
value: 'unlogged',
|
|
icon: <Rows2 strokeWidth={1} />,
|
|
label: 'Unlogged queue',
|
|
description:
|
|
'Creates an unlogged queue which loses all data on database restart. Can be useful when write throughput is more important than durability.',
|
|
},
|
|
{
|
|
value: 'partitioned',
|
|
icon: <Rows3 strokeWidth={1} />,
|
|
label: 'Partitioned queue',
|
|
description: 'Create a partitioned queue which is optimized for large amount of messages',
|
|
},
|
|
] as const
|