MCPcopy Create free account

hub / github.com/toeverything/AFFiNE / functions

Functions18,927 in github.com/toeverything/AFFiNE

↓ 2 callersMethodinit
()
packages/frontend/apps/electron/src/helper/nbstore/v1/workspace-db-adapter.ts:63
↓ 2 callersMethodinit
()
blocksuite/affine/data-view/src/view-presets/table/pc-virtual/virtual/virtual-scroll.ts:17
↓ 2 callersFunctioninitContent
(page: Page)
tests/blocksuite/e2e/edgeless/paste-block.spec.ts:25
↓ 2 callersFunctioninitDatabaseRow
(page: Page)
tests/blocksuite/e2e/utils/actions/misc.ts:455
↓ 2 callersMethodinitElement
(element: HTMLElement, isInit: ReadonlySignal<boolean>)
blocksuite/affine/data-view/src/view-presets/table/pc-virtual/virtual/virtual-scroll.ts:879
↓ 2 callersFunctioninitEmptyDatabaseWithParagraphState
( page: Page, rootId?: string )
tests/blocksuite/e2e/utils/actions/misc.ts:424
↓ 2 callersFunctioninitParagraphsByCount
(page: Page, count: number)
tests/blocksuite/e2e/utils/actions/misc.ts:634
↓ 2 callersMethodinitState
()
blocksuite/framework/sync/src/doc/peer.ts:199
↓ 2 callersFunctioninitTestingDB
(context: INestApplicationContext)
packages/backend/server/src/__tests__/utils/utils.ts:24
↓ 2 callersFunctioninitThreeOverlapNotes
(page: Page, x = 130, y = 140)
tests/blocksuite/e2e/utils/actions/edgeless.ts:1584
↓ 2 callersMethodinitWorkflow
(graph: WorkflowGraph)
packages/backend/server/src/plugins/copilot/workflow/service.ts:13
↓ 2 callersMethodinitialized
()
packages/backend/server/src/core/config/service.ts:47
↓ 2 callersFunctioninputType
(val: any)
packages/common/infra/src/orm/core/validators/data.ts:6
↓ 2 callersMethodinsert
( field: F, value: string | string[] )
packages/common/nbstore/src/storage/indexer/document.ts:10
↓ 2 callersMethodinsert
( trx: DataStructRWTransaction, id: number, terms: string[] )
packages/common/nbstore/src/impls/idb/indexer/inverted-index.ts:16
↓ 2 callersFunctioninsertBelow
( host: EditorHost, markdown: string, parentId: string, index = 0 )
packages/frontend/core/src/blocksuite/ai/actions/edgeless-response.ts:221
↓ 2 callersMethodinsertBlobEmbeddings
( workspaceId: string, blobId: string, embeddings: Embedding[] )
packages/backend/server/src/models/copilot-workspace.ts:444
↓ 2 callersMethodinsertColumn
(after?: number)
blocksuite/affine/blocks/table/src/table-data-manager.ts:303
↓ 2 callersMethodinsertFileEmbedding
( contextId: string, fileId: string, embeddings: Embedding[] )
packages/backend/server/src/models/copilot-context.ts:221
↓ 2 callersMethodinsertFileEmbeddings
( workspaceId: string, fileId: string, embeddings: Embedding[] )
packages/backend/server/src/models/copilot-workspace.ts:338
↓ 2 callersFunctioninsertRightColumn
(page: Page, index = 0)
tests/blocksuite/e2e/database/statistics.spec.ts:27
↓ 2 callersMethodinsertRow
(after?: number)
blocksuite/affine/blocks/table/src/table-data-manager.ts:307
↓ 2 callersMethodinsertRowAfter
(groupKey: string | undefined, rowId: string)
blocksuite/affine/data-view/src/view-presets/table/pc/controller/selection.ts:524
↓ 2 callersMethodinsertRowAfter
(groupKey: string | undefined, rowId: string)
blocksuite/affine/data-view/src/view-presets/table/pc-virtual/controller/selection.ts:547
↓ 2 callersMethodinsertTo
( groupKey: string | undefined, rowId: string, before: boolean )
blocksuite/affine/data-view/src/view-presets/table/pc/controller/selection.ts:227
↓ 2 callersMethodinsertTo
( groupKey: string | undefined, rowId: string, before: boolean )
blocksuite/affine/data-view/src/view-presets/table/pc-virtual/controller/selection.ts:223
↓ 2 callersFunctioninside
(el: Locator)
tests/kit/src/utils/utils.ts:51
↓ 2 callersMethodinstantiate
( openOptions: WorkspaceOpenOptions, customEngineWorkerInitOptions?: WorkerInitOptions )
packages/frontend/core/src/modules/workspace/services/repo.ts:85
↓ 2 callersFunctionintersects
(rect1: SelectionRect, rect2: SelectionRect)
blocksuite/affine/shared/src/commands/selection/get-selection-rects.ts:97
↓ 2 callersMethodinvalidate
()
blocksuite/affine/gfx/turbo-renderer/src/turbo-renderer.ts:259
↓ 2 callersFunctionisActionItem
(item: SlashMenuItem)
blocksuite/affine/widgets/slash-menu/src/utils.ts:9
↓ 2 callersFunctionisActiveInEditor
(editorHost: HTMLElement)
blocksuite/framework/std/src/inline/range/active.ts:10
↓ 2 callersMethodisAdmin
(userId: string)
packages/backend/server/src/core/features/service.ts:28
↓ 2 callersFunctionisAttachment
( model: GfxModel | BlockModel )
packages/frontend/core/src/blocksuite/ai/utils/attachment.ts:5
↓ 2 callersFunctionisBefore
( targetDate: [number, number, number], referenceDate: [number, number, number] )
packages/frontend/core/src/modules/collection-rules/impls/filters/date.ts:148
↓ 2 callersMethodisBlock
()
blocksuite/affine/shared/src/services/toolbar-service/flags.ts:73
↓ 2 callersFunctionisBlockMetaSupported
(model: BlockModel)
blocksuite/affine/shared/src/services/block-meta-service.ts:93
↓ 2 callersFunctionisBlockQuote
(node: MarkdownAST)
blocksuite/affine/shared/src/__tests__/adapters/markdown/remark-plugins/remark-callout.unit.spec.ts:12
↓ 2 callersMethodisBlockSelected
()
blocksuite/affine/blocks/latex/src/latex-block.ts:23
↓ 2 callersFunctionisBlockedIpAddress
(address: string)
packages/frontend/apps/electron/src/main/security/url-safety.ts:47
↓ 2 callersFunctionisBlockedIpAddress
(address: string)
packages/backend/server/src/base/utils/ssrf.ts:100
↓ 2 callersFunctionisCodeOrHtmlNode
(node: MarkdownAST)
blocksuite/affine/blocks/code/src/adapters/markdown/markdown.ts:16
↓ 2 callersFunctionisCreateNewTag
( tagOption: TagOption )
packages/frontend/core/src/components/tags/tags-editor.tsx:62
↓ 2 callersFunctionisDatabase
({ tagName }: Element)
blocksuite/affine/shared/src/utils/dom/point-to-block.ts:53
↓ 2 callersFunctionisDatabaseBlock
(block: BlockDocumentInfo)
packages/common/reader/src/reader.ts:276
↓ 2 callersFunctionisDelta
(value: unknown)
blocksuite/affine/blocks/database/src/adapters/utils.ts:40
↓ 2 callersMethodisEarlyAccessUser
( userId: string, type: EarlyAccessType = EarlyAccessType.App )
packages/backend/server/src/core/features/service.ts:37
↓ 2 callersFunctionisElement
(ast: HtmlAST)
blocksuite/affine/inlines/link/src/adapters/notion-html/html-inline.ts:7
↓ 2 callersFunctionisElement
(ast: HtmlAST)
blocksuite/affine/inlines/link/src/adapters/html/html-inline.ts:7
↓ 2 callersFunctionisElementInline
(element: Element)
blocksuite/affine/shared/src/adapters/utils/hast.ts:144
↓ 2 callersMethodisEmpty
(ty: AbstractType<any>)
packages/common/infra/src/orm/core/adapters/yjs/table.ts:284
↓ 2 callersMethodisEmpty
()
blocksuite/affine/model/src/blocks/note/note-model.ts:144
↓ 2 callersFunctionisEmptyObject
(obj: UnRecord)
blocksuite/framework/store/src/reactive/flat-native-y/utils.ts:24
↓ 2 callersFunctionisEmptyUpdate
(binary: Uint8Array | undefined)
packages/frontend/core/src/modules/workspace-engine/impls/cloud.ts:684
↓ 2 callersFunctionisEqualUint8Arrays
(a: Uint8Array, b: Uint8Array)
packages/common/nbstore/src/sync/doc/peer.ts:94
↓ 2 callersFunctionisFullyEncoded
* Check if a URL is already encoded with encodeURIComponent to avoid markdown link parsing * @example * https://example.com/path%20with%20spaces sho
blocksuite/affine/blocks/bookmark/src/adapters/markdown/preprocessor.ts:33
↓ 2 callersMethodisGroup
( element: GfxPrimitiveElementModel )
blocksuite/framework/std/src/gfx/model/surface/surface-model.ts:529
↓ 2 callersMethodisHovering
* Whether the host is currently hovering. * * This property is unreliable when the floating element disconnect from the DOM suddenly.
blocksuite/affine/components/src/hover/controller.ts:105
↓ 2 callersFunctionisHtmlNode
( node: MarkdownAST )
blocksuite/affine/shared/src/adapters/markdown/delta-converter.ts:61
↓ 2 callersFunctionisI18nString
(value: unknown)
packages/frontend/i18n/src/i18next.ts:102
↓ 2 callersFunctionisImageAttachment
(att: EditorAttachment)
packages/frontend/core/src/components/comment/comment-editor/index.tsx:115
↓ 2 callersFunctionisImageProxyURL
(imageUrl: string)
blocksuite/affine/shared/src/adapters/middlewares/proxy.ts:26
↓ 2 callersFunctionisInEmbedGap
(node: Node)
blocksuite/framework/std/src/inline/utils/embed.ts:19
↓ 2 callersMethodisInViewport
(bound: Bound)
blocksuite/framework/std/src/gfx/viewport.ts:335
↓ 2 callersFunctionisInside
( { x, y }: { x: number; y: number }, rect: DOMRect, buffer = 0 )
blocksuite/affine/components/src/hover/middlewares/safe-area.ts:34
↓ 2 callersFunctionisInternalEmbedModel
( model: GfxModel | BlockModel )
blocksuite/affine/model/src/blocks/embed/types.ts:52
↓ 2 callersFunctionisInternalUrl
(url: string)
packages/frontend/apps/electron/src/main/security-restrictions.ts:8
↓ 2 callersFunctionisItalicElement
(ast: HtmlAST)
blocksuite/affine/inlines/preset/src/adapters/html/html-inline.ts:81
↓ 2 callersFunctionisJournalEditor
(page: Page, maybeDate?: string | number | Date)
tests/affine-local/e2e/journal.spec.ts:25
↓ 2 callersFunctionisJournalString
(j?: string | false)
packages/frontend/core/src/modules/journal/store/journal.ts:6
↓ 2 callersFunctionisLineThroughElement
(ast: HtmlAST)
blocksuite/affine/inlines/preset/src/adapters/html/html-inline.ts:127
↓ 2 callersFunctionisLinux
()
packages/frontend/apps/electron/src/shared/utils.ts:17
↓ 2 callersFunctionisLockedImpl
(element: GfxCompatibleInterface)
blocksuite/framework/std/src/utils/tree.ts:176
↓ 2 callersFunctionisMergableBlock
(block: BlockModel)
blocksuite/affine/shared/src/commands/model-crud/replace-selected-text-with-blocks.ts:27
↓ 2 callersFunctionisMobileUserAgent
(userAgentHeader: UserAgentHeader)
packages/backend/server/src/core/utils/user-agent.ts:186
↓ 2 callersFunctionisNewTabTrigger
(event?: React.MouseEvent | MouseEvent)
packages/frontend/core/src/utils/event.ts:11
↓ 2 callersFunctionisNewTabTrigger
(event?: MouseEvent)
blocksuite/affine/shared/src/utils/event.ts:47
↓ 2 callersFunctionisNewViewTrigger
(event?: MouseEvent)
blocksuite/affine/shared/src/utils/event.ts:53
↓ 2 callersFunctionisNullish
(val: T | null | undefined)
blocksuite/affine/blocks/surface/src/utils/a-star.ts:6
↓ 2 callersMethodisNumeric
(str: string)
packages/backend/server/src/plugins/copilot/providers/utils.ts:321
↓ 2 callersFunctionisOnEdge
(node: MindmapNode, direction: 'tail' | 'head')
blocksuite/affine/gfx/mindmap/src/interactivity/drag-utils.ts:12
↓ 2 callersFunctionisOrganizeSupportType
( type: string )
packages/frontend/core/src/modules/organize/constants.ts:9
↓ 2 callersFunctionisOutOfNoteBlock
( editorHost: EditorHost, noteBlock: Element, point: Point, scale: number )
blocksuite/affine/widgets/drag-handle/src/utils.ts:134
↓ 2 callersFunctionisParagraph
(node: MarkdownAST)
blocksuite/affine/shared/src/__tests__/adapters/markdown/remark-plugins/remark-callout.unit.spec.ts:16
↓ 2 callersFunctionisPersistedAttachment
( attachment: AttachmentFile )
packages/frontend/core/src/modules/workspace-indexer-embedding/utils.ts:11
↓ 2 callersFunctionisPointOnlines
( element: Bound, points: readonly [number, number][], rotate: number, hitPoint: [number, number], t
blocksuite/framework/global/src/gfx/math.ts:204
↓ 2 callersFunctionisPreviewPanelOpen
(target: HTMLElement)
packages/frontend/core/src/blocksuite/ai/components/ai-tools/artifacts-preview-panel.ts:14
↓ 2 callersMethodisProviderAvailableFor
( provider: CalendarProviderName, options?: { oauth?: boolean } )
packages/backend/server/src/plugins/calendar/service.ts:549
↓ 2 callersFunctionisProxy
(value: unknown)
blocksuite/framework/store/src/reactive/flat-native-y/utils.ts:13
↓ 2 callersMethodisPublic
* Check if the doc is public.
packages/backend/server/src/models/doc.ts:544
↓ 2 callersFunctionisRecord
(value: unknown)
packages/common/nbstore/src/impls/sqlite/doc.ts:205
↓ 2 callersMethodisRecordingFeatureAvailable
()
packages/frontend/core/src/modules/media/services/meeting-settings.ts:118
↓ 2 callersFunctionisRefererAllowed
(referer: string, allowedOrigin: OriginRules)
packages/backend/server/src/plugins/worker/utils/headers.ts:26
↓ 2 callersFunctionisRemovedUserInfo
( userInfo: AffineUserInfo )
blocksuite/affine/shared/src/services/user-service/types.ts:15
↓ 2 callersMethodisResolver
(instance: any)
packages/backend/server/src/base/nestjs/scanner.ts:45
↓ 2 callersFunctionisRootNode
(node: MarkdownAST)
blocksuite/affine/blocks/note/src/adapters/markdown.ts:11
↓ 2 callersFunctionisSameDetailSelection
( current?: DetailViewSelection, next?: DetailViewSelection )
blocksuite/affine/data-view/src/core/detail/selection.ts:15
↓ 2 callersFunctionisSameMonth
(a: dayjs.Dayjs, b: dayjs.Dayjs)
packages/frontend/component/src/ui/date-picker/calendar/helpers.ts:7
↓ 2 callersFunctionisSessionProp
(key: string)
blocksuite/affine/shared/src/services/edit-props-store.ts:58
↓ 2 callersMethodisSpacialProperty
(propertyType: string)
blocksuite/affine/blocks/database/src/data-source.ts:107
← previousnext →4,501–4,600 of 18,927, ranked by callers