MCPcopy Create free account

hub / github.com/toeverything/AFFiNE / functions

Functions18,927 in github.com/toeverything/AFFiNE

↓ 6 callersFunctionuniversalId
({ peer, type, id, }: { peer: string; type: SpaceType; id: string; })
packages/common/nbstore/src/utils/universal-id.ts:3
↓ 6 callersMethodupdateCollection
( id: string, collectionInfo: Partial<Omit<CollectionInfo, 'id'>> )
packages/frontend/core/src/modules/collection/services/collection.ts:63
↓ 6 callersMethodupdateConfig
( user: string, updates: Array<{ module: string; key: string; value: any }> )
packages/backend/server/src/core/config/service.ts:72
↓ 6 callersFunctionupdateModelsWith
( ctx: ToolbarContext, models: ConnectorElementModel[], field: T, value: ConnectorElementProps[T] )
blocksuite/affine/gfx/connector/src/toolbar/config.ts:416
↓ 6 callersMethodvalue
(record: AbstractType<any>, select: Select = '*')
packages/common/infra/src/orm/core/adapters/yjs/table.ts:216
↓ 6 callersFunctionverifyParagraphContent
( page: Page, index: number, expectedText: string )
tests/affine-local/e2e/blocksuite/clipboard/clipboard.spec.ts:67
↓ 6 callersMethodwaitFor
(name: T, timeout?: number)
packages/backend/server/src/base/event/eventbus.ts:165
↓ 6 callersMethodwaitForSyncReady
()
packages/frontend/core/src/modules/doc/entities/doc.ts:130
↓ 6 callersMethodwaitForWorkspaceEmbeddingSwitchToBe
( page: Page, enabled: boolean )
tests/affine-cloud-copilot/e2e/utils/settings-panel-utils.ts:35
↓ 6 callersMethodwriteToBlob
(blobId: string)
blocksuite/framework/store/src/transformer/assets.ts:94
↓ 5 callersFunctionBlockLayoutPainterExtension
( type: string, painter: new () => BlockLayoutPainter )
blocksuite/affine/gfx/turbo-renderer/src/painter/painter.worker.ts:20
↓ 5 callersFunctionFontConfigExtension
( fontConfig: FontConfig[] )
blocksuite/affine/shared/src/services/font-loader/font-loader-service.ts:195
↓ 5 callersMethodGET
(path: string)
packages/backend/server/src/__tests__/utils/testing-app.ts:148
↓ 5 callersFunctionGroupTitle
( groupData: Group, ops: { groupHover: boolean; readonly: boolean; clickAdd: (evt: MouseEvent)
blocksuite/affine/data-view/src/view-presets/table/pc-virtual/group/top/group-title.ts:29
↓ 5 callersFunctionInternal
()
packages/backend/server/src/core/auth/guard.ts:269
↓ 5 callersMethodPUT
(path: string)
packages/backend/server/src/__tests__/e2e/create-app.ts:150
↓ 5 callersFunctionSeniorToolExtension
( id: string, builder: ToolBuilder<SeniorTool> )
blocksuite/affine/widgets/edgeless-toolbar/src/extension/index.ts:52
↓ 5 callersMethod_autoComplete
(targetType: AUTO_COMPLETE_TARGET_TYPE)
blocksuite/affine/widgets/edgeless-selected-rect/src/auto-complete-panel.ts:325
↓ 5 callersMethod_beforeChange
()
blocksuite/affine/blocks/note/src/components/edgeless-note-style-panel.ts:128
↓ 5 callersMethod_buildCanvasLayers
()
blocksuite/framework/std/src/gfx/layer.ts:118
↓ 5 callersMethod_generateTarget
(connector: ConnectorElementModel)
blocksuite/affine/widgets/edgeless-selected-rect/src/auto-complete-panel.ts:350
↓ 5 callersMethod_getJob
()
blocksuite/framework/std/src/clipboard/clipboard.ts:243
↓ 5 callersMethod_getStoreManager
()
blocksuite/playground/apps/_common/components/starter-debug-menu.ts:340
↓ 5 callersMethod_init
()
blocksuite/affine/blocks/surface/src/utils/a-star.ts:97
↓ 5 callersMethod_onDragMove
(e: ElementDragEvent)
blocksuite/affine/widgets/edgeless-toolbar/src/draggable/draggable-element.controller.ts:197
↓ 5 callersMethod_refreshViewport
()
blocksuite/affine/fragments/frame-panel/src/card/frame-preview.ts:160
↓ 5 callersMethod_reset
()
blocksuite/affine/blocks/frame/src/frame-manager.ts:50
↓ 5 callersMethod_shouldUseLod
(blobUrl: string | null, zoom = this.gfx.viewport.zoom)
blocksuite/affine/blocks/image/src/image-edgeless-block.ts:124
↓ 5 callersMethod_showOverlay
(targetType: AUTO_COMPLETE_TARGET_TYPE)
blocksuite/affine/widgets/edgeless-selected-rect/src/auto-complete-panel.ts:501
↓ 5 callersMethod_stopAutoScroll
()
packages/frontend/core/src/blocksuite/ai/components/ai-chat-composer/ai-chat-composer-tip.ts:92
↓ 5 callersFunctionacceptInviteById
( app: TestingApp, workspaceId: string, inviteId: string, sendAcceptMail = false )
packages/backend/server/src/__tests__/utils/invite.ts:92
↓ 5 callersMethodacquire
()
packages/backend/server/src/core/doc/storage/lock.ts:26
↓ 5 callersMethodaction
(meta: DocMeta)
packages/frontend/core/src/modules/at-menu-config/services/index.ts:311
↓ 5 callersMethodactive
()
blocksuite/framework/std/src/event/dispatcher.ts:109
↓ 5 callersMethodadd1
()
packages/common/nbstore/src/impls/idb/indexer/inverted-index.ts:473
↓ 5 callersMethodaddCategoryRecord
(type: ContextCategories, id: string, docs: string[])
packages/backend/server/src/plugins/copilot/context/session.ts:72
↓ 5 callersFunctionaddDoc
()
packages/backend/server/src/__tests__/copilot.spec.ts:1671
↓ 5 callersMethodaddDoc
(...docIds: string[])
packages/frontend/core/src/modules/collection/entities/collection.ts:78
↓ 5 callersMethodaddLinkedDoc
(targetDocId: string, linkedDocId: string)
packages/frontend/core/src/modules/doc/services/docs.ts:180
↓ 5 callersMethodaddNode
( /** * The parent node id of the new node. If it's null, the node will be the root node */
blocksuite/affine/model/src/elements/mindmap/mindmap.ts:265
↓ 5 callersFunctionaddSiblingAttachmentBlocks
( std: BlockStdScope, files: File[], targetModel: BlockModel, placement: 'before' | 'after' = 'after',
blocksuite/affine/blocks/attachment/src/utils.ts:144
↓ 5 callersFunctionaddUtcDays
(date: Date, days: number)
packages/backend/server/src/models/workspace-analytics.ts:173
↓ 5 callersMethodaddValue
* @internal Use {@link impl} instead.
packages/common/infra/src/framework/core/framework.ts:97
↓ 5 callersMethodaddValue
* @internal Use {@link addImpl} instead.
blocksuite/framework/global/src/di/container.ts:191
↓ 5 callersFunctionaffineTextStyles
( props: AffineTextAttributes, override?: Readonly<StyleInfo> )
blocksuite/affine/shared/src/styles/text.ts:5
↓ 5 callersFunctionappendUrlTextSegment
( segments: UrlTextSegment[], segment: UrlTextSegment )
blocksuite/affine/shared/src/utils/url.ts:110
↓ 5 callersMethodapplicationFocus
()
packages/frontend/core/src/modules/lifecycle/service/lifecycle.ts:23
↓ 5 callersMethodapplicationStart
()
packages/frontend/core/src/modules/lifecycle/service/lifecycle.ts:19
↓ 5 callersFunctionapproximately
( a: number, b: number, precision?: number, epsilon = 0.000001 )
blocksuite/framework/global/src/gfx/curve.ts:290
↓ 5 callersFunctionassertActivePageIdx
(idx: number)
tests/blocksuite/e2e/utils/actions/linked-doc.ts:47
↓ 5 callersFunctionassertClassName
( page: Page, selector: string, className: RegExp )
tests/blocksuite/e2e/utils/asserts.ts:468
↓ 5 callersFunctionassertDatabaseSearching
( page: Page, isSearching: boolean )
tests/blocksuite/e2e/database/actions.ts:252
↓ 5 callersFunctionassertInitial
()
blocksuite/integration-test/src/__tests__/edgeless/group.spec.ts:134
↓ 5 callersFunctionassertTitle
(page: Page, text: string)
tests/kit/src/utils/editor.ts:84
↓ 5 callersFunctionbatchAddChildren
( container: GfxGroupCompatibleInterface, elements: GfxModel[] )
blocksuite/framework/std/src/utils/tree.ts:58
↓ 5 callersMethodbind
* @internal
blocksuite/framework/store/src/reactive/text/text.ts:129
↓ 5 callersFunctionbindKeymap
( bindings: Record<string, UIEventHandler> )
blocksuite/framework/std/src/event/keymap.ts:66
↓ 5 callersMethodblobState$
(blobId: string)
packages/common/nbstore/src/sync/blob/index.ts:32
↓ 5 callersFunctionblurDatabaseSearch
(page: Page)
tests/blocksuite/e2e/database/actions.ts:276
↓ 5 callersMethodbound
()
blocksuite/affine/blocks/embed/src/common/to-edgeless-embed-block.ts:33
↓ 5 callersFunctionbuildAppModule
(env: Env)
packages/backend/server/src/app.module.ts:155
↓ 5 callersMethodbuildTree
()
blocksuite/affine/model/src/elements/mindmap/mindmap.ts:364
↓ 5 callersFunctioncalculateNodeSize
( root: MindmapNode, parent: TreeSize | null = null, rootChildren?: MindmapNode[] )
blocksuite/affine/gfx/mindmap/src/view/layout.ts:36
↓ 5 callersFunctioncanDrop
(data)
packages/frontend/core/src/components/properties/manager/index.tsx:73
↓ 5 callersMethodcancelSubscription
(idempotencyKey: string, plan?: SubscriptionPlan)
packages/frontend/core/src/modules/cloud/entities/subscription.ts:67
↓ 5 callersMethodchangeGroup
(columnId: string | undefined)
blocksuite/affine/data-view/src/core/group-by/trait.ts:355
↓ 5 callersFunctionchangeNoteDisplayMode
( card: Locator, mode: 'both' | 'doc' | 'edgeless' )
tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:66
↓ 5 callersFunctionchangeShapeFillColor
(page: Page, label: string)
tests/blocksuite/e2e/utils/actions/edgeless.ts:1410
↓ 5 callersFunctionchangeShapeStrokeColor
(page: Page, color: string)
tests/blocksuite/e2e/utils/actions/edgeless.ts:1435
↓ 5 callersFunctioncheckForUpdates
()
packages/frontend/apps/electron/src/main/updater/electron-updater.ts:56
↓ 5 callersMethodclamp
(n: number, min: number, max?: number)
blocksuite/framework/global/src/gfx/model/vec.ts:559
↓ 5 callersFunctionclampAnalyticsWindowDays
( value: number, isTeamWorkspace: boolean )
packages/frontend/core/src/desktop/pages/workspace/detail-page/tabs/analytics.utils.ts:31
↓ 5 callersFunctionclampInt
( value: number | undefined, min: number, max: number, def: number )
packages/backend/server/src/models/workspace-analytics.ts:148
↓ 5 callersFunctionclickDatabaseOutside
(page: Page)
tests/blocksuite/e2e/database/actions.ts:153
↓ 5 callersFunctionclickListIcon
(page: Page, i = 0)
tests/blocksuite/e2e/selection/block.spec.ts:144
↓ 5 callersFunctionclone
(p: Point)
blocksuite/affine/blocks/surface/src/utils/points-on-curve/curve-to-bezier.ts:3
↓ 5 callersMethodclone
* Clone the entire service collection. * * This method is quite cheap as it only clones the references. * * @returns A new service collect
packages/common/infra/src/framework/core/framework.ts:213
↓ 5 callersFunctioncloseImagePreviewModal
(page: Page)
tests/affine-local/e2e/image-preview.spec.ts:15
↓ 5 callersMethodcomplete
()
packages/common/nbstore/src/worker/client.ts:471
↓ 5 callersFunctionconfigureBrowserWorkspaceFlavours
(framework: Framework)
packages/frontend/core/src/modules/workspace-engine/index.ts:14
↓ 5 callersFunctionconfigureCommonModules
(framework: Framework)
packages/frontend/core/src/modules/index.ts:71
↓ 5 callersFunctionconfirmCreateJournal
(page: Page)
tests/kit/src/utils/load-page.ts:17
↓ 5 callersFunctionconnect
()
packages/common/nbstore/src/connection/connection.ts:163
↓ 5 callersFunctionconvert
( fn: (propValue: V, instance: T) => unknown )
blocksuite/framework/std/src/gfx/model/surface/decorators/convert.ts:15
↓ 5 callersMethodcountByUserId
(userId: string)
packages/backend/server/src/core/notification/service.ts:462
↓ 5 callersMethodcreate
(data: Prisma.NotificationUncheckedCreateInput)
packages/backend/server/src/models/notification.ts:249
↓ 5 callersFunctioncreateApp
( metadata: TestingAppMetadata = {} )
packages/backend/server/src/__tests__/e2e/create-app.ts:219
↓ 5 callersFunctioncreateBuiltinToolbarConfigExtension
( flavour: string )
blocksuite/affine/blocks/embed/src/embed-html-block/configs/toolbar.ts:177
↓ 5 callersFunctioncreateButtonLocator
(name: string)
tests/blocksuite/e2e/utils/query.ts:83
↓ 5 callersFunctioncreateCalendarModule
(caldavConfig: Record<string, unknown>)
packages/backend/server/src/plugins/calendar/__tests__/caldav.spec.ts:242
↓ 5 callersMethodcreateCollection
(info: Partial<Omit<CollectionInfo, 'id'>>)
packages/frontend/core/src/modules/collection/stores/collection.ts:111
↓ 5 callersMethodcreateComment
(input: CommentNotificationCreate, isMention?: boolean)
packages/backend/server/src/core/notification/service.ts:41
↓ 5 callersMethodcreateContext
(workspaceId: string, sessionId: string)
packages/frontend/core/src/blocksuite/ai/provider/copilot-client.ts:310
↓ 5 callersFunctioncreateConversionItem
( config: TextConversionConfig, group?: SlashMenuItem['group'] )
blocksuite/affine/blocks/note/src/configs/slash-menu.ts:81
↓ 5 callersMethodcreateDoc
* By default, only an empty doc will be created. * If the `init` parameter is passed, a `surface`, `note`, and `paragraph` block * will be creat
packages/frontend/core/src/modules/workspace/impls/workspace.ts:121
↓ 5 callersFunctioncreateFactory
( db: PrismaClient, opts: FactoryOptions = { logger: false } )
packages/backend/server/src/__tests__/mocks/factory.ts:26
↓ 5 callersFunctioncreateFlavorApp
(flavor: TestFlavor)
packages/backend/server/src/__tests__/e2e/apps/flavors.spec.ts:10
↓ 5 callersFunctioncreateFrame
( page: Page, coord1: [number, number], coord2: [number, number] )
tests/blocksuite/e2e/edgeless/frame/clipboard.spec.ts:28
↓ 5 callersFunctioncreateOnToggleFn
( ctx: ToolbarContext, name: Extract< LinkEventType, | 'OpenedViewSelector' | 'Opene
blocksuite/affine/blocks/embed/src/configs/toolbar.ts:66
↓ 5 callersFunctioncreateOnToggleFn
( ctx: ToolbarContext, name: Extract< LinkEventType, | 'OpenedViewSelector' | 'Opene
blocksuite/affine/blocks/bookmark/src/configs/toolbar.ts:80
← previousnext →1,801–1,900 of 18,927, ranked by callers