Files
nocodb/packages/nc-gui/lib/enums.ts
Ramesh Mane 2a2a4c9cf0 Nc fix/integration bug fixes (#9150)
* fix(nc-gui): always show edit connection tab on clicking data source

* fix(nc-gui): show deleted workspace user info in connection list

* fix(nc-gui): show tooltip on hover deleted user details

* fix(nc-gui): some review changes

* fix(nc-gui): sync modal cleanup

* fix: supported docs label

* fix(nc-gui): pg icon issue in data source list

* fix(nc-gui): new integration page ui changes

* fix(nc-gui): handle upvote

* fix(nc-gui): add integration category icons

* fix(nc-gui): add request new integration in other category

* fix(nc-gui): focus request integration input on open

* fix(nc-gui): integration tab left spacing issue

* fix(nc-gui): integration tab list center aligned

* misc: minor changes

* fix(nc-gui): user should able to upvote on cliking tiles

* fix(nc-gui): add remaining integrations

* fix(nc-gui): add missing integration icons

* fix(nc-gui): trigger test connection on adding new connection from create source

* fix(nc-gui): integration list modal ui changes

* fix(nc-gui): remove integration type badge border

* fix(nc-gui): show colored integration icon on hover

* fix(nc-gui): integration upvote btn shadow issue

* fix(nc-gui): some pr review changes

* fix(nc-gui): move logic part in script

* chore(nc-gui): lint

---------

Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>
2024-08-07 14:53:23 +05:30

250 lines
5.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export { ClientType } from 'nocodb-sdk'
export enum Language {
ar = 'العربية',
bn_IN = 'বাংলা',
cs = 'Czech',
da = 'Dansk',
de = 'Deutsch',
en = 'English',
es = 'Español',
eu = 'Basque',
fa = 'فارسی',
fi = 'Suomalainen',
fr = 'Français',
he = 'עִברִית',
hi = 'हिन्दी',
hr = 'Hrvatski',
hu = 'Magyar',
id = 'Bahasa Indonesia',
it = 'Italiano',
ja = '日本語',
ko = '한국어',
lv = 'Latviešu',
nl = 'Nederlandse',
no = 'Norsk',
pl = 'Polski',
pt = 'Português',
pt_BR = 'Português (Brasil)',
ru = 'Pусский',
sk = 'Slovenčina',
sl = 'Slovenščina',
sv = 'Svenska',
th = 'ไทย',
tr = 'Türk',
uk = 'Українська',
vi = 'Tiếng Việt',
'zh-Hans' = '简体中文',
'zh-Hant' = '繁體中文',
}
export enum LanguageAlias {
zn_CN = 'zh-Hans',
zh_TW = 'zh-Hant',
}
export enum NavigateDir {
NEXT,
PREV,
}
export enum LockType {
Personal = 'personal',
Locked = 'locked',
Collaborative = 'collaborative',
}
export enum TabType {
TABLE = 'table',
VIEW = 'view',
AUTH = 'auth',
SQL = 'sql',
ERD = 'erd',
DOCUMENT = 'doc',
LAYOUT = 'layout',
DB = 'db',
}
export enum SmartsheetStoreEvents {
SORT_RELOAD = 'sort-reload',
FILTER_RELOAD = 'filter-reload',
GROUP_BY_RELOAD = 'group-by-reload',
DATA_RELOAD = 'data-reload',
FIELD_RELOAD = 'field-reload',
FIELD_ADD = 'field-add',
MAPPED_BY_COLUMN_CHANGE = 'mapped-by-column-change',
CLEAR_NEW_ROW = 'clear-new-row',
GROUP_BY_ADD = 'group-by-add',
GROUP_BY_REMOVE = 'group-by-remove',
FILTER_ADD = 'filter-add',
}
export enum DataSourcesSubTab {
New = 'New',
Metadata = 'Metadata',
ERD = 'ERD',
UIAcl = 'UI ACL',
Audit = 'Audit',
Misc = 'Misc',
Edit = 'Edit',
}
export enum AutomationLogLevel {
OFF = 'OFF',
ERROR = 'ERROR',
ALL = 'ALL',
}
export enum JobStatus {
COMPLETED = 'completed',
WAITING = 'waiting',
ACTIVE = 'active',
DELAYED = 'delayed',
FAILED = 'failed',
PAUSED = 'paused',
REFRESH = 'refresh',
}
export enum ImportWorkerOperations {
PROCESS = 'process',
SET_TABLES = 'setTables',
SET_CONFIG = 'setConfig',
GET_SINGLE_SELECT_OPTIONS = 'getSingleSelectOptions',
GET_MULTI_SELECT_OPTIONS = 'getMultiSelectOptions',
INIT_SDK = 'initSDK',
}
export enum ImportWorkerResponse {
PROCESSED_DATA = 'processedData',
PROGRESS = 'progress',
SINGLE_SELECT_OPTIONS = 'singleSelectOptions',
MULTI_SELECT_OPTIONS = 'multiSelectOptions',
ERROR = 'error',
}
export enum ImportType {
EXCEL = 'excel',
CSV = 'csv',
JSON = 'json',
}
export enum ImportSource {
FILE = 'file',
URL = 'url',
STRING = 'string',
}
export enum PreFilledMode {
Default = 'default',
Hidden = 'hidden',
Locked = 'locked',
}
export enum RichTextBubbleMenuOptions {
bold = 'bold',
italic = 'italic',
underline = 'underline',
strike = 'strike',
code = 'code',
quote = 'quote',
heading1 = 'heading1',
heading2 = 'heading2',
heading3 = 'heading3',
blockQuote = 'blockQuote',
bulletList = 'bulletList',
numberedList = 'numberedList',
taskList = 'taskList',
link = 'link',
}
export enum CoverImageObjectFit {
FIT = 'fit',
COVER = 'cover',
}
export enum AuditLogsDateRange {
Last24H = 'last24H',
PastWeek = 'pastWeek',
PastMonth = 'pastMonth',
PastYear = 'pastYear',
Custom = 'custom',
}
export enum ExtensionsEvents {
DUPLICATE = 'duplicate',
}
export enum IntegrationStoreEvents {
INTEGRATION_ADD = 'integration-add',
}
// Move this to nocodb-sdk
export enum SyncDataType {
// Database
SNOWFLAKE = 'snowflake',
MICROSOFT_ACCESS = 'microsoft-access',
TABLEAU = 'tableau',
ORACLE = 'oracle',
// Communication
SLACK = 'slack',
DISCORD = 'discord',
TWILLO = 'twillo',
MICROSOFT_OUTLOOK = 'microsoft-outlook',
MICROSOFT_TEAMS = 'microsoft-teams',
TELEGRAM = 'telegram',
GMAIL = 'gmail',
WHATSAPP = 'whatsapp',
// Project Management
ASANA = 'asana',
JIRA = 'jira',
MIRO = 'miro',
TRELLO = 'trello',
// CRM
SALESFORCE = 'salesforce',
PIPEDRIVE = 'pipedrive',
MICROSOFT_DYNAMICS_365 = 'microsoft-dynamics-365',
ZOHO_CRM = 'zoho-crm',
// Marketing
HUBSPOT = 'hubspot',
MAILCHIMP = 'mailchimp',
SURVEYMONKEY = 'surveymonkey',
TYPEFORM = 'typeform',
// ATS
WORKDAY = 'workday',
GREENHOUSE = 'greenhouse',
LEVER = 'lever',
// Development
GITHUB = 'github',
GITLAB = 'gitlab',
BITBUCKET = 'bitbucket',
// Finance
STRIPE = 'stripe',
QUICKBOOKS = 'quickbooks',
// Ticketing
INTERCOM = 'intercom',
ZENDESK = 'zendesk',
// Storage
BOX = 'box',
GOOGLE_DRIVE = 'google-drive',
DROPBOX = 'dropbox',
// Others
APPLE_NUMBERS = 'apple-numbers',
GOOGLE_CALENDAR = 'google-calendar',
MICROSOFT_EXCEL = 'microsoft-excel',
GOOGLE_SHEETS = 'google-sheets',
}
export enum IntegrationCategoryType {
DATABASE = 'database',
COMMUNICATION = 'communication',
PROJECT_MANAGEMENT = 'project-management',
CRM = 'crm',
MARKETING = 'marketing',
ATS = 'ats',
DEVELOPMENT = 'development',
FINANCE = 'finance',
TICKETING = 'ticketing',
STORAGE = 'storage',
OTHERS = 'others',
}