MCPcopy Create free account

hub / github.com/toeverything/AFFiNE / functions

Functions18,927 in github.com/toeverything/AFFiNE

↓ 8 callersMethodhandleRefundedInvoice
( invoiceId: string, reason: 'refund' | 'dispute_open' | 'dispute_lost' | 'dispute_won' )
packages/backend/server/src/plugins/payment/service.ts:515
↓ 8 callersMethodhasElementById
(id: string)
blocksuite/framework/std/src/gfx/model/surface/surface-model.ts:842
↓ 8 callersMethodhideCopilotPanel
()
packages/frontend/core/src/blocksuite/ai/widgets/edgeless-copilot/index.ts:293
↓ 8 callersFunctionimportFile
( page: Page, file: string, fn?: (page: Page) => Promise<void> )
tests/kit/src/utils/attachment.ts:7
↓ 8 callersFunctioninferOpenMode
(event?: React.MouseEvent | MouseEvent)
packages/frontend/core/src/utils/event.ts:21
↓ 8 callersFunctioninflateBound
(bound: IBound, delta: number)
blocksuite/framework/global/src/gfx/bound.ts:127
↓ 8 callersFunctioninsertInputText
(page: Page, text: string)
tests/affine-local/e2e/quick-search.spec.ts:27
↓ 8 callersFunctionisAttachmentChip
(chip: ChatChip)
packages/frontend/core/src/blocksuite/ai/components/ai-chat-chips/utils.ts:73
↓ 8 callersMethodisBlockCommentHighlighted
( block: BlockModel<{ comments?: Record<CommentId, boolean> }> )
blocksuite/affine/shared/src/services/comment-service/block-element-comment-manager.ts:34
↓ 8 callersFunctionisFavoriteSupportType
( type: string )
packages/frontend/core/src/modules/favorite/constant.ts:8
↓ 8 callersFunctionisFootnoteDefinitionNode
( node: MarkdownAST )
blocksuite/affine/shared/src/adapters/markdown/type.ts:24
↓ 8 callersFunctionisInsideEdgelessEditor
(host?: EditorHost)
blocksuite/affine/shared/src/utils/dom/checker.ts:10
↓ 8 callersFunctionisSubMenuItem
(item: SlashMenuItem)
blocksuite/affine/widgets/slash-menu/src/utils.ts:13
↓ 8 callersFunctionisToggleIconVisible
(toggleIcon: Locator)
tests/blocksuite/e2e/list.spec.ts:43
↓ 8 callersMethoditerate
(where?: WhereCondition)
packages/common/infra/src/orm/core/adapters/yjs/table.ts:193
↓ 8 callersMethodlogout
(userId?: string)
packages/backend/server/src/__tests__/e2e/create-app.ts:197
↓ 8 callersFunctionmapSseError
(originalError: any, info: object)
packages/backend/server/src/base/nestjs/exception.ts:178
↓ 8 callersFunctionmindmap
()
blocksuite/integration-test/src/__tests__/edgeless/group.spec.ts:270
↓ 8 callersMethodmonth
()
blocksuite/affine/components/src/date-picker/date-picker.ts:100
↓ 8 callersMethodonClick
(event: MouseEvent)
packages/frontend/core/src/blocksuite/ai/blocks/ai-chat-block/ai-transcription-block.ts:41
↓ 8 callersMethodopen
(to: To, option: WorkbenchOpenOptions = {})
packages/frontend/core/src/modules/workbench/entities/workbench.ts:138
↓ 8 callersFunctionparseCookies
(res: supertest.Response)
packages/backend/server/src/__tests__/utils/testing-app.ts:77
↓ 8 callersFunctionparseStringToRgba
(value: string)
tests/blocksuite/e2e/utils/bs-alternative.ts:52
↓ 8 callersFunctionparseUniversalId
(id: string)
packages/common/nbstore/src/utils/universal-id.ts:31
↓ 8 callersFunctionpasteContent
( page: Page, clipData: Record<string, unknown> )
tests/kit/src/utils/clipboard.ts:3
↓ 8 callersFunctionpointermove
( target: HTMLElement, position: { x: number; y: number }, options: PointerOptions = defaultPointerOptio
blocksuite/integration-test/src/__tests__/utils/common.ts:113
↓ 8 callersFunctionpolygonGetPointTangent
(points: IVec[], point: IVec)
blocksuite/framework/global/src/gfx/math.ts:133
↓ 8 callersFunctionpolygonNearestPoint
(points: IVec[], point: IVec)
blocksuite/framework/global/src/gfx/math.ts:74
↓ 8 callersFunctionpushLineIntersectsToPoints
( points: IVec3[], aLine: IVec[], bLine: IVec[], priority = 0 )
blocksuite/affine/gfx/connector/src/connector-manager.ts:255
↓ 8 callersMethodquit
()
packages/frontend/apps/electron/test/main/mocks/app-adapter.ts:27
↓ 8 callersFunctionrandomHalf
()
blocksuite/affine/blocks/surface/src/utils/rough/renderer.ts:463
↓ 8 callersFunctionremoveFromOrderedArray
(array: GfxModel[], element: GfxModel)
blocksuite/framework/std/src/utils/layer.ts:61
↓ 8 callersMethodrequest
( method: 'options' | 'get' | 'post' | 'put' | 'delete' | 'patch', path: string )
packages/backend/server/src/__tests__/e2e/create-app.ts:65
↓ 8 callersMethodresize
* resize specified view and the next view * @param view * @param percent from 0 to 1 * @returns
packages/frontend/core/src/modules/workbench/entities/workbench.ts:275
↓ 8 callersMethodrm
(opts: { recursive?: boolean } = {})
tools/utils/src/path.ts:51
↓ 8 callersFunctionrounded
(strings: TemplateStringsArray, ...values: number[])
blocksuite/affine/shared/src/utils/figma-squircle/draw.ts:222
↓ 8 callersMethodrowGetOrCreate
(rowId: string)
blocksuite/affine/data-view/src/core/view-manager/single-view.ts:52
↓ 8 callersFunctionrunPrisma
( cb: (prisma: PrismaClient) => Promise<T> )
tests/kit/src/utils/cloud.ts:60
↓ 8 callersFunctionselectAllBlocksByKeyboard
(page: Page)
tests/blocksuite/e2e/utils/actions/keyboard.ts:126
↓ 8 callersFunctionset
()
packages/frontend/core/src/components/affine/page-history-modal/data.ts:123
↓ 8 callersMethodsetBlobUploadedAt
( peer: string, blobId: string, uploadedAt: Date | null )
packages/common/nbstore/src/storage/blob-sync.ts:7
↓ 8 callersMethodsetFlag
(key: keyof BlockSuiteFlags, value: boolean)
blocksuite/affine/shared/src/services/feature-flag-service.ts:51
↓ 8 callersMethodsetGroup
(group: string, selections: BaseSelection[])
blocksuite/framework/store/src/extension/selection/selection-extension.ts:166
↓ 8 callersMethodsetSelected
( selection: TableSelectionData | undefined, removeNativeSelection = true )
blocksuite/affine/blocks/table/src/selection-controller.ts:498
↓ 8 callersMethodsetViewport
* Set the viewport to the new zoom and center. * @param newZoom The new zoom value. * @param newCenter The new center of the viewport. * @par
blocksuite/framework/std/src/gfx/viewport.ts:409
↓ 8 callersMethodsetZoom
* Set the viewport to the new zoom. * @param zoom The new zoom value. * @param focusPoint The point to focus on after zooming, default is the ce
blocksuite/framework/std/src/gfx/viewport.ts:515
↓ 8 callersMethodsha256
(data: string)
packages/backend/server/src/base/helpers/crypto.ts:305
↓ 8 callersMethodshowTab
(tabId: string, to?: To)
packages/frontend/core/src/modules/desktop-api/service/desktop-api.ts:36
↓ 8 callersMethodsignOut
(options: { endpoint: string })
packages/frontend/apps/ios/src/plugins/auth/definitions.ts:21
↓ 8 callersMethodsliceToSnapshot
(slice: Slice)
blocksuite/framework/std/src/clipboard/clipboard.ts:267
↓ 8 callersMethodsmoothZoom
(zoom: number, focusPoint?: IPoint, numSteps = 10)
blocksuite/framework/std/src/gfx/viewport.ts:569
↓ 8 callersMethodtag
(pageId: string)
packages/frontend/core/src/modules/tag/entities/tag.ts:47
↓ 8 callersMethodtoDoc
(payload: NotionHtmlToDocSnapshotPayload)
blocksuite/affine/shared/src/adapters/notion-html/notion-html.ts:190
↓ 8 callersMethodtoSliceSnapshot
({ assets, file: files, pageId, workspaceId, }: ImageToSliceSnapshotPayload)
blocksuite/affine/shared/src/adapters/image.ts:91
↓ 8 callersMethodtoZIndex
()
blocksuite/framework/std/src/view/element/gfx-block-component.ts:293
↓ 8 callersFunctiontoast
(message: string, options?: ToastOptions)
packages/frontend/core/src/utils/toast.ts:4
↓ 8 callersFunctiontrack
( ctx: ToolbarContext, element: GfxModel, control: ElementLockEvent['control'] )
blocksuite/affine/blocks/root/src/edgeless/configs/toolbar/misc.ts:370
↓ 8 callersMethodtrackEvent
* Tracks citation-related events * @param type - The type of citation event to track * @param properties - The properties of the event
blocksuite/affine/shared/src/services/citation-service/citation-service.ts:31
↓ 8 callersFunctiontriggerMarkdown
( blockId: string, input: string, matcherName: string )
blocksuite/integration-test/src/__tests__/main/editor-semantics.spec.ts:109
↓ 8 callersFunctionuint8ArrayToBase64
(array: Uint8Array)
packages/common/nbstore/src/impls/cloud/socket.ts:148
↓ 8 callersMethodupdatePropertyInfo
(id: string, properties: Partial<DocCustomPropertyInfo>)
packages/frontend/core/src/modules/workspace-property/services/workspace-property.ts:31
↓ 8 callersMethodupdateState
(state: Partial<BlobState>)
blocksuite/affine/components/src/resource/resource.ts:129
↓ 8 callersFunctionupdateXYWHWith
(ctx: ToolbarContext, model: GfxModel, bound: Bound)
blocksuite/affine/blocks/root/src/edgeless/configs/toolbar/alignment.ts:254
↓ 8 callersFunctionuseEnableAI
()
packages/frontend/core/src/components/hooks/affine/use-enable-ai.ts:5
↓ 8 callersFunctionuseEnableCloud
()
packages/frontend/core/src/components/hooks/affine/use-enable-cloud.tsx:26
↓ 8 callersMethoduseIf
(predicator: () => boolean, ...modules: AFFiNEModule[])
packages/backend/server/src/app.module.ts:136
↓ 8 callersFunctionuseKeyboardShortcutsI18N
()
packages/frontend/core/src/components/hooks/affine/use-shortcuts.ts:51
↓ 8 callersFunctionuseMutation
( options: Omit<MutationOptions<GraphQLQuery>, 'variables'>, config?: any )
packages/frontend/core/src/components/hooks/use-mutation.ts:51
↓ 8 callersFunctionusePromptModal
()
packages/frontend/component/src/ui/modal/prompt-modal.tsx:232
↓ 8 callersFunctionuseThemeColorV2
( ...args: Parameters<typeof useThemeValueV2> )
packages/frontend/component/src/hooks/use-theme-color-meta.ts:45
↓ 8 callersFunctionwaitDefaultPageLoaded
(page: Page)
tests/blocksuite/e2e/utils/actions/misc.ts:195
↓ 8 callersMethodwalk
(callback: (block: BlockSnapshot, template: DocSnapshot) => void)
blocksuite/affine/gfx/template/src/services/template.ts:367
↓ 8 callersFunctionwrapTest
( elementCreateFn: F, ...args: Parameters<F> )
tests/blocksuite/e2e/edgeless/lock.spec.ts:60
↓ 8 callersFunctionwriteTextToClipboard
( page: Page, text: string, paste = true )
tests/kit/src/utils/keyboard.ts:108
↓ 8 callersFunctionyjsObservePath
(yjs?: any, path?: string)
packages/common/infra/src/utils/yjs-observable.ts:115
↓ 7 callersFunctionAdmin
()
packages/backend/server/src/core/common/admin-guard.ts:50
↓ 7 callersFunctionElementRendererExtension
( id: string, renderer: ElementRenderer<T> )
blocksuite/affine/blocks/surface/src/extensions/element-renderer.ts:16
↓ 7 callersFunctionEmbedIframeConfigExtension
( config: EmbedIframeConfig )
blocksuite/affine/shared/src/services/embed-iframe/embed-iframe-config.ts:82
↓ 7 callersFunctionViewIcon
({ icon }: { icon: ViewIconName })
packages/frontend/core/src/modules/workbench/view/view-meta.tsx:29
↓ 7 callersMethod_getMatrix
()
blocksuite/affine/components/src/date-picker/date-picker.ts:202
↓ 7 callersMethod_getModelType
( element: GfxModel | GfxLocalElementModel )
blocksuite/framework/std/src/gfx/layer.ts:144
↓ 7 callersMethod_getTargetXYWH
(width: number, height: number)
blocksuite/affine/widgets/edgeless-selected-rect/src/auto-complete-panel.ts:424
↓ 7 callersMethod_load
()
blocksuite/affine/blocks/embed-doc/src/embed-synced-doc-block/embed-synced-doc-block.ts:448
↓ 7 callersMethod_toggleCollapse
()
packages/frontend/core/src/blocksuite/ai/components/ai-tools/doc-edit.ts:324
↓ 7 callersMethod_updateTransform
()
packages/frontend/core/src/blocksuite/view-extensions/code-block-preview/mermaid-preview.ts:237
↓ 7 callersFunctionaddAttachments
( std: BlockStdScope, files: File[], point?: IVec, shouldTransformPoint?: boolean // determines whethe
blocksuite/affine/blocks/attachment/src/utils.ts:170
↓ 7 callersMethodaddDocToCollection
(collectionId: string, docId: string)
packages/frontend/core/src/modules/collection/services/collection.ts:70
↓ 7 callersMethodaddElementsToFrame
* Reset parent of elements to the frame
blocksuite/affine/blocks/frame/src/frame-manager.ts:309
↓ 7 callersMethodasObservable
()
packages/common/infra/src/livedata/livedata.ts:412
↓ 7 callersFunctionassertBlockProps
( page: Page, id: string, props: Record<string, unknown> )
tests/blocksuite/e2e/utils/asserts.ts:556
↓ 7 callersFunctionassertEdgelessColorSameWithHexColor
( page: Page, edgelessColor: string, hexColor: `#${string}` )
tests/blocksuite/e2e/utils/asserts.ts:960
↓ 7 callersFunctionassertEdgelessShapeType
(page: Page, type: ShapeName)
tests/blocksuite/e2e/utils/actions/edgeless.ts:397
↓ 7 callersFunctionassertKanbanCardSelected
( page: Page, { groupIndex, cardIndex, }: { groupIndex: number; cardIndex: number; } )
tests/blocksuite/e2e/database/actions.ts:484
↓ 7 callersFunctionassertKanbanCellSelected
( page: Page, { groupIndex, cardIndex, cellIndex, }: { groupIndex: number; cardIndex
tests/blocksuite/e2e/database/actions.ts:446
↓ 7 callersMethodassertUserIdExists
( userId: string | undefined )
packages/backend/server/src/plugins/payment/manager/user.ts:794
↓ 7 callersFunctionautoFit
(page: Page)
tests/blocksuite/e2e/utils/actions/edgeless.ts:504
↓ 7 callersMethodbeChildOf
(parentId: string | null)
packages/frontend/core/src/modules/organize/entities/folder-node.ts:71
↓ 7 callersFunctionbeforeAppQuit
(fn: () => void)
packages/frontend/apps/electron/src/main/cleanup.ts:10
↓ 7 callersFunctionbound01
(n: number, max: number)
blocksuite/affine/components/src/color-picker/utils.ts:56
↓ 7 callersMethodbuild
* Build the complete SVG path string
blocksuite/framework/global/src/gfx/svg-path.ts:67
← previousnext →1,301–1,400 of 18,927, ranked by callers