MCPcopy Create free account

hub / github.com/toeverything/AFFiNE / functions

Functions18,927 in github.com/toeverything/AFFiNE

↓ 7 callersFunctioncanGroupable
(dataSource: DataSource, propertyId: string)
blocksuite/affine/data-view/src/view-presets/kanban/group-by-utils.ts:64
↓ 7 callersFunctioncaptureEventTarget
(target: EventTarget | null)
blocksuite/affine/shared/src/utils/event.ts:200
↓ 7 callersMethodchangeDocTitle
(newTitle: string)
packages/frontend/core/src/modules/doc/entities/doc.ts:138
↓ 7 callersMethodcheckEmbeddingAvailable
()
packages/backend/server/src/models/copilot-context.ts:152
↓ 7 callersFunctionclickSideBarSettingButton
(page: Page)
tests/kit/src/utils/sidebar.ts:3
↓ 7 callersMethodcloseSubMenu
()
blocksuite/affine/components/src/context-menu/menu.ts:102
↓ 7 callersFunctioncompareDateKeys
(mode: string | undefined, asc: boolean)
blocksuite/affine/data-view/src/core/group-by/compare-date-keys.ts:41
↓ 7 callersFunctioncopyTextToClipboard
(text: string)
packages/frontend/core/src/utils/clipboard/index.ts:11
↓ 7 callersFunctioncreate
()
packages/backend/server/src/__tests__/models/doc-user.spec.ts:32
↓ 7 callersFunctioncreateDefaultDoc
( collection: Workspace, options: { id?: string; title?: string } = {} )
blocksuite/affine/shared/src/utils/model/doc.ts:8
↓ 7 callersFunctioncreateDocExplorerContext
( initialState?: ExplorerDisplayPreference )
packages/frontend/core/src/components/explorer/context.ts:47
↓ 7 callersFunctioncreateElement
( id: string, index: string, group: TestElement | null )
blocksuite/affine/gfx/group/src/__tests__/group-api.unit.spec.ts:24
↓ 7 callersFunctioncreateEmbedBlockSchema
({ name, version, toModel, props, transformer, }: { name: string; version: number; toModel: ()
blocksuite/affine/model/src/utils/helper.ts:30
↓ 7 callersFunctioncreateFrame
( page: Page, coord1: [number, number], coord2: [number, number] )
tests/blocksuite/e2e/edgeless/frame/selection.spec.ts:31
↓ 7 callersFunctioncreateMockDataSource
(columns: Column[])
blocksuite/affine/data-view/src/__tests__/kanban.unit.spec.ts:115
↓ 7 callersMethodcreateSession
( options: OptionsField<typeof createCopilotSessionMutation> )
packages/frontend/core/src/blocksuite/ai/provider/copilot-client.ts:106
↓ 7 callersMethodcreateWorkspace
( initial: ( docCollection: BSWorkspace, blobStorage: BlobStorage, docStorage: DocStorag
packages/frontend/core/src/modules/workspace/providers/flavour.ts:19
↓ 7 callersFunctiondefineEmbedModel
(BlockModelSuperClass: T)
blocksuite/affine/model/src/utils/helper.ts:19
↓ 7 callersMethoddeleteBlob
( workspaceId: string, blob: string, permanent: boolean )
packages/frontend/core/src/modules/workspace/providers/flavour.ts:50
↓ 7 callersMethoddequeue
()
blocksuite/affine/blocks/surface/src/utils/priority-queue.ts:66
↓ 7 callersMethoddismiss
()
packages/frontend/apps/android/src/plugins/ai-button/definitions.ts:3
↓ 7 callersMethoddispose
()
blocksuite/framework/global/src/disposable/index.ts:81
↓ 7 callersMethoddraw
(ctx: CanvasRenderingContext2D, rc: RoughCanvas)
blocksuite/affine/gfx/shape/src/overlay/rect.ts:7
↓ 7 callersFunctiondropEffect
()
packages/frontend/component/src/ui/dnd/drop-target.ts:490
↓ 7 callersFunctionduplicate
(block: ImageBlockComponent)
blocksuite/affine/blocks/image/src/utils.ts:389
↓ 7 callersMethodensureWorkspaceContentExists
(workspaceId: string)
packages/backend/server/src/core/notification/service.ts:383
↓ 7 callersFunctionexhaustMapSwitchUntilChanged
( comparator: (previous: T, current: T) => boolean, project: (value: T, index: number) => O, onSwitch?:
packages/common/infra/src/livedata/ops.ts:186
↓ 7 callersFunctionexists
(filePath)
packages/backend/server/scripts/docker-clean.mjs:24
↓ 7 callersFunctionexpandCollapsibleSection
(page: Page, name: string)
tests/affine-mobile/e2e/utils.ts:3
↓ 7 callersMethodfindDocsToEmbed
* find docs to embed, excluding ignored and already embedded docs * newer docs will be list first * @param workspaceId id of the workspace *
packages/backend/server/src/models/copilot-workspace.ts:50
↓ 7 callersFunctionfocusDocTitle
(page: Page, editorIndex = 0)
tests/kit/src/utils/editor.ts:80
↓ 7 callersFunctionfontXSStyle
(container: string)
blocksuite/affine/shared/src/styles/font.ts:23
↓ 7 callersMethodforRoot
()
packages/backend/server/src/base/job/queue/index.ts:15
↓ 7 callersMethodfork
(options: ChatSessionForkOptions)
packages/backend/server/src/plugins/copilot/session.ts:546
↓ 7 callersFunctionformatDate
(date: Date)
blocksuite/affine/widgets/slash-menu/src/utils.ts:88
↓ 7 callersMethodfromCenter
(center: IVec, width: number, height: number)
blocksuite/framework/global/src/gfx/model/bound.ts:192
↓ 7 callersMethodfromPoints
(start: Point, end: Point)
blocksuite/framework/global/src/gfx/model/point.ts:175
↓ 7 callersFunctiongenerateKeyBetweenV2
(a: string | null, b: string | null)
blocksuite/framework/std/src/utils/fractional-indexing.ts:14
↓ 7 callersFunctiongenerateUrl
({ baseUrl, workspaceId, pageId, blockIds, elementIds, mode, xywh, // not needed currently }: Us
packages/frontend/core/src/components/hooks/affine/use-share-url.ts:37
↓ 7 callersMethodget$
(key: PrimaryKeyFieldType<T>)
packages/common/infra/src/orm/core/table.ts:212
↓ 7 callersMethodgetActive
* Get the **accepted** Role of a user in a workspace.
packages/backend/server/src/models/workspace-user.ts:224
↓ 7 callersFunctiongetAppName
(app: ApplicationInfo | null)
packages/frontend/media-capture-playground/server/main.ts:154
↓ 7 callersFunctiongetAttachmentFileIcon
( filetype: string, options: Parameters<typeof FileIconNoneIcon>[0] = { width: '2.5em', height: '2
blocksuite/affine/components/src/icons/file-icons.ts:95
↓ 7 callersMethodgetBlob
(key: string)
packages/frontend/apps/electron/src/helper/nbstore/v1/db-adapter.ts:43
↓ 7 callersMethodgetById
(id: string)
packages/backend/server/src/models/workspace-user.ts:215
↓ 7 callersFunctiongetClientVersionFromRequest
(req: Request)
packages/backend/server/src/base/utils/request.ts:136
↓ 7 callersFunctiongetCurrentStore
()
packages/common/infra/src/atom/root-store.ts:3
↓ 7 callersMethodgetDocContent
( @Param('workspaceId') workspaceId: string, @Param('docId') docId: string, @Query('full') fullCon
packages/backend/server/src/core/doc-service/controller.ts:97
↓ 7 callersMethodgetDocTimestamps
* Get all docs timestamps info. especially for useful in sync process.
packages/common/nbstore/src/storage/doc.ts:92
↓ 7 callersMethodgetElementsInFrameBound
* Get all elements in the frame bound, * whatever the element already has another parent frame or not.
blocksuite/affine/blocks/frame/src/frame-manager.ts:428
↓ 7 callersFunctiongetFirstKey
(key: string)
blocksuite/framework/store/src/reactive/flat-native-y/utils.ts:38
↓ 7 callersMethodgetFocusCellContainer
(selection: DetailViewSelection)
blocksuite/affine/data-view/src/core/detail/selection.ts:163
↓ 7 callersFunctiongetName
()
tests/blocksuite/e2e/attachment.spec.ts:85
↓ 7 callersMethodgetPackage
(name: PackageName)
tools/utils/src/workspace.ts:94
↓ 7 callersFunctiongetRenderer
()
blocksuite/integration-test/src/__tests__/utils/setup.ts:33
↓ 7 callersFunctiongetRequestResponseFromContext
(ctx: ExecutionContext)
packages/backend/server/src/base/utils/request.ts:51
↓ 7 callersFunctiongetSelections
( host: EditorHost, mode: 'flat' | 'highest' = 'flat' )
packages/frontend/core/src/blocksuite/ai/utils/selection-utils.ts:194
↓ 7 callersFunctiongetShapeType
(elementModel: Record<string, unknown>)
blocksuite/affine/gfx/shape/src/adapter/utils.ts:3
↓ 7 callersFunctiongetSnapshot
(timestamp: number = Date.now())
packages/backend/server/src/__tests__/doc/history.spec.ts:51
↓ 7 callersMethodgetSnapshot
( workspaceId: string, docId: string, options?: { select?: Select } )
packages/backend/server/src/models/doc.ts:192
↓ 7 callersFunctiongetTestStoreManager
()
blocksuite/integration-test/src/store.ts:6
↓ 7 callersFunctiongetWorkerUrl
(name: string)
packages/common/env/src/worker.ts:1
↓ 7 callersMethodhandle
({ basename, to, show }: { basename: string; to: To; show: boolean })
packages/frontend/core/src/modules/workbench/services/workbench-new-tab-handler.ts:30
↓ 7 callersFunctionhandleNativeRangeAtPoint
(x: number, y: number)
blocksuite/affine/shared/src/utils/dom/point-to-range.ts:91
↓ 7 callersMethodhasBlock
* Check if a block exists by its ID * @param id - The block's ID * @returns True if the block exists, false otherwise * * @category Block
blocksuite/framework/store/src/model/store/store.ts:1127
↓ 7 callersMethodhasLabel
()
blocksuite/affine/model/src/elements/connector/connector.ts:280
↓ 7 callersMethodhead
(key: string)
packages/backend/server/src/base/storage/providers/provider.ts:73
↓ 7 callersMethodhighlightComment
(id: CommentId | null)
packages/frontend/core/src/modules/comment/entities/doc-comment.ts:433
↓ 7 callersFunctionhighlighter
( originText: string, before: string, after: string, matches: [number, number][], { maxLength =
packages/frontend/core/src/modules/quicksearch/utils/highlighter.ts:1
↓ 7 callersMethodhostConnected
()
blocksuite/affine/data-view/src/view-presets/table/pc/controller/drag.ts:133
↓ 7 callersFunctioniconBuilder
( icon: typeof PageIcon, size = '1.25em', style = 'user-select:none;flex-shrink:0;vertical-align:middle;
blocksuite/affine/shared/src/services/doc-display-meta-service.ts:191
↓ 7 callersFunctioninitKanbanViewState
( page: Page, config: { rows: string[]; columns: { type: string; value?: unknown[] }[]; }, roo
tests/blocksuite/e2e/utils/actions/misc.ts:357
↓ 7 callersFunctionintersects
(a: IBound, b: IBound)
blocksuite/framework/global/src/gfx/math.ts:301
↓ 7 callersMethodisEmpty
()
blocksuite/affine/data-view/src/view-presets/table/pc-virtual/virtual/linked-list.ts:160
↓ 7 callersMethodisFile
()
tools/utils/src/path.ts:71
↓ 7 callersFunctionisInlineRangeAfter
(a: InlineRange, b: InlineRange)
blocksuite/framework/std/src/inline/utils/inline-range.ts:29
↓ 7 callersFunctionisInlineRangeBefore
(a: InlineRange, b: InlineRange)
blocksuite/framework/std/src/inline/utils/inline-range.ts:25
↓ 7 callersFunctionisInlineRangeEdgeAfter
( index: InlineRange['index'], range: InlineRange )
blocksuite/framework/std/src/inline/utils/inline-range.ts:47
↓ 7 callersMethodisIntersectWithBound
(bound: Bound, epsilon = EPSILON)
blocksuite/framework/global/src/gfx/model/bound.ts:299
↓ 7 callersFunctionisPureObject
(value: unknown)
blocksuite/framework/store/src/reactive/is-pure-object.ts:1
↓ 7 callersFunctionisTopLevelBlock
( selectable: BlockModel | GfxModel | null )
blocksuite/affine/shared/src/utils/edgeless.ts:73
↓ 7 callersMethodjoin
(...paths: string[])
tools/utils/src/package.ts:78
↓ 7 callersFunctionkeepColor
(color: string)
blocksuite/affine/components/src/color-picker/utils.ts:210
↓ 7 callersFunctionkeyDownCtrlOrMeta
(page: Page)
tests/kit/src/utils/keyboard.ts:6
↓ 7 callersFunctionkeyUpCtrlOrMeta
(page: Page)
tests/kit/src/utils/keyboard.ts:14
↓ 7 callersMethodlen
(points: IVec[])
blocksuite/framework/global/src/gfx/polyline.ts:4
↓ 7 callersFunctionlerp
(a: Point, b: Point, t: number)
blocksuite/affine/blocks/surface/src/utils/points-on-curve/index.ts:24
↓ 7 callersMethodlist
(category: string)
blocksuite/affine/gfx/template/src/toolbar/template-type.ts:35
↓ 7 callersMethodlistBySubscriptionsInRange
( subscriptionIds: string[], from: Date, to: Date )
packages/backend/server/src/models/calendar-event.ts:101
↓ 7 callersFunctionlocateHeaderToolbar
(page: Page)
tests/affine-local/e2e/blocksuite/edgeless/note.spec.ts:54
↓ 7 callersFunctionlogin
(app: TestingApp)
packages/backend/server/src/__tests__/sync/gateway.spec.ts:131
↓ 7 callersMethodmarkAsRead
(notificationId: string, userId: string)
packages/backend/server/src/models/notification.ts:255
↓ 7 callersMethodmatchFileEmbedding
( embedding: number[], contextId: string, topK: number, threshold: number )
packages/backend/server/src/models/copilot-context.ts:249
↓ 7 callersFunctionmergeUpdates
(updates: Uint8Array[])
packages/common/nbstore/src/storage/doc.ts:298
↓ 7 callersFunctionmiddleware
(count = 0)
blocksuite/affine/blocks/root/src/configs/toolbar.ts:245
↓ 7 callersMethodmoveCardTo
( rowId: string, fromGroupKey: string | undefined, toGroupKey: string, position: InsertToPosit
blocksuite/affine/data-view/src/core/group-by/trait.ts:395
↓ 7 callersMethodmoveHere
(childId: string, index: string)
packages/frontend/core/src/modules/organize/entities/folder-node.ts:120
↓ 7 callersFunctionnextState
( state$: BehaviorSubject<BlobState>, state?: Partial<BlobState> )
blocksuite/playground/apps/_common/sync/blob/mock-server.ts:124
↓ 7 callersFunctiononConfirm
()
packages/frontend/core/src/mobile/components/navigation/nodes/doc/operations.tsx:87
↓ 7 callersMethodonMouseDown
(e: MouseEvent, elementInfo: ElementInfo<T>)
blocksuite/affine/widgets/edgeless-toolbar/src/draggable/draggable-element.controller.ts:437
← previousnext →1,401–1,500 of 18,927, ranked by callers