MCPcopy Create free account

hub / github.com/toeverything/AFFiNE / functions

Functions18,927 in github.com/toeverything/AFFiNE

↓ 1 callersFunctionprunePrismaEngines
(appRoot, targetKey)
packages/backend/server/scripts/docker-clean.mjs:245
↓ 1 callersFunctionpruneServerNative
(distDir, keepArch)
packages/backend/server/scripts/docker-clean.mjs:115
↓ 1 callersFunctionpush
(to: To, state?: any)
packages/frontend/core/src/utils/navigable-history.ts:84
↓ 1 callersMethodpush
(message: ChatMessage)
packages/backend/server/src/plugins/copilot/session.ts:141
↓ 1 callersMethodpush
(id: string, priority: number = 0)
packages/common/nbstore/src/utils/priority-queue.ts:15
↓ 1 callersFunctionpushChildren
(id: string, block: YMap<any>)
packages/common/reader/src/reader.ts:594
↓ 1 callersFunctionpushOuterPoints
( points: IVec3[], expandStartBound: Bound, expandEndBound: Bound, outerBound: Bound )
blocksuite/affine/gfx/connector/src/connector-manager.ts:267
↓ 1 callersFunctionpushProp
( name: string, value: string, rawParams: Record<string, string> )
packages/backend/server/src/plugins/calendar/providers/caldav.ts:357
↓ 1 callersMethodput
( userId: string, workspaceId: string, key: string, blob: BlobInputType )
packages/backend/server/src/plugins/copilot/storage.ts:47
↓ 1 callersFunctionputObjectWithRetry
( s3: ReturnType<typeof createR2Client>, asset: string, assetSource: Buffer, contentType: string | fal
tools/cli/src/webpack/s3-plugin.ts:67
↓ 1 callersFunctionqueryEmbedGithubData
( embedGithubModel: EmbedGithubModel, linkPreviewer: LinkPreviewProvider, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-github-block/utils.ts:20
↓ 1 callersFunctionqueryEmbedLoomData
( embedLoomModel: EmbedLoomModel, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-loom-block/utils.ts:11
↓ 1 callersFunctionqueryEmbedYoutubeData
( embedYoutubeModel: EmbedYoutubeModel, linkPreviewer: LinkPreviewProvider, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-youtube-block/utils.ts:10
↓ 1 callersMethodqueryLayout
( model: BlockModel, host: EditorHost, viewportRecord: ViewportRecord )
blocksuite/affine/blocks/list/src/turbo/list-layout-handler.ts:25
↓ 1 callersFunctionqueryLoomOEmbedData
( url: string, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-loom-block/utils.ts:23
↓ 1 callersFunctionquerySelectorClass
( ast: HtmlAST, className: string )
blocksuite/affine/shared/src/adapters/utils/hast.ts:196
↓ 1 callersFunctionquerySelectorId
(ast: HtmlAST, id: string)
blocksuite/affine/shared/src/adapters/utils/hast.ts:217
↓ 1 callersFunctionquerySelectorTag
( ast: HtmlAST, tagName: string )
blocksuite/affine/shared/src/adapters/utils/hast.ts:178
↓ 1 callersMethodqueryString$
( options: ParseOptions = { parseNumbers: true, parseBooleans: true, } )
packages/frontend/core/src/modules/workbench/entities/view.ts:93
↓ 1 callersFunctionqueryYoutubeOEmbedData
( url: string, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-youtube-block/utils.ts:38
↓ 1 callersMethodquickConnect
(point: IVec, element: GfxModel)
blocksuite/affine/gfx/connector/src/connector-tool.ts:195
↓ 1 callersMethodrandomBase64Url
(byteLength: number)
packages/backend/server/src/plugins/oauth/service.ts:52
↓ 1 callersMethodrandomIndex
(max: number)
blocksuite/affine/widgets/remote-selection/src/manager/color-picker.ts:11
↓ 1 callersMethodrandomInt
(min: number, max: number)
packages/backend/server/src/base/helpers/crypto.ts:291
↓ 1 callersFunctionrandomSeed
(min = 0, max = Date.now())
packages/frontend/core/src/blocksuite/ai/utils/image.ts:110
↓ 1 callersFunctionrandomSeed
()
blocksuite/framework/global/src/gfx/math.ts:10
↓ 1 callersFunctionrandomSeed
()
blocksuite/affine/blocks/surface/src/utils/rough/math.ts:1
↓ 1 callersFunctionrandomWidth
()
packages/frontend/core/src/modules/app-sidebar/views/index.tsx:244
↓ 1 callersFunctionrangeFromElement
(ele: GfxModel | GfxLocalElementModel)
blocksuite/framework/std/src/gfx/grid.ts:31
↓ 1 callersFunctionrangeFromElementExternal
(ele: GfxModel)
blocksuite/framework/std/src/gfx/grid.ts:46
↓ 1 callersFunctionrangeHasAnchorAndFocus
({ rootElement, startText, endText, })
blocksuite/framework/std/src/inline/utils/range-conversion.ts:30
↓ 1 callersFunctionrangeHasAnchorAndFocusHandler
({ rootElement, startText, endText, startTextOffset, endTextOffset, })
blocksuite/framework/std/src/inline/utils/range-conversion.ts:38
↓ 1 callersFunctionrangeHasNoAnchorAndFocus
({ rootElement, startText, endText, range, })
blocksuite/framework/std/src/inline/utils/range-conversion.ts:117
↓ 1 callersFunctionrangeHasNoAnchorAndFocusHandler
({ yText })
blocksuite/framework/std/src/inline/utils/range-conversion.ts:130
↓ 1 callersFunctionrangeOnlyHasAnchor
({ rootElement, startText, endText })
blocksuite/framework/std/src/inline/utils/range-conversion.ts:91
↓ 1 callersFunctionrangeOnlyHasAnchorHandler
({ yText, rootElement, startText, startTextOffset, })
blocksuite/framework/std/src/inline/utils/range-conversion.ts:95
↓ 1 callersFunctionrangeOnlyHasFocus
({ rootElement, startText, endText })
blocksuite/framework/std/src/inline/utils/range-conversion.ts:66
↓ 1 callersFunctionrangeOnlyHasFocusHandler
({ rootElement, endText, endTextOffset, })
blocksuite/framework/std/src/inline/utils/range-conversion.ts:70
↓ 1 callersFunctionrangeWrap
(n: number, min: number, max: number)
blocksuite/affine/shared/src/utils/math.ts:5
↓ 1 callersMethodreadAllNotifications
()
packages/frontend/core/src/modules/notification/stores/notification.ts:89
↓ 1 callersFunctionreadBlobAsURL
(blob: Blob | File)
packages/frontend/core/src/blocksuite/ai/utils/image.ts:85
↓ 1 callersFunctionreadConfigJSONOverrides
(path: string)
packages/backend/server/src/base/config/register.ts:220
↓ 1 callersMethodreadCopilotBlob
( userId: string, workspaceId: string, blobId: string, fileName: string )
packages/backend/server/src/plugins/copilot/embedding/job.ts:217
↓ 1 callersFunctionreadCurrentSessionNumber
( sessionStorage: Storage, localStorage: Storage | null )
packages/frontend/track/src/tracker.ts:366
↓ 1 callersMethodreadObject
(file: string)
packages/backend/server/src/base/storage/providers/fs.ts:212
↓ 1 callersFunctionreadPersistentId
(key: string, storage: Storage | null, renew = false)
packages/frontend/track/src/tracker.ts:448
↓ 1 callersFunctionreadRecordingFile
(filepath: string)
packages/frontend/apps/electron/src/main/recording/feature.ts:700
↓ 1 callersFunctionreadRecordingFile
(filepath: string)
packages/frontend/apps/electron-renderer/src/app/effects/recording.ts:17
↓ 1 callersFunctionreadRecordingFileBuffer
(filepath: string)
packages/frontend/core/src/utils/opus-encoding.ts:64
↓ 1 callersFunctionreadTokenPayload
(filePath: string)
packages/frontend/apps/mobile-shared/src/nbstore/payload.ts:123
↓ 1 callersMethodreadWorkspaceBlob
( workspaceId: string, blobId: string, fileName: string )
packages/backend/server/src/plugins/copilot/embedding/job.ts:229
↓ 1 callersFunctionreadYjsDocFromFile
(filePath: string)
tools/doc-diff/src/io.ts:14
↓ 1 callersFunctionreadableToBuffer
(readable: Readable)
packages/backend/server/src/base/utils/stream.ts:65
↓ 1 callersFunctionreadableToBytes
(stream: Readable)
packages/backend/server/src/core/storage/__tests__/comment-attachment.spec.ts:141
↓ 1 callersMethodreadwrite
(database: IDBPDatabase<DocStorageSchema>)
packages/common/nbstore/src/impls/idb/indexer/data-struct.ts:459
↓ 1 callersFunctionreadyRecording
(id: number, buffer: Buffer)
packages/frontend/apps/electron/src/main/recording/feature.ts:705
↓ 1 callersMethodreconcileRevenueCatSubscriptions
()
packages/backend/server/src/plugins/payment/cron.ts:169
↓ 1 callersMethodrecordByKey
(key: string)
packages/common/infra/src/orm/core/adapters/yjs/table.ts:184
↓ 1 callersMethodrecordFailure
(message: string)
packages/common/nbstore/src/telemetry/manager.ts:246
↓ 1 callersMethodrecoverBackupWorkspace
(dbPath: string)
packages/frontend/core/src/modules/backup/services/index.ts:50
↓ 1 callersMethodrecoverDoc
(updates: Uint8Array[])
packages/backend/server/src/core/doc/options.ts:89
↓ 1 callersFunctionrectIncludesTopAndBottom
(a: Rect, b: Rect)
blocksuite/affine/widgets/page-dragging-area/src/utils.ts:30
↓ 1 callersFunctionrectangle
( x: number, y: number, width: number, height: number, o: ResolvedOptions )
blocksuite/affine/blocks/surface/src/utils/rough/renderer.ts:74
↓ 1 callersMethodrectangle
( x: number, y: number, width: number, height: number, options?: Options )
blocksuite/affine/blocks/surface/src/utils/rough/svg.ts:172
↓ 1 callersFunctionrecursiveAddChild
(node: MindmapNode)
blocksuite/affine/gfx/mindmap/src/view/utils.ts:218
↓ 1 callersFunctionreducer
(state: State, action: Action)
packages/frontend/admin/src/components/ui/use-toast.ts:72
↓ 1 callersMethodreferenceToNode
()
blocksuite/affine/inlines/reference/src/reference-node/reference-node.ts:237
↓ 1 callersMethodrefresh
( table: T )
packages/common/nbstore/src/impls/idb/indexer/index.ts:156
↓ 1 callersFunctionrefreshBookmarkUrlData
( bookmarkElement: BookmarkBlockComponent, signal?: AbortSignal )
blocksuite/affine/blocks/bookmark/src/utils.ts:6
↓ 1 callersFunctionrefreshData
(block: AttachmentBlockComponent)
blocksuite/affine/blocks/attachment/src/utils.ts:71
↓ 1 callersFunctionrefreshEmbedGithubStatus
( embedGithubElement: EmbedGithubBlockComponent, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-github-block/utils.ts:130
↓ 1 callersFunctionrefreshEmbedGithubUrlData
( embedGithubElement: EmbedGithubBlockComponent, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-github-block/utils.ts:76
↓ 1 callersFunctionrefreshEmbedLoomUrlData
( embedLoomElement: EmbedLoomBlockComponent, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-loom-block/utils.ts:46
↓ 1 callersFunctionrefreshEmbedYoutubeUrlData
( embedYoutubeElement: EmbedYoutubeBlockComponent, signal?: AbortSignal )
blocksuite/affine/blocks/embed/src/embed-youtube-block/utils.ts:61
↓ 1 callersFunctionrefreshEnv
()
packages/backend/server/src/__tests__/e2e/test.ts:14
↓ 1 callersMethodrefreshIfNeed
()
packages/common/nbstore/src/storage/indexer.ts:66
↓ 1 callersMethodrefreshLegacyFrameOrder
* This method will populate `presentationIndex` for all legacy frames, * and keep the orderer of the legacy frames.
blocksuite/affine/blocks/frame/src/frame-manager.ts:459
↓ 1 callersMethodrefreshOnlineModels
()
packages/backend/server/src/plugins/copilot/providers/openai.ts:371
↓ 1 callersFunctionrefreshPrompts
(db: PrismaClient)
packages/backend/server/src/plugins/copilot/prompt/prompts.ts:2096
↓ 1 callersMethodrefreshTokens
()
packages/backend/server/src/plugins/calendar/providers/caldav.ts:832
↓ 1 callersMethodrefreshUserSessionIfNeeded
( res: Response, userSession: UserSession, ttr?: number, refreshClientVersion?: string )
packages/backend/server/src/core/auth/service.ts:171
↓ 1 callersFunctionregenerateBlockId
(data: SlotBlockPayload['data'])
blocksuite/affine/gfx/template/src/services/template-middlewares.ts:20
↓ 1 callersFunctionregister
(props: Record<string, unknown>)
packages/frontend/track/src/tracker.ts:53
↓ 1 callersMethodregister
(provider: SearchProvider)
packages/backend/server/src/plugins/indexer/factory.ts:25
↓ 1 callersFunctionregisterAIEditorEffects
()
packages/frontend/core/src/blocksuite/ai/effects/editor.ts:94
↓ 1 callersFunctionregisterAccessController
( type: Type, provider: AccessController<Type> )
packages/backend/server/src/core/permission/controller.ts:12
↓ 1 callersFunctionregisterAffineCreationCommands
({ pageHelper, t, globalDialogService, }: { t: ReturnType<typeof useI18n>; pageHelper: ReturnType<ty
packages/frontend/core/src/commands/affine-creation.tsx:10
↓ 1 callersFunctionregisterAffineHelpCommands
({ t, urlService, workspaceDialogService, }: { t: ReturnType<typeof useI18n>; urlService: UrlService
packages/frontend/core/src/commands/affine-help.tsx:9
↓ 1 callersFunctionregisterAffineLanguageCommands
({ i18n, t, }: { i18n: I18n; t: ReturnType<typeof useI18n>; })
packages/frontend/core/src/commands/affine-i18n.tsx:8
↓ 1 callersFunctionregisterAffineLayoutCommands
({ t, appSidebarService, }: { t: ReturnType<typeof useI18n>; appSidebarService: AppSidebarService; })
packages/frontend/core/src/commands/affine-layout.tsx:8
↓ 1 callersFunctionregisterAffineNavigationCommands
({ t, docCollection, navigationHelper, workspaceDialogService, workbenchService, }: { t: ReturnTyp
packages/frontend/core/src/commands/affine-navigation.tsx:11
↓ 1 callersFunctionregisterAffineSettingsCommands
({ t, store, theme, editorSettingService, }: { t: ReturnType<typeof useI18n>; store: ReturnType<ty
packages/frontend/core/src/commands/affine-settings.tsx:11
↓ 1 callersFunctionregisterAffineUpdatesCommands
({ t, store, quitAndInstall, }: { t: ReturnType<typeof useI18n>; store: ReturnType<typeof createStor
packages/frontend/core/src/commands/affine-updates.tsx:10
↓ 1 callersFunctionregisterCMDKCommand
(service: CMDKQuickSearchService)
packages/frontend/core/src/components/hooks/use-register-workspace-commands.ts:37
↓ 1 callersMethodregisterConvert
( from: TypeInstance, to: TypeInstance, convert: (value: unknown) => unknown, level = 0 )
blocksuite/affine/data-view/src/core/logical/type-system.ts:90
↓ 1 callersFunctionregisterCustomMetrics
()
packages/backend/server/src/base/metrics/metrics.ts:16
↓ 1 callersMethodregisterEmbedBlockOptions
(options: EmbedOptions)
blocksuite/affine/shared/src/services/embed-option-service.ts:16
↓ 1 callersFunctionregisterGlobalErrorHandler
()
tools/cli/src/webpack/error-handler.js:66
↓ 1 callersMethodregisterHandlers
(consumer: OpConsumer<WorkerOps>)
packages/common/nbstore/src/worker/consumer.ts:177
↓ 1 callersMethodregisterHandlers
(consumer: OpConsumer<WorkerManagerOps>)
packages/common/nbstore/src/worker/consumer.ts:352
← previousnext →8,201–8,300 of 18,927, ranked by callers