MCPcopy Create free account

hub / github.com/ProtonMail/WebClients / functions

Functions38,895 in github.com/ProtonMail/WebClients

↓ 79 callersMethodnext
()
applications/drive/src/app/modules/search/internal/worker/indexer/IndexerTaskQueue.test.ts:68
↓ 79 callersFunctionuseModalStateObject
(options?: ModalStateOptions)
packages/components/components/modalTwo/useModalState.ts:92
↓ 78 callersFunctionassertCondition
(cond: boolean, message?: string)
applications/docs-editor/src/app/Plugins/Suggestions/TestUtils.ts:222
↓ 78 callersMethodemitEvent
(event: E)
packages/docs-shared/lib/State/BasePropertiesStateInterface.ts:43
↓ 78 callersFunctiongetDriveForPhotos
()
packages/drive/index.ts:322
↓ 77 callersFunctionbuildUser
(value?: Partial<UserModel>)
packages/testing/builders/user.ts:6
↓ 76 callersFunctioncreateContactPropertyUid
()
packages/shared/lib/contacts/properties.ts:79
↓ 76 callersFunctiongenerateElementContextIdentifier
({ labelID, categoryIDs = [], conversationMode = false, filter = {}, sort = { sort: 'Time'
applications/mail/src/app/store/elements/tests/elementsReducer.test.helpers.ts:118
↓ 76 callersMethodgetNewMethods
* @returns a list of new (i.e. non-saved) payment methods. Each method is individually checked for availability * and filtered out otherwise. The
packages/payments/core/methods.ts:368
↓ 76 callersFunctionitemBuilder
(type: T, from?: Item<T>)
packages/pass/lib/items/item.builder.ts:122
↓ 76 callersFunctionnormalize
(value = '', removeDiacritics = false)
packages/shared/lib/helpers/string.ts:1
↓ 75 callersFunctiongetTestPlans
(currency?: Currency)
packages/testing/data/payments/data-plans.ts:4091
↓ 75 callersFunctionisCategoryLabel
(labelID: string)
packages/mail/helpers/location.ts:24
↓ 74 callersFunctiongetBusDriver
()
packages/drive/internal/BusDriver/BusDriver.ts:594
↓ 74 callersMethodgetError
()
packages/docs-shared/lib/Result.ts:22
↓ 74 callersMethodisEnabled
()
packages/shared/lib/logger/logger.ts:31
↓ 74 callersFunctionisSafari
()
packages/shared/lib/helpers/browser.ts:120
↓ 74 callersFunctiontype
Constrain to an input type on the LHS, or apply a type on the RHS.
packages/pass/fathom/fathom.js:1909
↓ 73 callersMethodappend
(key: string, value: any)
packages/shared/test/fetch/fetch.spec.ts:11
↓ 73 callersFunctiongetAllowedCycles
({ subscription, minimumCycle = CYCLE.MONTHLY, maximumCycle = CYCLE.TWO_YEARS, planIDs, cu
packages/components/containers/payments/subscription/helpers/getAllowedCycles.ts:148
↓ 73 callersFunctionsafeIncreaseCount
(current: number = 0, increment: number = 1)
packages/redux-utilities/helpers/safeCount.ts:1
↓ 73 callersMethodupdateState
* Update state and notify native
applications/lumo/src/app/remote/nativeComposerBridge.ts:248
↓ 73 callersFunctionwithRequest
(request: RequestMetadata<T, D>)
packages/pass/store/request/enhancers.ts:8
↓ 72 callersMethodasBridge
Returns the real MainThreadBridge instance.
applications/drive/src/app/modules/search/internal/testing/FakeMainThreadBridge.ts:88
↓ 72 callersFunctionparseUrl
(url?: string, customPrivateDomains?: MaybeNull<Set<string>>)
packages/pass/utils/url/parser.ts:23
↓ 71 callersFunctioncaptureMessage
(...args: Parameters<typeof sentryCaptureMessage>)
packages/shared/lib/helpers/sentry.ts:347
↓ 71 callersFunctiongetSectionPath
(path: string, section: SectionConfig)
packages/components/containers/layout/helper.ts:25
↓ 71 callersFunctionuseTheme
()
packages/components/containers/themes/ThemeProvider.tsx:78
↓ 70 callersMethodget
(isLabelMapping: boolean)
packages/activation/src/helpers/easyTrans.ts:122
↓ 70 callersFunctionstartActor
(overrides: ActorOverrides = {})
applications/account/src/app/unauthed-forgot-password/state-machine/UnauthedForgotPasswordStateMachine.test.ts:62
↓ 70 callersFunctionwhen
(condition: boolean, data: U)
applications/lumo/src/app/util/collections.ts:56
↓ 69 callersFunctioncreateHooks
( thunk: (arg?: ThunkArg) => ThunkAction<Promise<Returned>, State, Extra, Action>, selector: (state: S
packages/redux-utilities/asyncModelThunk/hooks.tsx:109
↓ 69 callersFunctiongetStaticURL
(path: string, location = window.location)
packages/shared/lib/helpers/url.ts:276
↓ 69 callersFunctionisElementMessage
(element: Element | undefined)
applications/mail/src/app/helpers/elements.ts:64
↓ 69 callersMethodrender
(e,t,r=null,n)
applications/mail/public/assets/sandbox.js:1
↓ 68 callersMethodclosest
()
packages/pass/fathom/fathom.js:945
↓ 68 callersFunctioncreateMockRemote
(identity: string, overrides: Partial<RemoteParticipant> = {})
packages/meet/store/slices/sortedParticipantsSlice.test.ts:376
↓ 68 callersFunctionfromUTCDate
(date: Date)
packages/shared/lib/date/timezone.ts:45
↓ 68 callersFunctionrender
(ui: ReactElement)
applications/calendar/src/app/helpers/test/render.tsx:48
↓ 67 callersFunctionfreeable
(e: T)
packages/wallet/tests/utils/wasm.ts:9
↓ 67 callersFunctionsendMessage
( message: T )
applications/pass-extension/src/lib/message/send-message.ts:44
↓ 66 callersFunctiongetInitialModelState
(value?: T | undefined)
packages/account/initialModelState.ts:3
↓ 66 callersFunctiongetIsSectionAvailable
(section: SectionConfig)
packages/components/containers/layout/helper.ts:11
↓ 66 callersFunctionisFreeSubscription
(obj: any)
packages/payments/core/type-guards.ts:145
↓ 66 callersFunctionlog
(message: string)
applications/drive/src/app/legacy/store/_uploads/worker/worker.ts:103
↓ 66 callersFunctionpropertyToUTCDate
(property: VcalDateOrDateTimeProperty)
packages/shared/lib/calendar/vcalConverter.ts:87
↓ 65 callersFunctioncreateAsyncModelThunk
( prefix: string, { expiry, miss, previous, }: { expiry?: number;
packages/redux-utilities/asyncModelThunk/creator.ts:9
↓ 65 callersFunctiondeobfuscateItem
(item: Item)
packages/pass/lib/items/item.obfuscation.ts:102
↓ 65 callersFunctiongenerateSubscribedCalendars
(n: number, customParams?: GenerateSubscribedCalendarCustomParams[])
packages/testing/lib/builders.ts:581
↓ 65 callersFunctiononFormSubmit
(evt: FormEvent<HTMLFormElement>)
packages/pass/hooks/auth/usePasswordForm.ts:27
↓ 65 callersFunctionpreviousSelector
( selector: (state: State) => ReducerValue<Returned> )
packages/redux-utilities/asyncModelThunk/creator.ts:108
↓ 65 callersFunctionuseSubscriptionModal
()
packages/components/containers/payments/subscription/SubscriptionModalProvider.tsx:86
↓ 64 callersFunctionhandleAsyncModel
( builder: ActionReducerMapBuilder<ReducerValue<Returned>>, cases: ReturnType<typeof createAsyncModelT
packages/redux-utilities/asyncModelThunk/creator.ts:80
↓ 64 callersFunctiononFormSubmit
(e: React.FormEvent)
packages/components/containers/organization/retentionPolicy/RetentionPolicyModal.tsx:189
↓ 64 callersFunctionuseHandler
( handler: T, options: { debounce?: number; throttle?: number } = {} )
packages/components/hooks/useHandler.ts:19
↓ 63 callersFunctioncreateMockNodeEntity
(overrides: Partial<NodeEntity> = {})
applications/drive/src/app/utils/test/nodeEntity.ts:7
↓ 63 callersFunctiongenerateSharedCalendars
(n: number, customParams?: GenerateSimpleCalendarCustomParams[])
packages/testing/lib/builders.ts:571
↓ 63 callersMethodgetContext
(associatedData: string)
packages/docs-core/lib/Services/Encryption/EncryptionService.ts:26
↓ 63 callersFunctiongetContextNumMessages
(conversation: Conversation, labelID: string)
packages/mail/helpers/conversation.ts:20
↓ 63 callersFunctiongetHeadlessCheckout
(params: GetHeadlessCheckoutParams)
packages/payments/ui/headless-checkout/get-headless-checkout.ts:170
↓ 63 callersFunctiongetUpsellRef
({ app, feature, component, isSettings = false, }: { app: `${APP_UPSELL_REF_PATH}`; fe
packages/shared/lib/helpers/upsell.ts:90
↓ 63 callersFunctionrender
* Render a single checkout line item by type. * * Returns `null` when the item is not visible (unless `ignoreVisibility` is set).
packages/payments/ui/headless-checkout/checkout-view.ts:73
↓ 63 callersFunctionuseRequest
( actions: T, { initial, ...options }: UseRequestOptions<T> = {} )
packages/pass/hooks/useRequest.ts:160
↓ 62 callersFunctiongetMetricsRequest
(name: string)
packages/metrics/tests/MetricsRequestService.test.ts:8
↓ 62 callersFunctionmakeTestIndexEntry
(id: string, attributes: Record<string, AttributeValue> = {})
applications/drive/src/app/modules/search/internal/testing/indexHelpers.ts:15
↓ 62 callersFunctiononChange
()
packages/components/containers/payments/RenewToggle.tsx:63
↓ 61 callersFunctionexpectIndexed
(nodeUid: string, expectedCount = 1)
applications/drive/src/app/modules/search/internal/worker/indexer/indexPopulators/IndexPopulator.test.ts:99
↓ 61 callersFunctionmakeCheckResult
(overrides: Partial<any> = {})
packages/payments/ui/headless-checkout/items/test-helpers.ts:34
↓ 60 callersFunctionsend
()
applications/mail/src/app/hooks/eo/useSendEO.tsx:79
↓ 60 callersFunctionuseAuthentication
()
packages/components/hooks/useAuthentication.ts:6
↓ 59 callersMethodfetchPaymentToken
()
packages/payments/core/payment-processors/cardPayment.ts:71
↓ 59 callersMethodtrigger
(entries)
applications/drive/jest.setup.js:44
↓ 58 callersFunctiondecryptData
(key: CryptoKey, data: Uint8Array<ArrayBuffer>, tag: PassEncryptionTag)
packages/pass/lib/crypto/utils/crypto-helpers.ts:16
↓ 58 callersFunctiongetApiFoldersTestHelper
(paths: string[], separator = '/')
packages/activation/src/helpers/MailImportFoldersParser/MailImportFoldersParser.test.ts:34
↓ 58 callersFunctiongetItem
(key: string, defaultValue?: string)
packages/shared/lib/helpers/storage.ts:3
↓ 58 callersFunctiongetVPNConnections
(n = 0, highlight?: boolean)
packages/components/containers/payments/features/vpn.ts:244
↓ 58 callersFunctionparseDOMStringToBodyElement
(content: string)
packages/mail/helpers/parseDOMStringToBodyElement.ts:3
↓ 58 callersFunctionsemver
(version: string)
packages/pass/utils/string/semver.ts:5
↓ 57 callersMethodend
(label: string)
packages/drive/modules/thumbnails/generator/performanceTracker.ts:16
↓ 57 callersFunctiongenerateOwnedPersonalCalendars
(n: number, customParams?: GenerateSimpleCalendarCustomParams[])
packages/testing/lib/builders.ts:561
↓ 57 callersFunctiongetNonEmptyErrorMessage
(error: any, customMessage?: string)
packages/shared/lib/helpers/error.ts:5
↓ 57 callersFunctiongetPlanNameFromIDs
(planIDs: PlanIDs)
packages/payments/core/plan/helpers.ts:38
↓ 57 callersFunctionlabelConversationsPending
( state: Draft<ElementsState>, action: PayloadAction< undefined, string, {
applications/mail/src/app/store/elements/elementsReducers.ts:994
↓ 57 callersFunctionuseUserSettings
()
applications/drive/src/app/modules/userSettings/useUserSettings.tsx:11
↓ 56 callersFunctionconvertRefTokensToSpans
(content: string)
applications/lumo/src/app/util/tokens.ts:15
↓ 56 callersMethodpostMessage
(message: Partial<SearchModuleState>)
applications/drive/src/app/modules/search/internal/shared/searchModuleStateUpdateChannel.ts:4
↓ 56 callersFunctiontick
()
applications/mail/src/app/helpers/test/render.tsx:161
↓ 56 callersFunctionuseFolders
()
packages/mail/store/labels/hooks.ts:69
↓ 55 callersMethodgenerate
( content: Blob, fileName: string, fileSize: number, mimeType: SupportedMimeTy
packages/drive/modules/thumbnails/generator/handlers/interfaces.ts:22
↓ 55 callersFunctiongetAddressKey
( ID: string, userKey: PrivateKeyReference, email: string, primary: boolean = false, versi
packages/shared/test/keys/keyDataHelper.ts:64
↓ 55 callersFunctiongetStorageFeature
( bytes: number, options: { freePlan: FreePlanDefault; highlight?: boolean; bo
packages/components/containers/payments/features/drive.tsx:52
↓ 55 callersMethodhandleEvent
(event: InternalEventInterface)
packages/docs-shared/lib/Events/InternalEventHandlerInterface.ts:4
↓ 55 callersFunctionisSameDay
(dateLeft: Date, dateRight: Date)
packages/shared/lib/date-fns-utc/index.ts:88
↓ 55 callersFunctiononChange
(event: ChangeEvent<HTMLInputElement>)
applications/wallet/src/app/atoms/BitcoinAmountInput.tsx:45
↓ 55 callersMethodset
(shareId: string, privateKey: PrivateKeyReference, sessionKey?: SessionKey)
applications/drive/src/app/legacy/store/_shares/useSharesKeys.tsx:29
↓ 55 callersMethodsetState
(state: SearchModuleState)
applications/drive/src/app/modules/search/internal/mainThread/SearchModule.ts:181
↓ 55 callersMethodtype
(...types)
packages/pass/fathom/fathom.js:1998
↓ 55 callersFunctionuseSilentApi
()
packages/components/hooks/useSilentApi.ts:8
↓ 54 callersFunction$handleBeforeInputEvent
( editor: LexicalEditor, event: InputEvent, onSuggestionCreation: (id: string) => void, logger: Logger
applications/docs-editor/src/app/Plugins/Suggestions/handleBeforeInputEvent.ts:56
↓ 54 callersFunctionaddCheckpoint
(name: string, data?: any)
packages/chargebee/src/checkpoints.ts:10
← previousnext →201–300 of 38,895, ranked by callers