MCPcopy Create free account

hub / github.com/ProtonMail/WebClients / functions

Functions38,895 in github.com/ProtonMail/WebClients

↓ 43 callersFunctionrule
* Construct and return the proper type of rule class based on the * inwardness/outwardness of the RHS. * * @arg lhs {Lhs} The left-hand side of the
packages/pass/fathom/fathom.js:2221
↓ 43 callersMethodsetChildren
(parentUid: string, children: MaybeNode[])
applications/drive/src/app/modules/search/internal/testing/FakeSdkDriveClient.ts:20
↓ 43 callersFunctionuseIsGuest
()
applications/lumo/src/app/providers/IsGuestProvider.tsx:5
↓ 43 callersFunctionuseLabels
()
packages/mail/store/labels/hooks.ts:61
↓ 42 callersFunctioncreateMockNode
( uid: string, parentUid?: string, role: MemberRole = MemberRole.Admin, includeMembership: boo
applications/drive/src/app/utils/sdk/getNodeLocation.test.ts:6
↓ 42 callersMethodget
(name: string)
applications/inbox-desktop/src/utils/profiler/profiler.ts:201
↓ 42 callersMethodgetData
(id: string)
packages/pass/utils/context/create-shared-context.spec.ts:5
↓ 42 callersFunctiongetIsB2BAudienceFromPlan
(planName: PLANS | ADDON_NAMES | undefined)
packages/payments/core/plan/helpers.ts:96
↓ 42 callersFunctiongetSentinel
(included: boolean = false)
packages/components/containers/payments/features/highlights.ts:159
↓ 42 callersFunctionisSubscriptionCheckForbidden
( subscription: MaybeFreeSubscription | null, estimationParameters: SubscriptionCheckForbiddenEstimati
packages/payments/core/subscription/helpers.ts:882
↓ 42 callersFunctiononSubmit
(e?: FormEvent)
applications/account/src/lite/actions/subscription/sections/SubscriptionCheckoutPaymentSection.tsx:157
↓ 42 callersFunctionuseInstance
(fn: () => T)
packages/hooks/useInstance.ts:6
↓ 41 callersFunctiongetIsPlanTransitionForbidden
({ subscription, plansMap, planIDs, }: { subscription: Subscription | FreeSubscription | null
packages/payments/core/subscription/forbidden-plan-transition.ts:246
↓ 41 callersFunctiongetLoginsAndNotes
()
packages/components/containers/payments/features/pass.tsx:97
↓ 41 callersFunctionisTrial
(subscription: MaybeFreeSubscription, plan?: PLANS)
packages/payments/core/subscription/helpers.ts:425
↓ 41 callersFunctionsortOn
(key: K, order: SortOrder = 'DESC')
packages/pass/utils/fp/sort.ts:6
↓ 41 callersFunctionunsubscribe
()
packages/pass/utils/pubsub/factory.ts:32
↓ 41 callersMethodunsubscribe
* Unsubscribes a listener from a specific event type. * This method is private and should only be called through the function returned by subscri
packages/drive/internal/BusDriver/BusDriver.ts:192
↓ 40 callersFunctiongetHideMyEmailAliases
(n: number | 'unlimited')
packages/components/containers/payments/features/pass.tsx:154
↓ 40 callersFunctiongetPlanFeatureLimit
(plan: Plan, key: FeatureLimitKey)
packages/payments/core/plan/feature-limits.ts:68
↓ 40 callersFunctiongetState
()
packages/cross-storage/lib/guest.ts:90
↓ 40 callersFunctiongetVersionHistory
(options?: 'generic' | 365 | '10y')
packages/components/containers/payments/features/drive.tsx:157
↓ 40 callersFunctionhasInboxDesktopFeature
(feature: IPCInboxDesktopFeature)
packages/shared/lib/desktop/ipcHelpers.ts:113
↓ 40 callersMethodnow
* Creates a new `Timestamp` for the current time.
packages/pass/types/protobuf/google/protobuf/timestamp.ts:176
↓ 40 callersFunctionobj
(year: number, month: number, day: number, hours = 0, minutes = 0, seconds = 0)
packages/shared/test/date/timezone.spec.ts:18
↓ 40 callersFunctiononClose
()
applications/drive/src/app/sections/transferManager/TransferManager.tsx:90
↓ 40 callersFunctionreleaseCryptoProxy
()
applications/mail/src/app/helpers/test/crypto.ts:183
↓ 40 callersFunctionsetupCryptoProxyForTesting
()
applications/mail/src/app/helpers/test/crypto.ts:176
↓ 39 callersFunctionGenerateUUID
()
packages/docs-shared/lib/GenerateUuid.ts:3
↓ 39 callersFunctionaddApiKeys
(isInternal: boolean, email: string, keys: GeneratedKey[])
applications/mail/src/app/helpers/test/crypto.ts:54
↓ 39 callersFunctioncreateMyFilesRoot
(uid = MY_FILES_ROOT_UID)
packages/drive/modules/directoryTree/internal/useDirectoryTree.test.ts:94
↓ 39 callersFunctiongetBillingAddressStatus
(billingAddress: BillingAddress, zipCodeValid = true)
packages/payments/core/billing-address/billing-address.ts:36
↓ 39 callersFunctiongetItemPriorityForUrl
(item: Item<'login'>)
packages/pass/lib/search/match-url.ts:16
↓ 39 callersFunctiongetNAddressesFeature
({ n, highlight, family, duo, }: { n: number; highlight?: boolean; family?: boolea
packages/components/containers/payments/features/mail.ts:21
↓ 39 callersMethodinitialize
()
packages/raw-images/src/index.ts:4
↓ 39 callersFunctiononEdit
({ name }: { name: string })
applications/meet/src/app/components/CreateRoomModal/CreateRoomModal.tsx:31
↓ 39 callersFunctionpick
(model: T, properties: readonly K[] = [])
packages/shared/lib/helpers/object.ts:41
↓ 39 callersFunctionsetup
({ messages = [], conversations = [], totalMessages = messages.length, totalConversations = co
applications/mail/src/app/containers/mailbox/tests/Mailbox.test.helpers.tsx:144
↓ 39 callersFunctionswitchPlan
(options: SwitchPlanOptions)
packages/payments/core/planIDs.ts:193
↓ 39 callersFunctionuseDirectoryTreeWithStore
(context: string, options?: DirectoryTreeOptions)
packages/drive/modules/directoryTree/internal/useDirectoryTree.ts:350
↓ 38 callersMethodaddEventCallback
(callback: (data: Data) => void | Promise<void>, eventType: string)
packages/docs-shared/lib/Events/InternalEventBusInterface.ts:14
↓ 38 callersFunctioncreateMockItem
(urls: string[])
packages/pass/lib/search/match-url.spec.ts:5
↓ 38 callersFunctiondefaultProps
(overrides: Record<string, any> = {})
packages/payments/ui/billing-address/hooks/useVatNumber.test.ts:79
↓ 38 callersFunctionexpectMessagesLabelsSameArray
(array1?: string[], array2?: string[])
applications/mail/src/app/store/elements/tests/elementsReducer.test.helpers.ts:99
↓ 38 callersFunctiongenerateLookupHash
(name: string, parentHashKey: Uint8Array<ArrayBuffer>)
packages/shared/lib/keys/driveKeys.ts:103
↓ 38 callersFunctiongetCheckoutUi
({ planIDs, plansMap, checkResult, }: { planIDs: PlanIDs; plansMap: PlansMap; checkRes
packages/payments/core/checkout.ts:232
↓ 38 callersFunctiongetPreferredCurrency
({ paymentStatus, plans, paramCurrency, paramPlanName, user, subscription, selecte
packages/payments/core/currencies.ts:227
↓ 38 callersFunctiongetPropertyTzid
(property: VcalDateOrDateTimeProperty)
packages/shared/lib/calendar/vcalHelper.ts:40
↓ 38 callersFunctiongetProps
( { plansMap = defaultPlansMap, planIDs = { [PLANS.MAIL]: 1 }, checkResult, }:
packages/payments/ui/components/RenewalNotice.test.tsx:197
↓ 38 callersFunctiongetSupportedEvent
({ method = ICAL_METHOD.PUBLISH, vcalVeventComponent, hasXWrTimezone, calendarTzid, guessT
packages/shared/lib/calendar/icsSurgery/vevent.ts:287
↓ 38 callersFunctiongetVaultSharing
(n: number | 'unlimited')
packages/components/containers/payments/features/pass.tsx:264
↓ 38 callersFunctiongetreal
packages/raw-images/dcraw.c:381
↓ 38 callersFunctionisElementConversation
(element: Element | undefined)
applications/mail/src/app/helpers/elements.ts:66
↓ 38 callersFunctionisMac
()
packages/shared/lib/helpers/browser.ts:143
↓ 38 callersFunctionlog
(message: string)
packages/drive-store/store/_downloads/download/downloadLinkFile.ts:34
↓ 38 callersMethodsendCustomEvent
(...args: EventArgs)
packages/shared/lib/telemetry/index.ts:54
↓ 38 callersFunctiontextToClipboard
(text = '', target = document.body)
packages/shared/lib/helpers/browser.ts:27
↓ 38 callersFunctiontiff_set
packages/raw-images/dcraw.c:9203
↓ 38 callersFunctiontraceError
(...args: Parameters<typeof captureException>)
packages/shared/lib/helpers/sentry.ts:333
↓ 38 callersFunctionunique
(array: T[])
packages/utils/unique.ts:3
↓ 38 callersFunctionuseDashboardPaymentFlow
(app: APP_NAMES)
packages/components/hooks/useDashboardPaymentFlow.ts:24
↓ 38 callersFunctionuseMemoSelector
( selectorFactory: SelectorCreator<TDeps, TResult>, deps: TDeps )
packages/pass/hooks/useMemoSelector.ts:8
↓ 37 callersFunctionK
(i,I)
applications/mail/public/assets/sandbox.js:1
↓ 37 callersFunctionK
(i,I)
applications/drive/public/assets/sandbox.js:1
↓ 37 callersFunctionUTF8ToString
(ptr, maxBytesToRead)
applications/meet/public/assets/background-blur/vision_wasm_internal.js:2911
↓ 37 callersFunctionbuildCtx
()
applications/drive/src/app/modules/search/internal/worker/indexer/indexPopulators/IndexPopulator.test.ts:89
↓ 37 callersMethodcancel
(downloadIds: string[] = [])
applications/drive/src/app/modules/download/DownloadManager.ts:601
↓ 37 callersFunctioncreateItem
(overrides: Partial<SearchResultItemUI> = {})
applications/drive/src/app/sections/search/searchView/actions/actionsItemChecker.test.ts:14
↓ 37 callersFunctioncreateStringifier
(getStrings: GetStrings<K>)
applications/docs-editor/src/app/Containers/Spreadsheet/stringifier.tsx:40
↓ 37 callersFunctioncreateTestConversation
(daysAgo: number, id: string = `conv-${daysAgo}`)
applications/lumo/src/app/layouts/sidepanel/helpers.test.ts:7
↓ 37 callersFunctiongetCompleteAddress
(inputAddress: Partial<Address>)
applications/mail/src/app/helpers/test/cache.ts:26
↓ 37 callersFunctiongetPlansMap
()
packages/payments/ui/context/PaymentContext.tsx:325
↓ 37 callersFunctiongetSlugFromApp
(app: APP_NAMES)
packages/shared/lib/apps/slugHelper.ts:22
↓ 37 callersFunctiongetSupport
( type: 'limited' | 'priority', product?: 'drive' | 'mail' | 'pass' | 'vpn' | 'meet' | 'all' )
packages/components/containers/payments/features/highlights.ts:111
↓ 37 callersFunctiononClick
()
packages/components/containers/invoices/InvoiceActions.tsx:37
↓ 37 callersMethodreadFile
(path: string, opts?: { encoding: string })
packages/raw-images/src/raw.ts:4
↓ 37 callersMethodsendMessage
(message: { type: string; correlationId?: string; status?: CbIframeResponseStatus;
packages/chargebee/src/message-bus.ts:724
↓ 37 callersFunctionuseBitcoinBlockchainContext
()
applications/wallet/src/app/contexts/BitcoinBlockchainContext/index.ts:71
↓ 37 callersFunctionuseLink
()
packages/drive-store/store/_links/useLink.ts:78
↓ 37 callersFunctionwaitForState
(actor: ReturnType<typeof startActor>, state: StateValue)
applications/account/src/app/unauthed-forgot-password/state-machine/UnauthedForgotPasswordStateMachine.test.ts:82
↓ 37 callersFunctionwithCache
(cache = mockCache)
packages/testing/lib/context/providers.tsx:59
↓ 36 callersFunctioncreate
(path, mode)
applications/meet/public/assets/background-blur/vision_wasm_internal.js:1977
↓ 36 callersMethodcreate
(bridge: MainThreadBridge, db: SearchDB)
applications/drive/src/app/modules/search/internal/worker/indexer/TreeSubscriptionRegistry.ts:47
↓ 36 callersFunctiondownloadFile
( downloadUrl: string, callback: OneFileProgressCallback, abortController: AbortController )
packages/llm/lib/downloader.ts:66
↓ 36 callersFunctionextractEncryptionPreferences
( model: ContactPublicKeyModel, mailSettings: MailSettings, selfSend?: SelfSend )
packages/shared/lib/mail/encryptionPreferences.ts:401
↓ 36 callersFunctionfireEvent
(event: any)
packages/drive/modules/directoryTree/internal/events/treeEventManager.test.ts:151
↓ 36 callersFunctionflushAsync
(iterations = 1)
applications/drive/src/app/modules/download/testUtils.ts:22
↓ 36 callersFunctiongenerateEmailBody
({ method, vevent, oldVevent, isCreateEvent, partstat, emailAddress, options,
packages/shared/lib/calendar/mailIntegration/invite.ts:827
↓ 36 callersFunctiongetActiveKeyObject
( privateKey: PrivateKeyReferenceWithVersion, publicKey: PublicKeyReference, partial: Partial<Acti
packages/shared/lib/keys/getActiveKeys.ts:28
↓ 36 callersFunctiongetAvailableApps
( options: GetAvailableAppsByUserTypeArguments & GetOrganizationAllowedProductsArguments )
packages/shared/lib/apps/apps.ts:102
↓ 36 callersFunctiongetDateTimeProperty
(zonelessTime: DateTime, tzid = '')
packages/shared/lib/calendar/vcalConverter.ts:64
↓ 36 callersFunctiongetDecryptedUserKeysHelper
(user: User, keyPassword: string)
packages/shared/lib/keys/getDecryptedUserKeys.ts:53
↓ 36 callersFunctiongetFetchedAt
()
packages/redux-utilities/asyncModelThunk/fetchedAt.ts:13
↓ 36 callersFunctiongetMessage
(isPlainText: boolean, isReferenceMessage: boolean, content: string)
applications/mail/src/app/helpers/message/messageContent.test.ts:17
↓ 36 callersFunctiongetNetShield
(included: boolean, highlight?: boolean)
packages/components/containers/payments/features/vpn.ts:195
↓ 36 callersFunctiongetVaults
(n: number | 'unlimited')
packages/components/containers/payments/features/pass.tsx:204
↓ 36 callersFunctionisFirefox
()
packages/shared/lib/helpers/browser.ts:129
↓ 36 callersMethodlock
(params: { fetchCommitId?: string })
packages/docs-core/lib/Api/Routes/DocsApiPrivateRouteBuilder.ts:42
↓ 36 callersFunctionmockUseUser
(value: [Partial<UserModel>?, boolean?] = [])
packages/testing/lib/mockUseUser.ts:11
↓ 36 callersFunctionrange
(start = 0, end = 1, step = 1)
packages/utils/range.ts:4
← previousnext →401–500 of 38,895, ranked by callers