Files
Bram eec12c997d All workspaces homepage [3/7] List all workspaces in the all workspaces page (#5992)
* List all workspaces in the all workspaces page

* Undo/redo support

* Fixed feedback
2026-09-24 10:37:21 +02:00

53 lines
886 B
JavaScript

// List of values considered as true.
// Compatible with backend/src/baserow/contrib/database/fields/constants.py
export const trueValues = [
't',
'T',
'y',
'Y',
'yes',
'Yes',
'YES',
'true',
'True',
'TRUE',
'o', // This one is not on the backend but was on the frontend
'on',
'On',
'ON',
'1',
1,
'checked',
true,
]
// List of values considered as false.
// Compatible with backend/src/baserow/contrib/database/fields/constants.py
export const falseValues = [
'f',
'F',
'n',
'N',
'no',
'No',
'NO',
'false',
'False',
'FALSE',
'off',
'Off',
'OFF',
'0',
0,
0.0,
'unchecked',
false,
]
// Which sidebar the `app` layout renders, chosen by a page through
// `definePageMeta({ sidebarType })`. Defaults to the workspace one.
export const SIDEBAR_TYPES = {
WORKSPACE: 'workspace',
ALL_WORKSPACES: 'all-workspaces',
}