useAddCommentAnnotation()
void
n/a
{ targetElement: object, commentData: array, status?: string }
void
n/a
ManualCommentAnnotationConfig
void
n/a
useDeleteCommentAnnotation()
void
n/a
Observable<GetCommentAnnotationsCountResponse>
useCommentAnnotationsCount()
locationId: string
Observable<UnreadCommentsCount | null>
useUnreadCommentAnnotationCountByLocationId()
Observable<GetCommentAnnotationsResponse>
useGetCommentAnnotations()
Observable<CommentAnnotation[]>
n/a
{ annotationId: string, documentId?: string }
Observable<CommentAnnotation>
useCommentAnnotationById()
annotationId: string
string
n/a
useAddComment()
useUpdateComment()
useDeleteComment()
useGetComment()
Observable<UnreadCommentsCount | null>
useUnreadCommentCountOnCurrentDocument()
locationId: string
Observable<UnreadCommentsCount | null>
useUnreadCommentCountByLocationId()
annotationId: string
Observable<number>
useUnreadCommentCountByAnnotationId()
useAssignUser()
none
void
useContactUtils()
or useCommentUtils()
void
useContactUtils()
void
useContactUtils()
none
void
useContactUtils()
or useCommentUtils()
updateContactList
API.
Observable<GetContactListResponse>
useContactList()
Observable<UserContactSelectedPayload>
useContactSelected()
label: string
void
useContactUtils()
description: string
void
useContactUtils()
useSubscribeCommentAnnotation()
useUnsubscribeCommentAnnotation()
contacts: Array<{userId: string, name: string, email: string}>, options?: {merge: boolean}
void
useContactUtils()
scopes: Array<'all' | 'organization' | 'organizationUserGroup' | 'document'>
void
n/a
{ [key: string]: any }
void
useCommentEventCallback('addCommentAnnotation')
annotationId: string, context: { [key: string]: any }, config?: { merge: boolean }
void
n/a
{ type: 'multi' | 'single', placeholder: string, data: Array<{ id: string, label: string }> }
void
useCommentUtils()
{ hotkey: string, type: 'custom', data: Array<AutocompleteItem> }
void
useCommentUtils()
Observable<AutocompleteItem>
useAutocompleteChipClick()
none
void
useCommentUtils()
none
void
useCommentUtils()
CommentEventType
. Here is the list of event types you can subscribe to.Observable<CommentEventTypesMap[T]>
. Here is the list of events object types you can expect to receive.useCommentEventCallback(CommentEventType)
void
n/a
Promise<AddAttachmentResponse[]>
useAddAttachment()
Promise<DeleteAttachmentEvent | null>
useDeleteAttachment()
Promise<Attachment[]>
useGetAttachment()
void
n/a
{[reactionId: string]: {url?: string, emoji?: string}}
void
n/a
Promise<AddReactionEvent | null>
useAddReaction()
Promise<DeleteReactionEvent | null>
useDeleteReaction()
Promise<ToggleReactionEvent | null>
useToggleReaction()
void
n/a
StatusConfig[]
void
n/a
void
n/a
Promise<UpdateStatusEvent>
useUpdateStatus()
Promise<ResolveCommentAnnotationEvent>
useResolveCommentAnnotation()
void
n/a
PriorityConfig[]
void
n/a
Promise<UpdatePriorityEvent>
useUpdatePriority()
Promise<DeleteRecordingEvent | null>
useDeleteRecording()
Promise<RecordedData[]>
useGetRecording()
string
void
n/a
void
n/a
void
n/a
useGetLink()
useCopyLink()
annotationId: string
void
n/a
annotationId: string
void
n/a
Observable<CommentSelectionChangeData>
useCommentSelectionChangeHandler()
void
n/a
elementIds: string[]
void
n/a
classNames: string[]
void
n/a
selectors: string[]
void
n/a
void
n/a
categories: Array<{id: string, name: string, color: string}>
void
n/a
void
n/a
void
n/a
Observable<any>
useCommentDialogSidebarClickHandler()
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
ApproveCommentAnnotationRequest
Promise<ApproveCommentAnnotationEvent>
useApproveCommentAnnotation()
AcceptCommentAnnotationRequest
Promise<AcceptCommentAnnotationEvent>
useAcceptCommentAnnotation()
RejectCommentAnnotationRequest
Promise<RejectCommentAnnotationEvent>
useRejectCommentAnnotation()
void
n/a
UpdateAccessRequest
Promise<UpdateAccessEvent>
useUpdateAccess()
void
n/a
void
n/a
mode: "minimal" | "verbose"
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
context
or targetElementId
.
void
n/a
void
n/a
Observable<boolean>
useCommentModeState()
void
n/a
void
n/a
void
n/a
base64ImageString: string
void
n/a
void
n/a
void
n/a
void
n/a
length: number
void
n/a
void
n/a
void
n/a
void
n/a
data: CommentSidebarData[], options?: {grouping?: boolean}
void
n/a
(event: {documentId: string, location: Object, targetElementId: string, context: Object, annotation: CommentAnnotation}) => void
void
n/a
void
n/a
void
n/a
void
n/a
void
n/a
locationIds: string[]
void
n/a
filters: {location?: {id: string}[], people?: ({userId: string} | {email: string})[], priority?: string[], status?: string[], category?: string[]}
void
n/a
GetNotificationsDataQuery
type
: Filter for notification type: all, for you, or documents.
forYou
: returns notifications where the current user is involved.all
/ documents
: returns all notifications from the documents the user has access to.Observable<Notification[]>
useNotificationsData()
Observable<{forYou: number, all: number}>
useUnreadNotificationsCount()
NotificationEventType
. Here is the list of events you can subscribe to.Observable<NotificationEventTypesMap[T]>
. Here is the list of events object types you can expect to receive.useNotificationEventCallback(NotificationEventType)
(notification: Notification) => void
void
n/a
tabConfig: TabConfig
void
n/a
days: number
void
n/a
void
n/a
options?: {tabId?: string}
void
n/a
notificationId: string
void
n/a
void
n/a
void
n/a
NotificationInitialSettingsConfig[]
void
n/a
void
n/a
NotificationSettingsConfig
void
n/a
Observable<NotificationSettingsConfig>
n/a
recorderId: string
Promise<boolean>
n/a
void
n/a
void
n/a
Promise<GetRecordingDataResponse>
n/a
RecorderEventType
. Here is the list of events you can subscribe to.Observable<RecorderEventTypesMap[T]>
. Here is the list of events object types you can expect to receive.useRecorderEventCallback(RecorderEventType)
customReactions: { [reactionId: string]: { url?: string, emoji?: string } }
void
n/a
locationId?: string
Observable<ViewsByUser[]>
useUniqueViewsByUser()
locationId?: string
Observable<ViewsByDate[]>
useUniqueViewsByDate()
liveStateDataId?: string
Observable<any>
n/a
liveStateDataId
: string
liveStateData
: any
config
: SetLiveStateDataConfig
any
useSetLiveStateData()
config?: SingleEditorConfig
void
n/a
void
n/a
Observable<UserEditorAccess | null>
n/a
Observable<User | null>
n/a
void
n/a
void
n/a
elementIds: string[]
void
n/a
void
n/a
Observable<boolean | null>
n/a
Observable<{ requestStatus: string, requestedBy: User } | null>
n/a
void
n/a
void
n/a
void
n/a
void
n/a
timeout: number
void
n/a
void
n/a
void
n/a
milliseconds: number
void
n/a
elementIds: string[]
void
n/a
callback: (cursorUsers: CursorUser[]) => void
void
n/a
milliseconds: number
void
n/a
none
void
n/a
PresenceEventType
. Here is the list of events you can subscribe to.Observable<PresenceEventTypesMap[T]>
. Here is the list of events object types you can expect to receive.usePresenceEventCallback(PresenceEventType)
callback: (presenceUsers: PresenceUser[]) => void
void
n/a
callback: (user: User) => void
void
n/a
PresenceRequestQuery
Observable<GetPresenceDataResponse>
usePresenceData()
none
void
n/a
userId: string
void
n/a
none
void
n/a
callback: (pageInfo: PageInfo) => void
void
n/a
none
void
n/a
none
void
n/a
none
void
n/a
none
void
n/a
position: 'start' | 'end'
void
n/a
type: 'avatar' | 'label'
void
n/a
none
Observable<LiveSelectionData>
useLiveSelectionDataHandler()
enableRewriter()
n/a
void
n/a
apiKey: string, config?: Config
void
n/a
void
Observable<boolean>
useVeltInitState()
Promise<VeltEventMetadata>
n/a
user: User, userOptions?: UserOptions
Promise<unknown>
useIdentify()
void
any
n/a
void
User
n/a
fetchFoldersRequest: FetchFoldersRequest
Observable<FetchFoldersResponse>
n/a
documents
: Document[]options?
: SetDocumentsRequestOptionsvoid
useSetDocuments()
documentId
: stringmetadata?
: DocumentMetadatavoid
useSetDocument()
void
void
useUnsetDocuments()
void
Observable<DocumentMetadata>
n/a
UpdateDocumentsRequest<T = unknown>
Promise<void>
n/a
location: Location, isAdditional?: boolean
location
: Location object with:
id
: Required unique identifierlocationName?
: Optional display name for UI componentsversion?
: Optional version object with:
id
: Version identifiername
: Version display nameisAdditional?
: Boolean to add additional locations
false
(default): Set this as the root locationtrue
: Add as additional locationvoid
useSetLocation()
ids?: string[]
void
n/a
eventType: string
. Here is the list of events you can subscribe to.Observable<VeltEventTypesMap[T]>
. It will return one of the objects from hereuseVeltEventCallback()
VeltDataProvider
void
n/a
Record<string, any>
void
n/a
void
Observable<Record<string, any>>
n/a
customCss: CustomCss
void
n/a
htmlContent: string
string
n/a
void
n/a
void
PresenceElement
n/a
void
CursorElement
n/a
void
CommentElement
useCommentUtils()
void
SelectionElement
n/a
void
RecorderElement
n/a
void
ContactElement
n/a
void
RewriterElement
n/a
void
LiveStateSyncElement
n/a
void
ArrowElement
n/a
void
Observable<boolean>
n/a
features: Array<FeatureType>
void
n/a
void
Observable<boolean>
n/a
language: string
void
n/a
language: string, translations: { [key: string]: string }
void
n/a
void
void
n/a
ids: string[]
void
n/a
void
void
n/a