MCPcopy Create free account

hub / github.com/ProtonMail/WebClients / functions

Functions38,895 in github.com/ProtonMail/WebClients

↓ 21 callersFunctiongetShare
(abortSignal: AbortSignal, shareId: string, refresh: boolean = false)
packages/drive-store/store/_shares/useShare.ts:67
↓ 21 callersMethodinitialize
(lookup: NodeMeta | PublicNodeMeta, documentType: DocumentType)
packages/docs-core/lib/Services/DocumentLoader/DocLoaderInterface.ts:7
↓ 21 callersFunctionisIos
()
packages/shared/lib/helpers/browser.ts:181
↓ 21 callersFunctionmakeState
(overrides: Partial<Draft<ElementsState>> = {})
applications/mail/src/app/store/elements/tests/elementsReducers.eventUpdates.test.ts:19
↓ 21 callersMethodonFileProgress
(transferId: string, transferredBytes: number, isPaused: boolean)
packages/drive/internal/performance/transferSpeedMetrics.ts:39
↓ 21 callersFunctionrefresh
()
packages/components/hooks/useFetchData.ts:31
↓ 21 callersMethodrender
(e,t,r=null,n)
applications/drive/public/assets/sandbox.js:1
↓ 21 callersFunctionrenderInRouter
(ui: React.ReactNode, { initialEntries = ['/'] } = {})
packages/components/components/sidebar/nav/sidebar.test.tsx:9
↓ 21 callersFunctionsetResult
(result: { LogicalServers: Logical[] })
packages/components/hooks/useVPNLogicals.ts:53
↓ 21 callersFunctionsetupIpcHandler
( channel: T, handler: (...args: P) => MaybePromise<R> )
applications/pass-desktop/src/lib/ipc.ts:17
↓ 21 callersFunctiontakeFromExternrefTable0
(idx)
packages/wasm/andromeda/index_bg.js:242
↓ 21 callersFunctiontoTriggerString
(value: VcalDurationValue)
packages/shared/lib/calendar/vcal.ts:399
↓ 21 callersFunctionuseAccessiblePlans
({ hasFreePlan, selectedProductPlans, subscription, planIDs, app, paymentStatus, u
packages/components/containers/payments/subscription/PlanSelection.tsx:232
↓ 21 callersFunctionuseErrorHandler
()
applications/drive/src/app/legacy/store/_utils/errorHandler.ts:26
↓ 21 callersFunctionvalidateDeepLinkParams
(searchParams: URLSearchParams)
packages/calendar/utils.ts:45
↓ 20 callersFunctionaddTokensResponse
(response = MOCK_TOKEN_RESPONSE)
packages/testing/lib/payments/api-endpoints.ts:21
↓ 20 callersFunctionbackendBillingAddressFieldError
(status: BillingAddressFieldStatus | undefined)
packages/payments/core/errors.ts:43
↓ 20 callersFunctioncreateChunk
(options: { streamID?: string; index: number; total: number })
applications/pass-extension/src/lib/store/chunk.middleware.spec.ts:13
↓ 20 callersFunctioncreateMockCheckResult
(overrides = {})
packages/payments/ui/headless-checkout/tax-helpers.test.tsx:9
↓ 20 callersFunctioncreateNode
(uid: string, name: string)
applications/drive/src/app/sections/trash/useTrashNodes.test.ts:44
↓ 20 callersFunctioncreateSpotlightRule
(options: SpotlightRule)
packages/pass/lib/spotlight/service.ts:38
↓ 20 callersFunctioncreateWordCountInfo
(textContent: string)
packages/docs-shared/lib/WordCount/createWordCountInfo.ts:14
↓ 20 callersFunctiondebouncedFunction
( callback: (signal: AbortSignal) => Promise<T>, args: object, originalSignal?: AbortS
packages/drive-store/store/_utils/useDebouncedFunction.ts:21
↓ 20 callersFunctiondebouncedFunction
( callback: (signal: AbortSignal) => Promise<T>, args: object, originalSignal?: AbortS
applications/drive/src/app/legacy/store/_utils/useDebouncedFunction.ts:21
↓ 20 callersMethoddispose
()
applications/drive/src/app/modules/search/internal/worker/index/IndexWriter.ts:59
↓ 20 callersFunctiondown
()
applications/mail/src/app/components/sidebar/MailSidebar.test.tsx:473
↓ 20 callersFunctionfilesFormInitializer
({ toAdd = [], toRemove = [], toRestore = [], }: Partial<FileAttachmentValues['files']> = {})
packages/pass/lib/file-attachments/helpers.ts:53
↓ 20 callersFunctionformatBooleanForHeartbeat
(setting: boolean | number | undefined)
packages/redux-shared-store/settingsHeartbeat/heartbeatHelper.ts:6
↓ 20 callersFunctionformatFullDate
(date: Date)
applications/mail/src/app/helpers/date.ts:29
↓ 20 callersFunctiongenerateAttendeeToken
(normalizedEmail: string, uid: string)
packages/shared/lib/calendar/attendees.ts:36
↓ 20 callersFunctiongenerateSuggestionMap
()
applications/docs-editor/src/app/Plugins/Suggestions/generateSuggestionSummary.spec.ts:41
↓ 20 callersMethodget
()
packages/drive-store/store/_downloads/download/download.ts:212
↓ 20 callersMethodgetAllIndexBlobKeys
()
applications/drive/src/app/modules/search/internal/shared/SearchDB.ts:105
↓ 20 callersFunctiongetAutofillableFrames
( tabId: TabId, sourceOrigin: string, sourceFrameID: FrameId )
applications/pass-extension/src/lib/utils/frames.ts:88
↓ 20 callersFunctiongetCalendarIsNotSyncedInfo
(calendar: SubscribedCalendar)
packages/shared/lib/calendar/subscribe/helpers.ts:121
↓ 20 callersFunctiongetCookie
(name: string, cookies = document.cookie)
packages/shared/lib/helpers/cookies.ts:11
↓ 20 callersFunctiongetCurrencyFormattingConfig
(currency: Currency)
packages/payments/core/currencies.ts:45
↓ 20 callersFunctiongetCycle
(searchParams: URLSearchParams, keys: string | string[] = ['cycle', 'billing'])
applications/account/src/app/signupCtx/helpers/signupSearchParams.ts:27
↓ 20 callersFunctiongetDecryptedSessionKey
({ data: serializedMessage, privateKeys, }: { data: string | Uint8Array<ArrayBuffer>; privateK
packages/shared/lib/keys/drivePassphrase.ts:4
↓ 20 callersFunctiongetEllipsedName
(name: string)
packages/drive/modules/intl/internal/getEllipsedName.ts:3
↓ 20 callersFunctiongetErrorString
(error: any)
packages/docs-core/lib/Util/GetErrorString.ts:3
↓ 20 callersFunctiongetFakeNow
()
packages/components/components/miniCalendar/MiniCalendar.test.tsx:6
↓ 20 callersFunctiongetFutureRecurrenceUID
(oldUID: string, localStart: Date, isAllDay: boolean)
applications/calendar/src/app/containers/calendar/recurrence/createFutureRecurrence.ts:58
↓ 20 callersFunctiongetHasMigratedAddressKeys
(addresses?: Address[])
packages/shared/lib/keys/keyMigration.ts:37
↓ 20 callersFunctiongetIsUnreachableError
(e: any)
packages/shared/lib/api/helpers/apiErrorHelper.ts:61
↓ 20 callersFunctiongetMappingTestHelper
(folders: MailImportFolder[])
packages/activation/src/helpers/MailImportFoldersParser/MailImportFoldersParser.test.ts:47
↓ 20 callersFunctiongetSpace
(user: User)
packages/shared/lib/user/storage.ts:22
↓ 20 callersFunctiongetStorageValue
(bytes: number | undefined, unit: SizeUnits)
packages/components/containers/payments/subscription/cancellationFlowFeedbackFirst/config/temporaryNeedConfig.tsx:74
↓ 20 callersFunctiongetStoreValue
(state: NewsletterSubscriptionsStateType)
applications/mail/src/app/store/newsletterSubscriptions/newsletterSubscriptionsReducers.helpers.ts:24
↓ 20 callersMethodgetUid
()
applications/drive/src/app/modules/search/internal/worker/indexer/tasks/CoreTasks/PersistDataTask.ts:9
↓ 20 callersFunctiongetint
packages/raw-images/dcraw.c:369
↓ 20 callersFunctionhandleError
(f, args)
packages/wasm/andromeda/index_bg.js:175
↓ 20 callersFunctioninitialize
(state: Draft<MessagesState>, action: PayloadAction<MessageState>)
applications/mail/src/app/store/messages/read/messagesReadReducers.ts:28
↓ 20 callersFunctioninsertSignature
( content = '', signature = '', action: MESSAGE_ACTIONS, mailSettings: MailSettings, userS
applications/mail/src/app/helpers/message/messageSignature.ts:156
↓ 20 callersFunctioninvoke
( method: T, ...args: P )
applications/pass-desktop/src/preload.ts:8
↓ 20 callersFunctionisSessionResumeRoute
(url?: string)
packages/pass/lib/api/utils.ts:72
↓ 20 callersFunctionlabelConversationsPending
( state: Draft<ModelState<LabelCount[]>>, action: PayloadAction<{ conversations: Conversation[
packages/mail/store/counts/conversationCountsReducers.ts:501
↓ 20 callersFunctionmarkMessagesAsRead
( state: Draft<ModelState<LabelCount[]>>, action: PayloadAction<{ messages: MessageMetadata[];
packages/mail/store/counts/conversationCountsReducers.ts:116
↓ 20 callersFunctionmatchRules
(rules: CompiledRules, { hostname, pathname }: URL)
packages/pass/lib/extension/rules/rules.ts:117
↓ 20 callersFunctionnext
(maxAttempts: number, attempt: number = 1)
packages/pass/lib/api/refresh.ts:33
↓ 20 callersFunctionobserveError
( error: any, metricObserver: (status: MetricsApiStatusTypes) => void, ignoreCodes?: number[] )
packages/metrics/lib/observeApiError.ts:52
↓ 20 callersMethodpaste
(&mut self)
applications/pass-desktop/native/napi/src/autotypes.rs:50
↓ 20 callersMethodregisterClient
(userId: UserId, clientId: ClientId, bridge: MainThreadBridge)
applications/drive/src/app/modules/search/internal/worker/SharedWorkerAPI.ts:56
↓ 20 callersFunctionsagaSetup
(state: unknown = {})
packages/pass/store/sagas/testing.ts:6
↓ 20 callersFunctionselectUser
(state: UserState)
packages/account/user/index.ts:35
↓ 20 callersFunctionsendEvent
(store: any, event: Event)
applications/mail/src/app/containers/mailbox/tests/Mailbox.test.helpers.tsx:248
↓ 20 callersFunctionsetPosition
(getPosition: (iframeRoot: HTMLElement) => Partial<Rect>)
applications/pass-extension/src/app/content/services/inline/inline.app.ts:236
↓ 20 callersFunctionsimulateLoad
(durationMs: number, fromCache: boolean)
applications/inbox-desktop/src/utils/profiler/startupRequests.test.ts:63
↓ 20 callersFunctionsplitExtension
(filename = '')
packages/shared/lib/helpers/file.ts:111
↓ 20 callersFunctiontoDelta
(current: number | undefined, previous: number | undefined)
applications/meet/src/app/hooks/telemetry/utils.ts:74
↓ 20 callersFunctionupdate
(fn: () => void)
applications/docs-editor/src/app/Plugins/Suggestions/generateSuggestionSummary.spec.ts:26
↓ 20 callersFunctionupdateCollectionAsyncV6
({ refetch, update, ...rest }: Parameters<typeof getUpdateCollectionAsyncV6Result<T>>[0] & { r
packages/shared/lib/eventManager/updateCollectionAsyncV6.ts:86
↓ 20 callersFunctionupdateItem
(array: T[], index: number, newItem: T)
packages/utils/updateItem.ts:4
↓ 20 callersMethodupdateProgress
* Updates upload progress for a file * @param uploadId - Unique task identifier * @param uploadedBytes - Number of bytes uploaded so far
packages/drive/modules/upload/scheduling/CapacityManager.ts:91
↓ 20 callersMethodupdateState
(patch: Partial<IndexerState>)
applications/drive/src/app/modules/search/internal/worker/indexer/IndexerTaskQueue.ts:365
↓ 20 callersFunctionuseEvent
(callback?: T)
applications/docs/src/app/utils/misc.ts:25
↓ 20 callersFunctionuseFocusTrap
({ active = true, enableInitialFocus = true, restoreFocus = true, preventScroll = true, di
packages/components/components/focus/useFocusTrap.tsx:59
↓ 20 callersFunctionuseLink
()
applications/drive/src/app/legacy/store/_links/useLink.ts:82
↓ 20 callersFunctionuseLocalState
( state: ProtonSheetsState, updateLocalStateToLog: (stateToLog: LocalStateWithoutActions) => void, )
applications/docs-editor/src/app/Containers/Spreadsheet/state.ts:525
↓ 20 callersFunctionuseSharingModal
()
packages/drive/modals/sharingModal/internal/SharingModal.tsx:9
↓ 20 callersFunctionuseStableCallback
(fn: T)
applications/meet/src/app/hooks/useStableCallback.ts:5
↓ 20 callersFunctionvalidateInputAutofill
(input: HTMLInputElement, value: string)
applications/pass-extension/src/app/content/services/autofill/autofill.utils.ts:112
↓ 20 callersFunctionwebglGetUniformLocation
(location)
packages/components/containers/filePreview/iwad/index.js:6697
↓ 19 callersFunctionG
(i,I)
applications/mail/public/assets/sandbox.js:1
↓ 19 callersFunctionG
(i,I)
applications/drive/public/assets/sandbox.js:1
↓ 19 callersFunctionP
(i,I)
applications/mail/public/assets/sandbox.js:1
↓ 19 callersFunctionP
(i,I)
applications/drive/public/assets/sandbox.js:1
↓ 19 callersMethod__unwrap
(jsValue)
packages/wasm/andromeda/index_bg.js:5429
↓ 19 callersMethodaddThread
(thread: CommentThreadInterface, markUnread = false)
packages/docs-core/lib/Services/Comments/LocalCommentsState.ts:35
↓ 19 callersFunctioncheck
(versions: RemoteManifestResponse['Releases'], featureFlag = true)
applications/pass-desktop/src/lib/updater/updater.test.ts:49
↓ 19 callersFunctionclassifyError
(e: unknown)
applications/drive/src/app/modules/search/internal/shared/errors.ts:277
↓ 19 callersFunctionclose
()
packages/components/components/selectTwo/useSelect.tsx:72
↓ 19 callersFunctioncreateFileEntry
(name: string, file: File)
packages/drive/modules/upload/utils/processDroppedItems.test.ts:8
↓ 19 callersFunctioncreateMatchDomainItemsSelector
(domain: MaybeNull<string>, options: SelectItemsByDomainOptions)
packages/pass/store/selectors/match.ts:80
↓ 19 callersMethodexecuteWithRetry
(operation: () => Promise<T>, operationName: string, maxRetries = 3)
applications/lumo/src/app/indexedDb/db.ts:567
↓ 19 callersFunctionexpandSection
( store: ReturnType<typeof directoryTreeStoreFactory>, manager: TreeEventManager, section: Section
packages/drive/modules/directoryTree/internal/events/treeEventManager.test.ts:83
↓ 19 callersFunctionflushPromises
()
packages/shared/test/eventManager/eventManager.spec.ts:20
↓ 19 callersFunctionformatResults
(result: AutofillableFrames)
applications/pass-extension/src/lib/utils/frames.spec.ts:211
↓ 19 callersFunctiongetActiveState
(filter: Filter, sort: Sort, labelID: string)
applications/mail/src/app/components/toolbar/filter-list/filterListHelpers.ts:6
↓ 19 callersFunctiongetAdvancedAliasFeatures
(included: boolean)
packages/components/containers/payments/features/pass.tsx:168
← previousnext →1,001–1,100 of 38,895, ranked by callers