docs/Script API/classes/Frontend_Script_API._internal_.default-7.html
addAttachmentRowaddAttributeaddBranchaddNoteaddNoteContentaddNoteReorderingaddOptionaddRevisiongetAttachmentRowsgetAttributeRowsgetBranchRowsgetEntityRowgetNoteIdsgetNoteReorderingsgetOptionNameshasAttributeRelatedChangeshasRevisionForNoteisEmptyisEmptyForTreeisNoteContentReloadedisNoteReloadedisOptionReloaded
new default(entityChanges: EntityChange[]): default
addAttachmentRow(attachment: AttachmentRow): void
addAttribute(attributeId: string, componentId: string): void
addBranch(branchId: string, componentId: string): void
addNote(noteId: string, componentId?: null | string): void
OptionalcomponentId: null | stringaddNoteContent(noteId: string, componentId: string): void
addNoteReordering(parentNoteId: string, componentId: string): void
addOption(name: string): void
addRevision(
revisionId: string,
noteId?: string,
componentId?: null | string,
): void
OptionalnoteId: stringOptionalcomponentId: null | stringgetAttachmentRows(): AttachmentRow[]
getAttributeRows(componentId?: string): AttributeRow[]
getBranchRows(): BranchRow[]
getEntityRow<T extends keyof EntityRowMappings>(
entityName: T,
entityId: string,
): EntityRowMappings[T]
getNoteIds(): string[]
getNoteReorderings(): string[]
getOptionNames(): string[]
hasAttributeRelatedChanges(): boolean
true if there are changes which could affect the attributes (including inherited ones) notably changes in note itself should not have any effect on attributes
hasRevisionForNote(noteId: string): boolean
isEmpty(): boolean
isEmptyForTree(): boolean
isNoteContentReloaded(
noteId: string,
componentId?: string,
): undefined | false | ContentNoteIdToComponentIdRow
OptionalcomponentId: stringisNoteReloaded(
noteId: undefined | null | string,
componentId?: null | string,
): boolean
isOptionReloaded(name: string): boolean
Member Visibility
ThemeOSLightDark
Constructors constructor Methods addAttachmentRowaddAttributeaddBranchaddNoteaddNoteContentaddNoteReorderingaddOptionaddRevisiongetAttachmentRowsgetAttributeRowsgetBranchRowsgetEntityRowgetNoteIdsgetNoteReorderingsgetOptionNameshasAttributeRelatedChangeshasRevisionForNoteisEmptyisEmptyForTreeisNoteContentReloadedisNoteReloadedisOptionReloaded