MCPcopy Create free account

hub / github.com/linkwarden/linkwarden / functions

Functions738 in github.com/linkwarden/linkwarden

↓ 41 callersFunctioncn
(...inputs: ClassValue[])
apps/web/lib/utils.ts:5
↓ 38 callersFunctionuseUser
(auth?: MobileAuth)
packages/router/user.tsx:11
↓ 27 callersFunctionformatAvailable
( link: Link | LinkIncludingShortenedCollectionAndTags, format: "image" | "pdf" | "readable" | "monolith"
packages/lib/formatStats.ts:4
↓ 26 callersFunctionverifyUser
({ req, res, }: Props)
apps/web/lib/api/verifyUser.ts:14
↓ 21 callersFunctionuseConfig
(auth?: MobileAuth)
packages/router/config.tsx:51
↓ 20 callersFunctionsetCollection
(e: any)
apps/web/components/ModalContent/NewLinkModal.tsx:48
↓ 20 callersFunctionuseCollections
(auth?: MobileAuth)
packages/router/collections.tsx:76
↓ 13 callersFunctioncreateFolder
({ filePath }: { filePath: string })
packages/filesystem/createFolder.ts:5
↓ 12 callersFunctionescapeForMeilisearch
(value: string)
apps/web/lib/api/searchQueryBuilder.ts:209
↓ 11 callersFunctionassertUrlIsSafeForServerSideFetch
( value: string, options?: { lookup?: HostnameLookup; allowPrivateNetworkAccess?: boolean; } )
packages/lib/ssrf.ts:306
↓ 11 callersFunctioncreateFile
({ filePath, data, isBase64 = false, }: { filePath: string; data: Buffer | string; isBase64?: bool
packages/filesystem/createFile.ts:6
↓ 11 callersFunctiongetPermission
({ userId, collectionId, linkId, }: Props)
apps/web/lib/api/getPermission.ts:9
↓ 10 callersFunctionremoveFile
({ filePath }: { filePath: string })
packages/filesystem/removeFile.ts:6
↓ 10 callersFunctionsignIn
({ user, account, profile, email, credentials })
apps/web/pages/api/v1/auth/[...nextauth].ts:1326
↓ 10 callersFunctionunescapeString
(input: string)
apps/web/lib/client/unescapeString.ts:1
↓ 10 callersFunctionuseLinks
(params: LinkRequestQuery = {}, auth?: MobileAuth)
packages/router/links.tsx:26
↓ 8 callersFunctionatLeastOneFormatAvailable
( link: Link | LinkIncludingShortenedCollectionAndTags )
packages/lib/formatStats.ts:11
↓ 8 callersFunctionhandler
( req: NextApiRequest, res: NextApiResponse )
apps/web/pages/api/v1/preserved/view.ts:89
↓ 8 callersFunctionsetCollection
({ userId, collectionId, collectionName, }: SetCollectionInput)
apps/web/lib/api/setCollection.ts:11
↓ 8 callersFunctionusePermissions
(collectionId: number)
apps/web/hooks/usePermissions.tsx:6
↓ 7 callersFunctiondelay
(sec: number)
packages/lib/utils.ts:13
↓ 7 callersFunctionhasPassedLimit
( userId: number, numberOfImports: number )
packages/lib/verifyCapacity.ts:8
↓ 7 callersFunctionimportFromHTMLFile
( userId: number, rawData: string )
apps/web/lib/api/controllers/migration/importFromHTMLFile.ts:8
↓ 7 callersFunctionmoveFile
(from: string, to: string)
packages/filesystem/moveFile.ts:6
↓ 7 callersFunctionremoveFiles
(linkId: number, collectionId: number)
packages/filesystem/manageFiles.ts:4
↓ 7 callersFunctionremoveFolder
({ filePath }: { filePath: string })
packages/filesystem/removeFolder.ts:40
↓ 7 callersFunctionstripeSDK
()
apps/web/lib/api/stripe/stripeSDK.ts:3
↓ 7 callersFunctionuseTags
(auth?: MobileAuth, options: UseTagsOptions = {})
packages/router/tags.tsx:165
↓ 6 callersFunctioncreateTestUser
()
apps/web/lib/api/controllers/migration/importFromHTMLFile.test.ts:39
↓ 6 callersFunctiongetColumnCount
()
apps/web/components/LinkViews/Links.tsx:62
↓ 6 callersFunctiongetPublicUserData
(id: number | string)
apps/web/lib/client/getPublicUserData.ts:3
↓ 6 callersFunctiongetToken
(userId: number)
apps/web/lib/api/controllers/tokens/getTokens.ts:3
↓ 6 callersFunctionisIpAddressBlockedForServerSideFetch
(address: string)
packages/lib/ssrf.ts:204
↓ 6 callersFunctionoklchVariableToHex
(variable: string)
apps/web/lib/client/oklchVariableToHex.ts:3
↓ 6 callersFunctionresolveAccessibleArchive
({ linkId, format, isPreview = false, userId, }: ResolveAccessibleArchiveParams)
apps/web/lib/api/archives/resolveAccessibleArchive.ts:47
↓ 6 callersFunctionsafeFetch
( input: string, options: SafeFetchOptions = {} )
packages/lib/safeFetch.ts:95
↓ 6 callersFunctionuseGetLink
({ id, isPublicRoute = false, auth, enabled = false, }: UseGetLinkParams)
packages/router/links.tsx:820
↓ 6 callersFunctionuseUpdateLink
({ auth, Alert, toast, t, }: { auth?: MobileAuth; Alert?: any; toast?: typeof toaster; t?: TFu
packages/router/links.tsx:551
↓ 6 callersFunctionuseUpdateUser
()
packages/router/user.tsx:57
↓ 6 callersFunctionverifyToken
({ req, }: Props)
apps/web/lib/api/verifyToken.ts:9
↓ 5 callersFunctioncreateMockResponse
()
apps/web/pages/api/v1/preserved/view.test.ts:16
↓ 5 callersFunctiongetSectionId
(section: DashboardSectionOption)
apps/web/components/DashboardLayoutDropdown.tsx:168
↓ 5 callersFunctiongetSingleValue
(value?: string | string[])
apps/web/pages/api/v1/preserved/view.ts:10
↓ 5 callersFunctiongetSuffixFromFormat
(format: number)
apps/web/lib/shared/getSuffixFromFormat.ts:3
↓ 5 callersFunctionisHostnameBlockedForServerSideFetch
(hostname: string)
packages/lib/ssrf.ts:193
↓ 5 callersFunctionisPWA
()
apps/web/lib/utils.ts:9
↓ 5 callersFunctionparseIPv4
(address: string)
packages/lib/ssrf.ts:98
↓ 5 callersFunctionpinLink
(link: LinkIncludingShortenedCollectionAndTags)
apps/web/lib/client/pinLink.ts:13
↓ 5 callersFunctionuseAddLink
({ auth, Alert, toast, t, }: { auth?: MobileAuth; Alert?: any; toast?: typeof toaster; t?: TFu
packages/router/links.tsx:383
↓ 5 callersFunctionuseDeleteLink
({ auth, Alert, toast, t, }: { auth?: MobileAuth; Alert?: any; toast?: typeof toaster; t?: TFu
packages/router/links.tsx:708
↓ 5 callersFunctionverifySubscription
( user?: UserIncludingSubscription | null )
apps/web/lib/api/stripe/verifySubscription.ts:13
↓ 4 callersFunctiongeneratePreview
( buffer: Buffer, collectionId: number, linkId: number )
packages/lib/generatePreview.ts:5
↓ 4 callersFunctiongetPreservedFormatUrl
({ tokenEndpoint, linkId, format, download = false, headers, requestInit, }: { tokenEndpoint: st
packages/lib/getPreservedFormatUrl.ts:3
↓ 4 callersFunctiongetSectionOrder
( type: DashboardSectionType, collectionId?: number )
apps/web/components/DashboardLayoutDropdown.tsx:72
↓ 4 callersMethodgoto
()
apps/web/e2e/fixtures/login-page.ts:24
↓ 4 callersFunctionisAtLeastInstanceVersion
( version?: string | null, minimumVersion?: string | null )
packages/router/config.tsx:44
↓ 4 callersFunctionisSectionEnabled
( type: DashboardSectionType, collectionId?: number )
apps/web/components/DashboardLayoutDropdown.tsx:86
↓ 4 callersFunctionisValidUrl
(string: string)
apps/web/lib/shared/isValidUrl.ts:1
↓ 4 callersFunctionnormalizeHost
(value: string, protocol = "https:")
apps/web/pages/api/v1/preserved/view.ts:15
↓ 4 callersFunctionopenLink
( link: LinkIncludingShortenedCollectionAndTags, user: any, openModal: () => void )
apps/web/lib/client/openLink.ts:5
↓ 4 callersFunctionreadFile
(filePath: string)
packages/filesystem/readFile.ts:19
↓ 4 callersFunctionredirectTo
(destination: string)
apps/web/layouts/AuthRedirect.tsx:83
↓ 4 callersFunctionuseUpdateUserPreference
()
packages/router/user.tsx:86
↓ 4 callersFunctionuseWindowDimensions
()
apps/web/hooks/useWindowDimensions.tsx:3
↓ 3 callersFunctionbaseUserPayload
()
apps/web/pages/settings/preference.tsx:122
↓ 3 callersFunctioncheckFileExistence
(path)
apps/web/scripts/migration/migrateToV2.js:26
↓ 3 callersFunctioncheckFileExistence
(path)
apps/web/scripts/migration/v2.6.1/index.js:38
↓ 3 callersFunctioncreateCollection
( userId: number, collectionName: string, parentId?: number )
apps/web/lib/api/controllers/migration/importFromHTMLFile.ts:153
↓ 3 callersFunctioncreateMockResponse
()
apps/web/pages/api/v1/preserved/token.test.ts:25
↓ 3 callersFunctiondecodePreservedFormatToken
(token: string)
apps/web/lib/api/preserved/createPreservedFormatUrl.ts:86
↓ 3 callersFunctiondirectory
(file: string)
packages/filesystem/moveFile.ts:30
↓ 3 callersFunctiongetEnvData
()
apps/web/pages/api/v1/config/index.ts:8
↓ 3 callersMethodgetLatestToast
()
apps/web/e2e/fixtures/base/page.ts:12
↓ 3 callersFunctiongetLinkTypeFromFormat
( format: ArchivedFormat )
packages/lib/getLinkTypeFromFormat.ts:3
↓ 3 callersFunctiongetLogins
()
apps/web/pages/api/v1/logins/index.ts:20
↓ 3 callersFunctionhandleSubscription
({ id, active, quantity, periodStart, periodEnd, action, }: Data)
apps/web/lib/api/stripe/handleSubscription.ts:17
↓ 3 callersFunctionsleep
(ms: number)
apps/worker/workers/trialEndEmailWorker.ts:7
↓ 3 callersFunctionupdateSeats
(subscriptionId: string, seats: number)
apps/web/lib/api/stripe/updateSeats.ts:6
↓ 3 callersFunctionupsertLinkInList
( links: LinkIncludingShortenedCollectionAndTags[] = [], link: LinkIncludingShortenedCollectionAndTags,
packages/router/links.tsx:146
↓ 3 callersFunctionusePinLink
()
apps/web/lib/client/pinLink.ts:7
↓ 3 callersFunctionuseRemoveTag
(auth?: MobileAuth)
packages/router/tags.tsx:347
↓ 3 callersFunctionuseUpdateCollection
()
packages/router/collections.tsx:141
↓ 2 callersFunctionaddMemberToCollection
( owner: User, memberIdentifier: string, collection: CollectionIncludingMembersAndLinkCount, setMember
apps/web/lib/client/addMemberToCollection.ts:10
↓ 2 callersFunctionaddUser
(u: MemberPerms)
apps/web/lib/api/getCollectionRootOwnerAndMembers.ts:23
↓ 2 callersMethodclose
()
apps/web/e2e/fixtures/base/modal.ts:20
↓ 2 callersFunctioncreateLink
( userId: number, url: string, collectionId: number, name?: string, description?: string, tags?: s
apps/web/lib/api/controllers/migration/importFromHTMLFile.ts:200
↓ 2 callersFunctioncreateMockResponse
()
apps/web/pages/api/v1/archives/[linkId].test.ts:21
↓ 2 callersFunctioncreatePreservedFormatUrl
({ linkId, filePath, format, }: { linkId: number; filePath: string; format: ArchivedFormat; })
apps/web/lib/api/preserved/createPreservedFormatUrl.ts:46
↓ 2 callersFunctiondeleteLinkCache
(linkId: number)
apps/mobile/lib/cache.ts:14
↓ 2 callersFunctionexpandSide
(side: string)
packages/lib/ssrf.ts:143
↓ 2 callersFunctionextractTagsPayload
(data: any)
packages/router/tags.tsx:87
↓ 2 callersFunctionfetchTitleAndHeaders
( url: string, content?: string )
apps/web/lib/shared/fetchTitleAndHeaders.ts:3
↓ 2 callersFunctiongetAuthStatus
(auth?: MobileAuth)
packages/router/tags.tsx:48
↓ 2 callersFunctiongetBrowserOptions
()
apps/worker/lib/browser.ts:9
↓ 2 callersFunctiongetDashboardData
( userId: number, query: LinkRequestQuery )
apps/web/lib/api/controllers/dashboard/getDashboardData.ts:4
↓ 2 callersFunctiongetFormatBasedOnPreference
({ link, preference, }: { link: LinkIncludingShortenedCollectionAndTags; preference: LinksRouteTo; })
packages/lib/getFormatBasedOnPreference.ts:15
↓ 2 callersFunctiongetFormatFromContentType
(contentType: string)
packages/lib/getFormatFromContentType.ts:3
↓ 2 callersFunctiongetLinkBatchFairly
({ maxBatchLinks, mode, }: PickLinksOptions)
apps/worker/lib/getLinkBatchFairly.ts:12
↓ 2 callersFunctiongetLinkById
(userId: number, linkId: number)
apps/web/lib/api/controllers/links/linkId/getLinkById.ts:5
↓ 2 callersFunctiongetOriginalFormat
( link: LinkIncludingShortenedCollectionAndTags )
packages/lib/getOriginalFormat.ts:6
next →1–100 of 738, ranked by callers