多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

249 lines
5.1 KiB

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',
}