docs/Script API/interfaces/Frontend_Script_API._internal_.Froca.html
interface Froca {
attachments: Record<string, FAttachment>;
attributes: Record<string, FAttribute>;
blobPromises: Record<string, null | Promise<void | default>>;
branches: Record<string, FBranch>;
notes: Record<string, FNote>;
getAttachmentsForNote(noteId: string): Promise<FAttachment[]>;
getBlob(
entityType: string,
entityId: string,
): Promise<null | void | default>;
getBranch(
branchId: string,
silentNotFoundError?: boolean,
): undefined | FBranch;
getBranches(branchIds: string[], silentNotFoundError?: boolean): FBranch[];
getNote(
noteId: string,
silentNotFoundError?: boolean,
): Promise<null | FNote>;
getNoteFromCache(noteId: string): FNote;
getNotes(
noteIds: string[],
silentNotFoundError?: boolean,
): Promise<FNote[]>;
getNotesFromCache(
noteIds: string[],
silentNotFoundError?: boolean,
): FNote[];
}
attachmentsattributesblobPromisesbranchesnotes
getAttachmentsForNotegetBlobgetBranchgetBranchesgetNotegetNoteFromCachegetNotesgetNotesFromCache
attachments: Record<string, FAttachment>
attributes: Record<string, FAttribute>
blobPromises: Record<string, null | Promise<void | default>>
branches: Record<string, FBranch>
getAttachmentsForNote(noteId: string): Promise<FAttachment[]>
getBlob(entityType: string, entityId: string): Promise<null | void | default>
getBranch(branchId: string, silentNotFoundError?: boolean): undefined | FBranch
OptionalsilentNotFoundError: booleangetBranches(branchIds: string[], silentNotFoundError?: boolean): FBranch[]
OptionalsilentNotFoundError: booleangetNote(noteId: string, silentNotFoundError?: boolean): Promise<null | FNote>
OptionalsilentNotFoundError: booleangetNoteFromCache(noteId: string): FNote
getNotes(noteIds: string[], silentNotFoundError?: boolean): Promise<FNote[]>
OptionalsilentNotFoundError: booleangetNotesFromCache(noteIds: string[], silentNotFoundError?: boolean): FNote[]
OptionalsilentNotFoundError: booleanMember Visibility
ThemeOSLightDark
Properties attachmentsattributesblobPromisesbranchesnotes Methods getAttachmentsForNotegetBlobgetBranchgetBranchesgetNotegetNoteFromCachegetNotesgetNotesFromCache