MCPcopy Create free account

hub / github.com/CancerGary/lark-url-preview-public-next / functions

Functions137 in github.com/CancerGary/lark-url-preview-public-next

↓ 29 callersFunctionitTplResult
( tpl: string, expectResult: string, currentTimeOverride: dayjs.Dayjs, expectedEventReportKeys?: (keyo
pages/api/_lib/hbs-engine/hbs.test.ts:44
↓ 26 callersFunctionhandleUrl
(info: HandleUrlInfo)
pages/api/_handler/index.ts:24
↓ 16 callersFunctionassertTpl
({ tpl, expectResult, currentTimeOverride = dayjs(), expectedEventReportKeys, unexpectedEventReportK
pages/api/_lib/hbs-engine/hbs.test.ts:10
↓ 12 callersFunctionprocessHandlebars
({ templateText, fullName = "LarkUser", defaultTimezone = DEFAULT_TIMEZONE, currentTimeOverride, sen
pages/api/_lib/hbs-engine/process-handlebars.ts:122
↓ 9 callersFunctiongetLarkUserLastName
(name: string)
pages/api/_lib/data-source/name/name-parser.ts:28
↓ 8 callersFunctiongetLarkUserShorterName
(name: string)
pages/api/_lib/data-source/name/name-parser.ts:1
↓ 5 callersFunctionextractCurrentDayjs
(options: any)
pages/api/_lib/hbs-engine/utils.ts:15
↓ 5 callersFunctionextractTimezoneFromHbsOptions
(options: any)
pages/api/_lib/hbs-engine/utils.ts:4
↓ 5 callersFunctionhelperReportWrapper
( originalHelper: Function, reportCallback: Function, )
pages/api/_lib/data-source/abstract/index.ts:49
↓ 4 callersFunctionbuildImgKeyUrl
(imgKey: string)
lib/utils.ts:4
↓ 4 callersFunctiongetText
(k: SelectedImg)
lib/App.tsx:782
↓ 4 callersFunctionsendEvent
({ name, params, }: { uid?: string; name: T; params: EventMap[T]; })
lib/tea.ts:27
↓ 4 callersFunctionsentryReportError
( exception: any, captureContext?: { extra: Record<string, unknown> }, )
pages/api/_lib/report.ts:11
↓ 4 callersFunctionsetActiveKey
(value?: TabType, newEnabledTabs?: TabType[])
lib/App.tsx:819
↓ 4 callersFunctionsetInputLinkText
(v: string)
lib/App.tsx:728
↓ 3 callersFunctionbuildCustomPreviewUrl
({ imgKey, text, url, bioExpand, useTestDomain, }: { imgKey: string; text: string; url: string
lib/utils.ts:10
↓ 3 callersFunctioncheckFilter
(filter: string, text: string)
lib/App.tsx:214
↓ 3 callersFunctioncreateDataSource
()
lib/App.tsx:514
↓ 3 callersFunctiondecode62
(s: string)
pages/api/_lib/common/base62.ts:5
↓ 3 callersFunctionextractNameInfo
(options: any)
pages/api/_lib/data-source/name/helpers.ts:5
↓ 3 callersFunctionextractTimeFromHash
(options: any)
pages/api/_lib/data-source/holiday/index.ts:33
↓ 3 callersFunctiongetServerSideProps
(context)
pages/index.tsx:25
↓ 3 callersFunctiongetUrl
()
lib/App.tsx:786
↓ 3 callersFunctionsendEvent
({ uid, name, params, }: { uid?: string; name: T; params: EventMap[T]; })
pages/api/_lib/tea.ts:82
↓ 3 callersFunctionsetMode
(value: EditMode)
lib/App.tsx:826
↓ 2 callersFunctionbuildCacheKey
(prefix: string, key: string)
pages/api/_handler/storage.ts:4
↓ 2 callersFunctioncreateEventReport
()
pages/api/_lib/hbs-engine/event-report.ts:10
↓ 2 callersFunctionencode62
(s: string)
pages/api/_lib/common/base62.ts:9
↓ 2 callersMethodexecuteTask
({ hbsAsyncTasks, senderInfo, }: { hbsAsyncTasks: HbsAsyncTask[]; senderInfo: Partial<UserIn
pages/api/_lib/data-source/name/index.ts:11
↓ 2 callersFunctionextractAsyncTask
({ templateText, dataSources = [], }: { templateText: string; dataSources?: DataSource[]; })
pages/api/_lib/hbs-engine/process-handlebars.ts:91
↓ 2 callersFunctionextractHostnameForReport
(url?: string | null)
pages/api/_lib/util.ts:4
↓ 2 callersFunctionextractTimeFromUrlObj
(urlObj: URL)
pages/api/_lib/util.ts:14
↓ 2 callersFunctiongetEnableTabs
({ isEventSpecial, mode, }: { isEventSpecial: boolean; mode: EditMode; })
lib/App.tsx:492
↓ 2 callersMethodgetHelpers
()
pages/api/_lib/data-source/name/sync.ts:30
↓ 2 callersFunctiongetNextHoliday
(dj: dayjs.Dayjs)
pages/api/_lib/data-source/holiday/index.ts:24
↓ 2 callersMethodhandle
(node: hbs.AST.SubExpression | hbs.AST.MustacheStatement)
pages/api/_lib/hbs-engine/process-handlebars.ts:44
↓ 2 callersFunctionhelpersReportWrapper
( helpers: WrappedHelpers, reportCallback: Function, )
pages/api/_lib/data-source/abstract/index.ts:60
↓ 2 callersFunctionisHoliday
(dj: dayjs.Dayjs)
pages/api/_lib/data-source/holiday/index.ts:9
↓ 2 callersFunctionisSubExpression
( node: hbs.AST.Node, )
pages/api/_lib/hbs-engine/hbs-assert.ts:36
↓ 2 callersFunctionpullLangToFirst
( lang: string, originArray: T[], )
lib/App.tsx:517
↓ 2 callersFunctionupdateName
(val: string)
pages/api/_handler/custom-preview.ts:99
↓ 1 callersFunctionbuildDataSources
( rawText: string, senderUserUnionId: string | undefined, currentTimeOverride: dayjs.Dayjs, )
pages/api/_handler/custom-preview.ts:20
↓ 1 callersFunctioncheckImageWithImgTag
(url: string)
lib/App.tsx:1582
↓ 1 callersMethoddecrypt
(encrypt: string)
pages/api/handler.ts:23
↓ 1 callersFunctionenableCors
(res: NextApiResponse)
pages/api/presets-data.tsx:5
↓ 1 callersMethodgetDefaultData
()
pages/api/_lib/data-source/name/sync.ts:47
↓ 1 callersFunctiongetHostname
(context: GetServerSidePropsContext)
pages/index.tsx:12
↓ 1 callersFunctiongetImageCollection
()
lib/App.tsx:192
↓ 1 callersMethodgetRawHelpers
()
pages/api/_lib/data-source/name/sync.ts:22
↓ 1 callersMethodgetReport
()
pages/api/_lib/data-source/name/sync.ts:57
↓ 1 callersFunctionhandle
(encrypt: string)
pages/api/handler.ts:40
↓ 1 callersFunctionhandleCustomLinkFromParams
(info: HandleInfoWithObj)
pages/api/_handler/custom-preview.ts:55
↓ 1 callersFunctionhandleSiteUrl
(info: HandleInfoWithObj)
pages/api/_handler/index.ts:33
↓ 1 callersFunctioninit
()
pages/api/_lib/report.ts:5
↓ 1 callersFunctioninitRedis
()
pages/api/_lib/redis.ts:15
↓ 1 callersMethodinjectHbsRoot
()
pages/api/_lib/data-source/name/sync.ts:51
↓ 1 callersFunctionisMustacheStatement
( node: hbs.AST.Node, )
pages/api/_lib/hbs-engine/hbs-assert.ts:6
↓ 1 callersFunctionisNumberLiteral
( node: hbs.AST.Node, )
pages/api/_lib/hbs-engine/hbs-assert.ts:56
↓ 1 callersFunctionisPathExpression
( node: hbs.AST.Node, )
pages/api/_lib/hbs-engine/hbs-assert.ts:41
↓ 1 callersFunctionisStringLiteral
( node: hbs.AST.Node, )
pages/api/_lib/hbs-engine/hbs-assert.ts:46
↓ 1 callersFunctionprocessUrlHbs
({ rawUrlParams, defaultTimezone, currentTimeOverride, }: { rawUrlParams: string; defaultTimezone?:
pages/api/_lib/render-redirect-url.ts:12
↓ 1 callersFunctionrdsDisconnect
()
pages/api/_lib/redis.ts:80
↓ 1 callersFunctionrdsGet
(key: string)
pages/api/_lib/redis.ts:45
↓ 1 callersFunctionrdsSet
( key: string, value: string, expireSecond?: number, )
pages/api/_lib/redis.ts:30
↓ 1 callersFunctionrenderRedirectUrl
( rawUrlParams: string | string[] | undefined, )
pages/api/_lib/render-redirect-url.ts:48
↓ 1 callersFunctionshowImportModal
()
lib/App.tsx:940
↓ 1 callersFunctionsleep
(ms: number)
pages/api/_lib/data-source/abstract/simple-helper.ts:157
↓ 1 callersFunctionwithRedisCache
( prefix: string, fn: (param: P) => Promise<T>, expireSecond?: number | (() => number), buildKey?: (pa
pages/api/_handler/storage.ts:8
FunctionApp
()
lib/App.tsx:1680
FunctionCard
({ onCopy, nickName, avatarUrl, links, debugInfo, isDark, requirePermission, showNotice, has
lib/Card/index.tsx:146
FunctionDatePickerBottomSlot
()
lib/App.tsx:942
FunctionGroupHeader
({ onClick, suffix, title, kjrSpecial, redClickable, clickable, }: { redClickable?: boolean; c
lib/App.tsx:278
FunctionHome
()
pages/index.tsx:6
FunctionHome
()
pages/editor/index.tsx:5
FunctionIconGroup
({ inputImgFilter, groupMatched, group, displayImgDescription, isDarkMode, onLinkClick, }: { inp
lib/App.tsx:223
FunctionImportDialog
({ visible, setInputValue, setVisible, userName, currentTime, isDark, }: { visible: boolean; s
lib/App.tsx:529
FunctionLink
({ href, iconHref, text, onClick, isDark, iconSvg, }: LinkProps)
lib/Card/index.tsx:87
FunctionMain
({ isKjrSpecial = false, isEventSpecial = false, eventSpecialName, lang, }: { isKjrSpecial?: boolean
lib/App.tsx:688
MethodMustacheStatement
(mustache: hbs.AST.MustacheStatement)
pages/api/_lib/hbs-engine/process-handlebars.ts:78
FunctionMyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:8
FunctionNewComponent
({ lang }: { lang: string })
lib/App.tsx:1591
FunctionScrollGroup
({ imgGroupData, inputImgFilter, inputImgFilterMatchGroupName, isKjrSpecial, hasFallback, displayI
lib/App.tsx:319
FunctionScrollTextGroup
({ textGroupData, inputImgFilter, inputImgFilterMatchGroupName, isKjrSpecial, hasFallback, display
lib/App.tsx:410
MethodSubExpression
(sexpr: hbs.AST.SubExpression)
pages/api/_lib/hbs-engine/process-handlebars.ts:74
Functionconstructor
(defaultData?: D)
pages/api/_lib/data-source/abstract/index.ts:12
Methodconstructor
(key: string)
pages/api/handler.ts:18
Methodconstructor
(tasks: string[])
pages/api/_lib/hbs-engine/process-handlebars.ts:38
FunctionconvertTextToData
(text: string)
lib/App.tsx:109
FunctionexecuteSingleHelperTask
( dsSelf: DataSourceSimpleHelper<Params, R>, { hbsAsyncTasks, senderInfo, currentTimeOverride,
pages/api/_lib/data-source/abstract/simple-helper.ts:107
MethodexecuteTask
()
pages/api/_lib/data-source/holiday/index.ts:90
FunctionextractIndexFromHbsOptions
(options: any)
pages/api/_lib/hbs-engine/utils.ts:10
FunctiongetDefaultData
()
pages/api/_lib/data-source/abstract/simple-helper.ts:31
MethodgetDefaultData
()
pages/api/_lib/data-source/holiday/index.ts:77
FunctiongetHelpers
()
pages/api/_lib/data-source/abstract/index.ts:19
FunctiongetHelpersKey
()
pages/api/_lib/data-source/abstract/index.ts:23
FunctiongetInjectName
()
pages/api/_lib/data-source/abstract/simple-helper.ts:62
FunctiongetRawHelpers
()
pages/api/_lib/data-source/abstract/simple-helper.ts:38
MethodgetRawHelpers
()
pages/api/_lib/data-source/holiday/index.ts:73
FunctiongetReport
()
pages/api/_lib/data-source/abstract/index.ts:28
FunctionhandleVisibilityChange
()
lib/App.tsx:1608
next →1–100 of 137, ranked by callers