MCPcopy Create free account

hub / github.com/CommE2E/comm / functions

Functions7,671 in github.com/CommE2E/comm

↓ 10 callersMethodtoHaveLength
* Check that an object has a .length property and it is set to a certain * numeric value.
lib/flow-typed/npm/jest_v29.x.x.js:751
↓ 10 callersFunctionuseChangeThreadSettings
()
lib/hooks/thread-hooks.js:235
↓ 10 callersFunctionuseFullBackupSupportEnabled
()
lib/utils/services-utils.js:33
↓ 10 callersFunctionuseIsCurrentUserStaff
()
lib/shared/staff-utils.js:24
↓ 10 callersFunctionuseIsUserDataReady
()
lib/hooks/backup-hooks.js:18
↓ 10 callersFunctionuseLegacyAshoatKeyserverCall
( serverCall: SingleKeyserverActionFunc<F>, paramOverride?: ?Partial<ServerCallSelectorParams>, )
lib/keyserver-conn/legacy-keyserver-call.js:15
↓ 10 callersFunctionuseOnClickThread
( thread: ?ThreadInfo, )
web/selectors/thread-selectors.js:27
↓ 10 callersFunctionuseProtocolSelection
()
lib/contexts/protocol-selection-context.js:21
↓ 10 callersFunctionuseStaffCanSee
()
web/utils/staff-utils.js:6
↓ 10 callersMethodverify
( algorithm: | SubtleCrypto$RsaPssParams | SubtleCrypto$EcdsaParams | 'RSASSA-PKCS1-v1_5
lib/flow-typed/web-crypto-common.js:260
↓ 9 callersMethodas_str
(self)
native/native_rust_library/build.rs:21
↓ 9 callersFunctionauthVerifiedEndpoint
( identityRPCPromise: Promise<T>, )
keyserver/src/utils/identity-utils.js:15
↓ 9 callersFunctionbindIntToSQL
native/cpp/CommonCpp/DatabaseManagers/entities/SQLiteDataConverters.cpp:47
↓ 9 callersFunctioncallback
(backupID: string)
native/backup/use-client-backup.js:96
↓ 9 callersMethodclear
()
services/electron-update-server/flow-typed/environments/indexeddb.js:88
↓ 9 callersFunctioncommitMembershipChangeset
( viewer: Viewer, changeset: MembershipChangeset, { changedThreadIDs = new Set(), calendarQuery,
keyserver/src/updaters/thread-permission-updaters.js:1093
↓ 9 callersFunctioncreatePendingThread
(args: CreatePendingThreadArgs)
lib/shared/thread-utils.js:474
↓ 9 callersFunctiondefaultCalendarQuery
( platform: ?Platform, timeZone?: ?string, )
lib/types/entry-types.js:118
↓ 9 callersMethoddevice_key_upload
(&self)
services/identity/src/grpc_utils.rs:143
↓ 9 callersMethoddevice_type
(&self)
services/identity/src/database/device_list.rs:219
↓ 9 callersMethoddownload_backup_data
( &self, backup_descriptor: &BackupDescriptor, requested_data: RequestedData, )
shared/backup_client/src/lib.rs:115
↓ 9 callersFunctionexecuteQuery
native/cpp/CommonCpp/DatabaseManagers/entities/EntityQueryHelpers.h:189
↓ 9 callersFunctionfetchMessageInfoByID
( viewer?: Viewer, messageID: string, )
keyserver/src/fetchers/message-fetchers.js:773
↓ 9 callersMethodgenerateKey
( algorithm: | SubtleCrypto$RsaHashedKeyGenParams | SubtleCrypto$EcKeyGenParams | Subtle
lib/flow-typed/web-crypto-common.js:213
↓ 9 callersFunctiongetAllThreadPermissions
( permissions: ?ThreadPermissionsBlob, threadID: string, )
lib/permissions/thread-permissions.js:47
↓ 9 callersMethodgetClientDBStore
native/cpp/CommonCpp/_generated/commJSI.h:129
↓ 9 callersFunctiongetCommunity
( threadInfo: | ?ServerThreadInfo | LegacyRawThreadInfo | RawThreadInfo | ThreadInfo, )
lib/shared/thread-utils.js:1322
↓ 9 callersFunctiongetMessageForException
(error: Error)
keyserver/src/responders/utils.js:3
↓ 9 callersMethodinit
( input: null | (() => number | null), output: null | ((c: number) => void), error: null | ((c: nu
web/shared-worker/types/file-system.js:109
↓ 9 callersFunctionmakeBlobServiceEndpointURL
( endpoint: BlobServiceHTTPEndpoint, params: URLPathParams = {}, )
lib/utils/blob-service.js:50
↓ 9 callersFunctionmakeUploadURI
(blobHash: ?string, id: string, secret: string)
keyserver/src/fetchers/upload-fetchers.js:117
↓ 9 callersMethodparseDBDataStore
native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/DataStores/UserStore.cpp:17
↓ 9 callersFunctionpathFromURI
(uri: string)
lib/media/file-utils.js:206
↓ 9 callersMethodremoveListener
(id: string)
native/flow-typed/npm/@react-navigation/core_v6.x.x.js:77
↓ 9 callersMethodrequest
( &self, http_method: Method, url: Url, )
shared/comm-lib/src/blob/client.rs:638
↓ 9 callersMethodserialize
(&self, serializer: S)
shared/grpc_clients/src/identity/device.rs:38
↓ 9 callersFunctionsortCalendarQueryPerKeyserver
( calendarQuery: CalendarQuery, keyserverIDs: $ReadOnlyArray<string>, )
lib/keyserver-conn/keyserver-call-utils.js:51
↓ 9 callersFunctionstringForUser
( user: ?{ +username?: ?string, +farcasterUsername?: ?string, +isViewer?: ?boolean, ... },
lib/shared/user-utils.js:22
↓ 9 callersFunctionthisKeyserverAdmin
()
keyserver/src/user/identity.js:96
↓ 9 callersFunctionthreadInFilterList
( threadInfo: ?(LegacyRawThreadInfo | RawThreadInfo | ThreadInfo), )
lib/shared/thread-utils.js:302
↓ 9 callersMethodtoContain
* Use .toContain when you want to check that an item is in a list. For * testing the items in the list, this uses ===, a strict equality check.
lib/flow-typed/npm/jest_v29.x.x.js:681
↓ 9 callersFunctionupdateRelationships
( callSingleKeyserverEndpoint: CallSingleKeyserverEndpoint, )
lib/actions/relationship-actions.js:16
↓ 9 callersFunctionuseGetAndUpdateDeviceListsForUsers
()
lib/hooks/peer-list-hooks.js:49
↓ 9 callersFunctionuseIsAppForegrounded
()
lib/shared/lifecycle-utils.js:7
↓ 9 callersFunctionuseIsRestoreFlowEnabled
()
lib/utils/services-utils.js:24
↓ 9 callersFunctionusePersistedStateLoaded
()
lib/selectors/app-state-selectors.js:5
↓ 9 callersFunctionuseRefreshFarcasterConversation
()
lib/shared/farcaster/farcaster-hooks.js:974
↓ 9 callersFunctionuseStaffCanSee
()
native/utils/staff-utils.js:7
↓ 9 callersFunctionuseUpdateRelationships
()
lib/hooks/relationship-hooks.js:51
↓ 9 callersFunctionverifyUserLoggedIn
()
keyserver/src/user/login.js:58
↓ 8 callersMethodabort
()
services/electron-update-server/flow-typed/environments/indexeddb.js:73
↓ 8 callersFunctionassertSingleMessageInfo
( messageInfos: $ReadOnlyArray<MessageInfo>, )
lib/shared/messages/utils.js:5
↓ 8 callersMethodcalendarQuery
()
keyserver/src/session/viewer.js:256
↓ 8 callersFunctioncolorIsDark
(color: string)
lib/shared/color-utils.js:8
↓ 8 callersMethodcount
(key?: any|IDBKeyRange)
services/electron-update-server/flow-typed/environments/indexeddb.js:109
↓ 8 callersFunctiondisplayActionResultModal
(message: string)
native/navigation/action-result-modal.js:9
↓ 8 callersFunctionencryptedMediaBlobURI
* Returns effective multimedia blob URI for encrypted image or video
lib/media/media-utils.js:140
↓ 8 callersFunctionentityTextToRawString
( entityText: EntityText, params?: ?EntityTextToRawStringParams, )
lib/utils/entity-text.js:367
↓ 8 callersFunctionfetchEntryInfos
( viewer: Viewer, calendarQueries: $ReadOnlyArray<CalendarQuery>, )
keyserver/src/fetchers/entry-fetchers.js:111
↓ 8 callersFunctionfindUserIdentities
( userIDs: $ReadOnlyArray<string>, )
keyserver/src/utils/identity-utils.js:29
↓ 8 callersMethodfrom
(response: ProtoResponse)
keyserver/addons/rust-node-addon/src/identity_client/find_user_identities.rs:71
↓ 8 callersMethodfrom
(value: DeviceKeys)
native/native_rust_library/src/identity.rs:80
↓ 8 callersFunctiongeneratePendingThreadColor
(userIDs: $ReadOnlyArray<string>)
lib/shared/color-utils.js:36
↓ 8 callersFunctiongenerateReportID
()
lib/utils/report-utils.js:42
↓ 8 callersFunctiongenerate_random_olm_key
Generates random 43-character ahlpanumeric string. It simulates 32-byte (256bit) long base64-encoded data.
services/commtest/src/identity/olm_account.rs:131
↓ 8 callersFunctiongetCommConfig
(configName: ConfigName)
lib/utils/comm-config.js:27
↓ 8 callersFunctiongetDBModule
()
web/shared-worker/worker/worker-database.js:37
↓ 8 callersFunctiongetNeynarURL
( apiVersion: $Keys<typeof neynarURLs>, apiCall: string, params: { [string]: string }, )
lib/utils/neynar-client.js:61
↓ 8 callersFunctiongetProtocolByThreadID
(threadID: string)
lib/shared/threads/protocols/thread-protocols.js:18
↓ 8 callersFunctiongetRolePermissionBlobs
(threadType: ThreadType)
lib/permissions/thread-permissions.js:200
↓ 8 callersMethodgetString
(String key)
native/android/app/src/main/java/app/comm/android/fbjni/CommMMKV.java:110
↓ 8 callersFunctionget_platform_metadata
( req: &Request<T>, )
services/identity/src/grpc_services/shared.rs:47
↓ 8 callersMethodget_services_token
Obtains a service-to-service token which can be used to authenticate when calling other services endpoints. It should be only used when no [`UserIdent
shared/comm-lib/src/auth/service.rs:67
↓ 8 callersMethodget_user_login_flow
( &self, user_id: &str, )
services/identity/src/database/device_list.rs:2116
↓ 8 callersFunctionhttpResponseIsInvalidCSAT
(response: Response)
lib/utils/services-utils.js:59
↓ 8 callersFunctionmakePermissionsForChildrenBlob
( permissions: ?ThreadPermissionsBlob, )
lib/permissions/thread-permissions.js:155
↓ 8 callersFunctionmessageKey
(messageInfo: MessageInfo | RawMessageInfo)
lib/shared/id-utils.js:20
↓ 8 callersFunctionprettyDate
(dayString: string)
lib/utils/date-utils.js:70
↓ 8 callersMethodprocessDBStoreOperations
native/cpp/CommonCpp/_generated/commJSI.h:177
↓ 8 callersFunctionrawDeviceListFromSignedList
( signedDeviceList: SignedDeviceList, )
lib/utils/device-list-utils.js:32
↓ 8 callersFunctionrelationshipBlockedInEitherDirection
( relationshipStatus: ?UserRelationshipStatus, )
lib/shared/relationship-utils.js:60
↓ 8 callersMethodreplaceMessage
(message: WebMessage, backupItem: boolean)
web/shared-worker/utils/sql-query-executor-wrapper.js:134
↓ 8 callersMethodsendMultimediaMessage
( messageInfo: RawMultimediaMessageInfo, )
web/input/input-state-container.react.js:446
↓ 8 callersMethodsendTextMessage
( messageInfo: RawTextMessageInfo, inputThreadInfo: ThreadInfo, parentThreadInfo: ?ThreadInfo, )
web/input/input-state-container.react.js:1315
↓ 8 callersFunctionshimUnsupportedRawMessageInfos
( rawMessageInfos: $ReadOnlyArray<RawMessageInfo>, platformDetails: ?PlatformDetails, )
lib/shared/message-utils.js:146
↓ 8 callersMethodtoThrow
* Use .toThrow to test that a function throws when it is called. * If you want to test that a specific error gets thrown, you can provide an * a
lib/flow-typed/npm/jest_v29.x.x.js:787
↓ 8 callersMethodupdate
(newValue: any)
services/electron-update-server/flow-typed/environments/indexeddb.js:136
↓ 8 callersFunctionupdateThread
( viewer: Viewer, request: UpdateThreadRequest, options?: UpdateThreadOptions, )
keyserver/src/updaters/thread-updaters.js:339
↓ 8 callersFunctionuseResolvedThreadInfos
( threadInfos: $ReadOnlyArray<ThreadInfo>, options?: ?UseResolvedEntityTextOptions, )
lib/utils/entity-helpers.js:18
↓ 8 callersFunctionuseSetFarcasterDCsSyncStatus
()
lib/utils/farcaster-utils.js:131
↓ 8 callersFunctionverifyCalendarQueryThreadIDs
( request: CalendarQuery, )
keyserver/src/responders/entry-responders.js:88
↓ 7 callersFunctionK
(a,b)
web/shared-worker/_generated/comm-query-executor.js:24
↓ 7 callersFunctionassertMessageType
(ourMessageType: number)
lib/types/message-types-enum.js:45
↓ 7 callersMethodattr_try_into
( self, attribute_name: impl Into<String>, )
shared/comm-lib/src/database.rs:133
↓ 7 callersMethodbeginTransaction
native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp:1100
↓ 7 callersFunctionblobHashFromBlobServiceURI
* Returns the base64url-encoded blob hash from a blob service URI. * Throws an error if the URI is not a blob service URI.
lib/utils/blob-service.js:34
↓ 7 callersFunctionchangeRole
( threadID: string, userIDs: $ReadOnlyArray<string>, role: string | -1 | 0 | null, options?: ChangeRol
keyserver/src/updaters/thread-permission-updaters.js:103
↓ 7 callersFunctionchatMessageItemKey
(item: BaseChatMessageItem)
lib/shared/chat-message-item-utils.js:39
↓ 7 callersFunctionclearIdentityInfo
()
keyserver/src/user/identity.js:148
↓ 7 callersMethodcommitTransaction
native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp:1104
← previousnext →201–300 of 7,671, ranked by callers