Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProtonMail/WebClients
/ functions
Functions
38,895 in github.com/ProtonMail/WebClients
⨍
Functions
38,895
◇
Types & classes
10,082
↓ 79 callers
Method
next
()
applications/drive/src/app/modules/search/internal/worker/indexer/IndexerTaskQueue.test.ts:68
↓ 79 callers
Function
useModalStateObject
(options?: ModalStateOptions)
packages/components/components/modalTwo/useModalState.ts:92
↓ 78 callers
Function
assertCondition
(cond: boolean, message?: string)
applications/docs-editor/src/app/Plugins/Suggestions/TestUtils.ts:222
↓ 78 callers
Method
emitEvent
(event: E)
packages/docs-shared/lib/State/BasePropertiesStateInterface.ts:43
↓ 78 callers
Function
getDriveForPhotos
()
packages/drive/index.ts:322
↓ 77 callers
Function
buildUser
(value?: Partial<UserModel>)
packages/testing/builders/user.ts:6
↓ 76 callers
Function
createContactPropertyUid
()
packages/shared/lib/contacts/properties.ts:79
↓ 76 callers
Function
generateElementContextIdentifier
({ labelID, categoryIDs = [], conversationMode = false, filter = {}, sort = { sort: 'Time'
applications/mail/src/app/store/elements/tests/elementsReducer.test.helpers.ts:118
↓ 76 callers
Method
getNewMethods
* @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 callers
Function
itemBuilder
(type: T, from?: Item<T>)
packages/pass/lib/items/item.builder.ts:122
↓ 76 callers
Function
normalize
(value = '', removeDiacritics = false)
packages/shared/lib/helpers/string.ts:1
↓ 75 callers
Function
getTestPlans
(currency?: Currency)
packages/testing/data/payments/data-plans.ts:4091
↓ 75 callers
Function
isCategoryLabel
(labelID: string)
packages/mail/helpers/location.ts:24
↓ 74 callers
Function
getBusDriver
()
packages/drive/internal/BusDriver/BusDriver.ts:594
↓ 74 callers
Method
getError
()
packages/docs-shared/lib/Result.ts:22
↓ 74 callers
Method
isEnabled
()
packages/shared/lib/logger/logger.ts:31
↓ 74 callers
Function
isSafari
()
packages/shared/lib/helpers/browser.ts:120
↓ 74 callers
Function
type
Constrain to an input type on the LHS, or apply a type on the RHS.
packages/pass/fathom/fathom.js:1909
↓ 73 callers
Method
append
(key: string, value: any)
packages/shared/test/fetch/fetch.spec.ts:11
↓ 73 callers
Function
getAllowedCycles
({ subscription, minimumCycle = CYCLE.MONTHLY, maximumCycle = CYCLE.TWO_YEARS, planIDs, cu
packages/components/containers/payments/subscription/helpers/getAllowedCycles.ts:148
↓ 73 callers
Function
safeIncreaseCount
(current: number = 0, increment: number = 1)
packages/redux-utilities/helpers/safeCount.ts:1
↓ 73 callers
Method
updateState
* Update state and notify native
applications/lumo/src/app/remote/nativeComposerBridge.ts:248
↓ 73 callers
Function
withRequest
(request: RequestMetadata<T, D>)
packages/pass/store/request/enhancers.ts:8
↓ 72 callers
Method
asBridge
Returns the real MainThreadBridge instance.
applications/drive/src/app/modules/search/internal/testing/FakeMainThreadBridge.ts:88
↓ 72 callers
Function
parseUrl
(url?: string, customPrivateDomains?: MaybeNull<Set<string>>)
packages/pass/utils/url/parser.ts:23
↓ 71 callers
Function
captureMessage
(...args: Parameters<typeof sentryCaptureMessage>)
packages/shared/lib/helpers/sentry.ts:347
↓ 71 callers
Function
getSectionPath
(path: string, section: SectionConfig)
packages/components/containers/layout/helper.ts:25
↓ 71 callers
Function
useTheme
()
packages/components/containers/themes/ThemeProvider.tsx:78
↓ 70 callers
Method
get
(isLabelMapping: boolean)
packages/activation/src/helpers/easyTrans.ts:122
↓ 70 callers
Function
startActor
(overrides: ActorOverrides = {})
applications/account/src/app/unauthed-forgot-password/state-machine/UnauthedForgotPasswordStateMachine.test.ts:62
↓ 70 callers
Function
when
(condition: boolean, data: U)
applications/lumo/src/app/util/collections.ts:56
↓ 69 callers
Function
createHooks
( thunk: (arg?: ThunkArg) => ThunkAction<Promise<Returned>, State, Extra, Action>, selector: (state: S
packages/redux-utilities/asyncModelThunk/hooks.tsx:109
↓ 69 callers
Function
getStaticURL
(path: string, location = window.location)
packages/shared/lib/helpers/url.ts:276
↓ 69 callers
Function
isElementMessage
(element: Element | undefined)
applications/mail/src/app/helpers/elements.ts:64
↓ 69 callers
Method
render
(e,t,r=null,n)
applications/mail/public/assets/sandbox.js:1
↓ 68 callers
Method
closest
()
packages/pass/fathom/fathom.js:945
↓ 68 callers
Function
createMockRemote
(identity: string, overrides: Partial<RemoteParticipant> = {})
packages/meet/store/slices/sortedParticipantsSlice.test.ts:376
↓ 68 callers
Function
fromUTCDate
(date: Date)
packages/shared/lib/date/timezone.ts:45
↓ 68 callers
Function
render
(ui: ReactElement)
applications/calendar/src/app/helpers/test/render.tsx:48
↓ 67 callers
Function
freeable
(e: T)
packages/wallet/tests/utils/wasm.ts:9
↓ 67 callers
Function
sendMessage
( message: T )
applications/pass-extension/src/lib/message/send-message.ts:44
↓ 66 callers
Function
getInitialModelState
(value?: T | undefined)
packages/account/initialModelState.ts:3
↓ 66 callers
Function
getIsSectionAvailable
(section: SectionConfig)
packages/components/containers/layout/helper.ts:11
↓ 66 callers
Function
isFreeSubscription
(obj: any)
packages/payments/core/type-guards.ts:145
↓ 66 callers
Function
log
(message: string)
applications/drive/src/app/legacy/store/_uploads/worker/worker.ts:103
↓ 66 callers
Function
propertyToUTCDate
(property: VcalDateOrDateTimeProperty)
packages/shared/lib/calendar/vcalConverter.ts:87
↓ 65 callers
Function
createAsyncModelThunk
( prefix: string, { expiry, miss, previous, }: { expiry?: number;
packages/redux-utilities/asyncModelThunk/creator.ts:9
↓ 65 callers
Function
deobfuscateItem
(item: Item)
packages/pass/lib/items/item.obfuscation.ts:102
↓ 65 callers
Function
generateSubscribedCalendars
(n: number, customParams?: GenerateSubscribedCalendarCustomParams[])
packages/testing/lib/builders.ts:581
↓ 65 callers
Function
onFormSubmit
(evt: FormEvent<HTMLFormElement>)
packages/pass/hooks/auth/usePasswordForm.ts:27
↓ 65 callers
Function
previousSelector
( selector: (state: State) => ReducerValue<Returned> )
packages/redux-utilities/asyncModelThunk/creator.ts:108
↓ 65 callers
Function
useSubscriptionModal
()
packages/components/containers/payments/subscription/SubscriptionModalProvider.tsx:86
↓ 64 callers
Function
handleAsyncModel
( builder: ActionReducerMapBuilder<ReducerValue<Returned>>, cases: ReturnType<typeof createAsyncModelT
packages/redux-utilities/asyncModelThunk/creator.ts:80
↓ 64 callers
Function
onFormSubmit
(e: React.FormEvent)
packages/components/containers/organization/retentionPolicy/RetentionPolicyModal.tsx:189
↓ 64 callers
Function
useHandler
( handler: T, options: { debounce?: number; throttle?: number } = {} )
packages/components/hooks/useHandler.ts:19
↓ 63 callers
Function
createMockNodeEntity
(overrides: Partial<NodeEntity> = {})
applications/drive/src/app/utils/test/nodeEntity.ts:7
↓ 63 callers
Function
generateSharedCalendars
(n: number, customParams?: GenerateSimpleCalendarCustomParams[])
packages/testing/lib/builders.ts:571
↓ 63 callers
Method
getContext
(associatedData: string)
packages/docs-core/lib/Services/Encryption/EncryptionService.ts:26
↓ 63 callers
Function
getContextNumMessages
(conversation: Conversation, labelID: string)
packages/mail/helpers/conversation.ts:20
↓ 63 callers
Function
getHeadlessCheckout
(params: GetHeadlessCheckoutParams)
packages/payments/ui/headless-checkout/get-headless-checkout.ts:170
↓ 63 callers
Function
getUpsellRef
({ app, feature, component, isSettings = false, }: { app: `${APP_UPSELL_REF_PATH}`; fe
packages/shared/lib/helpers/upsell.ts:90
↓ 63 callers
Function
render
* 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 callers
Function
useRequest
( actions: T, { initial, ...options }: UseRequestOptions<T> = {} )
packages/pass/hooks/useRequest.ts:160
↓ 62 callers
Function
getMetricsRequest
(name: string)
packages/metrics/tests/MetricsRequestService.test.ts:8
↓ 62 callers
Function
makeTestIndexEntry
(id: string, attributes: Record<string, AttributeValue> = {})
applications/drive/src/app/modules/search/internal/testing/indexHelpers.ts:15
↓ 62 callers
Function
onChange
()
packages/components/containers/payments/RenewToggle.tsx:63
↓ 61 callers
Function
expectIndexed
(nodeUid: string, expectedCount = 1)
applications/drive/src/app/modules/search/internal/worker/indexer/indexPopulators/IndexPopulator.test.ts:99
↓ 61 callers
Function
makeCheckResult
(overrides: Partial<any> = {})
packages/payments/ui/headless-checkout/items/test-helpers.ts:34
↓ 60 callers
Function
send
()
applications/mail/src/app/hooks/eo/useSendEO.tsx:79
↓ 60 callers
Function
useAuthentication
()
packages/components/hooks/useAuthentication.ts:6
↓ 59 callers
Method
fetchPaymentToken
()
packages/payments/core/payment-processors/cardPayment.ts:71
↓ 59 callers
Method
trigger
(entries)
applications/drive/jest.setup.js:44
↓ 58 callers
Function
decryptData
(key: CryptoKey, data: Uint8Array<ArrayBuffer>, tag: PassEncryptionTag)
packages/pass/lib/crypto/utils/crypto-helpers.ts:16
↓ 58 callers
Function
getApiFoldersTestHelper
(paths: string[], separator = '/')
packages/activation/src/helpers/MailImportFoldersParser/MailImportFoldersParser.test.ts:34
↓ 58 callers
Function
getItem
(key: string, defaultValue?: string)
packages/shared/lib/helpers/storage.ts:3
↓ 58 callers
Function
getVPNConnections
(n = 0, highlight?: boolean)
packages/components/containers/payments/features/vpn.ts:244
↓ 58 callers
Function
parseDOMStringToBodyElement
(content: string)
packages/mail/helpers/parseDOMStringToBodyElement.ts:3
↓ 58 callers
Function
semver
(version: string)
packages/pass/utils/string/semver.ts:5
↓ 57 callers
Method
end
(label: string)
packages/drive/modules/thumbnails/generator/performanceTracker.ts:16
↓ 57 callers
Function
generateOwnedPersonalCalendars
(n: number, customParams?: GenerateSimpleCalendarCustomParams[])
packages/testing/lib/builders.ts:561
↓ 57 callers
Function
getNonEmptyErrorMessage
(error: any, customMessage?: string)
packages/shared/lib/helpers/error.ts:5
↓ 57 callers
Function
getPlanNameFromIDs
(planIDs: PlanIDs)
packages/payments/core/plan/helpers.ts:38
↓ 57 callers
Function
labelConversationsPending
( state: Draft<ElementsState>, action: PayloadAction< undefined, string, {
applications/mail/src/app/store/elements/elementsReducers.ts:994
↓ 57 callers
Function
useUserSettings
()
applications/drive/src/app/modules/userSettings/useUserSettings.tsx:11
↓ 56 callers
Function
convertRefTokensToSpans
(content: string)
applications/lumo/src/app/util/tokens.ts:15
↓ 56 callers
Method
postMessage
(message: Partial<SearchModuleState>)
applications/drive/src/app/modules/search/internal/shared/searchModuleStateUpdateChannel.ts:4
↓ 56 callers
Function
tick
()
applications/mail/src/app/helpers/test/render.tsx:161
↓ 56 callers
Function
useFolders
()
packages/mail/store/labels/hooks.ts:69
↓ 55 callers
Method
generate
( content: Blob, fileName: string, fileSize: number, mimeType: SupportedMimeTy
packages/drive/modules/thumbnails/generator/handlers/interfaces.ts:22
↓ 55 callers
Function
getAddressKey
( ID: string, userKey: PrivateKeyReference, email: string, primary: boolean = false, versi
packages/shared/test/keys/keyDataHelper.ts:64
↓ 55 callers
Function
getStorageFeature
( bytes: number, options: { freePlan: FreePlanDefault; highlight?: boolean; bo
packages/components/containers/payments/features/drive.tsx:52
↓ 55 callers
Method
handleEvent
(event: InternalEventInterface)
packages/docs-shared/lib/Events/InternalEventHandlerInterface.ts:4
↓ 55 callers
Function
isSameDay
(dateLeft: Date, dateRight: Date)
packages/shared/lib/date-fns-utc/index.ts:88
↓ 55 callers
Function
onChange
(event: ChangeEvent<HTMLInputElement>)
applications/wallet/src/app/atoms/BitcoinAmountInput.tsx:45
↓ 55 callers
Method
set
(shareId: string, privateKey: PrivateKeyReference, sessionKey?: SessionKey)
applications/drive/src/app/legacy/store/_shares/useSharesKeys.tsx:29
↓ 55 callers
Method
setState
(state: SearchModuleState)
applications/drive/src/app/modules/search/internal/mainThread/SearchModule.ts:181
↓ 55 callers
Method
type
(...types)
packages/pass/fathom/fathom.js:1998
↓ 55 callers
Function
useSilentApi
()
packages/components/hooks/useSilentApi.ts:8
↓ 54 callers
Function
$handleBeforeInputEvent
( editor: LexicalEditor, event: InputEvent, onSuggestionCreation: (id: string) => void, logger: Logger
applications/docs-editor/src/app/Plugins/Suggestions/handleBeforeInputEvent.ts:56
↓ 54 callers
Function
addCheckpoint
(name: string, data?: any)
packages/chargebee/src/checkpoints.ts:10
← previous
next →
201–300 of 38,895, ranked by callers