MCPcopy Create free account

hub / github.com/boardsite-io/boardsite / functions

Functions494 in github.com/boardsite-io/boardsite

↓ 3 callersMethodsetToken
* Set the github authorization token * @param token authorization token
src/state/online/state/index.ts:121
↓ 3 callersMethodsetUser
* Update the local user settings, such as alias and color * @param user an update to the user selection
src/state/online/state/index.ts:95
↓ 3 callersFunctionsubmitCreate
({ userAlias, getByLabelText, getByRole, }: SubmitCreateProps)
src/View/Dialog/OnlineCreate/index.test.tsx:13
↓ 3 callersFunctionusePageLayer
(pageLayer: PageLayer, pageId: PageId)
src/state/subscription/usePageLayer.ts:7
↓ 3 callersFunctionzoomTo
({ viewTransform, zoomPoint, zoomScale, }: ZoomToProps)
src/state/view/util/zoomTo.ts:12
↓ 2 callersMethodaddAttachments
* Add new attachments * @param attachments new attachments
src/state/board/state/index.ts:56
↓ 2 callersMethodaddStrokes
(strokes: (Stroke | SerializedStroke)[])
src/drawing/page/index.ts:44
↓ 2 callersFunctionapplyBound
({ value, min, max }: ApplyBoundProps)
src/state/view/util/bounds.ts:60
↓ 2 callersFunctionapplyTransformTo
({ point, pageOffset, transform, }: ApplyTransformToProps)
src/util/drawing/index.ts:69
↓ 2 callersMethodcalculateHitbox
()
src/drawing/stroke/index.tsx:93
↓ 2 callersMethodclearAttachments
* Clear all attachments
src/state/board/state/index.ts:77
↓ 2 callersMethodclearPages
* Clear pages * @param pageIds ids of pages which should be cleared
src/state/board/state/index.ts:258
↓ 2 callersMethodclearPages
(pageIds: PageId[])
src/state/action/state/index.ts:197
↓ 2 callersMethodclearUndoRedo
* Clear undo and redo stack
src/state/action/state/index.ts:40
↓ 2 callersMethodconnectWebsocket
(sessionId: string)
src/state/online/state/index.ts:160
↓ 2 callersFunctioncreateMockSocket
(fn: (data: Message<T[]>) => void)
src/state/online/state/index.test.ts:79
↓ 2 callersMethodcreateSocket
(sessionId: string, password?: string)
src/state/online/state/index.ts:147
↓ 2 callersMethoddeleteCurrentPage
()
src/state/action/state/index.ts:274
↓ 2 callersMethoddeletePages
* Delete pages * @param pageIds ids of pages which should be deleted
src/state/board/state/index.ts:241
↓ 2 callersMethoddeleteStrokes
(strokes: Stroke[])
src/state/action/state/index.ts:131
↓ 2 callersMethoddisconnectCleanUp
* Clear board state and update session UI
src/state/online/state/index.ts:214
↓ 2 callersFunctiondrawBackground
( ctx: CanvasRenderingContext2D, meta: PageMeta )
src/util/render/backgrounds/index.ts:5
↓ 2 callersFunctiondrawStroke
( ctx: CanvasRenderingContext2D, stroke: Stroke | LiveStroke )
src/util/render/shapes/index.ts:38
↓ 2 callersMethodend
(point: Point)
src/drawing/livestroke/index.types.ts:6
↓ 2 callersMethodendLoading
* Close the loading dialog
src/state/loading/state/index.ts:33
↓ 2 callersMethodfullReset
* Delete all pages - essentially a full board state reset
src/state/board/state/index.ts:95
↓ 2 callersMethodgetBoundCenterX
()
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:193
↓ 2 callersMethodgetBoundCenterY
()
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:197
↓ 2 callersFunctiongetCenter
(p1: Point, p2: Point)
src/state/view/util/multiTouch.ts:68
↓ 2 callersMethodgetCenterY
()
src/state/view/state/index.ts:271
↓ 2 callersFunctiongetClientEnvironment
(publicUrl)
config/env.js:63
↓ 2 callersFunctiongetEllipseOutline
({ x, y, rx, ry, segmentsPerQuarter, }: GetEllipseOutlineProps)
src/drawing/hitbox/index.ts:136
↓ 2 callersFunctiongetLowerBound
({ newTransform, pageHeight, innerHeight, }: GetLowerBoundProps)
src/state/view/util/bounds.ts:44
↓ 2 callersMethodgetPage
(pageId: string)
src/api/request.ts:163
↓ 2 callersMethodgetPageDimension
( documentPageNum: number )
src/drawing/attachment/pdf/index.tsx:56
↓ 2 callersMethodgetPageId
(pageIndex: PageIndex)
src/state/board/state/index.ts:42
↓ 2 callersFunctiongetRectanglePolygon
([x1, y1, x2, y2]: number[])
src/drawing/hitbox/index.ts:116
↓ 2 callersFunctiongetStrokesInPolygon
({ strokes, polygon, filterType, }: GetStrokesInPolygonProps)
src/drawing/hitbox/index.ts:20
↓ 2 callersMethodgetTheme
* Get the current theme * @returns the current theme
src/state/settings/state/index.ts:33
↓ 2 callersFunctiongetVerifiedPages
(pageIds: PageRank)
src/drawing/helpers/index.ts:10
↓ 2 callersFunctionhandleExportWorkspace
()
src/storage/workspace/index.ts:46
↓ 2 callersFunctionhandleImportWorkspace
()
src/storage/workspace/index.ts:14
↓ 2 callersMethodhideStrokes
(strokes: Stroke[])
src/state/board/state/index.ts:153
↓ 2 callersFunctionjoinOnlineSession
({ sessionId, password, onWrongPassword, navigate, }: JoinOnlineSession)
src/View/Dialog/helpers.ts:50
↓ 2 callersMethodjumpToLastPage
* Go to the last page
src/state/view/state/index.ts:208
↓ 2 callersMethodmove
(point: Point, pagePosition: Point)
src/drawing/livestroke/index.types.ts:5
↓ 2 callersFunctionmultiTouchEnd
()
src/state/view/util/multiTouch.ts:50
↓ 2 callersFunctionnewAttachment
({ type, id, cachedBlob, }: SerializedAttachment)
src/drawing/attachment/utils.ts:11
↓ 2 callersFunctiononFinishTextEdit
( inputRef: React.RefObject<HTMLTextAreaElement> )
src/View/Board/RenderNG/Page/ActiveTextField/helpers.ts:7
↓ 2 callersMethodonFirstPage
* Find out if currently on first page * @returns true if on first page
src/state/view/state/index.ts:155
↓ 2 callersMethodpath
(sessionURL: string)
src/state/online/state/index.ts:536
↓ 2 callersMethodpostAttachment
(file: File)
src/api/request.ts:217
↓ 2 callersFunctionreadEnvFile
(file, type)
config/getHttpsConfig.js:37
↓ 2 callersFunctionreadFileAsUint8Array
(file: File)
src/storage/util/index.ts:4
↓ 2 callersMethodredo
()
src/state/action/state/index.ts:58
↓ 2 callersMethodrenderDocumentPage
( documentPageNum: number )
src/drawing/attachment/pdf/index.tsx:92
↓ 2 callersMethodrenderPageLayer
(pageLayer: PageLayer, pageId: PageId)
src/state/subscription/index.ts:85
↓ 2 callersFunctionrenderWithProviders
({ ui, pathname = "/", initRoutes = ["/"], }: RenderProps)
src/util/testing/index.tsx:22
↓ 2 callersMethodrescaleAtCenter
* Rescale the view at the center of the viewport * @param newScale new scale to be applied
src/state/view/state/index.ts:258
↓ 2 callersMethodreset
()
src/drawing/livestroke/index.tsx:60
↓ 2 callersMethodresetTr
(trDiv: HTMLDivElement | null)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:114
↓ 2 callersMethodresetTrState
()
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:105
↓ 2 callersMethodsend
(type: MessageType, content: unknown)
src/state/online/state/index.ts:257
↓ 2 callersMethodsetId
(attachId: AttachId)
src/state/board/state/index.types.ts:45
↓ 2 callersMethodsetSessionId
(sessionId?: string)
src/api/request.ts:57
↓ 2 callersMethodsetState
(newState: ViewState)
src/state/view/state/index.ts:31
↓ 2 callersMethodsetTransformStrokes
* Add strokes to the shape transformer * @param strokes shapes to be added to the shape transformer * @param pageId page on which the transf
src/state/board/state/index.ts:106
↓ 2 callersMethodstart
(point: Point, pageId: string)
src/drawing/livestroke/index.types.ts:4
↓ 2 callersMethodundo
()
src/state/action/state/index.ts:46
↓ 2 callersMethodupdateConfig
(config: Partial<SessionConfig>)
src/state/online/state/index.ts:86
↓ 2 callersMethodupdateStrokes
(strokes: Stroke[])
src/state/action/state/index.ts:105
↓ 2 callersMethoduserConnect
(user: User)
src/state/online/state/index.ts:301
↓ 2 callersMethoduserDisconnect
({ id }: User)
src/state/online/state/index.ts:312
↓ 2 callersMethodvalidatePageIndex
* Check if pageIndex is OOB and needs adjustment
src/state/view/state/index.ts:64
↓ 2 callersMethodzoomCenter
* Zoom to the center of the screen * @param isZoomingIn set to true to zoom in
src/state/view/state/index.ts:98
↓ 1 callersMethodaddFavoriteTool
* Add a new favorite tool to the quick menu
src/state/drawing/state/index.ts:142
↓ 1 callersMethodaddNotification
(id: IntlMessageId)
src/state/notification/state/index.ts:32
↓ 1 callersMethodaddPages
( pages: BoardPage[], pageIndex: number[] )
src/state/online/state/index.ts:440
↓ 1 callersMethodaddPoint
(point: Point)
src/drawing/livestroke/index.tsx:83
↓ 1 callersFunctionaddRenderedPdf
(attachment: PDFAttachment)
src/storage/pdf/util/index.ts:27
↓ 1 callersFunctionapplyBounds
(point: Point, page: Page)
src/View/Board/RenderNG/Page/Transformer/bounds.ts:4
↓ 1 callersMethodapplyBounds
* Apply bounds on a transform * @param newTransform transform to apply bounds on * @returns bounded transform
src/state/view/state/index.ts:336
↓ 1 callersMethodapplyBoundsX
* Apply horizontal bounds * @param newTransform transform to apply bounds on * @returns X-bounded transform
src/state/view/state/index.ts:349
↓ 1 callersMethodapplyBoundsY
* Apply vertical bounds * @param newTransform transform to apply bounds on * @returns Y-bounded transform
src/state/view/state/index.ts:379
↓ 1 callersFunctionapplyLeaveBounds
(point: Point, page: Page)
src/View/Board/RenderNG/Page/Transformer/bounds.ts:21
↓ 1 callersMethodapplyPageBackground
()
src/state/action/state/index.ts:306
↓ 1 callersMethodapplyTr
(trDiv: HTMLDivElement | null)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:81
↓ 1 callersFunctionapplyTransformOnPoints
(stroke: Stroke)
src/util/render/shapes/index.ts:189
↓ 1 callersFunctionbuild
(previousFileSizes)
scripts/build.js:135
↓ 1 callersMethodcenterView
* Center the view while maintaining the current scale
src/state/view/state/index.ts:85
↓ 1 callersMethodclear
()
src/drawing/page/index.ts:35
↓ 1 callersMethodclearErasedStrokes
* Clear the strokes which were marked as erased after their actual erasure
src/state/drawing/state/index.ts:82
↓ 1 callersMethodclearPage
()
src/state/action/state/index.ts:270
↓ 1 callersMethodclearToken
* Clear the github authorization token
src/state/online/state/index.ts:132
↓ 1 callersMethodcloseShortcuts
* Close the shortcuts overview
src/state/menu/state/index.ts:71
↓ 1 callersMethodcloseTextfieldSettings
* Close the shortcuts overview
src/state/menu/state/index.ts:87
↓ 1 callersFunctioncopyPublicFolder
()
scripts/build.js:215
↓ 1 callersFunctioncreateOnlineSession
({ fromCurrent, navigate, password, }: CreateOnlineSession)
src/View/Dialog/helpers.ts:16
↓ 1 callersFunctioncreateUniqueId
()
src/drawing/stroke/index.tsx:98
↓ 1 callersMethoddeserialize
(serialized: SerializedBoardState)
src/state/board/serializers/index.ts:42
← previousnext →101–200 of 494, ranked by callers