MCPcopy Create free account
hub / github.com/apitable/apitable / getCustomConfig

Function getCustomConfig

packages/core/src/config/env.ts:30–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28declare let window: any;
29
30export function getCustomConfig() {
31 // There is a bug here. Import IDENTIFY_CODE_LOGIN cannot be used.
32 return typeof window === 'object' && window.__initialization_data__.envVars || {
33 LOGIN_DEFAULT_VERIFY_TYPE: 'identify_code_login',
34 VIEW_NAME_MAX_COUNT: process.env.VIEW_NAME_MAX_COUNT || 30
35 };
36}

Callers 13

loadOrSearchEmbedFunction · 0.90
fetchMarketplaceAppsFunction · 0.90
getImageThumbSrcFunction · 0.90
executeFunction · 0.90
modify_view.tsFile · 0.90
getMaxViewCountPerSheetFunction · 0.90
getRecordChunkSizeFunction · 0.90
getMaxFieldCountPerSheetFunction · 0.90
InviteOutsiderTabsFunction · 0.90
AccountCenterModalFunction · 0.90
getCurrentGUIInfoFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected