mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 14:19:11 +03:00
18 lines
544 B
TypeScript
18 lines
544 B
TypeScript
import PQueue from 'p-queue';
|
|
|
|
export const SupabaseGridQueue = new PQueue({ concurrency: 1 });
|
|
|
|
export const COLUMN_MIN_WIDTH = 100;
|
|
|
|
export const STORAGE_KEY_PREFIX = 'supabase_grid';
|
|
|
|
export const REFRESH_PAGE_IMMEDIATELY = -1;
|
|
export const TOTAL_ROWS_INITIAL = -1;
|
|
export const TOTAL_ROWS_RESET = -2;
|
|
|
|
export const SELECT_COLUMN_KEY = 'supabase-grid-select-row';
|
|
export const ADD_COLUMN_KEY = 'supabase-grid-add-column';
|
|
|
|
export const ERROR_PRIMARY_KEY_NOTFOUND =
|
|
'Please add a primary key column to your table to update or delete rows';
|