Files
supabase/apps/studio/components/interfaces/Integrations/Queues/Queues.constants.tsx
Ivan Vasilov 54d11a6a7f feat: Queues v0 (#30300)
* Make the title prop on ProjectIntegrationLayout mandatory. Fix the title on some of the integration pages. Fix wrong layout on wrappers/new.

* Add code for the initial page.

* Make the FilterPopover more type-safe.

* Add a page to list message in a single queue.

* Add feature flag for queues.

* Handle the case where pgmq is not available on the database.

* Minor fixes.

* Some minor fixes.

* Fix the query when fetching only archived messages.

* Fix the filters when there's no choices selected.

* Add a comment for local dev.

* Add a max size to the queue name input.
2024-11-08 13:06:05 +01:00

24 lines
615 B
TypeScript

import { Rows2, Rows3, Rows4 } from 'lucide-react'
export const QUEUE_TYPES = [
{
value: 'normal',
icon: <Rows4 strokeWidth={1} />,
label: 'Normal queue',
description: 'Create a normal queue.',
},
{
value: 'partitioned',
icon: <Rows3 strokeWidth={1} />,
label: 'Partitioned queue',
description: 'Create a partitioned queue which is optimized for large amount of messages',
},
{
value: 'unlogged',
icon: <Rows2 strokeWidth={1} />,
label: 'Unlogged queue',
description: 'Creates an unlogged queue which loses all data on database restart.',
},
] as const