From dd42c067f9b6d7a4612e40d3b9086d9e7101ea54 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 12 Apr 2025 13:13:30 +0300 Subject: [PATCH] docs(backend_api): set proper entry point and include all internal modules --- docs/backend_api/assets/hierarchy.js | 2 +- docs/backend_api/assets/highlight.css | 42 +++ docs/backend_api/assets/navigation.js | 2 +- docs/backend_api/assets/search.js | 2 +- ...ypoint._internal_.AbstractBeccaEntity.html | 29 ++ ...t_entrypoint._internal_.AsyncResource.html | 45 +++ ...nd_script_entrypoint._internal_.Axios.html | 16 + ...ript_entrypoint._internal_.AxiosError.html | 32 ++ ...pt_entrypoint._internal_.AxiosHeaders.html | 32 ++ ...ipt_entrypoint._internal_.BAttachment.html | 56 +++ ...ript_entrypoint._internal_.BAttribute.html | 53 +++ ..._script_entrypoint._internal_.BBranch.html | 57 +++ ...ipt_entrypoint._internal_.BEtapiToken.html | 42 +++ ...nd_script_entrypoint._internal_.BNote.html | 350 ++++++++++++++++++ ..._script_entrypoint._internal_.BOption.html | 34 ++ ...cript_entrypoint._internal_.BRevision.html | 57 +++ ...t_entrypoint._internal_.CanceledError.html | 32 ++ ...ventEmitter.EventEmitterAsyncResource.html | 335 +++++++++++++++++ ...pt_entrypoint._internal_.EventEmitter.html | 321 ++++++++++++++++ ...pt_entrypoint._internal_.SpacedUpdate.html | 7 + ...ipt_entrypoint._internal_.TaskContext.html | 8 + ..._script_entrypoint._internal_.default.html | 43 +++ ...l_.node_modules__types_xml2js.Builder.html | 3 + ...al_.node_modules__types_xml2js.Parser.html | 324 ++++++++++++++++ ...modules__types_xml2js.ValidationError.html | 12 + ...ntities_abstract_becca_entity.default.html | 29 -- .../becca_entities_battachment.default.html | 56 --- .../becca_entities_battribute.default.html | 53 --- .../classes/becca_entities_bblob.default.html | 34 -- .../becca_entities_bbranch.default.html | 57 --- .../becca_entities_betapi_token.default.html | 42 --- .../classes/becca_entities_bnote.default.html | 350 ------------------ .../becca_entities_boption.default.html | 34 -- .../becca_entities_brecent_note.default.html | 34 -- .../becca_entities_brevision.default.html | 57 --- ..._entrypoint._internal_.HttpStatusCode.html | 64 ++++ ...ode_modules__types_xml2js.parseString.html | 1 + ...ules__types_xml2js.parseStringPromise.html | 1 + ..._xml2js.processors.firstCharLowerCase.html | 1 + ...es__types_xml2js.processors.normalize.html | 1 + ...types_xml2js.processors.parseBooleans.html | 1 + ..._types_xml2js.processors.parseNumbers.html | 1 + ...__types_xml2js.processors.stripPrefix.html | 1 + docs/backend_api/hierarchy.html | 2 +- .../backend_script_entrypoint.Api.html | 164 ++++++++ ...point._internal_.AsyncResourceOptions.html | 14 + ..._entrypoint._internal_.AttachmentOpts.html | 2 + ...t_entrypoint._internal_.AttachmentRow.html | 16 + ...pt_entrypoint._internal_.AttributeRow.html | 9 + ...pt_entrypoint._internal_.AxiosAdapter.html | 1 + ...oint._internal_.AxiosBasicCredentials.html | 3 + ...t_entrypoint._internal_.AxiosDefaults.html | 45 +++ ...t_entrypoint._internal_.AxiosInstance.html | 15 + ...nt._internal_.AxiosInterceptorManager.html | 4 + ...nt._internal_.AxiosInterceptorOptions.html | 3 + ...rypoint._internal_.AxiosProgressEvent.html | 11 + ...ntrypoint._internal_.AxiosProxyConfig.html | 5 + ...rypoint._internal_.AxiosRequestConfig.html | 44 +++ ...nt._internal_.AxiosRequestTransformer.html | 1 + ...t_entrypoint._internal_.AxiosResponse.html | 7 + ...t._internal_.AxiosResponseTransformer.html | 1 + ...ipt_entrypoint._internal_.AxiosStatic.html | 32 ++ ...cript_entrypoint._internal_.BranchRow.html | 9 + ...script_entrypoint._internal_.CallSite.html | 48 +++ ...d_script_entrypoint._internal_.Cancel.html | 2 + ...pt_entrypoint._internal_.CancelStatic.html | 2 + ...ipt_entrypoint._internal_.CancelToken.html | 4 + ...trypoint._internal_.CancelTokenSource.html | 3 + ...trypoint._internal_.CancelTokenStatic.html | 3 + ...script_entrypoint._internal_.Canceler.html | 1 + ..._script_entrypoint._internal_.Cheerio.html | 61 +++ ...ript_entrypoint._internal_.CheerioAPI.html | 8 + ...point._internal_.CheerioParserOptions.html | 12 + ...t_entrypoint._internal_.CloneResponse.html | 5 + ..._entrypoint._internal_.CommentElement.html | 8 + ...t_entrypoint._internal_.ContentOpts-1.html | 3 + ...t_entrypoint._internal_.ContentOpts-2.html | 6 + ...t_entrypoint._internal_.ContentOpts-3.html | 3 + ...ipt_entrypoint._internal_.ContentOpts.html | 5 + ...ipt_entrypoint._internal_.ConvertOpts.html | 3 + ...ypoint._internal_.CreateAxiosDefaults.html | 45 +++ ...int._internal_.CustomParamsSerializer.html | 1 + ...ntrypoint._internal_.DefinitionObject.html | 7 + ...ript_entrypoint._internal_.Disposable.html | 2 + ...t_entrypoint._internal_.EtapiTokenRow.html | 7 + ...int._internal_.EventEmitter.Abortable.html | 3 + ...tter.EventEmitterAsyncResourceOptions.html | 22 ++ ....EventEmitterReferencingAsyncResource.html | 33 ++ ...pt_entrypoint._internal_.EventEmitter.html | 143 +++++++ ...ypoint._internal_.EventEmitterOptions.html | 3 + ...int._internal_.FormDataVisitorHelpers.html | 4 + ...oint._internal_.FormSerializerOptions.html | 5 + ...rypoint._internal_.GenericAbortSignal.html | 5 + ...entrypoint._internal_.GenericFormData.html | 2 + ...int._internal_.GenericHTMLFormElement.html | 4 + ...ipt_entrypoint._internal_.GetByIdOpts.html | 2 + ...entrypoint._internal_.HeadersDefaults.html | 12 + ..._internal_.InternalAxiosRequestConfig.html | 44 +++ ...ntrypoint._internal_.IterableIterator.html | 6 + ...script_entrypoint._internal_.Iterator.html | 4 + ...point._internal_.IteratorReturnResult.html | 3 + ...ypoint._internal_.IteratorYieldResult.html | 3 + ...rypoint._internal_.LookupAddressEntry.html | 3 + ...t_entrypoint._internal_.NoteAndBranch.html | 4 + ...ript_entrypoint._internal_.NoteParams.html | 24 ++ ..._entrypoint._internal_.NotePathRecord.html | 5 + ...script_entrypoint._internal_.NotePojo.html | 12 + ..._script_entrypoint._internal_.NoteRow.html | 14 + ...d_script_entrypoint._internal_.Object.html | 18 + ...cript_entrypoint._internal_.OptionRow.html | 11 + ...pt_entrypoint._internal_.ParamEncoder.html | 1 + ...nt._internal_.ParamsSerializerOptions.html | 7 + ...entrypoint._internal_.RawAxiosHeaders.html | 1 + ...pt_entrypoint._internal_.Relationship.html | 3 + ...ipt_entrypoint._internal_.RevisionRow.html | 14 + ...end_script_entrypoint._internal_.Root.html | 6 + ...ript_entrypoint._internal_.SavingOpts.html | 2 + ...pt_entrypoint._internal_.SearchParams.html | 5 + ...script_entrypoint._internal_.Selector.html | 1 + ...trypoint._internal_.SerializerOptions.html | 5 + ...trypoint._internal_.SerializerVisitor.html | 1 + ...al_.StaticEventEmitterIteratorOptions.html | 17 + ...._internal_.StaticEventEmitterOptions.html | 3 + ...ript_entrypoint._internal_.TagElement.html | 21 ++ ...script_entrypoint._internal_.TaskData.html | 6 + ...ipt_entrypoint._internal_.TextElement.html | 8 + ...ypoint._internal_.TransitionalOptions.html | 4 + ..._modules__types_xml2js.BuilderOptions.html | 10 + ...e_modules__types_xml2js.ParserOptions.html | 26 ++ ...e_modules__types_xml2js.RenderOptions.html | 4 + ...types_xml2js.XmlDeclarationAttributes.html | 4 + ...les__types_xml2js.convertableToString.html | 2 + .../becca_entities_rows.AttachmentRow.html | 16 - .../becca_entities_rows.AttributeRow.html | 9 - .../becca_entities_rows.BlobRow.html | 6 - .../becca_entities_rows.BranchRow.html | 9 - .../becca_entities_rows.EtapiTokenRow.html | 7 - .../becca_entities_rows.NoteRow.html | 14 - .../becca_entities_rows.OptionRow.html | 11 - .../becca_entities_rows.RecentNoteRow.html | 4 - .../becca_entities_rows.RevisionRow.html | 14 - docs/backend_api/modules.html | 2 +- ...pt_entrypoint._internal_.EventEmitter.html | 1 + .../backend_script_entrypoint._internal_.html | 1 + ..._internal_.node_modules__types_xml2js.html | 1 + ...node_modules__types_xml2js.processors.html | 1 + .../modules/backend_script_entrypoint.html | 1 + .../becca_entities_abstract_becca_entity.html | 1 - .../modules/becca_entities_battachment.html | 1 - .../modules/becca_entities_battribute.html | 1 - .../modules/becca_entities_bblob.html | 1 - .../modules/becca_entities_bbranch.html | 1 - .../modules/becca_entities_betapi_token.html | 1 - .../modules/becca_entities_bnote.html | 1 - .../modules/becca_entities_boption.html | 1 - .../modules/becca_entities_brecent_note.html | 1 - .../modules/becca_entities_brevision.html | 1 - .../modules/becca_entities_rows.html | 1 - .../modules/services_backend_script_api.html | 1 - docs/backend_api/modules/services_sql.html | 1 - ...t_entrypoint._internal_.AddressFamily.html | 1 + ..._script_entrypoint._internal_.AnyRest.html | 1 + ...end_script_entrypoint._internal_.Args.html | 1 + ...entrypoint._internal_.ArrayBufferLike.html | 1 + ...pt_entrypoint._internal_.AttrFunction.html | 1 + ...t_entrypoint._internal_.AttributeType.html | 1 + ...rypoint._internal_.AxiosAdapterConfig.html | 1 + ...ntrypoint._internal_.AxiosAdapterName.html | 1 + ...rypoint._internal_.AxiosHeaderMatcher.html | 1 + ...trypoint._internal_.AxiosHeaderParser.html | 1 + ...ntrypoint._internal_.AxiosHeaderValue.html | 1 + ...pt_entrypoint._internal_.AxiosPromise.html | 1 + ...ypoint._internal_.AxiosRequestHeaders.html | 1 + ..._internal_.AxiosRequestInterceptorUse.html | 1 + ...point._internal_.AxiosResponseHeaders.html | 1 + ...internal_.AxiosResponseInterceptorUse.html | 1 + ...t._internal_.CommonRequestHeadersList.html | 1 + ...._internal_.CommonResponseHeadersList.html | 1 + ...ipt_entrypoint._internal_.ContentType.html | 1 + ...entrypoint._internal_.DefaultEventMap.html | 1 + ..._script_entrypoint._internal_.Element.html | 1 + ...script_entrypoint._internal_.EventMap.html | 1 + ..._script_entrypoint._internal_.Exclude.html | 2 + ..._entrypoint._internal_.IteratorResult.html | 1 + ...kend_script_entrypoint._internal_.Key.html | 1 + ...end_script_entrypoint._internal_.Key2.html | 1 + ...script_entrypoint._internal_.Listener.html | 1 + ...t_entrypoint._internal_.LookupAddress.html | 1 + ...end_script_entrypoint._internal_.Omit.html | 2 + ..._script_entrypoint._internal_.Partial.html | 2 + ...end_script_entrypoint._internal_.Pick.html | 2 + ...ipt_entrypoint._internal_.PropertyKey.html | 1 + ...int._internal_.RawAxiosRequestHeaders.html | 1 + ...nt._internal_.RawAxiosResponseHeaders.html | 1 + ...t._internal_.RawCommonResponseHeaders.html | 1 + ...d_script_entrypoint._internal_.Record.html | 2 + ...pt_entrypoint._internal_.ResponseType.html | 1 + ..._script_entrypoint._internal_.Updater.html | 1 + ...l_.node_modules__types_xml2js.Options.html | 1 + ....node_modules__types_xml2js.OptionsV2.html | 1 + .../becca_entities_rows.AttributeType.html | 1 - .../types/becca_entities_rows.NoteType.html | 1 - ...d_script_entrypoint._internal_.Object.html | 2 + ..._.node_modules__types_xml2js.defaults.html | 1 + .../backend_script_entrypoint.api.html | 2 + ...ecca_entities_rows.ALLOWED_NOTE_TYPES.html | 4 - .../services_backend_script_api.default.html | 1 - .../variables/services_sql.default.html | 7 - package-lock.json | 11 + package.json | 3 +- src/services/backend_script_api.ts | 2 +- src/services/backend_script_entrypoint.ts | 20 + typedoc.json | 7 + 213 files changed, 3267 insertions(+), 870 deletions(-) create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.AbstractBeccaEntity.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.AsyncResource.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.Axios.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.AxiosError.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.AxiosHeaders.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.BAttachment.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.BAttribute.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.BBranch.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.BEtapiToken.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.BNote.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.BOption.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.BRevision.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.CanceledError.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.EventEmitter.EventEmitterAsyncResource.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.EventEmitter.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.SpacedUpdate.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.TaskContext.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.default.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.Builder.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.Parser.html create mode 100644 docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.ValidationError.html delete mode 100644 docs/backend_api/classes/becca_entities_abstract_becca_entity.default.html delete mode 100644 docs/backend_api/classes/becca_entities_battachment.default.html delete mode 100644 docs/backend_api/classes/becca_entities_battribute.default.html delete mode 100644 docs/backend_api/classes/becca_entities_bblob.default.html delete mode 100644 docs/backend_api/classes/becca_entities_bbranch.default.html delete mode 100644 docs/backend_api/classes/becca_entities_betapi_token.default.html delete mode 100644 docs/backend_api/classes/becca_entities_bnote.default.html delete mode 100644 docs/backend_api/classes/becca_entities_boption.default.html delete mode 100644 docs/backend_api/classes/becca_entities_brecent_note.default.html delete mode 100644 docs/backend_api/classes/becca_entities_brevision.default.html create mode 100644 docs/backend_api/enums/backend_script_entrypoint._internal_.HttpStatusCode.html create mode 100644 docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.parseString.html create mode 100644 docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.parseStringPromise.html create mode 100644 docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.firstCharLowerCase.html create mode 100644 docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.normalize.html create mode 100644 docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.parseBooleans.html create mode 100644 docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.parseNumbers.html create mode 100644 docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.stripPrefix.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint.Api.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AsyncResourceOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttachmentOpts.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttachmentRow.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttributeRow.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosAdapter.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosBasicCredentials.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosDefaults.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInstance.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInterceptorManager.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInterceptorOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosProgressEvent.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosProxyConfig.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosRequestConfig.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosRequestTransformer.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosResponse.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosResponseTransformer.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosStatic.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.BranchRow.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CallSite.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Cancel.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelStatic.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelToken.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelTokenSource.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelTokenStatic.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Canceler.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Cheerio.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CheerioAPI.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CheerioParserOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CloneResponse.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CommentElement.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-1.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-2.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-3.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.ConvertOpts.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CreateAxiosDefaults.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.CustomParamsSerializer.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.DefinitionObject.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Disposable.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.EtapiTokenRow.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.Abortable.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.EventEmitterAsyncResourceOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.EventEmitterReferencingAsyncResource.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitterOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.FormDataVisitorHelpers.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.FormSerializerOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericAbortSignal.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericFormData.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericHTMLFormElement.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.GetByIdOpts.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.HeadersDefaults.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.InternalAxiosRequestConfig.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.IterableIterator.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Iterator.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.IteratorReturnResult.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.IteratorYieldResult.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.LookupAddressEntry.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteAndBranch.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteParams.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.NotePathRecord.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.NotePojo.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteRow.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Object.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.OptionRow.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.ParamEncoder.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.ParamsSerializerOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.RawAxiosHeaders.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Relationship.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.RevisionRow.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Root.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.SavingOpts.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.SearchParams.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.Selector.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.SerializerOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.SerializerVisitor.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.StaticEventEmitterIteratorOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.StaticEventEmitterOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.TagElement.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.TaskData.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.TextElement.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.TransitionalOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.BuilderOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.ParserOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.RenderOptions.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.XmlDeclarationAttributes.html create mode 100644 docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.convertableToString.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.AttachmentRow.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.AttributeRow.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.BlobRow.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.BranchRow.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.EtapiTokenRow.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.NoteRow.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.OptionRow.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.RecentNoteRow.html delete mode 100644 docs/backend_api/interfaces/becca_entities_rows.RevisionRow.html create mode 100644 docs/backend_api/modules/backend_script_entrypoint._internal_.EventEmitter.html create mode 100644 docs/backend_api/modules/backend_script_entrypoint._internal_.html create mode 100644 docs/backend_api/modules/backend_script_entrypoint._internal_.node_modules__types_xml2js.html create mode 100644 docs/backend_api/modules/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.html create mode 100644 docs/backend_api/modules/backend_script_entrypoint.html delete mode 100644 docs/backend_api/modules/becca_entities_abstract_becca_entity.html delete mode 100644 docs/backend_api/modules/becca_entities_battachment.html delete mode 100644 docs/backend_api/modules/becca_entities_battribute.html delete mode 100644 docs/backend_api/modules/becca_entities_bblob.html delete mode 100644 docs/backend_api/modules/becca_entities_bbranch.html delete mode 100644 docs/backend_api/modules/becca_entities_betapi_token.html delete mode 100644 docs/backend_api/modules/becca_entities_bnote.html delete mode 100644 docs/backend_api/modules/becca_entities_boption.html delete mode 100644 docs/backend_api/modules/becca_entities_brecent_note.html delete mode 100644 docs/backend_api/modules/becca_entities_brevision.html delete mode 100644 docs/backend_api/modules/becca_entities_rows.html delete mode 100644 docs/backend_api/modules/services_backend_script_api.html delete mode 100644 docs/backend_api/modules/services_sql.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AddressFamily.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AnyRest.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Args.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.ArrayBufferLike.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AttrFunction.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AttributeType.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosAdapterConfig.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosAdapterName.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderMatcher.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderParser.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderValue.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosPromise.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosRequestHeaders.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosRequestInterceptorUse.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosResponseHeaders.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.AxiosResponseInterceptorUse.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.CommonRequestHeadersList.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.CommonResponseHeadersList.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.ContentType.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.DefaultEventMap.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Element.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.EventMap.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Exclude.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.IteratorResult.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Key.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Key2.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Listener.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.LookupAddress.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Omit.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Partial.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Pick.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.PropertyKey.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.RawAxiosRequestHeaders.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.RawAxiosResponseHeaders.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.RawCommonResponseHeaders.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Record.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.ResponseType.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.Updater.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.node_modules__types_xml2js.Options.html create mode 100644 docs/backend_api/types/backend_script_entrypoint._internal_.node_modules__types_xml2js.OptionsV2.html delete mode 100644 docs/backend_api/types/becca_entities_rows.AttributeType.html delete mode 100644 docs/backend_api/types/becca_entities_rows.NoteType.html create mode 100644 docs/backend_api/variables/backend_script_entrypoint._internal_.Object.html create mode 100644 docs/backend_api/variables/backend_script_entrypoint._internal_.node_modules__types_xml2js.defaults.html create mode 100644 docs/backend_api/variables/backend_script_entrypoint.api.html delete mode 100644 docs/backend_api/variables/becca_entities_rows.ALLOWED_NOTE_TYPES.html delete mode 100644 docs/backend_api/variables/services_backend_script_api.default.html delete mode 100644 docs/backend_api/variables/services_sql.default.html create mode 100644 src/services/backend_script_entrypoint.ts diff --git a/docs/backend_api/assets/hierarchy.js b/docs/backend_api/assets/hierarchy.js index b58e1f2fa..49262a7a7 100644 --- a/docs/backend_api/assets/hierarchy.js +++ b/docs/backend_api/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJylk0uOwyAMhu/iNe2UPNokV6mqCIiroBKowBlpVOXudTqzmGUiNiB+gz8b2y+IIVCC7lqUp5uAiHeHhmzwrL2AxXXzakLoYMC7mh2BgIf1A3SyaATM0bHJOJUSpi+NxqgePVmymHqlE0VlqP+n/xz//BxHmhw7+7xlH5SGw+r48CuwYbRuiOjX6NqLqORZ1EUp6laKc1OKS10IWciWl6YSsqxPt0UA38wKWSsiZcaJhY2BMpRDy4ZGq2fC7Uz+ijymdkHvwLUyExeVN+N2IJc4D4iknran8EC/ncpNlUf1YU8R1/7N44XnOq17iE2VR4xo+NDvTJTHMxf7bdOOVJflDVemoSg=" \ No newline at end of file +window.hierarchyData = "eJy1mF1v2jAUhv9Lrl2WOB9OegcVk7jZKrq7qUIhmOI1JMw2VdnEf99xUooTkeGAuSCRGnjPc16fc+z0r8PLUgrn/idxQxR4cYQCjCOEoyhEmIQJ8t3YQz7xCDyNYnjqu8iPA/VlD8ODOH5GDqfLnGaSlQVI/XWwH6tbka6pc++MvpWSOsh5ZcXCufdwjJwtz+FBlqdCUPFlnmavtFjMRMbZRs5oIfluU7JCDmZwobxI89mgUhms5DoHqeqXoCDF4k7J3tV/2CMH0tBCD+dC8jSTI5pl6biQTO6uBjmheQYLHqxYvuC0AJ/BG+RFIVxI6CIvDgnyEgKOe64PF4KfVRYE61m8s1I8yVSy7JMeh9GBvkJbpplxAke5TvBPTeVpQohG85hyQfnVNhblgs7W5WKbUzGbyd0Gbu/rHP8SgzrC+bX2sBdpYFOoZBv+KB0DY5qripNYLZxaWb30RzwtstX1xV/rGFgCRaXHH0rJ2Xxro/8+pQwooKpbFGm2WoOwFYwPLQMOaCydY0rfmIAhdT3FQek8g+prnWEs0w37UUKM6ymOWiYcjZky+r6RVpyodQziQ4do8R9WlHJWDh8nNlr2qGY20XAQBu0BOymEhCaj1kbsQbDvLCH1HqC24Dbj9ZuXUum1XYFTFQ2cBdo0Y87L6zeCo1QvrsStXYpjvay+lnz9BKWQ5uwP5XVtChsrelLYsNgAVa98VRM5Xdhxr6F2vgvVaa69jFP6e0uFfCiLJXuxVv0N1b4t4PvYU6ur7hru5CPEbbC71c3W2Q8asOM3CDNeMyktnJZ0sT5tAkc35IekamE/DPwOvildUvhBxoqXodgV2ZSKcsvtzMIGuklQQ7fDKOnIpqFmcQZ0ZnIqoGkWJDDJwm4BdYYxGCDwJniuyG1Z3HdoBB9DgzS2hPpNRxe2WBKd4r3hSeLW8In7X/gJfFJZ3jaJVhDDWo4D/cDyRNW/BEorZXHQ6uuqekOsXE0CvSSq9OY5PaRpZfdoaZp5FriNKQZvvula3OQA0yFtiOl5uLG0NwC8BK15JISjIFKGPlfEUdwxp260I1za+OEBONbfVe1O/z5DvkUX+BUdxp10Fv28cCM9bSj23XbP2+z1C8aRGkPP+/3+H2dhdLY=" \ No newline at end of file diff --git a/docs/backend_api/assets/highlight.css b/docs/backend_api/assets/highlight.css index e16c26876..5ddd97b2d 100644 --- a/docs/backend_api/assets/highlight.css +++ b/docs/backend_api/assets/highlight.css @@ -7,6 +7,18 @@ --dark-hl-2: #569CD6; --light-hl-3: #A31515; --dark-hl-3: #CE9178; + --light-hl-4: #AF00DB; + --dark-hl-4: #C586C0; + --light-hl-5: #001080; + --dark-hl-5: #9CDCFE; + --light-hl-6: #008000; + --dark-hl-6: #6A9955; + --light-hl-7: #0070C1; + --dark-hl-7: #4FC1FF; + --light-hl-8: #267F99; + --dark-hl-8: #4EC9B0; + --light-hl-9: #098658; + --dark-hl-9: #B5CEA8; --light-code-background: #FFFFFF; --dark-code-background: #1E1E1E; } @@ -16,6 +28,12 @@ --hl-1: var(--light-hl-1); --hl-2: var(--light-hl-2); --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); --code-background: var(--light-code-background); } } @@ -24,6 +42,12 @@ --hl-1: var(--dark-hl-1); --hl-2: var(--dark-hl-2); --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); --code-background: var(--dark-code-background); } } @@ -32,6 +56,12 @@ --hl-1: var(--light-hl-1); --hl-2: var(--light-hl-2); --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); --code-background: var(--light-code-background); } @@ -40,6 +70,12 @@ --hl-1: var(--dark-hl-1); --hl-2: var(--dark-hl-2); --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); --code-background: var(--dark-code-background); } @@ -47,4 +83,10 @@ .hl-1 { color: var(--hl-1); } .hl-2 { color: var(--hl-2); } .hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +.hl-9 { color: var(--hl-9); } pre, code { background: var(--code-background); } diff --git a/docs/backend_api/assets/navigation.js b/docs/backend_api/assets/navigation.js index 52ef90345..b36f95491 100644 --- a/docs/backend_api/assets/navigation.js +++ b/docs/backend_api/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJytlltLwzAYhv9Lr8XDxNPuJu5OnOhARCSkaaTBrqnJt6mI/9006yHdIf0qYVej7/vkSZZ+7OUnAv4F0TiKOWP0iOcgQHAdHUQsFVmieB6NX5oQjTUoyoDYNLHpb5MtKK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cr3sWHzeVX20C5K8xS454/pdB0CO38vx/yNl2HKeu6j6hKu7WJiCj6lJqSpd3aqCT//D/zi2xE=" \ No newline at end of file diff --git a/docs/backend_api/assets/search.js b/docs/backend_api/assets/search.js index a50336bf6..3773f4b38 100644 --- a/docs/backend_api/assets/search.js +++ b/docs/backend_api/assets/search.js @@ -1 +1 @@ -window.searchData = "eJzFvW2T4zbSpvtXTvR87fUIb5Q032yPJ3b2eMc+du+zsTEx0aFSsbo5Vkv1iKq2eyfmvx8SECggeUOVIEE/X+zuaiHrJpVIJPLCy7/enE+/tm/+9Pd/vfmlOT6++ZN8++a4+1S/+dObh3q/3/2xPl6aS1O3f9w9tJfzbn95b3/+3v78y5u3b17Oh+7Dn06PL4fuU8E/do3ew0Zffbx8OnQt94dd29bdL3/z5t9v/e8XcjMoeKyfdi+Hy/BLrg14v+TaGPyyt2+ed+fuU9xnvIkz4vZ69qdj9+GX/eV0ni/wD7G16WK91fCNrqS+famH08NfHwsI7g01j4tqfdxd6m/PdfffEoJ7a/vB2rKq/+fpsXlqisn+dDO3nO6m/fF86l5RmbfdtM+BtSVV//zluC8kufWmltP7ctn/uahbdwZ/L8++ai/o3FfxS/m3rKTQOh7QSoS+q52b1kv7+N+a9r+FLl9Ye9P+uT7Upfrm42Cr7Pte6dvg/f5Dffn2dLz0Fudr7q3tB2vLvvnoKdqiT9H+1zzFQ/10Otc/7z43xw9FOkBvrvXmfr/n+FAf63MXMP77rv1Y4Dm8uY/O3HJ9oXPeH0//PBWRfHl2lhZX++7UOUxdTvPl1Dp7v6e/XP7XdcD9uDt+KBI9O5t+zB1sLvdddK758+Xc9bNyQagz2VqTKBKV1t8cmxKar2aW0/lpd/7l64JjbG9v97uMs5Hyn5tPz4cSfTbS33qryz3F88vlO/tB11ELPEFn0f147y3+fnGnLRM4R/GytM6X5z6O/eV8+vTT6dcS+by199TZO1t7ZZWnKlMPu8tlt//4KQyPiXpU8NHSVajQ9JTaU/gUsytOKTFT6kzAVmqGePvk6z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k1cF+D4Rgd/aXcGD17mUr+ucIq598ddVlgsjg4o3RBcOgc8lpodj0tw/0sk6giVJrcSMH/fwyPrNgaJEzc8+KuLdDfz6cik9iAaXfLgb16O1QSuns9lZ1zhCnOlZ9ytMsIdzC6PS5Ib9+p4W5v7RkofVytXgXCsNXL/WEdmeYhJow/gM7XIModBpEusbPobEpuiPw+/byMOJ77gcGVneNzPuM6WYL7xT/CI7LIbHYPgN+EeC7RcE6PiR0+Pc8ffnrecXJPhJ0B1zDmgf337Zl/tyy7+7Z75y1//8Y//Hwp7ZHo="; \ No newline at end of file diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.AbstractBeccaEntity.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.AbstractBeccaEntity.html new file mode 100644 index 000000000..58aa36ed3 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.AbstractBeccaEntity.html @@ -0,0 +1,29 @@ +AbstractBeccaEntity | trilium
trilium
    Preparing search index...

    Class AbstractBeccaEntity<T>Abstract

    Base class for all backend entities.

    +

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    blobId?: string
    dateCreated?: string
    dateModified?: string
    isProtected?: boolean
    isSynced?: boolean
    utcDateCreated: string
    utcDateModified?: string

    Accessors

    Methods

    • Mark the entity as (soft) deleted. It will be completely erased later.

      +

      This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

      +

      Parameters

      • deleteId: null | string = null

      Returns void

    diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.AsyncResource.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.AsyncResource.html new file mode 100644 index 000000000..548ee14ad --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.AsyncResource.html @@ -0,0 +1,45 @@ +AsyncResource | trilium
    trilium
      Preparing search index...

      The class AsyncResource is designed to be extended by the embedder's async +resources. Using this, users can easily trigger the lifetime events of their +own resources.

      +

      The init hook will trigger when an AsyncResource is instantiated.

      +

      The following is an overview of the AsyncResource API.

      +
      import { AsyncResource, executionAsyncId } from 'node:async_hooks';

      // AsyncResource() is meant to be extended. Instantiating a
      // new AsyncResource() also triggers init. If triggerAsyncId is omitted then
      // async_hook.executionAsyncId() is used.
      const asyncResource = new AsyncResource(
      type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false },
      );

      // Run a function in the execution context of the resource. This will
      // * establish the context of the resource
      // * trigger the AsyncHooks before callbacks
      // * call the provided function `fn` with the supplied arguments
      // * trigger the AsyncHooks after callbacks
      // * restore the original execution context
      asyncResource.runInAsyncScope(fn, thisArg, ...args);

      // Call AsyncHooks destroy callbacks.
      asyncResource.emitDestroy();

      // Return the unique ID assigned to the AsyncResource instance.
      asyncResource.asyncId();

      // Return the trigger ID for the AsyncResource instance.
      asyncResource.triggerAsyncId(); +
      + +

      Hierarchy (View Summary)

      Index

      Constructors

      • AsyncResource() is meant to be extended. Instantiating a +new AsyncResource() also triggers init. If triggerAsyncId is omitted then +async_hook.executionAsyncId() is used.

        +

        Parameters

        • type: string

          The type of async event.

          +
        • OptionaltriggerAsyncId: number | AsyncResourceOptions

          The ID of the execution context that created +this async event (default: executionAsyncId()), or an +AsyncResourceOptions object (since v9.3.0)

          +

        Returns AsyncResource

      Methods

      • Returns number

        The unique asyncId assigned to the resource.

        +
      • Binds the given function to execute to this AsyncResource's scope.

        +

        Type Parameters

        • Func extends (...args: any[]) => any

        Parameters

        • fn: Func

          The function to bind to the current AsyncResource.

          +

        Returns Func

        v14.8.0, v12.19.0

        +
      • Call all destroy hooks. This should only ever be called once. An error will +be thrown if it is called more than once. This must be manually called. If +the resource is left to be collected by the GC then the destroy hooks will +never be called.

        +

        Returns this

        A reference to asyncResource.

        +
      • Call the provided function with the provided arguments in the execution context +of the async resource. This will establish the context, trigger the AsyncHooks +before callbacks, call the function, trigger the AsyncHooks after callbacks, and +then restore the original execution context.

        +

        Type Parameters

        • This
        • Result

        Parameters

        • fn: (this: This, ...args: any[]) => Result

          The function to call in the execution context of this async resource.

          +
        • OptionalthisArg: This

          The receiver to be used for the function call.

          +
        • ...args: any[]

          Optional arguments to pass to the function.

          +

        Returns Result

        v9.6.0

        +
      • Returns number

        The same triggerAsyncId that is passed to the AsyncResource constructor.

        +
      • Binds the given function to the current execution context.

        +

        Type Parameters

        • Func extends (this: ThisArg, ...args: any[]) => any
        • ThisArg

        Parameters

        • fn: Func

          The function to bind to the current execution context.

          +
        • Optionaltype: string

          An optional name to associate with the underlying AsyncResource.

          +
        • OptionalthisArg: ThisArg

        Returns Func

        v14.8.0, v12.19.0

        +
      diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.Axios.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.Axios.html new file mode 100644 index 000000000..17f0271aa --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.Axios.html @@ -0,0 +1,16 @@ +Axios | trilium
      trilium
        Preparing search index...

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        defaults: AxiosDefaults
        interceptors: {
            request: AxiosInterceptorManager<InternalAxiosRequestConfig<any>>;
            response: AxiosInterceptorManager<AxiosResponse<any, any>>;
        }

        Methods

        post

        diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.AxiosError.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.AxiosError.html new file mode 100644 index 000000000..be47b9b6d --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.AxiosError.html @@ -0,0 +1,32 @@ +AxiosError | trilium
        trilium
          Preparing search index...

          Type Parameters

          • T = unknown
          • D = any

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          cause?: Error
          code?: string
          isAxiosError: boolean
          message: string
          name: string
          request?: any
          response?: AxiosResponse<T, D>
          stack?: string
          status?: number
          toJSON: () => object
          ECONNABORTED: "ECONNABORTED"
          ERR_BAD_OPTION: "ERR_BAD_OPTION"
          ERR_BAD_OPTION_VALUE: "ERR_BAD_OPTION_VALUE"
          ERR_BAD_REQUEST: "ERR_BAD_REQUEST"
          ERR_BAD_RESPONSE: "ERR_BAD_RESPONSE"
          ERR_CANCELED: "ERR_CANCELED"
          ERR_DEPRECATED: "ERR_DEPRECATED"
          ERR_FR_TOO_MANY_REDIRECTS: "ERR_FR_TOO_MANY_REDIRECTS"
          ERR_INVALID_URL: "ERR_INVALID_URL"
          ERR_NETWORK: "ERR_NETWORK"
          ERR_NOT_SUPPORT: "ERR_NOT_SUPPORT"
          ETIMEDOUT: "ETIMEDOUT"
          prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

          Optional override for formatting stack traces

          +
          stackTraceLimit: number

          Methods

          • Create .stack property on a target object

            +

            Parameters

            • targetObject: object
            • OptionalconstructorOpt: Function

            Returns void

          diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.AxiosHeaders.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.AxiosHeaders.html new file mode 100644 index 000000000..3003e92e0 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.AxiosHeaders.html @@ -0,0 +1,32 @@ +AxiosHeaders | trilium
          trilium
            Preparing search index...

            Indexable

            • [key: string]: any
            Index

            Constructors

            Methods

            • Parameters

              Returns boolean

            • Parameters

              • headerName: string
              • parser: RegExp

              Returns null | RegExpExecArray

            • Parameters

              Returns AxiosHeaderValue

            • Parameters

              • Optionalparser: RegExp

              Returns null | RegExpExecArray

            • Parameters

              Returns AxiosHeaderValue

            • Parameters

              • format: boolean

              Returns AxiosHeaders

            • Parameters

              • header: string | string[]

              Returns AxiosHeaders

            diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.BAttachment.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.BAttachment.html new file mode 100644 index 000000000..078d08186 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.BAttachment.html @@ -0,0 +1,56 @@ +BAttachment | trilium
            trilium
              Preparing search index...

              Attachment represent data related/attached to the note. Conceptually similar to attributes, but intended for +larger amounts of data and generally not accessible to the user.

              +

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              attachmentId?: string
              blobId?: string
              contentLength?: number

              optionally added to the entity

              +
              dateCreated?: string
              dateModified?: string
              isDecrypted?: boolean
              isProtected?: boolean
              isSynced?: boolean
              mime: string
              noteId?: number
              ownerId: string

              either noteId or revisionId to which this attachment belongs

              +
              position?: number
              role: string
              title: string
              type?: "image" | "file"
              utcDateCreated: string
              utcDateModified?: string
              utcDateScheduledForErasureSince?: null | string

              Accessors

              Methods

              • Returns {
                    attachmentId: undefined | string;
                    blobId: undefined | string;
                    contentLength: undefined | number;
                    dateModified: undefined | string;
                    isDeleted: boolean;
                    isProtected: boolean;
                    mime: string;
                    ownerId: string;
                    position: undefined | number;
                    role: string;
                    title: undefined | string;
                    utcDateModified: undefined | string;
                    utcDateScheduledForErasureSince: undefined | null | string;
                }

              • Returns {
                    attachmentId: undefined | string;
                    blobId: undefined | string;
                    contentLength: undefined | number;
                    dateModified: undefined | string;
                    isDeleted: boolean;
                    isProtected: boolean;
                    mime: string;
                    ownerId: string;
                    position: undefined | number;
                    role: string;
                    title: undefined | string;
                    utcDateModified: undefined | string;
                    utcDateScheduledForErasureSince: undefined | null | string;
                }

              diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.BAttribute.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.BAttribute.html new file mode 100644 index 000000000..56b3ebf22 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.BAttribute.html @@ -0,0 +1,53 @@ +BAttribute | trilium
              trilium
                Preparing search index...

                Attribute is an abstract concept which has two real uses - label (key - value pair) +and relation (representing named relationship between source and target note)

                +

                Hierarchy (View Summary)

                Index

                Constructors

                Properties

                attributeId: string
                blobId?: string
                dateCreated?: string
                dateModified?: string
                isInheritable: boolean
                isProtected?: boolean
                isSynced?: boolean
                name: string
                noteId: string
                position: number
                utcDateCreated: string
                utcDateModified?: string
                value: string

                Accessors

                Methods

                • Returns {
                      attributeId: string;
                      isDeleted: boolean;
                      isInheritable: boolean;
                      name: string;
                      noteId: string;
                      position: number;
                      type: AttributeType;
                      utcDateModified: undefined | string;
                      value: string;
                  }

                diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.BBranch.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.BBranch.html new file mode 100644 index 000000000..76f838e1b --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.BBranch.html @@ -0,0 +1,57 @@ +BBranch | trilium
                trilium
                  Preparing search index...

                  Branch represents a relationship between a child note and its parent note. Trilium allows a note to have multiple +parents.

                  +

                  Note that you should not rely on the branch's identity, since it can change easily with a note's move. +Always check noteId instead.

                  +

                  Hierarchy (View Summary)

                  Index

                  Constructors

                  Properties

                  blobId?: string
                  branchId?: string
                  dateCreated?: string
                  dateModified?: string
                  isExpanded: boolean
                  isProtected?: boolean
                  isSynced?: boolean
                  noteId: string
                  notePosition: number
                  parentNoteId: string
                  prefix: null | string
                  utcDateCreated: string
                  utcDateModified?: string

                  Accessors

                  • get isWeak(): boolean

                    Branch is weak when its existence should not hinder deletion of its note. +As a result, note with only weak branches should be immediately deleted. +An example is shared or bookmarked clones - they are created automatically and exist for technical reasons, +not as user-intended actions. From user perspective, they don't count as real clones and for the purpose +of deletion should not act as a clone.

                    +

                    Returns boolean

                  Methods

                  • Delete a branch. If this is a last note's branch, delete the note as well.

                    +

                    Parameters

                    • OptionaldeleteId: string

                      optional delete identified

                      +
                    • OptionaltaskContext: TaskContext

                    Returns boolean

                    true if note has been deleted, false otherwise

                    +
                  • Returns {
                        branchId: undefined | string;
                        isDeleted: boolean;
                        isExpanded: boolean;
                        noteId: string;
                        notePosition: number;
                        parentNoteId: string;
                        prefix: null | string;
                        utcDateModified: undefined | string;
                    }

                  diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.BEtapiToken.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.BEtapiToken.html new file mode 100644 index 000000000..05dcb77f5 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.BEtapiToken.html @@ -0,0 +1,42 @@ +BEtapiToken | trilium
                  trilium
                    Preparing search index...

                    EtapiToken is an entity representing token used to authenticate against Trilium REST API from client applications. +Used by:

                    +
                      +
                    • Trilium Sender
                    • +
                    • ETAPI clients
                    • +
                    +

                    The format user is presented with is "_". This is also called "authToken" to distinguish it +from tokenHash and token.

                    +

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    Properties

                    blobId?: string
                    dateCreated?: string
                    dateModified?: string
                    etapiTokenId?: string
                    isProtected?: boolean
                    isSynced?: boolean
                    name: string
                    tokenHash: string
                    utcDateCreated: string
                    utcDateModified?: string

                    Accessors

                    Methods

                    • Returns {
                          etapiTokenId: undefined | string;
                          isDeleted: boolean;
                          name: string;
                          tokenHash: string;
                          utcDateCreated: string;
                          utcDateModified: undefined | string;
                      }

                    diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.BNote.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.BNote.html new file mode 100644 index 000000000..46e279414 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.BNote.html @@ -0,0 +1,350 @@ +BNote | trilium
                    trilium
                      Preparing search index...

                      Trilium's main entity, which can represent text note, image, code note, file attachment etc.

                      +

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Properties

                      Accessors

                      Methods

                      __validateTypeName +_getContent +_setContent +addAttribute +addLabel +addRelation +areAllNotePathsArchived +beforeSaving +cloneTo +convertToParentAttachment +decrypt +deleteNote +eraseExcessRevisionSnapshots +generateHash +getAllNotePaths +getAncestorNoteIds +getAncestors +getAttachmentById +getAttachmentByTitle +getAttachments +getAttachmentsByRole +getAttribute +getAttributeCaseInsensitive +getAttributes +getAttributeValue +getBestNotePath +getBestNotePathString +getBranches +getChildBranches +getChildNotes +getContent +getDescendantNoteIds +getDistanceToAncestor +getFileName +getFilteredChildBranches +getFlatText +getIcon +getInheritingNotes +getJsonContent +getJsonContentSafely +getLabel +getLabelDefinitions +getLabels +getLabelValue +getLabelValues +getOwnedAttribute +getOwnedAttributes +getOwnedAttributeValue +getOwnedLabel +getOwnedLabels +getOwnedLabelValue +getOwnedLabelValues +getOwnedRelation +getOwnedRelations +getOwnedRelationValue +getParentBranches +getParentNotes +getPojo +getPojoToSave +getRelation +getRelationDefinitions +getRelations +getRelationTarget +getRelationValue +getRevisions +getScriptEnv +getSearchResultNotes +getSortedNotePathRecords +getStrongParentBranches +getSubtree +getSubtreeNoteIds +getSubtreeNotesIncludingTemplated +getTargetRelations +getTitleOrProtected +getUtcDateChanged +hasAncestor +hasAttribute +hasChildren +hasInheritableArchivedLabel +hasLabel +hasOwnedAttribute +hasOwnedLabel +hasOwnedRelation +hasRelation +hasStringContent +init +invalidateSubTree +invalidateThisCache +isContentAvailable +isDescendantOfNote +isEligibleForConversionToAttachment +isFolder +isHiddenCompletely +isHtml +isImage +isInherited +isInHiddenSubtree +isJavaScript +isJson +isLabelTruthy +isLaunchBarConfig +isOptions +isRoot +isStringNote +markAsDeleted +markAsDeletedSimple +putEntityChange +removeAttribute +removeLabel +removeRelation +save +saveAttachment +saveRevision +searchNoteInSubtree +searchNotesInSubtree +setAttribute +setContent +setJsonContent +setLabel +setRelation +sortChildren +sortParents +toggleAttribute +toggleLabel +toggleRelation +update +updateFromRow +

                      Constructors

                      Properties

                      __flatTextCache: null | string
                      blobId?: string
                      children: BNote[]
                      contentAndAttachmentsAndRevisionsSize: null | number

                      size of the note content, attachment contents and revision contents in bytes

                      +
                      contentAndAttachmentsSize: null | number

                      size of the note content, attachment contents in bytes

                      +
                      contentSize: null | number

                      size of the content in bytes

                      +
                      dateCreated?: string
                      dateModified?: string
                      isBeingDeleted: boolean

                      set during the deletion operation, before it is completed (removed from becca completely).

                      +
                      isDecrypted: boolean
                      isProtected?: boolean
                      isSynced?: boolean
                      mime: string
                      noteId: string
                      ownedAttributes: BAttribute[]
                      parentBranches: BBranch[]
                      parents: BNote[]
                      revisionCount: null | number

                      number of note revisions for this note

                      +
                      targetRelations: BAttribute[]
                      title: string
                      type:
                          | "canvas"
                          | "code"
                          | "search"
                          | "image"
                          | "text"
                          | "file"
                          | "noteMap"
                          | "launcher"
                          | "doc"
                          | "contentWidget"
                          | "relationMap"
                          | "render"
                          | "mermaid"
                          | "book"
                          | "webView"
                          | "mindMap"
                          | "geoMap"
                      utcDateCreated: string
                      utcDateModified?: string

                      Accessors

                      Methods

                      • Parameters

                        • Optionaltype: null | string
                        • Optionalname: null | string

                        Returns void

                      • Adds a new attribute to this note. The attribute is saved and returned. +See addLabel, addRelation for more specific methods.

                        +

                        Parameters

                        • type: AttributeType

                          attribute type (label / relation)

                          +
                        • name: string

                          name of the attribute, not including the leading ~/#

                          +
                        • value: string = ""

                          value of the attribute - text for labels, target note ID for relations; optional.

                          +
                        • isInheritable: boolean = false
                        • position: null | number = null

                        Returns BAttribute

                      • Adds a new label to this note. The label attribute is saved and returned.

                        +

                        Parameters

                        • name: string

                          name of the label, not including the leading #

                          +
                        • value: string = ""

                          text value of the label; optional

                          +
                        • isInheritable: boolean = false

                        Returns BAttribute

                      • Adds a new relation to this note. The relation attribute is saved and +returned.

                        +

                        Parameters

                        • name: string

                          name of the relation, not including the leading ~

                          +
                        • targetNoteId: string
                        • isInheritable: boolean = false

                        Returns BAttribute

                      • Some notes are eligible for conversion into an attachment of its parent, note must have these properties:

                        +
                          +
                        • it has exactly one target relation
                        • +
                        • it has a relation from its parent note
                        • +
                        • it has no children
                        • +
                        • it has no clones
                        • +
                        • the parent is of type text
                        • +
                        • both notes are either unprotected or user is in protected session
                        • +
                        +

                        Currently, works only for image notes.

                        +

                        In the future, this functionality might get more generic and some of the requirements relaxed.

                        +

                        Parameters

                        Returns null | BAttachment

                        null if note is not eligible for conversion

                        +
                      • (Soft) delete a note and all its descendants.

                        +

                        Parameters

                        • deleteId: null | string = null

                          optional delete identified

                          +
                        • taskContext: null | TaskContext = null

                        Returns void

                      • Gives all possible note paths leading to this note. Paths containing search note are ignored (could form cycles)

                        +

                        Returns string[][]

                        array of notePaths (each represented by array of noteIds constituting the particular note path)

                        +
                      • Parameters

                        • type: string

                          attribute type (label, relation, etc.)

                          +
                        • name: string

                          attribute name

                          +

                        Returns null | BAttribute

                        attribute of the given type and name. If there are more such attributes, first is returned. +Returns null if there's no such attribute belonging to this note.

                        +
                      • Parameters

                        • type: string
                        • name: string
                        • Optionalvalue: null | string

                        Returns undefined | BAttribute

                      • Beware that the method must not create a copy of the array, but actually returns its internal array +(for performance reasons)

                        +

                        Parameters

                        • Optionaltype: string

                          (optional) attribute type to filter

                          +
                        • Optionalname: string

                          (optional) attribute name to filter

                          +

                        Returns BAttribute[]

                        all note's attributes, including inherited ones

                        +
                      • Parameters

                        • type: string

                          attribute type (label, relation, etc.)

                          +
                        • name: string

                          attribute name

                          +

                        Returns null | string

                        attribute value of given type and name or null if no such attribute exists.

                        +
                      • Returns a note path considered to be the "best"

                        +

                        Parameters

                        • hoistedNoteId: string = "root"

                        Returns string[]

                        array of noteIds constituting the particular note path

                        +
                      • Returns a note path considered to be the "best"

                        +

                        Parameters

                        • hoistedNoteId: string = "root"

                        Returns string

                        serialized note path (e.g. 'root/a1h315/js725h')

                        +
                      • Note content has quite special handling - it's not a separate entity, but a lazily loaded +part of Note entity with its own sync. Reasons behind this hybrid design has been:

                        +
                          +
                        • content can be quite large, and it's not necessary to load it / fill memory for any note access even if we don't need a content, especially for bulk operations like search
                        • +
                        • changes in the note metadata or title should not trigger note content sync (so we keep separate utcDateModified and entity changes records)
                        • +
                        • but to the user note content and title changes are one and the same - single dateModified (so all changes must go through Note and content is not a separate entity)
                        • +
                        +

                        Returns string | Buffer<ArrayBufferLike>

                      • This is used for:

                        +
                          +
                        • fast searching
                        • +
                        • note similarity evaluation
                        • +
                        +

                        Returns string

                          +
                        • returns flattened textual representation of note, prefixes and attributes
                        • +
                        +
                      • Returns BNote[]

                        returns only notes which are templated, does not include their subtrees +in effect returns notes which are influenced by note's non-inheritable attributes

                        +
                      • Parameters

                        • name: string

                          label name

                          +

                        Returns null | string

                        label value if label exists, null otherwise

                        +
                      • Parameters

                        • name: string

                          label name to filter

                          +

                        Returns string[]

                        all note's label values, including inherited ones

                        +
                      • Parameters

                        • type: string
                        • name: string
                        • value: null | string = null

                        Returns null | BAttribute

                        attribute belonging to this specific note (excludes inherited attributes)

                        +

                        This method can be significantly faster than the getAttribute()

                        +
                      • Beware that the method must not create a copy of the array, but actually returns its internal array +(for performance reasons)

                        +

                        Parameters

                        • type: null | string = null

                          (optional) attribute type to filter

                          +
                        • name: null | string = null

                          (optional) attribute name to filter

                          +
                        • value: null | string = null

                          (optional) attribute value to filter

                          +

                        Returns BAttribute[]

                        note's "owned" attributes - excluding inherited ones

                        +
                      • Parameters

                        • type: string

                          attribute type (label, relation, etc.)

                          +
                        • name: string

                          attribute name

                          +

                        Returns null | string

                        attribute value of given type and name or null if no such attribute exists.

                        +
                      • Parameters

                        • name: string

                          label name

                          +

                        Returns null | string

                        label value if label exists, null otherwise

                        +
                      • Parameters

                        • name: string

                          label name to filter

                          +

                        Returns string[]

                        all note's label values, excluding inherited ones

                        +
                      • Parameters

                        • Optionalname: null | string

                          relation name to filter

                          +

                        Returns BAttribute[]

                        all note's relations (attributes with type relation), excluding inherited ones

                        +
                      • Parameters

                        • name: string

                          relation name

                          +

                        Returns null | string

                        relation value if relation exists, null otherwise

                        +
                      • Parameters

                        • name: string

                          relation name

                          +

                        Returns null | string

                        relation value if relation exists, null otherwise

                        +
                      • Returns null | "frontend" | "backend"

                        JS script environment - either "frontend" or "backend"

                        +
                      • Parameters

                        • __namedParameters: { includeArchived?: boolean; includeHidden?: boolean; resolveSearch?: boolean } = {}

                        Returns { notes: BNote[]; relationships: Relationship[] }

                      • Parameters

                        • __namedParameters: { includeArchived?: boolean; includeHidden?: boolean; resolveSearch?: boolean } = {}

                        Returns string[]

                        includes the subtree root note as well

                        +
                      • Parameters

                        • type: string
                        • name: string
                        • value: null | string = null

                        Returns boolean

                      • Parameters

                        • name: string

                          label name

                          +
                        • Optionalvalue: string

                          label value

                          +

                        Returns boolean

                        true if label exists (including inherited)

                        +
                      • Parameters

                        • type: string
                        • name: string

                          attribute name

                          +
                        • Optionalvalue: string

                          attribute value

                          +

                        Returns boolean

                        true if note has an attribute with given type and name (excluding inherited)

                        +
                      • Parameters

                        • name: string

                          label name

                          +
                        • Optionalvalue: string

                          label value

                          +

                        Returns boolean

                        true if label exists (excluding inherited)

                        +
                      • Parameters

                        • name: string

                          relation name

                          +
                        • Optionalvalue: string

                          relation value

                          +

                        Returns boolean

                        true if relation exists (excluding inherited)

                        +
                      • Parameters

                        • name: string

                          relation name

                          +
                        • Optionalvalue: string

                          relation value

                          +

                        Returns boolean

                        true if relation exists (including inherited)

                        +
                      • Parameters

                        • ancestorNoteId: string

                        Returns boolean

                        true if ancestorNoteId occurs in at least one of the note's paths

                        +
                      • Returns boolean

                        boolean - true if there's no non-hidden path, note is not cloned to the visible tree

                        +
                      • Parameters

                        • name: string

                          label name

                          +

                        Returns boolean

                        true if label exists (including inherited) and does not have "false" value.

                        +
                      • Removes given attribute name-value pair if it exists.

                        +

                        Parameters

                        • type: string

                          attribute type (label, relation, etc.)

                          +
                        • name: string

                          attribute name

                          +
                        • Optionalvalue: string

                          attribute value (optional)

                          +

                        Returns void

                      • Remove label name-value pair, if it exists.

                        +

                        Parameters

                        • name: string

                          label name

                          +
                        • Optionalvalue: string

                          label value

                          +

                        Returns void

                      • Remove the relation name-value pair, if it exists.

                        +

                        Parameters

                        • name: string

                          relation name

                          +
                        • Optionalvalue: string

                          relation value (noteId)

                          +

                        Returns void

                      • Parameters

                        • __namedParameters: AttachmentRow
                        • matchBy: undefined | "title" | "attachmentId" = "attachmentId"

                          choose by which property we detect if to update an existing attachment. +Supported values are either 'attachmentId' (default) or 'title'

                          +

                        Returns BAttachment

                      • Update's given attribute's value or creates it if it doesn't exist

                        +

                        Parameters

                        • type: AttributeType

                          attribute type (label, relation, etc.)

                          +
                        • name: string

                          attribute name

                          +
                        • Optionalvalue: string

                          attribute value (optional)

                          +

                        Returns void

                      • Update's given label's value or creates it if it doesn't exist

                        +

                        Parameters

                        • name: string

                          label name

                          +
                        • Optionalvalue: string

                          label value

                          +

                        Returns void

                      • Update's given relation's value or creates it if it doesn't exist

                        +

                        Parameters

                        • name: string

                          relation name

                          +
                        • Optionalvalue: string

                          relation value (noteId)

                          +

                        Returns void

                      • Based on enabled, the attribute is either set or removed.

                        +

                        Parameters

                        • type: AttributeType

                          attribute type ('relation', 'label' etc.)

                          +
                        • enabled: boolean

                          toggle On or Off

                          +
                        • name: string

                          attribute name

                          +
                        • Optionalvalue: string

                          attribute value (optional)

                          +

                        Returns void

                      • Based on enabled, label is either set or removed.

                        +

                        Parameters

                        • enabled: boolean

                          toggle On or Off

                          +
                        • name: string

                          label name

                          +
                        • Optionalvalue: string

                          label value (optional)

                          +

                        Returns void

                      • Based on enabled, relation is either set or removed.

                        +

                        Parameters

                        • enabled: boolean

                          toggle On or Off

                          +
                        • name: string

                          relation name

                          +
                        • Optionalvalue: string

                          relation value (noteId)

                          +

                        Returns void

                      diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.BOption.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.BOption.html new file mode 100644 index 000000000..e26e335fd --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.BOption.html @@ -0,0 +1,34 @@ +BOption | trilium
                      trilium
                        Preparing search index...

                        Option represents a name-value pair, either directly configurable by the user or some system property.

                        +

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        Properties

                        blobId?: string
                        dateCreated?: string
                        dateModified?: string
                        isProtected?: boolean
                        isSynced?: boolean
                        name: string
                        utcDateCreated: string
                        utcDateModified?: string
                        value: string

                        Accessors

                        Methods

                        • Returns {
                              isSynced: undefined | boolean;
                              name: string;
                              utcDateModified: undefined | string;
                              value: string;
                          }

                        diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.BRevision.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.BRevision.html new file mode 100644 index 000000000..3d6fbcf46 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.BRevision.html @@ -0,0 +1,57 @@ +BRevision | trilium
                        trilium
                          Preparing search index...

                          Revision represents a snapshot of note's title and content at some point in the past. +It's used for seamless note versioning.

                          +

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Properties

                          blobId?: string
                          content?: string | Buffer<ArrayBufferLike>
                          contentLength?: number
                          dateCreated?: string
                          dateLastEdited?: string
                          dateModified?: string
                          isProtected?: boolean
                          isSynced?: boolean
                          mime: string
                          noteId: string
                          revisionId?: string
                          title: string
                          type:
                              | "canvas"
                              | "code"
                              | "search"
                              | "image"
                              | "text"
                              | "file"
                              | "noteMap"
                              | "launcher"
                              | "doc"
                              | "contentWidget"
                              | "relationMap"
                              | "render"
                              | "mermaid"
                              | "book"
                              | "webView"
                              | "mindMap"
                              | "geoMap"
                          utcDateCreated: string
                          utcDateLastEdited?: string
                          utcDateModified?: string

                          Accessors

                          Methods

                          • Returns {
                                blobId: undefined | string;
                                content: undefined | string | Buffer<ArrayBufferLike>;
                                contentLength: undefined | number;
                                dateCreated: undefined | string;
                                dateLastEdited: undefined | string;
                                isProtected: undefined | boolean;
                                mime: string;
                                noteId: string;
                                revisionId: undefined | string;
                                title: undefined | string;
                                type:
                                    | "canvas"
                                    | "code"
                                    | "search"
                                    | "image"
                                    | "text"
                                    | "file"
                                    | "noteMap"
                                    | "launcher"
                                    | "doc"
                                    | "contentWidget"
                                    | "relationMap"
                                    | "render"
                                    | "mermaid"
                                    | "book"
                                    | "webView"
                                    | "mindMap"
                                    | "geoMap";
                                utcDateCreated: string;
                                utcDateLastEdited: undefined
                                | string;
                                utcDateModified: undefined | string;
                            }

                          • Returns {
                                blobId: undefined | string;
                                content: undefined | string | Buffer<ArrayBufferLike>;
                                contentLength: undefined | number;
                                dateCreated: undefined | string;
                                dateLastEdited: undefined | string;
                                isProtected: undefined | boolean;
                                mime: string;
                                noteId: string;
                                revisionId: undefined | string;
                                title: undefined | string;
                                type:
                                    | "canvas"
                                    | "code"
                                    | "search"
                                    | "image"
                                    | "text"
                                    | "file"
                                    | "noteMap"
                                    | "launcher"
                                    | "doc"
                                    | "contentWidget"
                                    | "relationMap"
                                    | "render"
                                    | "mermaid"
                                    | "book"
                                    | "webView"
                                    | "mindMap"
                                    | "geoMap";
                                utcDateCreated: string;
                                utcDateLastEdited: undefined
                                | string;
                                utcDateModified: undefined | string;
                            }

                          diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.CanceledError.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.CanceledError.html new file mode 100644 index 000000000..103f24b74 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.CanceledError.html @@ -0,0 +1,32 @@ +CanceledError | trilium
                          trilium
                            Preparing search index...

                            Type Parameters

                            • T

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Properties

                            cause?: Error
                            code?: string
                            isAxiosError: boolean
                            message: string
                            name: string
                            request?: any
                            response?: AxiosResponse<T, any>
                            stack?: string
                            status?: number
                            toJSON: () => object
                            ECONNABORTED: "ECONNABORTED"
                            ERR_BAD_OPTION: "ERR_BAD_OPTION"
                            ERR_BAD_OPTION_VALUE: "ERR_BAD_OPTION_VALUE"
                            ERR_BAD_REQUEST: "ERR_BAD_REQUEST"
                            ERR_BAD_RESPONSE: "ERR_BAD_RESPONSE"
                            ERR_CANCELED: "ERR_CANCELED"
                            ERR_DEPRECATED: "ERR_DEPRECATED"
                            ERR_FR_TOO_MANY_REDIRECTS: "ERR_FR_TOO_MANY_REDIRECTS"
                            ERR_INVALID_URL: "ERR_INVALID_URL"
                            ERR_NETWORK: "ERR_NETWORK"
                            ERR_NOT_SUPPORT: "ERR_NOT_SUPPORT"
                            ETIMEDOUT: "ETIMEDOUT"
                            prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

                            Optional override for formatting stack traces

                            +
                            stackTraceLimit: number

                            Methods

                            • Create .stack property on a target object

                              +

                              Parameters

                              • targetObject: object
                              • OptionalconstructorOpt: Function

                              Returns void

                            diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.EventEmitter.EventEmitterAsyncResource.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.EventEmitter.EventEmitterAsyncResource.html new file mode 100644 index 000000000..e90f6d165 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.EventEmitter.EventEmitterAsyncResource.html @@ -0,0 +1,335 @@ +EventEmitterAsyncResource | trilium
                            trilium
                              Preparing search index...

                              Integrates EventEmitter with AsyncResource for EventEmitters that +require manual async tracking. Specifically, all events emitted by instances +of events.EventEmitterAsyncResource will run within its async context.

                              +
                              import { EventEmitterAsyncResource, EventEmitter } from 'node:events';
                              import { notStrictEqual, strictEqual } from 'node:assert';
                              import { executionAsyncId, triggerAsyncId } from 'node:async_hooks';

                              // Async tracking tooling will identify this as 'Q'.
                              const ee1 = new EventEmitterAsyncResource({ name: 'Q' });

                              // 'foo' listeners will run in the EventEmitters async context.
                              ee1.on('foo', () => {
                              strictEqual(executionAsyncId(), ee1.asyncId);
                              strictEqual(triggerAsyncId(), ee1.triggerAsyncId);
                              });

                              const ee2 = new EventEmitter();

                              // 'foo' listeners on ordinary EventEmitters that do not track async
                              // context, however, run in the same async context as the emit().
                              ee2.on('foo', () => {
                              notStrictEqual(executionAsyncId(), ee2.asyncId);
                              notStrictEqual(triggerAsyncId(), ee2.triggerAsyncId);
                              });

                              Promise.resolve().then(() => {
                              ee1.emit('foo');
                              ee2.emit('foo');
                              }); +
                              + +

                              The EventEmitterAsyncResource class has the same methods and takes the +same options as EventEmitter and AsyncResource themselves.

                              +

                              v17.4.0, v16.14.0

                              +

                              Hierarchy (View Summary)

                              Index

                              Constructors

                              Properties

                              asyncId: number

                              The unique asyncId assigned to the resource.

                              +

                              The returned AsyncResource object has an additional eventEmitter property +that provides a reference to this EventEmitterAsyncResource.

                              +
                              triggerAsyncId: number

                              The same triggerAsyncId that is passed to the AsyncResource constructor.

                              +
                              captureRejections: boolean

                              Value: boolean

                              +

                              Change the default captureRejections option on all new EventEmitter objects.

                              +

                              v13.4.0, v12.16.0

                              +
                              captureRejectionSymbol: typeof captureRejectionSymbol

                              Value: Symbol.for('nodejs.rejection')

                              +

                              See how to write a custom rejection handler.

                              +

                              v13.4.0, v12.16.0

                              +
                              defaultMaxListeners: number

                              By default, a maximum of 10 listeners can be registered for any single +event. This limit can be changed for individual EventEmitter instances +using the emitter.setMaxListeners(n) method. To change the default +for allEventEmitter instances, the events.defaultMaxListeners property +can be used. If this value is not a positive number, a RangeError is thrown.

                              +

                              Take caution when setting the events.defaultMaxListeners because the +change affects all EventEmitter instances, including those created before +the change is made. However, calling emitter.setMaxListeners(n) still has +precedence over events.defaultMaxListeners.

                              +

                              This is not a hard limit. The EventEmitter instance will allow +more listeners to be added but will output a trace warning to stderr indicating +that a "possible EventEmitter memory leak" has been detected. For any single +EventEmitter, the emitter.getMaxListeners() and emitter.setMaxListeners() methods can be used to +temporarily avoid this warning:

                              +
                              import { EventEmitter } from 'node:events';
                              const emitter = new EventEmitter();
                              emitter.setMaxListeners(emitter.getMaxListeners() + 1);
                              emitter.once('event', () => {
                              // do stuff
                              emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0));
                              }); +
                              + +

                              The --trace-warnings command-line flag can be used to display the +stack trace for such warnings.

                              +

                              The emitted warning can be inspected with process.on('warning') and will +have the additional emitter, type, and count properties, referring to +the event emitter instance, the event's name and the number of attached +listeners, respectively. +Its name property is set to 'MaxListenersExceededWarning'.

                              +

                              v0.11.2

                              +
                              errorMonitor: typeof errorMonitor

                              This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

                              +

                              Installing a listener using this symbol does not change the behavior once an 'error' event is emitted. Therefore, the process will still crash if no +regular 'error' listener is installed.

                              +

                              v13.6.0, v12.17.0

                              +

                              Methods

                              • Type Parameters

                                • K

                                Parameters

                                • error: Error
                                • event: string | symbol
                                • ...args: AnyRest

                                Returns void

                              • Alias for emitter.on(eventName, listener).

                                +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol
                                • listener: (...args: any[]) => void

                                Returns this

                                v0.1.26

                                +
                              • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments +to each.

                                +

                                Returns true if the event had listeners, false otherwise.

                                +
                                import { EventEmitter } from 'node:events';
                                const myEmitter = new EventEmitter();

                                // First listener
                                myEmitter.on('event', function firstListener() {
                                console.log('Helloooo! first listener');
                                });
                                // Second listener
                                myEmitter.on('event', function secondListener(arg1, arg2) {
                                console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
                                });
                                // Third listener
                                myEmitter.on('event', function thirdListener(...args) {
                                const parameters = args.join(', ');
                                console.log(`event with parameters ${parameters} in third listener`);
                                });

                                console.log(myEmitter.listeners('event'));

                                myEmitter.emit('event', 1, 2, 3, 4, 5);

                                // Prints:
                                // [
                                // [Function: firstListener],
                                // [Function: secondListener],
                                // [Function: thirdListener]
                                // ]
                                // Helloooo! first listener
                                // event with parameters 1, 2 in second listener
                                // event with parameters 1, 2, 3, 4, 5 in third listener +
                                + +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol
                                • ...args: AnyRest

                                Returns boolean

                                v0.1.26

                                +
                              • Call all destroy hooks. This should only ever be called once. An error will +be thrown if it is called more than once. This must be manually called. If +the resource is left to be collected by the GC then the destroy hooks will +never be called.

                                +

                                Returns void

                              • Returns an array listing the events for which the emitter has registered +listeners. The values in the array are strings or Symbols.

                                +
                                import { EventEmitter } from 'node:events';

                                const myEE = new EventEmitter();
                                myEE.on('foo', () => {});
                                myEE.on('bar', () => {});

                                const sym = Symbol('symbol');
                                myEE.on(sym, () => {});

                                console.log(myEE.eventNames());
                                // Prints: [ 'foo', 'bar', Symbol(symbol) ] +
                                + +

                                Returns (string | symbol)[]

                                v6.0.0

                                +
                              • Returns the current max listener value for the EventEmitter which is either +set by emitter.setMaxListeners(n) or defaults to EventEmitter.defaultMaxListeners.

                                +

                                Returns number

                                v1.0.0

                                +
                              • Returns the number of listeners listening for the event named eventName. +If listener is provided, it will return how many times the listener is found +in the list of the listeners of the event.

                                +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol

                                  The name of the event being listened for

                                  +
                                • Optionallistener: Function

                                  The event handler function

                                  +

                                Returns number

                                v3.2.0

                                +
                              • Returns a copy of the array of listeners for the event named eventName.

                                +
                                server.on('connection', (stream) => {
                                console.log('someone connected!');
                                });
                                console.log(util.inspect(server.listeners('connection')));
                                // Prints: [ [Function] ] +
                                + +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol

                                Returns Function[]

                                v0.1.26

                                +
                              • Alias for emitter.removeListener().

                                +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol
                                • listener: (...args: any[]) => void

                                Returns this

                                v10.0.0

                                +
                              • Adds the listener function to the end of the listeners array for the event +named eventName. No checks are made to see if the listener has already +been added. Multiple calls passing the same combination of eventName and +listener will result in the listener being added, and called, multiple times.

                                +
                                server.on('connection', (stream) => {
                                console.log('someone connected!');
                                }); +
                                + +

                                Returns a reference to the EventEmitter, so that calls can be chained.

                                +

                                By default, event listeners are invoked in the order they are added. The emitter.prependListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                +
                                import { EventEmitter } from 'node:events';
                                const myEE = new EventEmitter();
                                myEE.on('foo', () => console.log('a'));
                                myEE.prependListener('foo', () => console.log('b'));
                                myEE.emit('foo');
                                // Prints:
                                // b
                                // a +
                                + +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol

                                  The name of the event.

                                  +
                                • listener: (...args: any[]) => void

                                  The callback function

                                  +

                                Returns this

                                v0.1.101

                                +
                              • Adds a one-time listener function for the event named eventName. The +next time eventName is triggered, this listener is removed and then invoked.

                                +
                                server.once('connection', (stream) => {
                                console.log('Ah, we have our first user!');
                                }); +
                                + +

                                Returns a reference to the EventEmitter, so that calls can be chained.

                                +

                                By default, event listeners are invoked in the order they are added. The emitter.prependOnceListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                +
                                import { EventEmitter } from 'node:events';
                                const myEE = new EventEmitter();
                                myEE.once('foo', () => console.log('a'));
                                myEE.prependOnceListener('foo', () => console.log('b'));
                                myEE.emit('foo');
                                // Prints:
                                // b
                                // a +
                                + +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol

                                  The name of the event.

                                  +
                                • listener: (...args: any[]) => void

                                  The callback function

                                  +

                                Returns this

                                v0.3.0

                                +
                              • Adds the listener function to the beginning of the listeners array for the +event named eventName. No checks are made to see if the listener has +already been added. Multiple calls passing the same combination of eventName +and listener will result in the listener being added, and called, multiple times.

                                +
                                server.prependListener('connection', (stream) => {
                                console.log('someone connected!');
                                }); +
                                + +

                                Returns a reference to the EventEmitter, so that calls can be chained.

                                +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol

                                  The name of the event.

                                  +
                                • listener: (...args: any[]) => void

                                  The callback function

                                  +

                                Returns this

                                v6.0.0

                                +
                              • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this +listener is removed, and then invoked.

                                +
                                server.prependOnceListener('connection', (stream) => {
                                console.log('Ah, we have our first user!');
                                }); +
                                + +

                                Returns a reference to the EventEmitter, so that calls can be chained.

                                +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol

                                  The name of the event.

                                  +
                                • listener: (...args: any[]) => void

                                  The callback function

                                  +

                                Returns this

                                v6.0.0

                                +
                              • Returns a copy of the array of listeners for the event named eventName, +including any wrappers (such as those created by .once()).

                                +
                                import { EventEmitter } from 'node:events';
                                const emitter = new EventEmitter();
                                emitter.once('log', () => console.log('log once'));

                                // Returns a new Array with a function `onceWrapper` which has a property
                                // `listener` which contains the original listener bound above
                                const listeners = emitter.rawListeners('log');
                                const logFnWrapper = listeners[0];

                                // Logs "log once" to the console and does not unbind the `once` event
                                logFnWrapper.listener();

                                // Logs "log once" to the console and removes the listener
                                logFnWrapper();

                                emitter.on('log', () => console.log('log persistently'));
                                // Will return a new Array with a single function bound by `.on()` above
                                const newListeners = emitter.rawListeners('log');

                                // Logs "log persistently" twice
                                newListeners[0]();
                                emitter.emit('log'); +
                                + +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol

                                Returns Function[]

                                v9.4.0

                                +
                              • Removes all listeners, or those of the specified eventName.

                                +

                                It is bad practice to remove listeners added elsewhere in the code, +particularly when the EventEmitter instance was created by some other +component or module (e.g. sockets or file streams).

                                +

                                Returns a reference to the EventEmitter, so that calls can be chained.

                                +

                                Parameters

                                • OptionaleventName: string | symbol

                                Returns this

                                v0.1.26

                                +
                              • Removes the specified listener from the listener array for the event named eventName.

                                +
                                const callback = (stream) => {
                                console.log('someone connected!');
                                };
                                server.on('connection', callback);
                                // ...
                                server.removeListener('connection', callback); +
                                + +

                                removeListener() will remove, at most, one instance of a listener from the +listener array. If any single listener has been added multiple times to the +listener array for the specified eventName, then removeListener() must be +called multiple times to remove each instance.

                                +

                                Once an event is emitted, all listeners attached to it at the +time of emitting are called in order. This implies that any removeListener() or removeAllListeners() calls after emitting and before the last listener finishes execution +will not remove them fromemit() in progress. Subsequent events behave as expected.

                                +
                                import { EventEmitter } from 'node:events';
                                class MyEmitter extends EventEmitter {}
                                const myEmitter = new MyEmitter();

                                const callbackA = () => {
                                console.log('A');
                                myEmitter.removeListener('event', callbackB);
                                };

                                const callbackB = () => {
                                console.log('B');
                                };

                                myEmitter.on('event', callbackA);

                                myEmitter.on('event', callbackB);

                                // callbackA removes listener callbackB but it will still be called.
                                // Internal listener array at time of emit [callbackA, callbackB]
                                myEmitter.emit('event');
                                // Prints:
                                // A
                                // B

                                // callbackB is now removed.
                                // Internal listener array [callbackA]
                                myEmitter.emit('event');
                                // Prints:
                                // A +
                                + +

                                Because listeners are managed using an internal array, calling this will +change the position indices of any listener registered after the listener +being removed. This will not impact the order in which listeners are called, +but it means that any copies of the listener array as returned by +the emitter.listeners() method will need to be recreated.

                                +

                                When a single function has been added as a handler multiple times for a single +event (as in the example below), removeListener() will remove the most +recently added instance. In the example the once('ping') listener is removed:

                                +
                                import { EventEmitter } from 'node:events';
                                const ee = new EventEmitter();

                                function pong() {
                                console.log('pong');
                                }

                                ee.on('ping', pong);
                                ee.once('ping', pong);
                                ee.removeListener('ping', pong);

                                ee.emit('ping');
                                ee.emit('ping'); +
                                + +

                                Returns a reference to the EventEmitter, so that calls can be chained.

                                +

                                Type Parameters

                                • K

                                Parameters

                                • eventName: string | symbol
                                • listener: (...args: any[]) => void

                                Returns this

                                v0.1.26

                                +
                              • By default EventEmitters will print a warning if more than 10 listeners are +added for a particular event. This is a useful default that helps finding +memory leaks. The emitter.setMaxListeners() method allows the limit to be +modified for this specific EventEmitter instance. The value can be set to Infinity (or 0) to indicate an unlimited number of listeners.

                                +

                                Returns a reference to the EventEmitter, so that calls can be chained.

                                +

                                Parameters

                                • n: number

                                Returns this

                                v0.3.5

                                +
                              • Experimental

                                Listens once to the abort event on the provided signal.

                                +

                                Listening to the abort event on abort signals is unsafe and may +lead to resource leaks since another third party with the signal can +call e.stopImmediatePropagation(). Unfortunately Node.js cannot change +this since it would violate the web standard. Additionally, the original +API makes it easy to forget to remove listeners.

                                +

                                This API allows safely using AbortSignals in Node.js APIs by solving these +two issues by listening to the event such that stopImmediatePropagation does +not prevent the listener from running.

                                +

                                Returns a disposable so that it may be unsubscribed from more easily.

                                +
                                import { addAbortListener } from 'node:events';

                                function example(signal) {
                                let disposable;
                                try {
                                signal.addEventListener('abort', (e) => e.stopImmediatePropagation());
                                disposable = addAbortListener(signal, (e) => {
                                // Do something when signal is aborted.
                                });
                                } finally {
                                disposable?.[Symbol.dispose]();
                                }
                                } +
                                + +

                                Parameters

                                • signal: AbortSignal
                                • resource: (event: Event) => void

                                Returns Disposable

                                Disposable that removes the abort listener.

                                +

                                v20.5.0

                                +
                              • Returns a copy of the array of listeners for the event named eventName.

                                +

                                For EventEmitters this behaves exactly the same as calling .listeners on +the emitter.

                                +

                                For EventTargets this is the only way to get the event listeners for the +event target. This is useful for debugging and diagnostic purposes.

                                +
                                import { getEventListeners, EventEmitter } from 'node:events';

                                {
                                const ee = new EventEmitter();
                                const listener = () => console.log('Events are fun');
                                ee.on('foo', listener);
                                console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ]
                                }
                                {
                                const et = new EventTarget();
                                const listener = () => console.log('Events are fun');
                                et.addEventListener('foo', listener);
                                console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ]
                                } +
                                + +

                                Parameters

                                Returns Function[]

                                v15.2.0, v14.17.0

                                +
                              • Returns the currently set max amount of listeners.

                                +

                                For EventEmitters this behaves exactly the same as calling .getMaxListeners on +the emitter.

                                +

                                For EventTargets this is the only way to get the max event listeners for the +event target. If the number of event handlers on a single EventTarget exceeds +the max set, the EventTarget will print a warning.

                                +
                                import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events';

                                {
                                const ee = new EventEmitter();
                                console.log(getMaxListeners(ee)); // 10
                                setMaxListeners(11, ee);
                                console.log(getMaxListeners(ee)); // 11
                                }
                                {
                                const et = new EventTarget();
                                console.log(getMaxListeners(et)); // 10
                                setMaxListeners(11, et);
                                console.log(getMaxListeners(et)); // 11
                                } +
                                + +

                                Parameters

                                Returns number

                                v19.9.0

                                +
                              • A class method that returns the number of listeners for the given eventName registered on the given emitter.

                                +
                                import { EventEmitter, listenerCount } from 'node:events';

                                const myEmitter = new EventEmitter();
                                myEmitter.on('event', () => {});
                                myEmitter.on('event', () => {});
                                console.log(listenerCount(myEmitter, 'event'));
                                // Prints: 2 +
                                + +

                                Parameters

                                • emitter: EventEmitter

                                  The emitter to query

                                  +
                                • eventName: string | symbol

                                  The event name

                                  +

                                Returns number

                                v0.9.12

                                +

                                Since v3.2.0 - Use listenerCount instead.

                                +
                              • import { on, EventEmitter } from 'node:events';
                                import process from 'node:process';

                                const ee = new EventEmitter();

                                // Emit later on
                                process.nextTick(() => {
                                ee.emit('foo', 'bar');
                                ee.emit('foo', 42);
                                });

                                for await (const event of on(ee, 'foo')) {
                                // The execution of this inner block is synchronous and it
                                // processes one event at a time (even with await). Do not use
                                // if concurrent execution is required.
                                console.log(event); // prints ['bar'] [42]
                                }
                                // Unreachable here +
                                + +

                                Returns an AsyncIterator that iterates eventName events. It will throw +if the EventEmitter emits 'error'. It removes all listeners when +exiting the loop. The value returned by each iteration is an array +composed of the emitted event arguments.

                                +

                                An AbortSignal can be used to cancel waiting on events:

                                +
                                import { on, EventEmitter } from 'node:events';
                                import process from 'node:process';

                                const ac = new AbortController();

                                (async () => {
                                const ee = new EventEmitter();

                                // Emit later on
                                process.nextTick(() => {
                                ee.emit('foo', 'bar');
                                ee.emit('foo', 42);
                                });

                                for await (const event of on(ee, 'foo', { signal: ac.signal })) {
                                // The execution of this inner block is synchronous and it
                                // processes one event at a time (even with await). Do not use
                                // if concurrent execution is required.
                                console.log(event); // prints ['bar'] [42]
                                }
                                // Unreachable here
                                })();

                                process.nextTick(() => ac.abort()); +
                                + +

                                Use the close option to specify an array of event names that will end the iteration:

                                +
                                import { on, EventEmitter } from 'node:events';
                                import process from 'node:process';

                                const ee = new EventEmitter();

                                // Emit later on
                                process.nextTick(() => {
                                ee.emit('foo', 'bar');
                                ee.emit('foo', 42);
                                ee.emit('close');
                                });

                                for await (const event of on(ee, 'foo', { close: ['close'] })) {
                                console.log(event); // prints ['bar'] [42]
                                }
                                // the loop will exit after 'close' is emitted
                                console.log('done'); // prints 'done' +
                                + +

                                Parameters

                                Returns AsyncIterator<any[]>

                                An AsyncIterator that iterates eventName events emitted by the emitter

                                +

                                v13.6.0, v12.16.0

                                +
                              • import { on, EventEmitter } from 'node:events';
                                import process from 'node:process';

                                const ee = new EventEmitter();

                                // Emit later on
                                process.nextTick(() => {
                                ee.emit('foo', 'bar');
                                ee.emit('foo', 42);
                                });

                                for await (const event of on(ee, 'foo')) {
                                // The execution of this inner block is synchronous and it
                                // processes one event at a time (even with await). Do not use
                                // if concurrent execution is required.
                                console.log(event); // prints ['bar'] [42]
                                }
                                // Unreachable here +
                                + +

                                Returns an AsyncIterator that iterates eventName events. It will throw +if the EventEmitter emits 'error'. It removes all listeners when +exiting the loop. The value returned by each iteration is an array +composed of the emitted event arguments.

                                +

                                An AbortSignal can be used to cancel waiting on events:

                                +
                                import { on, EventEmitter } from 'node:events';
                                import process from 'node:process';

                                const ac = new AbortController();

                                (async () => {
                                const ee = new EventEmitter();

                                // Emit later on
                                process.nextTick(() => {
                                ee.emit('foo', 'bar');
                                ee.emit('foo', 42);
                                });

                                for await (const event of on(ee, 'foo', { signal: ac.signal })) {
                                // The execution of this inner block is synchronous and it
                                // processes one event at a time (even with await). Do not use
                                // if concurrent execution is required.
                                console.log(event); // prints ['bar'] [42]
                                }
                                // Unreachable here
                                })();

                                process.nextTick(() => ac.abort()); +
                                + +

                                Use the close option to specify an array of event names that will end the iteration:

                                +
                                import { on, EventEmitter } from 'node:events';
                                import process from 'node:process';

                                const ee = new EventEmitter();

                                // Emit later on
                                process.nextTick(() => {
                                ee.emit('foo', 'bar');
                                ee.emit('foo', 42);
                                ee.emit('close');
                                });

                                for await (const event of on(ee, 'foo', { close: ['close'] })) {
                                console.log(event); // prints ['bar'] [42]
                                }
                                // the loop will exit after 'close' is emitted
                                console.log('done'); // prints 'done' +
                                + +

                                Parameters

                                Returns AsyncIterator<any[]>

                                An AsyncIterator that iterates eventName events emitted by the emitter

                                +

                                v13.6.0, v12.16.0

                                +
                              • Creates a Promise that is fulfilled when the EventEmitter emits the given +event or that is rejected if the EventEmitter emits 'error' while waiting. +The Promise will resolve with an array of all the arguments emitted to the +given event.

                                +

                                This method is intentionally generic and works with the web platform EventTarget interface, which has no special'error' event +semantics and does not listen to the 'error' event.

                                +
                                import { once, EventEmitter } from 'node:events';
                                import process from 'node:process';

                                const ee = new EventEmitter();

                                process.nextTick(() => {
                                ee.emit('myevent', 42);
                                });

                                const [value] = await once(ee, 'myevent');
                                console.log(value);

                                const err = new Error('kaboom');
                                process.nextTick(() => {
                                ee.emit('error', err);
                                });

                                try {
                                await once(ee, 'myevent');
                                } catch (err) {
                                console.error('error happened', err);
                                } +
                                + +

                                The special handling of the 'error' event is only used when events.once() is used to wait for another event. If events.once() is used to wait for the +'error' event itself, then it is treated as any other kind of event without +special handling:

                                +
                                import { EventEmitter, once } from 'node:events';

                                const ee = new EventEmitter();

                                once(ee, 'error')
                                .then(([err]) => console.log('ok', err.message))
                                .catch((err) => console.error('error', err.message));

                                ee.emit('error', new Error('boom'));

                                // Prints: ok boom +
                                + +

                                An AbortSignal can be used to cancel waiting for the event:

                                +
                                import { EventEmitter, once } from 'node:events';

                                const ee = new EventEmitter();
                                const ac = new AbortController();

                                async function foo(emitter, event, signal) {
                                try {
                                await once(emitter, event, { signal });
                                console.log('event emitted!');
                                } catch (error) {
                                if (error.name === 'AbortError') {
                                console.error('Waiting for the event was canceled!');
                                } else {
                                console.error('There was an error', error.message);
                                }
                                }
                                }

                                foo(ee, 'foo', ac.signal);
                                ac.abort(); // Abort waiting for the event
                                ee.emit('foo'); // Prints: Waiting for the event was canceled! +
                                + +

                                Parameters

                                Returns Promise<any[]>

                                v11.13.0, v10.16.0

                                +
                              • Creates a Promise that is fulfilled when the EventEmitter emits the given +event or that is rejected if the EventEmitter emits 'error' while waiting. +The Promise will resolve with an array of all the arguments emitted to the +given event.

                                +

                                This method is intentionally generic and works with the web platform EventTarget interface, which has no special'error' event +semantics and does not listen to the 'error' event.

                                +
                                import { once, EventEmitter } from 'node:events';
                                import process from 'node:process';

                                const ee = new EventEmitter();

                                process.nextTick(() => {
                                ee.emit('myevent', 42);
                                });

                                const [value] = await once(ee, 'myevent');
                                console.log(value);

                                const err = new Error('kaboom');
                                process.nextTick(() => {
                                ee.emit('error', err);
                                });

                                try {
                                await once(ee, 'myevent');
                                } catch (err) {
                                console.error('error happened', err);
                                } +
                                + +

                                The special handling of the 'error' event is only used when events.once() is used to wait for another event. If events.once() is used to wait for the +'error' event itself, then it is treated as any other kind of event without +special handling:

                                +
                                import { EventEmitter, once } from 'node:events';

                                const ee = new EventEmitter();

                                once(ee, 'error')
                                .then(([err]) => console.log('ok', err.message))
                                .catch((err) => console.error('error', err.message));

                                ee.emit('error', new Error('boom'));

                                // Prints: ok boom +
                                + +

                                An AbortSignal can be used to cancel waiting for the event:

                                +
                                import { EventEmitter, once } from 'node:events';

                                const ee = new EventEmitter();
                                const ac = new AbortController();

                                async function foo(emitter, event, signal) {
                                try {
                                await once(emitter, event, { signal });
                                console.log('event emitted!');
                                } catch (error) {
                                if (error.name === 'AbortError') {
                                console.error('Waiting for the event was canceled!');
                                } else {
                                console.error('There was an error', error.message);
                                }
                                }
                                }

                                foo(ee, 'foo', ac.signal);
                                ac.abort(); // Abort waiting for the event
                                ee.emit('foo'); // Prints: Waiting for the event was canceled! +
                                + +

                                Parameters

                                Returns Promise<any[]>

                                v11.13.0, v10.16.0

                                +
                              • import { setMaxListeners, EventEmitter } from 'node:events';

                                const target = new EventTarget();
                                const emitter = new EventEmitter();

                                setMaxListeners(5, target, emitter); +
                                + +

                                Parameters

                                • Optionaln: number

                                  A non-negative number. The maximum number of listeners per EventTarget event.

                                  +
                                • ...eventTargets: (EventTarget | EventEmitter<DefaultEventMap>)[]

                                  Zero or more {EventTarget} or {EventEmitter} instances. If none are specified, n is set as the default max for all newly created {EventTarget} and {EventEmitter} +objects.

                                  +

                                Returns void

                                v15.4.0

                                +
                              diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.EventEmitter.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.EventEmitter.html new file mode 100644 index 000000000..453b32fa8 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.EventEmitter.html @@ -0,0 +1,321 @@ +EventEmitter | trilium
                              trilium
                                Preparing search index...

                                The EventEmitter class is defined and exposed by the node:events module:

                                +
                                import { EventEmitter } from 'node:events';
                                +
                                + +

                                All EventEmitters emit the event 'newListener' when new listeners are +added and 'removeListener' when existing listeners are removed.

                                +

                                It supports the following option:

                                +

                                v0.1.26

                                +

                                Type Parameters

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Properties

                                captureRejections: boolean

                                Value: boolean

                                +

                                Change the default captureRejections option on all new EventEmitter objects.

                                +

                                v13.4.0, v12.16.0

                                +
                                captureRejectionSymbol: typeof captureRejectionSymbol

                                Value: Symbol.for('nodejs.rejection')

                                +

                                See how to write a custom rejection handler.

                                +

                                v13.4.0, v12.16.0

                                +
                                defaultMaxListeners: number

                                By default, a maximum of 10 listeners can be registered for any single +event. This limit can be changed for individual EventEmitter instances +using the emitter.setMaxListeners(n) method. To change the default +for allEventEmitter instances, the events.defaultMaxListeners property +can be used. If this value is not a positive number, a RangeError is thrown.

                                +

                                Take caution when setting the events.defaultMaxListeners because the +change affects all EventEmitter instances, including those created before +the change is made. However, calling emitter.setMaxListeners(n) still has +precedence over events.defaultMaxListeners.

                                +

                                This is not a hard limit. The EventEmitter instance will allow +more listeners to be added but will output a trace warning to stderr indicating +that a "possible EventEmitter memory leak" has been detected. For any single +EventEmitter, the emitter.getMaxListeners() and emitter.setMaxListeners() methods can be used to +temporarily avoid this warning:

                                +
                                import { EventEmitter } from 'node:events';
                                const emitter = new EventEmitter();
                                emitter.setMaxListeners(emitter.getMaxListeners() + 1);
                                emitter.once('event', () => {
                                // do stuff
                                emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0));
                                }); +
                                + +

                                The --trace-warnings command-line flag can be used to display the +stack trace for such warnings.

                                +

                                The emitted warning can be inspected with process.on('warning') and will +have the additional emitter, type, and count properties, referring to +the event emitter instance, the event's name and the number of attached +listeners, respectively. +Its name property is set to 'MaxListenersExceededWarning'.

                                +

                                v0.11.2

                                +
                                errorMonitor: typeof errorMonitor

                                This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

                                +

                                Installing a listener using this symbol does not change the behavior once an 'error' event is emitted. Therefore, the process will still crash if no +regular 'error' listener is installed.

                                +

                                v13.6.0, v12.17.0

                                +

                                Methods

                                • Type Parameters

                                  • K

                                  Parameters

                                  Returns void

                                • Alias for emitter.on(eventName, listener).

                                  +

                                  Type Parameters

                                  • K

                                  Parameters

                                  Returns this

                                  v0.1.26

                                  +
                                • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments +to each.

                                  +

                                  Returns true if the event had listeners, false otherwise.

                                  +
                                  import { EventEmitter } from 'node:events';
                                  const myEmitter = new EventEmitter();

                                  // First listener
                                  myEmitter.on('event', function firstListener() {
                                  console.log('Helloooo! first listener');
                                  });
                                  // Second listener
                                  myEmitter.on('event', function secondListener(arg1, arg2) {
                                  console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
                                  });
                                  // Third listener
                                  myEmitter.on('event', function thirdListener(...args) {
                                  const parameters = args.join(', ');
                                  console.log(`event with parameters ${parameters} in third listener`);
                                  });

                                  console.log(myEmitter.listeners('event'));

                                  myEmitter.emit('event', 1, 2, 3, 4, 5);

                                  // Prints:
                                  // [
                                  // [Function: firstListener],
                                  // [Function: secondListener],
                                  // [Function: thirdListener]
                                  // ]
                                  // Helloooo! first listener
                                  // event with parameters 1, 2 in second listener
                                  // event with parameters 1, 2, 3, 4, 5 in third listener +
                                  + +

                                  Type Parameters

                                  • K

                                  Parameters

                                  Returns boolean

                                  v0.1.26

                                  +
                                • Returns an array listing the events for which the emitter has registered +listeners. The values in the array are strings or Symbols.

                                  +
                                  import { EventEmitter } from 'node:events';

                                  const myEE = new EventEmitter();
                                  myEE.on('foo', () => {});
                                  myEE.on('bar', () => {});

                                  const sym = Symbol('symbol');
                                  myEE.on(sym, () => {});

                                  console.log(myEE.eventNames());
                                  // Prints: [ 'foo', 'bar', Symbol(symbol) ] +
                                  + +

                                  Returns ((string | symbol) & Key2<unknown, T>)[]

                                  v6.0.0

                                  +
                                • Returns the current max listener value for the EventEmitter which is either +set by emitter.setMaxListeners(n) or defaults to EventEmitter.defaultMaxListeners.

                                  +

                                  Returns number

                                  v1.0.0

                                  +
                                • Returns the number of listeners listening for the event named eventName. +If listener is provided, it will return how many times the listener is found +in the list of the listeners of the event.

                                  +

                                  Type Parameters

                                  • K

                                  Parameters

                                  • eventName: Key<K, T>

                                    The name of the event being listened for

                                    +
                                  • Optionallistener: Listener<K, T, Function>

                                    The event handler function

                                    +

                                  Returns number

                                  v3.2.0

                                  +
                                • Returns a copy of the array of listeners for the event named eventName.

                                  +
                                  server.on('connection', (stream) => {
                                  console.log('someone connected!');
                                  });
                                  console.log(util.inspect(server.listeners('connection')));
                                  // Prints: [ [Function] ] +
                                  + +

                                  Type Parameters

                                  • K

                                  Parameters

                                  Returns Listener<K, T, Function>[]

                                  v0.1.26

                                  +
                                • Alias for emitter.removeListener().

                                  +

                                  Type Parameters

                                  • K

                                  Parameters

                                  Returns this

                                  v10.0.0

                                  +
                                • Adds the listener function to the end of the listeners array for the event +named eventName. No checks are made to see if the listener has already +been added. Multiple calls passing the same combination of eventName and +listener will result in the listener being added, and called, multiple times.

                                  +
                                  server.on('connection', (stream) => {
                                  console.log('someone connected!');
                                  }); +
                                  + +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +

                                  By default, event listeners are invoked in the order they are added. The emitter.prependListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                  +
                                  import { EventEmitter } from 'node:events';
                                  const myEE = new EventEmitter();
                                  myEE.on('foo', () => console.log('a'));
                                  myEE.prependListener('foo', () => console.log('b'));
                                  myEE.emit('foo');
                                  // Prints:
                                  // b
                                  // a +
                                  + +

                                  Type Parameters

                                  • K

                                  Parameters

                                  • eventName: Key<K, T>

                                    The name of the event.

                                    +
                                  • listener: Listener<K, T>

                                    The callback function

                                    +

                                  Returns this

                                  v0.1.101

                                  +
                                • Adds a one-time listener function for the event named eventName. The +next time eventName is triggered, this listener is removed and then invoked.

                                  +
                                  server.once('connection', (stream) => {
                                  console.log('Ah, we have our first user!');
                                  }); +
                                  + +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +

                                  By default, event listeners are invoked in the order they are added. The emitter.prependOnceListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                  +
                                  import { EventEmitter } from 'node:events';
                                  const myEE = new EventEmitter();
                                  myEE.once('foo', () => console.log('a'));
                                  myEE.prependOnceListener('foo', () => console.log('b'));
                                  myEE.emit('foo');
                                  // Prints:
                                  // b
                                  // a +
                                  + +

                                  Type Parameters

                                  • K

                                  Parameters

                                  • eventName: Key<K, T>

                                    The name of the event.

                                    +
                                  • listener: Listener<K, T>

                                    The callback function

                                    +

                                  Returns this

                                  v0.3.0

                                  +
                                • Adds the listener function to the beginning of the listeners array for the +event named eventName. No checks are made to see if the listener has +already been added. Multiple calls passing the same combination of eventName +and listener will result in the listener being added, and called, multiple times.

                                  +
                                  server.prependListener('connection', (stream) => {
                                  console.log('someone connected!');
                                  }); +
                                  + +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +

                                  Type Parameters

                                  • K

                                  Parameters

                                  • eventName: Key<K, T>

                                    The name of the event.

                                    +
                                  • listener: Listener<K, T>

                                    The callback function

                                    +

                                  Returns this

                                  v6.0.0

                                  +
                                • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this +listener is removed, and then invoked.

                                  +
                                  server.prependOnceListener('connection', (stream) => {
                                  console.log('Ah, we have our first user!');
                                  }); +
                                  + +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +

                                  Type Parameters

                                  • K

                                  Parameters

                                  • eventName: Key<K, T>

                                    The name of the event.

                                    +
                                  • listener: Listener<K, T>

                                    The callback function

                                    +

                                  Returns this

                                  v6.0.0

                                  +
                                • Returns a copy of the array of listeners for the event named eventName, +including any wrappers (such as those created by .once()).

                                  +
                                  import { EventEmitter } from 'node:events';
                                  const emitter = new EventEmitter();
                                  emitter.once('log', () => console.log('log once'));

                                  // Returns a new Array with a function `onceWrapper` which has a property
                                  // `listener` which contains the original listener bound above
                                  const listeners = emitter.rawListeners('log');
                                  const logFnWrapper = listeners[0];

                                  // Logs "log once" to the console and does not unbind the `once` event
                                  logFnWrapper.listener();

                                  // Logs "log once" to the console and removes the listener
                                  logFnWrapper();

                                  emitter.on('log', () => console.log('log persistently'));
                                  // Will return a new Array with a single function bound by `.on()` above
                                  const newListeners = emitter.rawListeners('log');

                                  // Logs "log persistently" twice
                                  newListeners[0]();
                                  emitter.emit('log'); +
                                  + +

                                  Type Parameters

                                  • K

                                  Parameters

                                  Returns Listener<K, T, Function>[]

                                  v9.4.0

                                  +
                                • Removes all listeners, or those of the specified eventName.

                                  +

                                  It is bad practice to remove listeners added elsewhere in the code, +particularly when the EventEmitter instance was created by some other +component or module (e.g. sockets or file streams).

                                  +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +

                                  Parameters

                                  • OptionaleventName: Key<unknown, T>

                                  Returns this

                                  v0.1.26

                                  +
                                • Removes the specified listener from the listener array for the event named eventName.

                                  +
                                  const callback = (stream) => {
                                  console.log('someone connected!');
                                  };
                                  server.on('connection', callback);
                                  // ...
                                  server.removeListener('connection', callback); +
                                  + +

                                  removeListener() will remove, at most, one instance of a listener from the +listener array. If any single listener has been added multiple times to the +listener array for the specified eventName, then removeListener() must be +called multiple times to remove each instance.

                                  +

                                  Once an event is emitted, all listeners attached to it at the +time of emitting are called in order. This implies that any removeListener() or removeAllListeners() calls after emitting and before the last listener finishes execution +will not remove them fromemit() in progress. Subsequent events behave as expected.

                                  +
                                  import { EventEmitter } from 'node:events';
                                  class MyEmitter extends EventEmitter {}
                                  const myEmitter = new MyEmitter();

                                  const callbackA = () => {
                                  console.log('A');
                                  myEmitter.removeListener('event', callbackB);
                                  };

                                  const callbackB = () => {
                                  console.log('B');
                                  };

                                  myEmitter.on('event', callbackA);

                                  myEmitter.on('event', callbackB);

                                  // callbackA removes listener callbackB but it will still be called.
                                  // Internal listener array at time of emit [callbackA, callbackB]
                                  myEmitter.emit('event');
                                  // Prints:
                                  // A
                                  // B

                                  // callbackB is now removed.
                                  // Internal listener array [callbackA]
                                  myEmitter.emit('event');
                                  // Prints:
                                  // A +
                                  + +

                                  Because listeners are managed using an internal array, calling this will +change the position indices of any listener registered after the listener +being removed. This will not impact the order in which listeners are called, +but it means that any copies of the listener array as returned by +the emitter.listeners() method will need to be recreated.

                                  +

                                  When a single function has been added as a handler multiple times for a single +event (as in the example below), removeListener() will remove the most +recently added instance. In the example the once('ping') listener is removed:

                                  +
                                  import { EventEmitter } from 'node:events';
                                  const ee = new EventEmitter();

                                  function pong() {
                                  console.log('pong');
                                  }

                                  ee.on('ping', pong);
                                  ee.once('ping', pong);
                                  ee.removeListener('ping', pong);

                                  ee.emit('ping');
                                  ee.emit('ping'); +
                                  + +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +

                                  Type Parameters

                                  • K

                                  Parameters

                                  Returns this

                                  v0.1.26

                                  +
                                • By default EventEmitters will print a warning if more than 10 listeners are +added for a particular event. This is a useful default that helps finding +memory leaks. The emitter.setMaxListeners() method allows the limit to be +modified for this specific EventEmitter instance. The value can be set to Infinity (or 0) to indicate an unlimited number of listeners.

                                  +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +

                                  Parameters

                                  • n: number

                                  Returns this

                                  v0.3.5

                                  +
                                • Experimental

                                  Listens once to the abort event on the provided signal.

                                  +

                                  Listening to the abort event on abort signals is unsafe and may +lead to resource leaks since another third party with the signal can +call e.stopImmediatePropagation(). Unfortunately Node.js cannot change +this since it would violate the web standard. Additionally, the original +API makes it easy to forget to remove listeners.

                                  +

                                  This API allows safely using AbortSignals in Node.js APIs by solving these +two issues by listening to the event such that stopImmediatePropagation does +not prevent the listener from running.

                                  +

                                  Returns a disposable so that it may be unsubscribed from more easily.

                                  +
                                  import { addAbortListener } from 'node:events';

                                  function example(signal) {
                                  let disposable;
                                  try {
                                  signal.addEventListener('abort', (e) => e.stopImmediatePropagation());
                                  disposable = addAbortListener(signal, (e) => {
                                  // Do something when signal is aborted.
                                  });
                                  } finally {
                                  disposable?.[Symbol.dispose]();
                                  }
                                  } +
                                  + +

                                  Parameters

                                  • signal: AbortSignal
                                  • resource: (event: Event) => void

                                  Returns Disposable

                                  Disposable that removes the abort listener.

                                  +

                                  v20.5.0

                                  +
                                • Returns a copy of the array of listeners for the event named eventName.

                                  +

                                  For EventEmitters this behaves exactly the same as calling .listeners on +the emitter.

                                  +

                                  For EventTargets this is the only way to get the event listeners for the +event target. This is useful for debugging and diagnostic purposes.

                                  +
                                  import { getEventListeners, EventEmitter } from 'node:events';

                                  {
                                  const ee = new EventEmitter();
                                  const listener = () => console.log('Events are fun');
                                  ee.on('foo', listener);
                                  console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ]
                                  }
                                  {
                                  const et = new EventTarget();
                                  const listener = () => console.log('Events are fun');
                                  et.addEventListener('foo', listener);
                                  console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ]
                                  } +
                                  + +

                                  Parameters

                                  Returns Function[]

                                  v15.2.0, v14.17.0

                                  +
                                • Returns the currently set max amount of listeners.

                                  +

                                  For EventEmitters this behaves exactly the same as calling .getMaxListeners on +the emitter.

                                  +

                                  For EventTargets this is the only way to get the max event listeners for the +event target. If the number of event handlers on a single EventTarget exceeds +the max set, the EventTarget will print a warning.

                                  +
                                  import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events';

                                  {
                                  const ee = new EventEmitter();
                                  console.log(getMaxListeners(ee)); // 10
                                  setMaxListeners(11, ee);
                                  console.log(getMaxListeners(ee)); // 11
                                  }
                                  {
                                  const et = new EventTarget();
                                  console.log(getMaxListeners(et)); // 10
                                  setMaxListeners(11, et);
                                  console.log(getMaxListeners(et)); // 11
                                  } +
                                  + +

                                  Parameters

                                  Returns number

                                  v19.9.0

                                  +
                                • A class method that returns the number of listeners for the given eventName registered on the given emitter.

                                  +
                                  import { EventEmitter, listenerCount } from 'node:events';

                                  const myEmitter = new EventEmitter();
                                  myEmitter.on('event', () => {});
                                  myEmitter.on('event', () => {});
                                  console.log(listenerCount(myEmitter, 'event'));
                                  // Prints: 2 +
                                  + +

                                  Parameters

                                  • emitter: EventEmitter

                                    The emitter to query

                                    +
                                  • eventName: string | symbol

                                    The event name

                                    +

                                  Returns number

                                  v0.9.12

                                  +

                                  Since v3.2.0 - Use listenerCount instead.

                                  +
                                • import { on, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ee = new EventEmitter();

                                  // Emit later on
                                  process.nextTick(() => {
                                  ee.emit('foo', 'bar');
                                  ee.emit('foo', 42);
                                  });

                                  for await (const event of on(ee, 'foo')) {
                                  // The execution of this inner block is synchronous and it
                                  // processes one event at a time (even with await). Do not use
                                  // if concurrent execution is required.
                                  console.log(event); // prints ['bar'] [42]
                                  }
                                  // Unreachable here +
                                  + +

                                  Returns an AsyncIterator that iterates eventName events. It will throw +if the EventEmitter emits 'error'. It removes all listeners when +exiting the loop. The value returned by each iteration is an array +composed of the emitted event arguments.

                                  +

                                  An AbortSignal can be used to cancel waiting on events:

                                  +
                                  import { on, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ac = new AbortController();

                                  (async () => {
                                  const ee = new EventEmitter();

                                  // Emit later on
                                  process.nextTick(() => {
                                  ee.emit('foo', 'bar');
                                  ee.emit('foo', 42);
                                  });

                                  for await (const event of on(ee, 'foo', { signal: ac.signal })) {
                                  // The execution of this inner block is synchronous and it
                                  // processes one event at a time (even with await). Do not use
                                  // if concurrent execution is required.
                                  console.log(event); // prints ['bar'] [42]
                                  }
                                  // Unreachable here
                                  })();

                                  process.nextTick(() => ac.abort()); +
                                  + +

                                  Use the close option to specify an array of event names that will end the iteration:

                                  +
                                  import { on, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ee = new EventEmitter();

                                  // Emit later on
                                  process.nextTick(() => {
                                  ee.emit('foo', 'bar');
                                  ee.emit('foo', 42);
                                  ee.emit('close');
                                  });

                                  for await (const event of on(ee, 'foo', { close: ['close'] })) {
                                  console.log(event); // prints ['bar'] [42]
                                  }
                                  // the loop will exit after 'close' is emitted
                                  console.log('done'); // prints 'done' +
                                  + +

                                  Parameters

                                  Returns AsyncIterator<any[]>

                                  An AsyncIterator that iterates eventName events emitted by the emitter

                                  +

                                  v13.6.0, v12.16.0

                                  +
                                • import { on, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ee = new EventEmitter();

                                  // Emit later on
                                  process.nextTick(() => {
                                  ee.emit('foo', 'bar');
                                  ee.emit('foo', 42);
                                  });

                                  for await (const event of on(ee, 'foo')) {
                                  // The execution of this inner block is synchronous and it
                                  // processes one event at a time (even with await). Do not use
                                  // if concurrent execution is required.
                                  console.log(event); // prints ['bar'] [42]
                                  }
                                  // Unreachable here +
                                  + +

                                  Returns an AsyncIterator that iterates eventName events. It will throw +if the EventEmitter emits 'error'. It removes all listeners when +exiting the loop. The value returned by each iteration is an array +composed of the emitted event arguments.

                                  +

                                  An AbortSignal can be used to cancel waiting on events:

                                  +
                                  import { on, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ac = new AbortController();

                                  (async () => {
                                  const ee = new EventEmitter();

                                  // Emit later on
                                  process.nextTick(() => {
                                  ee.emit('foo', 'bar');
                                  ee.emit('foo', 42);
                                  });

                                  for await (const event of on(ee, 'foo', { signal: ac.signal })) {
                                  // The execution of this inner block is synchronous and it
                                  // processes one event at a time (even with await). Do not use
                                  // if concurrent execution is required.
                                  console.log(event); // prints ['bar'] [42]
                                  }
                                  // Unreachable here
                                  })();

                                  process.nextTick(() => ac.abort()); +
                                  + +

                                  Use the close option to specify an array of event names that will end the iteration:

                                  +
                                  import { on, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ee = new EventEmitter();

                                  // Emit later on
                                  process.nextTick(() => {
                                  ee.emit('foo', 'bar');
                                  ee.emit('foo', 42);
                                  ee.emit('close');
                                  });

                                  for await (const event of on(ee, 'foo', { close: ['close'] })) {
                                  console.log(event); // prints ['bar'] [42]
                                  }
                                  // the loop will exit after 'close' is emitted
                                  console.log('done'); // prints 'done' +
                                  + +

                                  Parameters

                                  Returns AsyncIterator<any[]>

                                  An AsyncIterator that iterates eventName events emitted by the emitter

                                  +

                                  v13.6.0, v12.16.0

                                  +
                                • Creates a Promise that is fulfilled when the EventEmitter emits the given +event or that is rejected if the EventEmitter emits 'error' while waiting. +The Promise will resolve with an array of all the arguments emitted to the +given event.

                                  +

                                  This method is intentionally generic and works with the web platform EventTarget interface, which has no special'error' event +semantics and does not listen to the 'error' event.

                                  +
                                  import { once, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ee = new EventEmitter();

                                  process.nextTick(() => {
                                  ee.emit('myevent', 42);
                                  });

                                  const [value] = await once(ee, 'myevent');
                                  console.log(value);

                                  const err = new Error('kaboom');
                                  process.nextTick(() => {
                                  ee.emit('error', err);
                                  });

                                  try {
                                  await once(ee, 'myevent');
                                  } catch (err) {
                                  console.error('error happened', err);
                                  } +
                                  + +

                                  The special handling of the 'error' event is only used when events.once() is used to wait for another event. If events.once() is used to wait for the +'error' event itself, then it is treated as any other kind of event without +special handling:

                                  +
                                  import { EventEmitter, once } from 'node:events';

                                  const ee = new EventEmitter();

                                  once(ee, 'error')
                                  .then(([err]) => console.log('ok', err.message))
                                  .catch((err) => console.error('error', err.message));

                                  ee.emit('error', new Error('boom'));

                                  // Prints: ok boom +
                                  + +

                                  An AbortSignal can be used to cancel waiting for the event:

                                  +
                                  import { EventEmitter, once } from 'node:events';

                                  const ee = new EventEmitter();
                                  const ac = new AbortController();

                                  async function foo(emitter, event, signal) {
                                  try {
                                  await once(emitter, event, { signal });
                                  console.log('event emitted!');
                                  } catch (error) {
                                  if (error.name === 'AbortError') {
                                  console.error('Waiting for the event was canceled!');
                                  } else {
                                  console.error('There was an error', error.message);
                                  }
                                  }
                                  }

                                  foo(ee, 'foo', ac.signal);
                                  ac.abort(); // Abort waiting for the event
                                  ee.emit('foo'); // Prints: Waiting for the event was canceled! +
                                  + +

                                  Parameters

                                  Returns Promise<any[]>

                                  v11.13.0, v10.16.0

                                  +
                                • Creates a Promise that is fulfilled when the EventEmitter emits the given +event or that is rejected if the EventEmitter emits 'error' while waiting. +The Promise will resolve with an array of all the arguments emitted to the +given event.

                                  +

                                  This method is intentionally generic and works with the web platform EventTarget interface, which has no special'error' event +semantics and does not listen to the 'error' event.

                                  +
                                  import { once, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ee = new EventEmitter();

                                  process.nextTick(() => {
                                  ee.emit('myevent', 42);
                                  });

                                  const [value] = await once(ee, 'myevent');
                                  console.log(value);

                                  const err = new Error('kaboom');
                                  process.nextTick(() => {
                                  ee.emit('error', err);
                                  });

                                  try {
                                  await once(ee, 'myevent');
                                  } catch (err) {
                                  console.error('error happened', err);
                                  } +
                                  + +

                                  The special handling of the 'error' event is only used when events.once() is used to wait for another event. If events.once() is used to wait for the +'error' event itself, then it is treated as any other kind of event without +special handling:

                                  +
                                  import { EventEmitter, once } from 'node:events';

                                  const ee = new EventEmitter();

                                  once(ee, 'error')
                                  .then(([err]) => console.log('ok', err.message))
                                  .catch((err) => console.error('error', err.message));

                                  ee.emit('error', new Error('boom'));

                                  // Prints: ok boom +
                                  + +

                                  An AbortSignal can be used to cancel waiting for the event:

                                  +
                                  import { EventEmitter, once } from 'node:events';

                                  const ee = new EventEmitter();
                                  const ac = new AbortController();

                                  async function foo(emitter, event, signal) {
                                  try {
                                  await once(emitter, event, { signal });
                                  console.log('event emitted!');
                                  } catch (error) {
                                  if (error.name === 'AbortError') {
                                  console.error('Waiting for the event was canceled!');
                                  } else {
                                  console.error('There was an error', error.message);
                                  }
                                  }
                                  }

                                  foo(ee, 'foo', ac.signal);
                                  ac.abort(); // Abort waiting for the event
                                  ee.emit('foo'); // Prints: Waiting for the event was canceled! +
                                  + +

                                  Parameters

                                  Returns Promise<any[]>

                                  v11.13.0, v10.16.0

                                  +
                                • import { setMaxListeners, EventEmitter } from 'node:events';

                                  const target = new EventTarget();
                                  const emitter = new EventEmitter();

                                  setMaxListeners(5, target, emitter); +
                                  + +

                                  Parameters

                                  • Optionaln: number

                                    A non-negative number. The maximum number of listeners per EventTarget event.

                                    +
                                  • ...eventTargets: (EventTarget | EventEmitter<DefaultEventMap>)[]

                                    Zero or more {EventTarget} or {EventEmitter} instances. If none are specified, n is set as the default max for all newly created {EventTarget} and {EventEmitter} +objects.

                                    +

                                  Returns void

                                  v15.4.0

                                  +
                                diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.SpacedUpdate.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.SpacedUpdate.html new file mode 100644 index 000000000..060ac06df --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.SpacedUpdate.html @@ -0,0 +1,7 @@ +SpacedUpdate | trilium
                                trilium
                                  Preparing search index...
                                  Index

                                  Constructors

                                  Methods

                                  diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.TaskContext.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.TaskContext.html new file mode 100644 index 000000000..7141aff6e --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.TaskContext.html @@ -0,0 +1,8 @@ +TaskContext | trilium
                                  trilium
                                    Preparing search index...
                                    Index

                                    Constructors

                                    Properties

                                    data: null | TaskData
                                    noteDeletionHandlerTriggered: boolean

                                    Methods

                                    diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.default.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.default.html new file mode 100644 index 000000000..2abce79b1 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.default.html @@ -0,0 +1,43 @@ +default | trilium
                                    trilium
                                      Preparing search index...

                                      Becca is a backend cache of all notes, branches, and attributes. +There's a similar frontend cache Froca, and share cache Shaca.

                                      +
                                      Index

                                      Constructors

                                      Properties

                                      allNoteSetCache: null | NoteSet
                                      attributeIndex: Record<string, BAttribute[]>

                                      Points from attribute type-name to list of attributes

                                      +
                                      attributes: Record<string, BAttribute>
                                      branches: Record<string, BBranch>
                                      childParentToBranch: Record<string, BBranch>
                                      etapiTokens: Record<string, BEtapiToken>
                                      loaded: boolean
                                      notes: Record<string, BNote>
                                      options: Record<string, BOption>

                                      Methods

                                      • Should be called when the set of all non-skeleton notes changes (added/removed)

                                        +

                                        Returns void

                                      • Parameters

                                        • query: string
                                        • params: string[] = []

                                        Returns BRecentNote[]

                                      diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.Builder.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.Builder.html new file mode 100644 index 000000000..93cadf29c --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.Builder.html @@ -0,0 +1,3 @@ +Builder | trilium
                                      trilium
                                        Preparing search index...
                                        Index

                                        Constructors

                                        Methods

                                        Constructors

                                        Methods

                                        • Parameters

                                          • rootObj: any

                                          Returns string

                                        diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.Parser.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.Parser.html new file mode 100644 index 000000000..99e4fae04 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.Parser.html @@ -0,0 +1,324 @@ +Parser | trilium
                                        trilium
                                          Preparing search index...

                                          The EventEmitter class is defined and exposed by the node:events module:

                                          +
                                          import { EventEmitter } from 'node:events';
                                          +
                                          + +

                                          All EventEmitters emit the event 'newListener' when new listeners are +added and 'removeListener' when existing listeners are removed.

                                          +

                                          It supports the following option:

                                          +

                                          v0.1.26

                                          +

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Properties

                                          captureRejections: boolean

                                          Value: boolean

                                          +

                                          Change the default captureRejections option on all new EventEmitter objects.

                                          +

                                          v13.4.0, v12.16.0

                                          +
                                          captureRejectionSymbol: typeof captureRejectionSymbol

                                          Value: Symbol.for('nodejs.rejection')

                                          +

                                          See how to write a custom rejection handler.

                                          +

                                          v13.4.0, v12.16.0

                                          +
                                          defaultMaxListeners: number

                                          By default, a maximum of 10 listeners can be registered for any single +event. This limit can be changed for individual EventEmitter instances +using the emitter.setMaxListeners(n) method. To change the default +for allEventEmitter instances, the events.defaultMaxListeners property +can be used. If this value is not a positive number, a RangeError is thrown.

                                          +

                                          Take caution when setting the events.defaultMaxListeners because the +change affects all EventEmitter instances, including those created before +the change is made. However, calling emitter.setMaxListeners(n) still has +precedence over events.defaultMaxListeners.

                                          +

                                          This is not a hard limit. The EventEmitter instance will allow +more listeners to be added but will output a trace warning to stderr indicating +that a "possible EventEmitter memory leak" has been detected. For any single +EventEmitter, the emitter.getMaxListeners() and emitter.setMaxListeners() methods can be used to +temporarily avoid this warning:

                                          +
                                          import { EventEmitter } from 'node:events';
                                          const emitter = new EventEmitter();
                                          emitter.setMaxListeners(emitter.getMaxListeners() + 1);
                                          emitter.once('event', () => {
                                          // do stuff
                                          emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0));
                                          }); +
                                          + +

                                          The --trace-warnings command-line flag can be used to display the +stack trace for such warnings.

                                          +

                                          The emitted warning can be inspected with process.on('warning') and will +have the additional emitter, type, and count properties, referring to +the event emitter instance, the event's name and the number of attached +listeners, respectively. +Its name property is set to 'MaxListenersExceededWarning'.

                                          +

                                          v0.11.2

                                          +
                                          errorMonitor: typeof errorMonitor

                                          This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

                                          +

                                          Installing a listener using this symbol does not change the behavior once an 'error' event is emitted. Therefore, the process will still crash if no +regular 'error' listener is installed.

                                          +

                                          v13.6.0, v12.17.0

                                          +

                                          Methods

                                          • Type Parameters

                                            • K

                                            Parameters

                                            • error: Error
                                            • event: string | symbol
                                            • ...args: AnyRest

                                            Returns void

                                          • Alias for emitter.on(eventName, listener).

                                            +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol
                                            • listener: (...args: any[]) => void

                                            Returns this

                                            v0.1.26

                                            +
                                          • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments +to each.

                                            +

                                            Returns true if the event had listeners, false otherwise.

                                            +
                                            import { EventEmitter } from 'node:events';
                                            const myEmitter = new EventEmitter();

                                            // First listener
                                            myEmitter.on('event', function firstListener() {
                                            console.log('Helloooo! first listener');
                                            });
                                            // Second listener
                                            myEmitter.on('event', function secondListener(arg1, arg2) {
                                            console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
                                            });
                                            // Third listener
                                            myEmitter.on('event', function thirdListener(...args) {
                                            const parameters = args.join(', ');
                                            console.log(`event with parameters ${parameters} in third listener`);
                                            });

                                            console.log(myEmitter.listeners('event'));

                                            myEmitter.emit('event', 1, 2, 3, 4, 5);

                                            // Prints:
                                            // [
                                            // [Function: firstListener],
                                            // [Function: secondListener],
                                            // [Function: thirdListener]
                                            // ]
                                            // Helloooo! first listener
                                            // event with parameters 1, 2 in second listener
                                            // event with parameters 1, 2, 3, 4, 5 in third listener +
                                            + +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol
                                            • ...args: AnyRest

                                            Returns boolean

                                            v0.1.26

                                            +
                                          • Returns an array listing the events for which the emitter has registered +listeners. The values in the array are strings or Symbols.

                                            +
                                            import { EventEmitter } from 'node:events';

                                            const myEE = new EventEmitter();
                                            myEE.on('foo', () => {});
                                            myEE.on('bar', () => {});

                                            const sym = Symbol('symbol');
                                            myEE.on(sym, () => {});

                                            console.log(myEE.eventNames());
                                            // Prints: [ 'foo', 'bar', Symbol(symbol) ] +
                                            + +

                                            Returns (string | symbol)[]

                                            v6.0.0

                                            +
                                          • Returns the current max listener value for the EventEmitter which is either +set by emitter.setMaxListeners(n) or defaults to EventEmitter.defaultMaxListeners.

                                            +

                                            Returns number

                                            v1.0.0

                                            +
                                          • Returns the number of listeners listening for the event named eventName. +If listener is provided, it will return how many times the listener is found +in the list of the listeners of the event.

                                            +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol

                                              The name of the event being listened for

                                              +
                                            • Optionallistener: Function

                                              The event handler function

                                              +

                                            Returns number

                                            v3.2.0

                                            +
                                          • Returns a copy of the array of listeners for the event named eventName.

                                            +
                                            server.on('connection', (stream) => {
                                            console.log('someone connected!');
                                            });
                                            console.log(util.inspect(server.listeners('connection')));
                                            // Prints: [ [Function] ] +
                                            + +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol

                                            Returns Function[]

                                            v0.1.26

                                            +
                                          • Alias for emitter.removeListener().

                                            +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol
                                            • listener: (...args: any[]) => void

                                            Returns this

                                            v10.0.0

                                            +
                                          • Adds the listener function to the end of the listeners array for the event +named eventName. No checks are made to see if the listener has already +been added. Multiple calls passing the same combination of eventName and +listener will result in the listener being added, and called, multiple times.

                                            +
                                            server.on('connection', (stream) => {
                                            console.log('someone connected!');
                                            }); +
                                            + +

                                            Returns a reference to the EventEmitter, so that calls can be chained.

                                            +

                                            By default, event listeners are invoked in the order they are added. The emitter.prependListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                            +
                                            import { EventEmitter } from 'node:events';
                                            const myEE = new EventEmitter();
                                            myEE.on('foo', () => console.log('a'));
                                            myEE.prependListener('foo', () => console.log('b'));
                                            myEE.emit('foo');
                                            // Prints:
                                            // b
                                            // a +
                                            + +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol

                                              The name of the event.

                                              +
                                            • listener: (...args: any[]) => void

                                              The callback function

                                              +

                                            Returns this

                                            v0.1.101

                                            +
                                          • Adds a one-time listener function for the event named eventName. The +next time eventName is triggered, this listener is removed and then invoked.

                                            +
                                            server.once('connection', (stream) => {
                                            console.log('Ah, we have our first user!');
                                            }); +
                                            + +

                                            Returns a reference to the EventEmitter, so that calls can be chained.

                                            +

                                            By default, event listeners are invoked in the order they are added. The emitter.prependOnceListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                            +
                                            import { EventEmitter } from 'node:events';
                                            const myEE = new EventEmitter();
                                            myEE.once('foo', () => console.log('a'));
                                            myEE.prependOnceListener('foo', () => console.log('b'));
                                            myEE.emit('foo');
                                            // Prints:
                                            // b
                                            // a +
                                            + +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol

                                              The name of the event.

                                              +
                                            • listener: (...args: any[]) => void

                                              The callback function

                                              +

                                            Returns this

                                            v0.3.0

                                            +
                                          • Parameters

                                            Returns void

                                          • Adds the listener function to the beginning of the listeners array for the +event named eventName. No checks are made to see if the listener has +already been added. Multiple calls passing the same combination of eventName +and listener will result in the listener being added, and called, multiple times.

                                            +
                                            server.prependListener('connection', (stream) => {
                                            console.log('someone connected!');
                                            }); +
                                            + +

                                            Returns a reference to the EventEmitter, so that calls can be chained.

                                            +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol

                                              The name of the event.

                                              +
                                            • listener: (...args: any[]) => void

                                              The callback function

                                              +

                                            Returns this

                                            v6.0.0

                                            +
                                          • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this +listener is removed, and then invoked.

                                            +
                                            server.prependOnceListener('connection', (stream) => {
                                            console.log('Ah, we have our first user!');
                                            }); +
                                            + +

                                            Returns a reference to the EventEmitter, so that calls can be chained.

                                            +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol

                                              The name of the event.

                                              +
                                            • listener: (...args: any[]) => void

                                              The callback function

                                              +

                                            Returns this

                                            v6.0.0

                                            +
                                          • Returns a copy of the array of listeners for the event named eventName, +including any wrappers (such as those created by .once()).

                                            +
                                            import { EventEmitter } from 'node:events';
                                            const emitter = new EventEmitter();
                                            emitter.once('log', () => console.log('log once'));

                                            // Returns a new Array with a function `onceWrapper` which has a property
                                            // `listener` which contains the original listener bound above
                                            const listeners = emitter.rawListeners('log');
                                            const logFnWrapper = listeners[0];

                                            // Logs "log once" to the console and does not unbind the `once` event
                                            logFnWrapper.listener();

                                            // Logs "log once" to the console and removes the listener
                                            logFnWrapper();

                                            emitter.on('log', () => console.log('log persistently'));
                                            // Will return a new Array with a single function bound by `.on()` above
                                            const newListeners = emitter.rawListeners('log');

                                            // Logs "log persistently" twice
                                            newListeners[0]();
                                            emitter.emit('log'); +
                                            + +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol

                                            Returns Function[]

                                            v9.4.0

                                            +
                                          • Removes all listeners, or those of the specified eventName.

                                            +

                                            It is bad practice to remove listeners added elsewhere in the code, +particularly when the EventEmitter instance was created by some other +component or module (e.g. sockets or file streams).

                                            +

                                            Returns a reference to the EventEmitter, so that calls can be chained.

                                            +

                                            Parameters

                                            • OptionaleventName: string | symbol

                                            Returns this

                                            v0.1.26

                                            +
                                          • Removes the specified listener from the listener array for the event named eventName.

                                            +
                                            const callback = (stream) => {
                                            console.log('someone connected!');
                                            };
                                            server.on('connection', callback);
                                            // ...
                                            server.removeListener('connection', callback); +
                                            + +

                                            removeListener() will remove, at most, one instance of a listener from the +listener array. If any single listener has been added multiple times to the +listener array for the specified eventName, then removeListener() must be +called multiple times to remove each instance.

                                            +

                                            Once an event is emitted, all listeners attached to it at the +time of emitting are called in order. This implies that any removeListener() or removeAllListeners() calls after emitting and before the last listener finishes execution +will not remove them fromemit() in progress. Subsequent events behave as expected.

                                            +
                                            import { EventEmitter } from 'node:events';
                                            class MyEmitter extends EventEmitter {}
                                            const myEmitter = new MyEmitter();

                                            const callbackA = () => {
                                            console.log('A');
                                            myEmitter.removeListener('event', callbackB);
                                            };

                                            const callbackB = () => {
                                            console.log('B');
                                            };

                                            myEmitter.on('event', callbackA);

                                            myEmitter.on('event', callbackB);

                                            // callbackA removes listener callbackB but it will still be called.
                                            // Internal listener array at time of emit [callbackA, callbackB]
                                            myEmitter.emit('event');
                                            // Prints:
                                            // A
                                            // B

                                            // callbackB is now removed.
                                            // Internal listener array [callbackA]
                                            myEmitter.emit('event');
                                            // Prints:
                                            // A +
                                            + +

                                            Because listeners are managed using an internal array, calling this will +change the position indices of any listener registered after the listener +being removed. This will not impact the order in which listeners are called, +but it means that any copies of the listener array as returned by +the emitter.listeners() method will need to be recreated.

                                            +

                                            When a single function has been added as a handler multiple times for a single +event (as in the example below), removeListener() will remove the most +recently added instance. In the example the once('ping') listener is removed:

                                            +
                                            import { EventEmitter } from 'node:events';
                                            const ee = new EventEmitter();

                                            function pong() {
                                            console.log('pong');
                                            }

                                            ee.on('ping', pong);
                                            ee.once('ping', pong);
                                            ee.removeListener('ping', pong);

                                            ee.emit('ping');
                                            ee.emit('ping'); +
                                            + +

                                            Returns a reference to the EventEmitter, so that calls can be chained.

                                            +

                                            Type Parameters

                                            • K

                                            Parameters

                                            • eventName: string | symbol
                                            • listener: (...args: any[]) => void

                                            Returns this

                                            v0.1.26

                                            +
                                          • Returns void

                                          • By default EventEmitters will print a warning if more than 10 listeners are +added for a particular event. This is a useful default that helps finding +memory leaks. The emitter.setMaxListeners() method allows the limit to be +modified for this specific EventEmitter instance. The value can be set to Infinity (or 0) to indicate an unlimited number of listeners.

                                            +

                                            Returns a reference to the EventEmitter, so that calls can be chained.

                                            +

                                            Parameters

                                            • n: number

                                            Returns this

                                            v0.3.5

                                            +
                                          • Experimental

                                            Listens once to the abort event on the provided signal.

                                            +

                                            Listening to the abort event on abort signals is unsafe and may +lead to resource leaks since another third party with the signal can +call e.stopImmediatePropagation(). Unfortunately Node.js cannot change +this since it would violate the web standard. Additionally, the original +API makes it easy to forget to remove listeners.

                                            +

                                            This API allows safely using AbortSignals in Node.js APIs by solving these +two issues by listening to the event such that stopImmediatePropagation does +not prevent the listener from running.

                                            +

                                            Returns a disposable so that it may be unsubscribed from more easily.

                                            +
                                            import { addAbortListener } from 'node:events';

                                            function example(signal) {
                                            let disposable;
                                            try {
                                            signal.addEventListener('abort', (e) => e.stopImmediatePropagation());
                                            disposable = addAbortListener(signal, (e) => {
                                            // Do something when signal is aborted.
                                            });
                                            } finally {
                                            disposable?.[Symbol.dispose]();
                                            }
                                            } +
                                            + +

                                            Parameters

                                            • signal: AbortSignal
                                            • resource: (event: Event) => void

                                            Returns Disposable

                                            Disposable that removes the abort listener.

                                            +

                                            v20.5.0

                                            +
                                          • Returns a copy of the array of listeners for the event named eventName.

                                            +

                                            For EventEmitters this behaves exactly the same as calling .listeners on +the emitter.

                                            +

                                            For EventTargets this is the only way to get the event listeners for the +event target. This is useful for debugging and diagnostic purposes.

                                            +
                                            import { getEventListeners, EventEmitter } from 'node:events';

                                            {
                                            const ee = new EventEmitter();
                                            const listener = () => console.log('Events are fun');
                                            ee.on('foo', listener);
                                            console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ]
                                            }
                                            {
                                            const et = new EventTarget();
                                            const listener = () => console.log('Events are fun');
                                            et.addEventListener('foo', listener);
                                            console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ]
                                            } +
                                            + +

                                            Parameters

                                            Returns Function[]

                                            v15.2.0, v14.17.0

                                            +
                                          • Returns the currently set max amount of listeners.

                                            +

                                            For EventEmitters this behaves exactly the same as calling .getMaxListeners on +the emitter.

                                            +

                                            For EventTargets this is the only way to get the max event listeners for the +event target. If the number of event handlers on a single EventTarget exceeds +the max set, the EventTarget will print a warning.

                                            +
                                            import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events';

                                            {
                                            const ee = new EventEmitter();
                                            console.log(getMaxListeners(ee)); // 10
                                            setMaxListeners(11, ee);
                                            console.log(getMaxListeners(ee)); // 11
                                            }
                                            {
                                            const et = new EventTarget();
                                            console.log(getMaxListeners(et)); // 10
                                            setMaxListeners(11, et);
                                            console.log(getMaxListeners(et)); // 11
                                            } +
                                            + +

                                            Parameters

                                            Returns number

                                            v19.9.0

                                            +
                                          • A class method that returns the number of listeners for the given eventName registered on the given emitter.

                                            +
                                            import { EventEmitter, listenerCount } from 'node:events';

                                            const myEmitter = new EventEmitter();
                                            myEmitter.on('event', () => {});
                                            myEmitter.on('event', () => {});
                                            console.log(listenerCount(myEmitter, 'event'));
                                            // Prints: 2 +
                                            + +

                                            Parameters

                                            • emitter: EventEmitter

                                              The emitter to query

                                              +
                                            • eventName: string | symbol

                                              The event name

                                              +

                                            Returns number

                                            v0.9.12

                                            +

                                            Since v3.2.0 - Use listenerCount instead.

                                            +
                                          • import { on, EventEmitter } from 'node:events';
                                            import process from 'node:process';

                                            const ee = new EventEmitter();

                                            // Emit later on
                                            process.nextTick(() => {
                                            ee.emit('foo', 'bar');
                                            ee.emit('foo', 42);
                                            });

                                            for await (const event of on(ee, 'foo')) {
                                            // The execution of this inner block is synchronous and it
                                            // processes one event at a time (even with await). Do not use
                                            // if concurrent execution is required.
                                            console.log(event); // prints ['bar'] [42]
                                            }
                                            // Unreachable here +
                                            + +

                                            Returns an AsyncIterator that iterates eventName events. It will throw +if the EventEmitter emits 'error'. It removes all listeners when +exiting the loop. The value returned by each iteration is an array +composed of the emitted event arguments.

                                            +

                                            An AbortSignal can be used to cancel waiting on events:

                                            +
                                            import { on, EventEmitter } from 'node:events';
                                            import process from 'node:process';

                                            const ac = new AbortController();

                                            (async () => {
                                            const ee = new EventEmitter();

                                            // Emit later on
                                            process.nextTick(() => {
                                            ee.emit('foo', 'bar');
                                            ee.emit('foo', 42);
                                            });

                                            for await (const event of on(ee, 'foo', { signal: ac.signal })) {
                                            // The execution of this inner block is synchronous and it
                                            // processes one event at a time (even with await). Do not use
                                            // if concurrent execution is required.
                                            console.log(event); // prints ['bar'] [42]
                                            }
                                            // Unreachable here
                                            })();

                                            process.nextTick(() => ac.abort()); +
                                            + +

                                            Use the close option to specify an array of event names that will end the iteration:

                                            +
                                            import { on, EventEmitter } from 'node:events';
                                            import process from 'node:process';

                                            const ee = new EventEmitter();

                                            // Emit later on
                                            process.nextTick(() => {
                                            ee.emit('foo', 'bar');
                                            ee.emit('foo', 42);
                                            ee.emit('close');
                                            });

                                            for await (const event of on(ee, 'foo', { close: ['close'] })) {
                                            console.log(event); // prints ['bar'] [42]
                                            }
                                            // the loop will exit after 'close' is emitted
                                            console.log('done'); // prints 'done' +
                                            + +

                                            Parameters

                                            Returns AsyncIterator<any[]>

                                            An AsyncIterator that iterates eventName events emitted by the emitter

                                            +

                                            v13.6.0, v12.16.0

                                            +
                                          • import { on, EventEmitter } from 'node:events';
                                            import process from 'node:process';

                                            const ee = new EventEmitter();

                                            // Emit later on
                                            process.nextTick(() => {
                                            ee.emit('foo', 'bar');
                                            ee.emit('foo', 42);
                                            });

                                            for await (const event of on(ee, 'foo')) {
                                            // The execution of this inner block is synchronous and it
                                            // processes one event at a time (even with await). Do not use
                                            // if concurrent execution is required.
                                            console.log(event); // prints ['bar'] [42]
                                            }
                                            // Unreachable here +
                                            + +

                                            Returns an AsyncIterator that iterates eventName events. It will throw +if the EventEmitter emits 'error'. It removes all listeners when +exiting the loop. The value returned by each iteration is an array +composed of the emitted event arguments.

                                            +

                                            An AbortSignal can be used to cancel waiting on events:

                                            +
                                            import { on, EventEmitter } from 'node:events';
                                            import process from 'node:process';

                                            const ac = new AbortController();

                                            (async () => {
                                            const ee = new EventEmitter();

                                            // Emit later on
                                            process.nextTick(() => {
                                            ee.emit('foo', 'bar');
                                            ee.emit('foo', 42);
                                            });

                                            for await (const event of on(ee, 'foo', { signal: ac.signal })) {
                                            // The execution of this inner block is synchronous and it
                                            // processes one event at a time (even with await). Do not use
                                            // if concurrent execution is required.
                                            console.log(event); // prints ['bar'] [42]
                                            }
                                            // Unreachable here
                                            })();

                                            process.nextTick(() => ac.abort()); +
                                            + +

                                            Use the close option to specify an array of event names that will end the iteration:

                                            +
                                            import { on, EventEmitter } from 'node:events';
                                            import process from 'node:process';

                                            const ee = new EventEmitter();

                                            // Emit later on
                                            process.nextTick(() => {
                                            ee.emit('foo', 'bar');
                                            ee.emit('foo', 42);
                                            ee.emit('close');
                                            });

                                            for await (const event of on(ee, 'foo', { close: ['close'] })) {
                                            console.log(event); // prints ['bar'] [42]
                                            }
                                            // the loop will exit after 'close' is emitted
                                            console.log('done'); // prints 'done' +
                                            + +

                                            Parameters

                                            Returns AsyncIterator<any[]>

                                            An AsyncIterator that iterates eventName events emitted by the emitter

                                            +

                                            v13.6.0, v12.16.0

                                            +
                                          • Creates a Promise that is fulfilled when the EventEmitter emits the given +event or that is rejected if the EventEmitter emits 'error' while waiting. +The Promise will resolve with an array of all the arguments emitted to the +given event.

                                            +

                                            This method is intentionally generic and works with the web platform EventTarget interface, which has no special'error' event +semantics and does not listen to the 'error' event.

                                            +
                                            import { once, EventEmitter } from 'node:events';
                                            import process from 'node:process';

                                            const ee = new EventEmitter();

                                            process.nextTick(() => {
                                            ee.emit('myevent', 42);
                                            });

                                            const [value] = await once(ee, 'myevent');
                                            console.log(value);

                                            const err = new Error('kaboom');
                                            process.nextTick(() => {
                                            ee.emit('error', err);
                                            });

                                            try {
                                            await once(ee, 'myevent');
                                            } catch (err) {
                                            console.error('error happened', err);
                                            } +
                                            + +

                                            The special handling of the 'error' event is only used when events.once() is used to wait for another event. If events.once() is used to wait for the +'error' event itself, then it is treated as any other kind of event without +special handling:

                                            +
                                            import { EventEmitter, once } from 'node:events';

                                            const ee = new EventEmitter();

                                            once(ee, 'error')
                                            .then(([err]) => console.log('ok', err.message))
                                            .catch((err) => console.error('error', err.message));

                                            ee.emit('error', new Error('boom'));

                                            // Prints: ok boom +
                                            + +

                                            An AbortSignal can be used to cancel waiting for the event:

                                            +
                                            import { EventEmitter, once } from 'node:events';

                                            const ee = new EventEmitter();
                                            const ac = new AbortController();

                                            async function foo(emitter, event, signal) {
                                            try {
                                            await once(emitter, event, { signal });
                                            console.log('event emitted!');
                                            } catch (error) {
                                            if (error.name === 'AbortError') {
                                            console.error('Waiting for the event was canceled!');
                                            } else {
                                            console.error('There was an error', error.message);
                                            }
                                            }
                                            }

                                            foo(ee, 'foo', ac.signal);
                                            ac.abort(); // Abort waiting for the event
                                            ee.emit('foo'); // Prints: Waiting for the event was canceled! +
                                            + +

                                            Parameters

                                            Returns Promise<any[]>

                                            v11.13.0, v10.16.0

                                            +
                                          • Creates a Promise that is fulfilled when the EventEmitter emits the given +event or that is rejected if the EventEmitter emits 'error' while waiting. +The Promise will resolve with an array of all the arguments emitted to the +given event.

                                            +

                                            This method is intentionally generic and works with the web platform EventTarget interface, which has no special'error' event +semantics and does not listen to the 'error' event.

                                            +
                                            import { once, EventEmitter } from 'node:events';
                                            import process from 'node:process';

                                            const ee = new EventEmitter();

                                            process.nextTick(() => {
                                            ee.emit('myevent', 42);
                                            });

                                            const [value] = await once(ee, 'myevent');
                                            console.log(value);

                                            const err = new Error('kaboom');
                                            process.nextTick(() => {
                                            ee.emit('error', err);
                                            });

                                            try {
                                            await once(ee, 'myevent');
                                            } catch (err) {
                                            console.error('error happened', err);
                                            } +
                                            + +

                                            The special handling of the 'error' event is only used when events.once() is used to wait for another event. If events.once() is used to wait for the +'error' event itself, then it is treated as any other kind of event without +special handling:

                                            +
                                            import { EventEmitter, once } from 'node:events';

                                            const ee = new EventEmitter();

                                            once(ee, 'error')
                                            .then(([err]) => console.log('ok', err.message))
                                            .catch((err) => console.error('error', err.message));

                                            ee.emit('error', new Error('boom'));

                                            // Prints: ok boom +
                                            + +

                                            An AbortSignal can be used to cancel waiting for the event:

                                            +
                                            import { EventEmitter, once } from 'node:events';

                                            const ee = new EventEmitter();
                                            const ac = new AbortController();

                                            async function foo(emitter, event, signal) {
                                            try {
                                            await once(emitter, event, { signal });
                                            console.log('event emitted!');
                                            } catch (error) {
                                            if (error.name === 'AbortError') {
                                            console.error('Waiting for the event was canceled!');
                                            } else {
                                            console.error('There was an error', error.message);
                                            }
                                            }
                                            }

                                            foo(ee, 'foo', ac.signal);
                                            ac.abort(); // Abort waiting for the event
                                            ee.emit('foo'); // Prints: Waiting for the event was canceled! +
                                            + +

                                            Parameters

                                            Returns Promise<any[]>

                                            v11.13.0, v10.16.0

                                            +
                                          • import { setMaxListeners, EventEmitter } from 'node:events';

                                            const target = new EventTarget();
                                            const emitter = new EventEmitter();

                                            setMaxListeners(5, target, emitter); +
                                            + +

                                            Parameters

                                            • Optionaln: number

                                              A non-negative number. The maximum number of listeners per EventTarget event.

                                              +
                                            • ...eventTargets: (EventTarget | EventEmitter<DefaultEventMap>)[]

                                              Zero or more {EventTarget} or {EventEmitter} instances. If none are specified, n is set as the default max for all newly created {EventTarget} and {EventEmitter} +objects.

                                              +

                                            Returns void

                                            v15.4.0

                                            +
                                          diff --git a/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.ValidationError.html b/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.ValidationError.html new file mode 100644 index 000000000..75c39e8f9 --- /dev/null +++ b/docs/backend_api/classes/backend_script_entrypoint._internal_.node_modules__types_xml2js.ValidationError.html @@ -0,0 +1,12 @@ +ValidationError | trilium
                                          trilium
                                            Preparing search index...

                                            Hierarchy

                                            • Error
                                              • ValidationError
                                            Index

                                            Constructors

                                            • Parameters

                                              • message: string

                                              Returns ValidationError

                                            Properties

                                            cause?: unknown
                                            message: string
                                            name: string
                                            stack?: string
                                            prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

                                            Optional override for formatting stack traces

                                            +
                                            stackTraceLimit: number

                                            Methods

                                            • Create .stack property on a target object

                                              +

                                              Parameters

                                              • targetObject: object
                                              • OptionalconstructorOpt: Function

                                              Returns void

                                            diff --git a/docs/backend_api/classes/becca_entities_abstract_becca_entity.default.html b/docs/backend_api/classes/becca_entities_abstract_becca_entity.default.html deleted file mode 100644 index 5299c1adb..000000000 --- a/docs/backend_api/classes/becca_entities_abstract_becca_entity.default.html +++ /dev/null @@ -1,29 +0,0 @@ -default | trilium
                                            trilium
                                              Preparing search index...

                                              Base class for all backend entities.

                                              -

                                              Type Parameters

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              blobId?: string
                                              dateCreated?: string
                                              dateModified?: string
                                              isProtected?: boolean
                                              isSynced?: boolean
                                              utcDateCreated: string
                                              utcDateModified?: string

                                              Accessors

                                              Methods

                                              • Parameters

                                                • content: string | Buffer<ArrayBufferLike>
                                                • opts: ContentOpts = {}

                                                Returns void

                                              • Mark the entity as (soft) deleted. It will be completely erased later.

                                                -

                                                This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                -

                                                Parameters

                                                • deleteId: null | string = null

                                                Returns void

                                              diff --git a/docs/backend_api/classes/becca_entities_battachment.default.html b/docs/backend_api/classes/becca_entities_battachment.default.html deleted file mode 100644 index 239339d16..000000000 --- a/docs/backend_api/classes/becca_entities_battachment.default.html +++ /dev/null @@ -1,56 +0,0 @@ -default | trilium
                                              trilium
                                                Preparing search index...

                                                Attachment represent data related/attached to the note. Conceptually similar to attributes, but intended for -larger amounts of data and generally not accessible to the user.

                                                -

                                                Hierarchy (View Summary)

                                                Index

                                                Constructors

                                                Properties

                                                attachmentId?: string
                                                blobId?: string
                                                contentLength?: number

                                                optionally added to the entity

                                                -
                                                dateCreated?: string
                                                dateModified?: string
                                                isDecrypted?: boolean
                                                isProtected?: boolean
                                                isSynced?: boolean
                                                mime: string
                                                noteId?: number
                                                ownerId: string

                                                either noteId or revisionId to which this attachment belongs

                                                -
                                                position?: number
                                                role: string
                                                title: string
                                                type?: "image" | "file"
                                                utcDateCreated: string
                                                utcDateModified?: string
                                                utcDateScheduledForErasureSince?: null | string

                                                Accessors

                                                Methods

                                                • Returns {
                                                      attachmentId: undefined | string;
                                                      blobId: undefined | string;
                                                      contentLength: undefined | number;
                                                      dateModified: undefined | string;
                                                      isDeleted: boolean;
                                                      isProtected: boolean;
                                                      mime: string;
                                                      ownerId: string;
                                                      position: undefined | number;
                                                      role: string;
                                                      title: undefined | string;
                                                      utcDateModified: undefined | string;
                                                      utcDateScheduledForErasureSince: undefined | null | string;
                                                  }

                                                • Returns {
                                                      attachmentId: undefined | string;
                                                      blobId: undefined | string;
                                                      contentLength: undefined | number;
                                                      dateModified: undefined | string;
                                                      isDeleted: boolean;
                                                      isProtected: boolean;
                                                      mime: string;
                                                      ownerId: string;
                                                      position: undefined | number;
                                                      role: string;
                                                      title: undefined | string;
                                                      utcDateModified: undefined | string;
                                                      utcDateScheduledForErasureSince: undefined | null | string;
                                                  }

                                                • Mark the entity as (soft) deleted. It will be completely erased later.

                                                  -

                                                  This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                  -

                                                  Parameters

                                                  • deleteId: null | string = null

                                                  Returns void

                                                • Parameters

                                                  • content: string | Buffer<ArrayBufferLike>
                                                  • Optionalopts: ContentOpts

                                                  Returns void

                                                diff --git a/docs/backend_api/classes/becca_entities_battribute.default.html b/docs/backend_api/classes/becca_entities_battribute.default.html deleted file mode 100644 index 69b384d93..000000000 --- a/docs/backend_api/classes/becca_entities_battribute.default.html +++ /dev/null @@ -1,53 +0,0 @@ -default | trilium
                                                trilium
                                                  Preparing search index...

                                                  Attribute is an abstract concept which has two real uses - label (key - value pair) -and relation (representing named relationship between source and target note)

                                                  -

                                                  Hierarchy (View Summary)

                                                  Index

                                                  Constructors

                                                  Properties

                                                  attributeId: string
                                                  blobId?: string
                                                  dateCreated?: string
                                                  dateModified?: string
                                                  isInheritable: boolean
                                                  isProtected?: boolean
                                                  isSynced?: boolean
                                                  name: string
                                                  noteId: string
                                                  position: number
                                                  utcDateCreated: string
                                                  utcDateModified?: string
                                                  value: string

                                                  Accessors

                                                  Methods

                                                  • Returns {
                                                        attributeId: string;
                                                        isDeleted: boolean;
                                                        isInheritable: boolean;
                                                        name: string;
                                                        noteId: string;
                                                        position: number;
                                                        type: AttributeType;
                                                        utcDateModified: undefined | string;
                                                        value: string;
                                                    }

                                                  • Mark the entity as (soft) deleted. It will be completely erased later.

                                                    -

                                                    This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                    -

                                                    Parameters

                                                    • deleteId: null | string = null

                                                    Returns void

                                                  diff --git a/docs/backend_api/classes/becca_entities_bblob.default.html b/docs/backend_api/classes/becca_entities_bblob.default.html deleted file mode 100644 index 25284c5df..000000000 --- a/docs/backend_api/classes/becca_entities_bblob.default.html +++ /dev/null @@ -1,34 +0,0 @@ -default | trilium
                                                  trilium
                                                    Preparing search index...

                                                    Base class for all backend entities.

                                                    -

                                                    Hierarchy (View Summary)

                                                    Index

                                                    Constructors

                                                    Properties

                                                    blobId?: string
                                                    content: string | Buffer<ArrayBufferLike>
                                                    contentLength: number
                                                    dateCreated?: string
                                                    dateModified?: string
                                                    isProtected?: boolean
                                                    isSynced?: boolean
                                                    utcDateCreated: string
                                                    utcDateModified?: string

                                                    Accessors

                                                    Methods

                                                    • Returns {
                                                          blobId: undefined | string;
                                                          content: null | string | Buffer<ArrayBufferLike>;
                                                          contentLength: number;
                                                          dateModified: undefined | string;
                                                          utcDateModified: undefined | string;
                                                      }

                                                    • Mark the entity as (soft) deleted. It will be completely erased later.

                                                      -

                                                      This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                      -

                                                      Parameters

                                                      • deleteId: null | string = null

                                                      Returns void

                                                    diff --git a/docs/backend_api/classes/becca_entities_bbranch.default.html b/docs/backend_api/classes/becca_entities_bbranch.default.html deleted file mode 100644 index 303b55fcd..000000000 --- a/docs/backend_api/classes/becca_entities_bbranch.default.html +++ /dev/null @@ -1,57 +0,0 @@ -default | trilium
                                                    trilium
                                                      Preparing search index...

                                                      Branch represents a relationship between a child note and its parent note. Trilium allows a note to have multiple -parents.

                                                      -

                                                      Note that you should not rely on the branch's identity, since it can change easily with a note's move. -Always check noteId instead.

                                                      -

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Properties

                                                      blobId?: string
                                                      branchId?: string
                                                      dateCreated?: string
                                                      dateModified?: string
                                                      isExpanded: boolean
                                                      isProtected?: boolean
                                                      isSynced?: boolean
                                                      noteId: string
                                                      notePosition: number
                                                      parentNoteId: string
                                                      prefix: null | string
                                                      utcDateCreated: string
                                                      utcDateModified?: string

                                                      Accessors

                                                      • get isWeak(): boolean

                                                        Branch is weak when its existence should not hinder deletion of its note. -As a result, note with only weak branches should be immediately deleted. -An example is shared or bookmarked clones - they are created automatically and exist for technical reasons, -not as user-intended actions. From user perspective, they don't count as real clones and for the purpose -of deletion should not act as a clone.

                                                        -

                                                        Returns boolean

                                                      Methods

                                                      • Delete a branch. If this is a last note's branch, delete the note as well.

                                                        -

                                                        Parameters

                                                        • OptionaldeleteId: string

                                                          optional delete identified

                                                          -
                                                        • OptionaltaskContext: TaskContext

                                                        Returns boolean

                                                        true if note has been deleted, false otherwise

                                                        -
                                                      • Returns {
                                                            branchId: undefined | string;
                                                            isDeleted: boolean;
                                                            isExpanded: boolean;
                                                            noteId: string;
                                                            notePosition: number;
                                                            parentNoteId: string;
                                                            prefix: null | string;
                                                            utcDateModified: undefined | string;
                                                        }

                                                      • Mark the entity as (soft) deleted. It will be completely erased later.

                                                        -

                                                        This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                        -

                                                        Parameters

                                                        • deleteId: null | string = null

                                                        Returns void

                                                      diff --git a/docs/backend_api/classes/becca_entities_betapi_token.default.html b/docs/backend_api/classes/becca_entities_betapi_token.default.html deleted file mode 100644 index 20e0ae420..000000000 --- a/docs/backend_api/classes/becca_entities_betapi_token.default.html +++ /dev/null @@ -1,42 +0,0 @@ -default | trilium
                                                      trilium
                                                        Preparing search index...

                                                        EtapiToken is an entity representing token used to authenticate against Trilium REST API from client applications. -Used by:

                                                        -
                                                          -
                                                        • Trilium Sender
                                                        • -
                                                        • ETAPI clients
                                                        • -
                                                        -

                                                        The format user is presented with is "_". This is also called "authToken" to distinguish it -from tokenHash and token.

                                                        -

                                                        Hierarchy (View Summary)

                                                        Index

                                                        Constructors

                                                        Properties

                                                        blobId?: string
                                                        dateCreated?: string
                                                        dateModified?: string
                                                        etapiTokenId?: string
                                                        isProtected?: boolean
                                                        isSynced?: boolean
                                                        name: string
                                                        tokenHash: string
                                                        utcDateCreated: string
                                                        utcDateModified?: string

                                                        Accessors

                                                        Methods

                                                        • Returns {
                                                              etapiTokenId: undefined | string;
                                                              isDeleted: boolean;
                                                              name: string;
                                                              tokenHash: string;
                                                              utcDateCreated: string;
                                                              utcDateModified: undefined | string;
                                                          }

                                                        • Mark the entity as (soft) deleted. It will be completely erased later.

                                                          -

                                                          This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                          -

                                                          Parameters

                                                          • deleteId: null | string = null

                                                          Returns void

                                                        diff --git a/docs/backend_api/classes/becca_entities_bnote.default.html b/docs/backend_api/classes/becca_entities_bnote.default.html deleted file mode 100644 index fe135eb4a..000000000 --- a/docs/backend_api/classes/becca_entities_bnote.default.html +++ /dev/null @@ -1,350 +0,0 @@ -default | trilium
                                                        trilium
                                                          Preparing search index...

                                                          Trilium's main entity, which can represent text note, image, code note, file attachment etc.

                                                          -

                                                          Hierarchy (View Summary)

                                                          Index

                                                          Constructors

                                                          Properties

                                                          Accessors

                                                          Methods

                                                          __validateTypeName -_getContent -_setContent -addAttribute -addLabel -addRelation -areAllNotePathsArchived -beforeSaving -cloneTo -convertToParentAttachment -decrypt -deleteNote -eraseExcessRevisionSnapshots -generateHash -getAllNotePaths -getAncestorNoteIds -getAncestors -getAttachmentById -getAttachmentByTitle -getAttachments -getAttachmentsByRole -getAttribute -getAttributeCaseInsensitive -getAttributes -getAttributeValue -getBestNotePath -getBestNotePathString -getBranches -getChildBranches -getChildNotes -getContent -getDescendantNoteIds -getDistanceToAncestor -getFileName -getFilteredChildBranches -getFlatText -getIcon -getInheritingNotes -getJsonContent -getJsonContentSafely -getLabel -getLabelDefinitions -getLabels -getLabelValue -getLabelValues -getOwnedAttribute -getOwnedAttributes -getOwnedAttributeValue -getOwnedLabel -getOwnedLabels -getOwnedLabelValue -getOwnedLabelValues -getOwnedRelation -getOwnedRelations -getOwnedRelationValue -getParentBranches -getParentNotes -getPojo -getPojoToSave -getRelation -getRelationDefinitions -getRelations -getRelationTarget -getRelationValue -getRevisions -getScriptEnv -getSearchResultNotes -getSortedNotePathRecords -getStrongParentBranches -getSubtree -getSubtreeNoteIds -getSubtreeNotesIncludingTemplated -getTargetRelations -getTitleOrProtected -getUtcDateChanged -hasAncestor -hasAttribute -hasChildren -hasInheritableArchivedLabel -hasLabel -hasOwnedAttribute -hasOwnedLabel -hasOwnedRelation -hasRelation -hasStringContent -init -invalidateSubTree -invalidateThisCache -isContentAvailable -isDescendantOfNote -isEligibleForConversionToAttachment -isFolder -isHiddenCompletely -isHtml -isImage -isInherited -isInHiddenSubtree -isJavaScript -isJson -isLabelTruthy -isLaunchBarConfig -isOptions -isRoot -isStringNote -markAsDeleted -markAsDeletedSimple -putEntityChange -removeAttribute -removeLabel -removeRelation -save -saveAttachment -saveRevision -searchNoteInSubtree -searchNotesInSubtree -setAttribute -setContent -setJsonContent -setLabel -setRelation -sortChildren -sortParents -toggleAttribute -toggleLabel -toggleRelation -update -updateFromRow -

                                                          Constructors

                                                          Properties

                                                          __flatTextCache: null | string
                                                          blobId?: string
                                                          children: default[]
                                                          contentAndAttachmentsAndRevisionsSize: null | number

                                                          size of the note content, attachment contents and revision contents in bytes

                                                          -
                                                          contentAndAttachmentsSize: null | number

                                                          size of the note content, attachment contents in bytes

                                                          -
                                                          contentSize: null | number

                                                          size of the content in bytes

                                                          -
                                                          dateCreated?: string
                                                          dateModified?: string
                                                          isBeingDeleted: boolean

                                                          set during the deletion operation, before it is completed (removed from becca completely).

                                                          -
                                                          isDecrypted: boolean
                                                          isProtected?: boolean
                                                          isSynced?: boolean
                                                          mime: string
                                                          noteId: string
                                                          ownedAttributes: default[]
                                                          parentBranches: default[]
                                                          parents: default[]
                                                          revisionCount: null | number

                                                          number of note revisions for this note

                                                          -
                                                          targetRelations: default[]
                                                          title: string
                                                          type:
                                                              | "canvas"
                                                              | "code"
                                                              | "search"
                                                              | "image"
                                                              | "text"
                                                              | "file"
                                                              | "noteMap"
                                                              | "launcher"
                                                              | "doc"
                                                              | "contentWidget"
                                                              | "relationMap"
                                                              | "render"
                                                              | "mermaid"
                                                              | "book"
                                                              | "webView"
                                                              | "mindMap"
                                                              | "geoMap"
                                                          utcDateCreated: string
                                                          utcDateModified?: string

                                                          Accessors

                                                          Methods

                                                          • Parameters

                                                            • Optionaltype: null | string
                                                            • Optionalname: null | string

                                                            Returns void

                                                          • Adds a new attribute to this note. The attribute is saved and returned. -See addLabel, addRelation for more specific methods.

                                                            -

                                                            Parameters

                                                            • type: AttributeType

                                                              attribute type (label / relation)

                                                              -
                                                            • name: string

                                                              name of the attribute, not including the leading ~/#

                                                              -
                                                            • value: string = ""

                                                              value of the attribute - text for labels, target note ID for relations; optional.

                                                              -
                                                            • isInheritable: boolean = false
                                                            • position: null | number = null

                                                            Returns default

                                                          • Adds a new label to this note. The label attribute is saved and returned.

                                                            -

                                                            Parameters

                                                            • name: string

                                                              name of the label, not including the leading #

                                                              -
                                                            • value: string = ""

                                                              text value of the label; optional

                                                              -
                                                            • isInheritable: boolean = false

                                                            Returns default

                                                          • Adds a new relation to this note. The relation attribute is saved and -returned.

                                                            -

                                                            Parameters

                                                            • name: string

                                                              name of the relation, not including the leading ~

                                                              -
                                                            • targetNoteId: string
                                                            • isInheritable: boolean = false

                                                            Returns default

                                                          • Some notes are eligible for conversion into an attachment of its parent, note must have these properties:

                                                            -
                                                              -
                                                            • it has exactly one target relation
                                                            • -
                                                            • it has a relation from its parent note
                                                            • -
                                                            • it has no children
                                                            • -
                                                            • it has no clones
                                                            • -
                                                            • the parent is of type text
                                                            • -
                                                            • both notes are either unprotected or user is in protected session
                                                            • -
                                                            -

                                                            Currently, works only for image notes.

                                                            -

                                                            In the future, this functionality might get more generic and some of the requirements relaxed.

                                                            -

                                                            Parameters

                                                            • opts: ConvertOpts = ...

                                                            Returns null | default

                                                            null if note is not eligible for conversion

                                                            -
                                                          • (Soft) delete a note and all its descendants.

                                                            -

                                                            Parameters

                                                            • deleteId: null | string = null

                                                              optional delete identified

                                                              -
                                                            • taskContext: null | TaskContext = null

                                                            Returns void

                                                          • Gives all possible note paths leading to this note. Paths containing search note are ignored (could form cycles)

                                                            -

                                                            Returns string[][]

                                                            array of notePaths (each represented by array of noteIds constituting the particular note path)

                                                            -
                                                          • Parameters

                                                            • type: string

                                                              attribute type (label, relation, etc.)

                                                              -
                                                            • name: string

                                                              attribute name

                                                              -

                                                            Returns null | default

                                                            attribute of the given type and name. If there are more such attributes, first is returned. -Returns null if there's no such attribute belonging to this note.

                                                            -
                                                          • Parameters

                                                            • type: string
                                                            • name: string
                                                            • Optionalvalue: null | string

                                                            Returns undefined | default

                                                          • Beware that the method must not create a copy of the array, but actually returns its internal array -(for performance reasons)

                                                            -

                                                            Parameters

                                                            • Optionaltype: string

                                                              (optional) attribute type to filter

                                                              -
                                                            • Optionalname: string

                                                              (optional) attribute name to filter

                                                              -

                                                            Returns default[]

                                                            all note's attributes, including inherited ones

                                                            -
                                                          • Parameters

                                                            • type: string

                                                              attribute type (label, relation, etc.)

                                                              -
                                                            • name: string

                                                              attribute name

                                                              -

                                                            Returns null | string

                                                            attribute value of given type and name or null if no such attribute exists.

                                                            -
                                                          • Returns a note path considered to be the "best"

                                                            -

                                                            Parameters

                                                            • hoistedNoteId: string = "root"

                                                            Returns string[]

                                                            array of noteIds constituting the particular note path

                                                            -
                                                          • Returns a note path considered to be the "best"

                                                            -

                                                            Parameters

                                                            • hoistedNoteId: string = "root"

                                                            Returns string

                                                            serialized note path (e.g. 'root/a1h315/js725h')

                                                            -
                                                          • Note content has quite special handling - it's not a separate entity, but a lazily loaded -part of Note entity with its own sync. Reasons behind this hybrid design has been:

                                                            -
                                                              -
                                                            • content can be quite large, and it's not necessary to load it / fill memory for any note access even if we don't need a content, especially for bulk operations like search
                                                            • -
                                                            • changes in the note metadata or title should not trigger note content sync (so we keep separate utcDateModified and entity changes records)
                                                            • -
                                                            • but to the user note content and title changes are one and the same - single dateModified (so all changes must go through Note and content is not a separate entity)
                                                            • -
                                                            -

                                                            Returns string | Buffer<ArrayBufferLike>

                                                          • This is used for:

                                                            -
                                                              -
                                                            • fast searching
                                                            • -
                                                            • note similarity evaluation
                                                            • -
                                                            -

                                                            Returns string

                                                              -
                                                            • returns flattened textual representation of note, prefixes and attributes
                                                            • -
                                                            -
                                                          • Returns default[]

                                                            returns only notes which are templated, does not include their subtrees -in effect returns notes which are influenced by note's non-inheritable attributes

                                                            -
                                                          • Returns any

                                                            valid object or null if the content cannot be parsed as JSON

                                                            -
                                                          • Parameters

                                                            • Optionalname: string

                                                              label name to filter

                                                              -

                                                            Returns default[]

                                                            all note's labels (attributes with type label), including inherited ones

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              label name

                                                              -

                                                            Returns null | string

                                                            label value if label exists, null otherwise

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              label name to filter

                                                              -

                                                            Returns string[]

                                                            all note's label values, including inherited ones

                                                            -
                                                          • Parameters

                                                            • type: string
                                                            • name: string
                                                            • value: null | string = null

                                                            Returns null | default

                                                            attribute belonging to this specific note (excludes inherited attributes)

                                                            -

                                                            This method can be significantly faster than the getAttribute()

                                                            -
                                                          • Beware that the method must not create a copy of the array, but actually returns its internal array -(for performance reasons)

                                                            -

                                                            Parameters

                                                            • type: null | string = null

                                                              (optional) attribute type to filter

                                                              -
                                                            • name: null | string = null

                                                              (optional) attribute name to filter

                                                              -
                                                            • value: null | string = null

                                                              (optional) attribute value to filter

                                                              -

                                                            Returns default[]

                                                            note's "owned" attributes - excluding inherited ones

                                                            -
                                                          • Parameters

                                                            • type: string

                                                              attribute type (label, relation, etc.)

                                                              -
                                                            • name: string

                                                              attribute name

                                                              -

                                                            Returns null | string

                                                            attribute value of given type and name or null if no such attribute exists.

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              label name to filter

                                                              -

                                                            Returns default[]

                                                            all note's labels (attributes with type label), excluding inherited ones

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              label name

                                                              -

                                                            Returns null | string

                                                            label value if label exists, null otherwise

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              label name to filter

                                                              -

                                                            Returns string[]

                                                            all note's label values, excluding inherited ones

                                                            -
                                                          • Parameters

                                                            • Optionalname: null | string

                                                              relation name to filter

                                                              -

                                                            Returns default[]

                                                            all note's relations (attributes with type relation), excluding inherited ones

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              relation name

                                                              -

                                                            Returns null | string

                                                            relation value if relation exists, null otherwise

                                                            -
                                                          • Parameters

                                                            • Optionalname: string

                                                              relation name to filter

                                                              -

                                                            Returns default[]

                                                            all note's relations (attributes with type relation), including inherited ones

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              relation name

                                                              -

                                                            Returns null | string

                                                            relation value if relation exists, null otherwise

                                                            -
                                                          • Returns null | "frontend" | "backend"

                                                            JS script environment - either "frontend" or "backend"

                                                            -
                                                          • Parameters

                                                            • hoistedNoteId: string = "root"

                                                            Returns NotePathRecord[]

                                                          • Parameters

                                                            • __namedParameters: { includeArchived?: boolean; includeHidden?: boolean; resolveSearch?: boolean } = {}

                                                            Returns { notes: default[]; relationships: Relationship[] }

                                                          • Parameters

                                                            • __namedParameters: { includeArchived?: boolean; includeHidden?: boolean; resolveSearch?: boolean } = {}

                                                            Returns string[]

                                                            includes the subtree root note as well

                                                            -
                                                          • Parameters

                                                            • type: string
                                                            • name: string
                                                            • value: null | string = null

                                                            Returns boolean

                                                          • Parameters

                                                            • name: string

                                                              label name

                                                              -
                                                            • Optionalvalue: string

                                                              label value

                                                              -

                                                            Returns boolean

                                                            true if label exists (including inherited)

                                                            -
                                                          • Parameters

                                                            • type: string
                                                            • name: string

                                                              attribute name

                                                              -
                                                            • Optionalvalue: string

                                                              attribute value

                                                              -

                                                            Returns boolean

                                                            true if note has an attribute with given type and name (excluding inherited)

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              label name

                                                              -
                                                            • Optionalvalue: string

                                                              label value

                                                              -

                                                            Returns boolean

                                                            true if label exists (excluding inherited)

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              relation name

                                                              -
                                                            • Optionalvalue: string

                                                              relation value

                                                              -

                                                            Returns boolean

                                                            true if relation exists (excluding inherited)

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              relation name

                                                              -
                                                            • Optionalvalue: string

                                                              relation value

                                                              -

                                                            Returns boolean

                                                            true if relation exists (including inherited)

                                                            -
                                                          • Parameters

                                                            • ancestorNoteId: string

                                                            Returns boolean

                                                            true if ancestorNoteId occurs in at least one of the note's paths

                                                            -
                                                          • Parameters

                                                            • opts: ConvertOpts = ...

                                                            Returns boolean

                                                          • Returns boolean

                                                            boolean - true if there's no non-hidden path, note is not cloned to the visible tree

                                                            -
                                                          • Parameters

                                                            • name: string

                                                              label name

                                                              -

                                                            Returns boolean

                                                            true if label exists (including inherited) and does not have "false" value.

                                                            -
                                                          • Returns boolean

                                                            true if this note is the root of the note tree. Root note has "root" noteId

                                                            -
                                                          • Mark the entity as (soft) deleted. It will be completely erased later.

                                                            -

                                                            This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                            -

                                                            Parameters

                                                            • deleteId: null | string = null

                                                            Returns void

                                                          • Removes given attribute name-value pair if it exists.

                                                            -

                                                            Parameters

                                                            • type: string

                                                              attribute type (label, relation, etc.)

                                                              -
                                                            • name: string

                                                              attribute name

                                                              -
                                                            • Optionalvalue: string

                                                              attribute value (optional)

                                                              -

                                                            Returns void

                                                          • Remove label name-value pair, if it exists.

                                                            -

                                                            Parameters

                                                            • name: string

                                                              label name

                                                              -
                                                            • Optionalvalue: string

                                                              label value

                                                              -

                                                            Returns void

                                                          • Remove the relation name-value pair, if it exists.

                                                            -

                                                            Parameters

                                                            • name: string

                                                              relation name

                                                              -
                                                            • Optionalvalue: string

                                                              relation value (noteId)

                                                              -

                                                            Returns void

                                                          • Parameters

                                                            • __namedParameters: AttachmentRow
                                                            • matchBy: undefined | "title" | "attachmentId" = "attachmentId"

                                                              choose by which property we detect if to update an existing attachment. -Supported values are either 'attachmentId' (default) or 'title'

                                                              -

                                                            Returns default

                                                          • Update's given attribute's value or creates it if it doesn't exist

                                                            -

                                                            Parameters

                                                            • type: AttributeType

                                                              attribute type (label, relation, etc.)

                                                              -
                                                            • name: string

                                                              attribute name

                                                              -
                                                            • Optionalvalue: string

                                                              attribute value (optional)

                                                              -

                                                            Returns void

                                                          • Parameters

                                                            • content: string | Buffer<ArrayBufferLike>
                                                            • opts: ContentOpts = {}

                                                            Returns void

                                                          • Update's given label's value or creates it if it doesn't exist

                                                            -

                                                            Parameters

                                                            • name: string

                                                              label name

                                                              -
                                                            • Optionalvalue: string

                                                              label value

                                                              -

                                                            Returns void

                                                          • Update's given relation's value or creates it if it doesn't exist

                                                            -

                                                            Parameters

                                                            • name: string

                                                              relation name

                                                              -
                                                            • Optionalvalue: string

                                                              relation value (noteId)

                                                              -

                                                            Returns void

                                                          • Based on enabled, the attribute is either set or removed.

                                                            -

                                                            Parameters

                                                            • type: AttributeType

                                                              attribute type ('relation', 'label' etc.)

                                                              -
                                                            • enabled: boolean

                                                              toggle On or Off

                                                              -
                                                            • name: string

                                                              attribute name

                                                              -
                                                            • Optionalvalue: string

                                                              attribute value (optional)

                                                              -

                                                            Returns void

                                                          • Based on enabled, label is either set or removed.

                                                            -

                                                            Parameters

                                                            • enabled: boolean

                                                              toggle On or Off

                                                              -
                                                            • name: string

                                                              label name

                                                              -
                                                            • Optionalvalue: string

                                                              label value (optional)

                                                              -

                                                            Returns void

                                                          • Based on enabled, relation is either set or removed.

                                                            -

                                                            Parameters

                                                            • enabled: boolean

                                                              toggle On or Off

                                                              -
                                                            • name: string

                                                              relation name

                                                              -
                                                            • Optionalvalue: string

                                                              relation value (noteId)

                                                              -

                                                            Returns void

                                                          diff --git a/docs/backend_api/classes/becca_entities_boption.default.html b/docs/backend_api/classes/becca_entities_boption.default.html deleted file mode 100644 index 26241d098..000000000 --- a/docs/backend_api/classes/becca_entities_boption.default.html +++ /dev/null @@ -1,34 +0,0 @@ -default | trilium
                                                          trilium
                                                            Preparing search index...

                                                            Option represents a name-value pair, either directly configurable by the user or some system property.

                                                            -

                                                            Hierarchy (View Summary)

                                                            Index

                                                            Constructors

                                                            Properties

                                                            blobId?: string
                                                            dateCreated?: string
                                                            dateModified?: string
                                                            isProtected?: boolean
                                                            isSynced?: boolean
                                                            name: string
                                                            utcDateCreated: string
                                                            utcDateModified?: string
                                                            value: string

                                                            Accessors

                                                            Methods

                                                            • Returns {
                                                                  isSynced: undefined | boolean;
                                                                  name: string;
                                                                  utcDateModified: undefined | string;
                                                                  value: string;
                                                              }

                                                            • Mark the entity as (soft) deleted. It will be completely erased later.

                                                              -

                                                              This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                              -

                                                              Parameters

                                                              • deleteId: null | string = null

                                                              Returns void

                                                            diff --git a/docs/backend_api/classes/becca_entities_brecent_note.default.html b/docs/backend_api/classes/becca_entities_brecent_note.default.html deleted file mode 100644 index 6fc461eb1..000000000 --- a/docs/backend_api/classes/becca_entities_brecent_note.default.html +++ /dev/null @@ -1,34 +0,0 @@ -default | trilium
                                                            trilium
                                                              Preparing search index...

                                                              RecentNote represents recently visited note.

                                                              -

                                                              Hierarchy (View Summary)

                                                              Index

                                                              Constructors

                                                              Properties

                                                              blobId?: string
                                                              dateCreated?: string
                                                              dateModified?: string
                                                              isProtected?: boolean
                                                              isSynced?: boolean
                                                              noteId: string
                                                              notePath: string
                                                              utcDateCreated: string
                                                              utcDateModified?: string

                                                              Accessors

                                                              Methods

                                                              • Mark the entity as (soft) deleted. It will be completely erased later.

                                                                -

                                                                This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                                -

                                                                Parameters

                                                                • deleteId: null | string = null

                                                                Returns void

                                                              diff --git a/docs/backend_api/classes/becca_entities_brevision.default.html b/docs/backend_api/classes/becca_entities_brevision.default.html deleted file mode 100644 index 57327e86d..000000000 --- a/docs/backend_api/classes/becca_entities_brevision.default.html +++ /dev/null @@ -1,57 +0,0 @@ -default | trilium
                                                              trilium
                                                                Preparing search index...

                                                                Revision represents a snapshot of note's title and content at some point in the past. -It's used for seamless note versioning.

                                                                -

                                                                Hierarchy (View Summary)

                                                                Index

                                                                Constructors

                                                                Properties

                                                                blobId?: string
                                                                content?: string | Buffer<ArrayBufferLike>
                                                                contentLength?: number
                                                                dateCreated?: string
                                                                dateLastEdited?: string
                                                                dateModified?: string
                                                                isProtected?: boolean
                                                                isSynced?: boolean
                                                                mime: string
                                                                noteId: string
                                                                revisionId?: string
                                                                title: string
                                                                type:
                                                                    | "canvas"
                                                                    | "code"
                                                                    | "search"
                                                                    | "image"
                                                                    | "text"
                                                                    | "file"
                                                                    | "noteMap"
                                                                    | "launcher"
                                                                    | "doc"
                                                                    | "contentWidget"
                                                                    | "relationMap"
                                                                    | "render"
                                                                    | "mermaid"
                                                                    | "book"
                                                                    | "webView"
                                                                    | "mindMap"
                                                                    | "geoMap"
                                                                utcDateCreated: string
                                                                utcDateLastEdited?: string
                                                                utcDateModified?: string

                                                                Accessors

                                                                Methods

                                                                • Returns {
                                                                      blobId: undefined | string;
                                                                      content: undefined | string | Buffer<ArrayBufferLike>;
                                                                      contentLength: undefined | number;
                                                                      dateCreated: undefined | string;
                                                                      dateLastEdited: undefined | string;
                                                                      isProtected: undefined | boolean;
                                                                      mime: string;
                                                                      noteId: string;
                                                                      revisionId: undefined | string;
                                                                      title: undefined | string;
                                                                      type:
                                                                          | "canvas"
                                                                          | "code"
                                                                          | "search"
                                                                          | "image"
                                                                          | "text"
                                                                          | "file"
                                                                          | "noteMap"
                                                                          | "launcher"
                                                                          | "doc"
                                                                          | "contentWidget"
                                                                          | "relationMap"
                                                                          | "render"
                                                                          | "mermaid"
                                                                          | "book"
                                                                          | "webView"
                                                                          | "mindMap"
                                                                          | "geoMap";
                                                                      utcDateCreated: string;
                                                                      utcDateLastEdited: undefined
                                                                      | string;
                                                                      utcDateModified: undefined | string;
                                                                  }

                                                                • Returns {
                                                                      blobId: undefined | string;
                                                                      content: undefined | string | Buffer<ArrayBufferLike>;
                                                                      contentLength: undefined | number;
                                                                      dateCreated: undefined | string;
                                                                      dateLastEdited: undefined | string;
                                                                      isProtected: undefined | boolean;
                                                                      mime: string;
                                                                      noteId: string;
                                                                      revisionId: undefined | string;
                                                                      title: undefined | string;
                                                                      type:
                                                                          | "canvas"
                                                                          | "code"
                                                                          | "search"
                                                                          | "image"
                                                                          | "text"
                                                                          | "file"
                                                                          | "noteMap"
                                                                          | "launcher"
                                                                          | "doc"
                                                                          | "contentWidget"
                                                                          | "relationMap"
                                                                          | "render"
                                                                          | "mermaid"
                                                                          | "book"
                                                                          | "webView"
                                                                          | "mindMap"
                                                                          | "geoMap";
                                                                      utcDateCreated: string;
                                                                      utcDateLastEdited: undefined
                                                                      | string;
                                                                      utcDateModified: undefined | string;
                                                                  }

                                                                • Mark the entity as (soft) deleted. It will be completely erased later.

                                                                  -

                                                                  This is a low-level method, for notes and branches use note.deleteNote() and 'branch.deleteBranch()` instead.

                                                                  -

                                                                  Parameters

                                                                  • deleteId: null | string = null

                                                                  Returns void

                                                                • Parameters

                                                                  • content: string | Buffer<ArrayBufferLike>
                                                                  • opts: ContentOpts = {}

                                                                  Returns void

                                                                diff --git a/docs/backend_api/enums/backend_script_entrypoint._internal_.HttpStatusCode.html b/docs/backend_api/enums/backend_script_entrypoint._internal_.HttpStatusCode.html new file mode 100644 index 000000000..0121326ef --- /dev/null +++ b/docs/backend_api/enums/backend_script_entrypoint._internal_.HttpStatusCode.html @@ -0,0 +1,64 @@ +HttpStatusCode | trilium
                                                                trilium
                                                                  Preparing search index...
                                                                  Index

                                                                  Enumeration Members

                                                                  Accepted: 202
                                                                  AlreadyReported: 208
                                                                  BadGateway: 502
                                                                  BadRequest: 400
                                                                  Conflict: 409
                                                                  Continue: 100
                                                                  Created: 201
                                                                  EarlyHints: 103
                                                                  ExpectationFailed: 417
                                                                  FailedDependency: 424
                                                                  Forbidden: 403
                                                                  Found: 302
                                                                  GatewayTimeout: 504
                                                                  Gone: 410
                                                                  HttpVersionNotSupported: 505
                                                                  ImATeapot: 418
                                                                  ImUsed: 226
                                                                  InsufficientStorage: 507
                                                                  InternalServerError: 500
                                                                  LengthRequired: 411
                                                                  Locked: 423
                                                                  LoopDetected: 508
                                                                  MethodNotAllowed: 405
                                                                  MisdirectedRequest: 421
                                                                  MovedPermanently: 301
                                                                  MultipleChoices: 300
                                                                  MultiStatus: 207
                                                                  NetworkAuthenticationRequired: 511
                                                                  NoContent: 204
                                                                  NonAuthoritativeInformation: 203
                                                                  NotAcceptable: 406
                                                                  NotExtended: 510
                                                                  NotFound: 404
                                                                  NotImplemented: 501
                                                                  NotModified: 304
                                                                  Ok: 200
                                                                  PartialContent: 206
                                                                  PayloadTooLarge: 413
                                                                  PaymentRequired: 402
                                                                  PermanentRedirect: 308
                                                                  PreconditionFailed: 412
                                                                  PreconditionRequired: 428
                                                                  Processing: 102
                                                                  ProxyAuthenticationRequired: 407
                                                                  RangeNotSatisfiable: 416
                                                                  RequestHeaderFieldsTooLarge: 431
                                                                  RequestTimeout: 408
                                                                  ResetContent: 205
                                                                  SeeOther: 303
                                                                  ServiceUnavailable: 503
                                                                  SwitchingProtocols: 101
                                                                  TemporaryRedirect: 307
                                                                  TooEarly: 425
                                                                  TooManyRequests: 429
                                                                  Unauthorized: 401
                                                                  UnavailableForLegalReasons: 451
                                                                  UnprocessableEntity: 422
                                                                  UnsupportedMediaType: 415
                                                                  Unused: 306
                                                                  UpgradeRequired: 426
                                                                  UriTooLong: 414
                                                                  UseProxy: 305
                                                                  VariantAlsoNegotiates: 506
                                                                  diff --git a/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.parseString.html b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.parseString.html new file mode 100644 index 000000000..4b1d9d1ea --- /dev/null +++ b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.parseString.html @@ -0,0 +1 @@ +parseString | trilium
                                                                  trilium
                                                                    Preparing search index...
                                                                    • Parameters

                                                                      Returns void

                                                                    • Parameters

                                                                      Returns void

                                                                    diff --git a/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.parseStringPromise.html b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.parseStringPromise.html new file mode 100644 index 000000000..2f5e505b2 --- /dev/null +++ b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.parseStringPromise.html @@ -0,0 +1 @@ +parseStringPromise | trilium
                                                                    trilium
                                                                      Preparing search index...
                                                                      diff --git a/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.firstCharLowerCase.html b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.firstCharLowerCase.html new file mode 100644 index 000000000..12a0d95b6 --- /dev/null +++ b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.firstCharLowerCase.html @@ -0,0 +1 @@ +firstCharLowerCase | trilium
                                                                      trilium
                                                                        Preparing search index...
                                                                        • Parameters

                                                                          • name: string

                                                                          Returns string

                                                                        diff --git a/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.normalize.html b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.normalize.html new file mode 100644 index 000000000..52635507c --- /dev/null +++ b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.normalize.html @@ -0,0 +1 @@ +normalize | trilium
                                                                        trilium
                                                                          Preparing search index...
                                                                          • Parameters

                                                                            • name: string

                                                                            Returns string

                                                                          diff --git a/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.parseBooleans.html b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.parseBooleans.html new file mode 100644 index 000000000..52b249390 --- /dev/null +++ b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.parseBooleans.html @@ -0,0 +1 @@ +parseBooleans | trilium
                                                                          trilium
                                                                            Preparing search index...
                                                                            • Parameters

                                                                              • name: string

                                                                              Returns boolean

                                                                            diff --git a/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.parseNumbers.html b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.parseNumbers.html new file mode 100644 index 000000000..26cb983b1 --- /dev/null +++ b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.parseNumbers.html @@ -0,0 +1 @@ +parseNumbers | trilium
                                                                            trilium
                                                                              Preparing search index...
                                                                              • Parameters

                                                                                • name: string

                                                                                Returns number

                                                                              diff --git a/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.stripPrefix.html b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.stripPrefix.html new file mode 100644 index 000000000..efadc54bb --- /dev/null +++ b/docs/backend_api/functions/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.stripPrefix.html @@ -0,0 +1 @@ +stripPrefix | trilium
                                                                              trilium
                                                                                Preparing search index...
                                                                                • Parameters

                                                                                  • name: string

                                                                                  Returns string

                                                                                diff --git a/docs/backend_api/hierarchy.html b/docs/backend_api/hierarchy.html index 7246e1bca..afd425ec1 100644 --- a/docs/backend_api/hierarchy.html +++ b/docs/backend_api/hierarchy.html @@ -1 +1 @@ -trilium
                                                                                trilium
                                                                                  Preparing search index...
                                                                                  +trilium
                                                                                  trilium
                                                                                    Preparing search index...
                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint.Api.html b/docs/backend_api/interfaces/backend_script_entrypoint.Api.html new file mode 100644 index 000000000..d6587d024 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint.Api.html @@ -0,0 +1,164 @@ +Api | trilium
                                                                                    trilium
                                                                                      Preparing search index...
                                                                                      interface Api {
                                                                                          __private: { becca: default };
                                                                                          axios: AxiosStatic;
                                                                                          cheerio: {
                                                                                              default: CheerioAPI;
                                                                                              version: string;
                                                                                              contains(container: Element, contained: Element): boolean;
                                                                                              html(options?: CheerioParserOptions): string;
                                                                                              html(
                                                                                                  dom: string | Element | Cheerio,
                                                                                                  options?: CheerioParserOptions,
                                                                                              ): string;
                                                                                              load(
                                                                                                  html: string | Buffer<ArrayBufferLike>,
                                                                                                  options?: CheerioParserOptions,
                                                                                              ): Root;
                                                                                              load(element: Element | Element[], options?: CheerioParserOptions): Root;
                                                                                              parseHTML(
                                                                                                  data: string,
                                                                                                  context?: null | Document,
                                                                                                  keepScripts?: boolean,
                                                                                              ): Document[];
                                                                                              root(): Cheerio;
                                                                                              xml(dom?: string | Element | Cheerio): string;
                                                                                          };
                                                                                          currentNote: BNote;
                                                                                          dayjs: __module;
                                                                                          logMessages: Record<string, string[]>;
                                                                                          logSpacedUpdates: Record<string, SpacedUpdate>;
                                                                                          originEntity?: null | AbstractBeccaEntity<any>;
                                                                                          sql: any;
                                                                                          startNote?: null | BNote;
                                                                                          xml2js: node_modules/@types/xml2js;
                                                                                          backupNow(backupName: string): Promise<string>;
                                                                                          createDataNote(
                                                                                              parentNoteId: string,
                                                                                              title: string,
                                                                                              content: {},
                                                                                          ): NoteAndBranch;
                                                                                          createNewNote(params: NoteParams): NoteAndBranch;
                                                                                          createNote(
                                                                                              parentNoteId: string,
                                                                                              title: string,
                                                                                              content: string,
                                                                                              extraOptions: Omit<
                                                                                                  NoteParams,
                                                                                                  "title"
                                                                                                  | "parentNoteId"
                                                                                                  | "content"
                                                                                                  | "type",
                                                                                              > & { attributes?: AttributeRow[]; json?: boolean },
                                                                                          ): NoteAndBranch;
                                                                                          createOrUpdateLauncher(
                                                                                              opts: {
                                                                                                  icon: string;
                                                                                                  id: string;
                                                                                                  isVisible: boolean;
                                                                                                  keyboardShortcut: string;
                                                                                                  scriptNoteId: string;
                                                                                                  targetNoteId: string;
                                                                                                  title: string;
                                                                                                  type: "script" | "note" | "customWidget";
                                                                                                  widgetNoteId?: string;
                                                                                              },
                                                                                          ): { note: BNote };
                                                                                          createTextNote(
                                                                                              parentNoteId: string,
                                                                                              title: string,
                                                                                              content: string,
                                                                                          ): NoteAndBranch;
                                                                                          ensureNoteIsAbsentFromParent(noteId: string, parentNoteId: string): void;
                                                                                          ensureNoteIsPresentInParent(
                                                                                              noteId: string,
                                                                                              parentNoteId: string,
                                                                                              prefix: string,
                                                                                          ): { branch: null | BBranch };
                                                                                          escapeHtml(string: string): string;
                                                                                          exportSubtreeToZipFile(
                                                                                              noteId: string,
                                                                                              format: "html" | "markdown",
                                                                                              zipFilePath: string,
                                                                                          ): Promise<void>;
                                                                                          getAppInfo(): {
                                                                                              appVersion: string;
                                                                                              buildDate: string;
                                                                                              buildRevision: string;
                                                                                              clipperProtocolVersion: string;
                                                                                              dataDirectory: string;
                                                                                              dbVersion: number;
                                                                                              nodeVersion: string;
                                                                                              syncVersion: number;
                                                                                              utcDateTime: string;
                                                                                          };
                                                                                          getAttachment(attachmentId: string): null | BAttachment;
                                                                                          getAttribute(attachmentId: string): null | BAttribute;
                                                                                          getAttribute(attributeId: string): null | BAttribute;
                                                                                          getBranch(branchId: string): null | BBranch;
                                                                                          getDayNote(date: string, rootNote?: BNote): Promise<null | BNote>;
                                                                                          getEtapiToken(etapiTokenId: string): null | BEtapiToken;
                                                                                          getEtapiTokens(): BEtapiToken[];
                                                                                          getInstanceName(): null | string;
                                                                                          getMonthNote(date: string, rootNote: BNote): Promise<null | BNote>;
                                                                                          getNote(noteId: string): null | BNote;
                                                                                          getNotesWithLabel(name: string, value?: string): BNote[];
                                                                                          getNoteWithLabel(name: string, value?: string): null | BNote;
                                                                                          getOption(optionName: string): null | BOption;
                                                                                          getOptions(): BOption[];
                                                                                          getQuarterNote(date: string, rootNote: BNote): Promise<null | BNote>;
                                                                                          getRevision(revisionId: string): null | BRevision;
                                                                                          getRootCalendarNote(): null | BNote;
                                                                                          getTodayNote(rootNote?: BNote): Promise<null | BNote>;
                                                                                          getWeekFirstDayNote(date: string, rootNote: BNote): Promise<null | BNote>;
                                                                                          getWeekNote(date: string, rootNote: BNote): Promise<null | BNote>;
                                                                                          getYearNote(year: string, rootNote?: BNote): null | BNote;
                                                                                          log(message: string): void;
                                                                                          randomString(length: number): string;
                                                                                          runOnFrontend(script: () => string | void, params: []): void;
                                                                                          runOutsideOfSync(callback: () => void): Promise<void>;
                                                                                          searchForNote(query: string, searchParams: SearchParams): null | BNote;
                                                                                          searchForNotes(query: string, searchParams: SearchParams): BNote[];
                                                                                          setNoteToParent(
                                                                                              noteId: string,
                                                                                              prefix: string,
                                                                                              parentNoteId: null | string,
                                                                                          ): void;
                                                                                          sortNotes(
                                                                                              parentNoteId: string,
                                                                                              sortConfig: { foldersFirst?: boolean; reverse?: boolean; sortBy?: string },
                                                                                          ): void;
                                                                                          toggleNoteInParent(
                                                                                              present: true,
                                                                                              noteId: string,
                                                                                              parentNoteId: string,
                                                                                              prefix: string,
                                                                                          ): void;
                                                                                          transactional(func: () => void): any;
                                                                                          unescapeHtml(string: string): string;
                                                                                      }
                                                                                      Index

                                                                                      Properties

                                                                                      __private: { becca: default }

                                                                                      This object contains "at your risk" and "no BC guarantees" objects for advanced use cases.

                                                                                      +

                                                                                      Type declaration

                                                                                      • becca: default

                                                                                        provides access to the backend in-memory object graph, see Becca

                                                                                        +

                                                                                      Axios library for HTTP requests. See https://axios-http.com for documentation

                                                                                      +

                                                                                      use native (browser compatible) fetch() instead

                                                                                      +
                                                                                      cheerio: {
                                                                                          default: CheerioAPI;
                                                                                          version: string;
                                                                                          contains(container: Element, contained: Element): boolean;
                                                                                          html(options?: CheerioParserOptions): string;
                                                                                          html(
                                                                                              dom: string | Element | Cheerio,
                                                                                              options?: CheerioParserOptions,
                                                                                          ): string;
                                                                                          load(
                                                                                              html: string | Buffer<ArrayBufferLike>,
                                                                                              options?: CheerioParserOptions,
                                                                                          ): Root;
                                                                                          load(element: Element | Element[], options?: CheerioParserOptions): Root;
                                                                                          parseHTML(
                                                                                              data: string,
                                                                                              context?: null | Document,
                                                                                              keepScripts?: boolean,
                                                                                          ): Document[];
                                                                                          root(): Cheerio;
                                                                                          xml(dom?: string | Element | Cheerio): string;
                                                                                      }

                                                                                      cheerio library for HTML parsing and manipulation. See https://cheerio.js.org for documentation

                                                                                      +
                                                                                      currentNote: BNote

                                                                                      Note where the script is currently executing. This comes into play when your script is spread in multiple code +notes, the script starts in "startNote", but then through function calls may jump into another note (currentNote). +A similar concept in C would be FILE +Don't mix this up with the concept of active note.

                                                                                      +
                                                                                      dayjs: __module

                                                                                      day.js library for date manipulation. See https://day.js.org for documentation

                                                                                      +
                                                                                      logMessages: Record<string, string[]>
                                                                                      logSpacedUpdates: Record<string, SpacedUpdate>
                                                                                      originEntity?: null | AbstractBeccaEntity<any>

                                                                                      Entity whose event triggered this execution

                                                                                      +
                                                                                      sql: any

                                                                                      sql

                                                                                      +
                                                                                      startNote?: null | BNote

                                                                                      Note where the script started executing (entrypoint). +As an analogy, in C this would be the file which contains the main() function of the current process.

                                                                                      +

                                                                                      xml2js library for XML parsing. See https://github.com/Leonidas-from-XIV/node-xml2js for documentation

                                                                                      +

                                                                                      Methods

                                                                                      • Parameters

                                                                                        • backupName: string

                                                                                          If the backupName is e.g. "now", then the backup will be written to "backup-now.db" file

                                                                                          +

                                                                                        Returns Promise<string>

                                                                                        resolves once the backup is finished

                                                                                        +
                                                                                      • Create data note - data in this context means object serializable to JSON. Created note will be of type 'code' and +JSON MIME type. See also createNewNote() for more options.

                                                                                        +

                                                                                        Parameters

                                                                                        • parentNoteId: string
                                                                                        • title: string
                                                                                        • content: {}

                                                                                        Returns NoteAndBranch

                                                                                      • Parameters

                                                                                        • parentNoteId: string

                                                                                          create new note under this parent

                                                                                          +
                                                                                        • title: string
                                                                                        • content: string
                                                                                        • extraOptions: Omit<NoteParams, "title" | "parentNoteId" | "content" | "type"> & {
                                                                                              attributes?: AttributeRow[];
                                                                                              json?: boolean;
                                                                                          }
                                                                                          • Optionalattributes?: AttributeRow[]
                                                                                          • Optionaljson?: boolean

                                                                                            should the note be JSON

                                                                                            +

                                                                                        Returns NoteAndBranch

                                                                                        object contains newly created entities note and branch

                                                                                        +

                                                                                        please use createTextNote() with similar API for simpler use cases or createNewNote() for more complex needs

                                                                                        +
                                                                                      • Creates a new launcher to the launchbar. If the launcher (id) already exists, it will be updated.

                                                                                        +

                                                                                        Parameters

                                                                                        • opts: {
                                                                                              icon: string;
                                                                                              id: string;
                                                                                              isVisible: boolean;
                                                                                              keyboardShortcut: string;
                                                                                              scriptNoteId: string;
                                                                                              targetNoteId: string;
                                                                                              title: string;
                                                                                              type: "script" | "note" | "customWidget";
                                                                                              widgetNoteId?: string;
                                                                                          }
                                                                                          • icon: string

                                                                                            name of the boxicon to be used (e.g. "bx-time")

                                                                                            +
                                                                                          • id: string

                                                                                            id of the launcher, only alphanumeric at least 6 characters long

                                                                                            +
                                                                                          • isVisible: boolean

                                                                                            if true, will be created in the "Visible launchers", otherwise in "Available launchers"

                                                                                            +
                                                                                          • keyboardShortcut: string

                                                                                            will activate the target note/script upon pressing, e.g. "ctrl+e"

                                                                                            +
                                                                                          • scriptNoteId: string

                                                                                            for type "script"

                                                                                            +
                                                                                          • targetNoteId: string

                                                                                            for type "note"

                                                                                            +
                                                                                          • title: string
                                                                                          • type: "script" | "note" | "customWidget"

                                                                                            one of

                                                                                            +
                                                                                              +
                                                                                            • "note" - activating the launcher will navigate to the target note (specified in targetNoteId param)
                                                                                            • +
                                                                                            • "script" - activating the launcher will execute the script (specified in scriptNoteId param)
                                                                                            • +
                                                                                            • "customWidget" - the launcher will be rendered with a custom widget (specified in widgetNoteId param)
                                                                                            • +
                                                                                            +
                                                                                          • OptionalwidgetNoteId?: string

                                                                                            for type "customWidget"

                                                                                            +

                                                                                        Returns { note: BNote }

                                                                                      • If there's a branch between note and parent note, remove it. Otherwise, do nothing.

                                                                                        +

                                                                                        Parameters

                                                                                        • noteId: string
                                                                                        • parentNoteId: string

                                                                                        Returns void

                                                                                      • If there's no branch between note and parent note, create one. Otherwise, do nothing. Returns the new or existing branch.

                                                                                        +

                                                                                        Parameters

                                                                                        • noteId: string
                                                                                        • parentNoteId: string
                                                                                        • prefix: string

                                                                                          if branch is created between note and parent note, set this prefix

                                                                                          +

                                                                                        Returns { branch: null | BBranch }

                                                                                      • Parameters

                                                                                        • noteId: string
                                                                                        • format: "html" | "markdown"

                                                                                          either 'html' or 'markdown'

                                                                                          +
                                                                                        • zipFilePath: string

                                                                                        Returns Promise<void>

                                                                                      • Returns {
                                                                                            appVersion: string;
                                                                                            buildDate: string;
                                                                                            buildRevision: string;
                                                                                            clipperProtocolVersion: string;
                                                                                            dataDirectory: string;
                                                                                            dbVersion: number;
                                                                                            nodeVersion: string;
                                                                                            syncVersion: number;
                                                                                            utcDateTime: string;
                                                                                        }

                                                                                      • Returns day note for given date. If such note doesn't exist, it is created.

                                                                                        +

                                                                                        Parameters

                                                                                        • date: string

                                                                                          in YYYY-MM-DD format

                                                                                          +
                                                                                        • OptionalrootNote: BNote

                                                                                          specify calendar root note, normally leave empty to use the default calendar

                                                                                          +

                                                                                        Returns Promise<null | BNote>

                                                                                      • Instance name identifies particular Trilium instance. It can be useful for scripts +if some action needs to happen on only one specific instance.

                                                                                        +

                                                                                        Returns null | string

                                                                                      • Returns month note for given date. If such a note doesn't exist, it is created.

                                                                                        +

                                                                                        Parameters

                                                                                        • date: string

                                                                                          in YYYY-MM format

                                                                                          +
                                                                                        • rootNote: BNote

                                                                                          specify calendar root note, normally leave empty to use the default calendar

                                                                                          +

                                                                                        Returns Promise<null | BNote>

                                                                                      • Retrieves notes with given label name & value

                                                                                        +

                                                                                        Parameters

                                                                                        • name: string

                                                                                          attribute name

                                                                                          +
                                                                                        • Optionalvalue: string

                                                                                          attribute value

                                                                                          +

                                                                                        Returns BNote[]

                                                                                      • Retrieves first note with given label name & value

                                                                                        +

                                                                                        Parameters

                                                                                        • name: string

                                                                                          attribute name

                                                                                          +
                                                                                        • Optionalvalue: string

                                                                                          attribute value

                                                                                          +

                                                                                        Returns null | BNote

                                                                                      • Returns quarter note for given date. If such a note doesn't exist, it is created.

                                                                                        +

                                                                                        Parameters

                                                                                        • date: string

                                                                                          in YYYY-MM format

                                                                                          +
                                                                                        • rootNote: BNote

                                                                                          specify calendar root note, normally leave empty to use the default calendar

                                                                                          +

                                                                                        Returns Promise<null | BNote>

                                                                                      • Returns today's day note. If such note doesn't exist, it is created.

                                                                                        +

                                                                                        Parameters

                                                                                        • OptionalrootNote: BNote

                                                                                          specify calendar root note, normally leave empty to use the default calendar

                                                                                          +

                                                                                        Returns Promise<null | BNote>

                                                                                      • Returns note for the first date of the week of the given date.

                                                                                        +

                                                                                        Parameters

                                                                                        • date: string

                                                                                          in YYYY-MM-DD format

                                                                                          +
                                                                                        • rootNote: BNote

                                                                                          specify calendar root note, normally leave empty to use the default calendar

                                                                                          +

                                                                                        Returns Promise<null | BNote>

                                                                                      • Returns week note for given date. If such a note doesn't exist, it is created.

                                                                                        +

                                                                                        Parameters

                                                                                        • date: string

                                                                                          in YYYY-MM-DD format

                                                                                          +
                                                                                        • rootNote: BNote

                                                                                          specify calendar root note, normally leave empty to use the default calendar

                                                                                          +

                                                                                        Returns Promise<null | BNote>

                                                                                      • Returns year note for given year. If such a note doesn't exist, it is created.

                                                                                        +

                                                                                        Parameters

                                                                                        • year: string

                                                                                          in YYYY format

                                                                                          +
                                                                                        • OptionalrootNote: BNote

                                                                                          specify calendar root note, normally leave empty to use the default calendar

                                                                                          +

                                                                                        Returns null | BNote

                                                                                      • Return randomly generated string of given length. This random string generation is NOT cryptographically secure.

                                                                                        +

                                                                                        Parameters

                                                                                        • length: number

                                                                                          of the string

                                                                                          +

                                                                                        Returns string

                                                                                        random string

                                                                                        +
                                                                                      • Executes given anonymous function on the frontend(s). +Internally, this serializes the anonymous function into string and sends it to frontend(s) via WebSocket. +Note that there can be multiple connected frontend instances (e.g. in different tabs). In such case, all +instances execute the given function.

                                                                                        +

                                                                                        Parameters

                                                                                        • script: () => string | void

                                                                                          script to be executed on the frontend

                                                                                          +
                                                                                        • params: []

                                                                                          list of parameters to the anonymous function to be sent to frontend

                                                                                          +

                                                                                        Returns void

                                                                                        no return value is provided.

                                                                                        +
                                                                                      • Sync process can make data intermittently inconsistent. Scripts which require strong data consistency +can use this function to wait for a possible sync process to finish and prevent new sync process from starting +while it is running.

                                                                                        +

                                                                                        Because this is an async process, the inner callback doesn't have automatic transaction handling, so in case +you need to make some DB changes, you need to surround your call with api.transactional(...)

                                                                                        +

                                                                                        Parameters

                                                                                        • callback: () => void

                                                                                          function to be executed while sync process is not running

                                                                                          +

                                                                                        Returns Promise<void>

                                                                                        resolves once the callback is finished (callback is awaited)

                                                                                        +
                                                                                      • This method finds note by its noteId and prefix and either sets it to the given parentNoteId +or removes the branch (if parentNoteId is not given).

                                                                                        +

                                                                                        This method looks similar to toggleNoteInParent() but differs because we're looking up branch by prefix.

                                                                                        +

                                                                                        Parameters

                                                                                        • noteId: string
                                                                                        • prefix: string
                                                                                        • parentNoteId: null | string

                                                                                        Returns void

                                                                                        this method is pretty confusing and serves specialized purpose only

                                                                                        +
                                                                                      • Sort child notes of a given note.

                                                                                        +

                                                                                        Parameters

                                                                                        • parentNoteId: string
                                                                                        • sortConfig: { foldersFirst?: boolean; reverse?: boolean; sortBy?: string }

                                                                                        Returns void

                                                                                      • Based on the value, either create or remove branch between note and parent note.

                                                                                        +

                                                                                        Parameters

                                                                                        • present: true

                                                                                          true if we want the branch to exist, false if we want it gone

                                                                                          +
                                                                                        • noteId: string
                                                                                        • parentNoteId: string
                                                                                        • prefix: string

                                                                                          if branch is created between note and parent note, set this prefix

                                                                                          +

                                                                                        Returns void

                                                                                      • This functions wraps code which is supposed to be running in transaction. If transaction already +exists, then we'll use that transaction.

                                                                                        +

                                                                                        Parameters

                                                                                        • func: () => void

                                                                                        Returns any

                                                                                        result of func callback

                                                                                        +
                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AsyncResourceOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AsyncResourceOptions.html new file mode 100644 index 000000000..80fb3e46c --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AsyncResourceOptions.html @@ -0,0 +1,14 @@ +AsyncResourceOptions | trilium
                                                                                      trilium
                                                                                        Preparing search index...
                                                                                        interface AsyncResourceOptions {
                                                                                            requireManualDestroy?: boolean;
                                                                                            triggerAsyncId?: number;
                                                                                        }

                                                                                        Hierarchy (View Summary)

                                                                                        Index

                                                                                        Properties

                                                                                        requireManualDestroy?: boolean

                                                                                        Disables automatic emitDestroy when the object is garbage collected. +This usually does not need to be set (even if emitDestroy is called +manually), unless the resource's asyncId is retrieved and the +sensitive API's emitDestroy is called with it.

                                                                                        +
                                                                                        false
                                                                                        +
                                                                                        + +
                                                                                        triggerAsyncId?: number

                                                                                        The ID of the execution context that created this async event.

                                                                                        +
                                                                                        executionAsyncId()
                                                                                        +
                                                                                        + +
                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttachmentOpts.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttachmentOpts.html new file mode 100644 index 000000000..52f2260cf --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttachmentOpts.html @@ -0,0 +1,2 @@ +AttachmentOpts | trilium
                                                                                        trilium
                                                                                          Preparing search index...
                                                                                          interface AttachmentOpts {
                                                                                              includeContentLength?: boolean;
                                                                                          }
                                                                                          Index

                                                                                          Properties

                                                                                          includeContentLength?: boolean
                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttachmentRow.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttachmentRow.html new file mode 100644 index 000000000..82fa68438 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttachmentRow.html @@ -0,0 +1,16 @@ +AttachmentRow | trilium
                                                                                          trilium
                                                                                            Preparing search index...
                                                                                            interface AttachmentRow {
                                                                                                attachmentId?: string;
                                                                                                blobId?: string;
                                                                                                content?: string | Buffer<ArrayBufferLike>;
                                                                                                contentLength?: number;
                                                                                                dateModified?: string;
                                                                                                deleteId?: string;
                                                                                                isDeleted?: boolean;
                                                                                                isProtected?: boolean;
                                                                                                mime: string;
                                                                                                ownerId?: string;
                                                                                                position?: number;
                                                                                                role: string;
                                                                                                title: string;
                                                                                                utcDateModified?: string;
                                                                                                utcDateScheduledForErasureSince?: string;
                                                                                            }
                                                                                            Index

                                                                                            Properties

                                                                                            attachmentId?: string
                                                                                            blobId?: string
                                                                                            content?: string | Buffer<ArrayBufferLike>
                                                                                            contentLength?: number
                                                                                            dateModified?: string
                                                                                            deleteId?: string
                                                                                            isDeleted?: boolean
                                                                                            isProtected?: boolean
                                                                                            mime: string
                                                                                            ownerId?: string
                                                                                            position?: number
                                                                                            role: string
                                                                                            title: string
                                                                                            utcDateModified?: string
                                                                                            utcDateScheduledForErasureSince?: string
                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttributeRow.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttributeRow.html new file mode 100644 index 000000000..d2aec951f --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AttributeRow.html @@ -0,0 +1,9 @@ +AttributeRow | trilium
                                                                                            trilium
                                                                                              Preparing search index...
                                                                                              interface AttributeRow {
                                                                                                  attributeId?: string;
                                                                                                  isInheritable?: boolean;
                                                                                                  name: string;
                                                                                                  noteId?: string;
                                                                                                  position?: null | number;
                                                                                                  type: AttributeType;
                                                                                                  utcDateModified?: string;
                                                                                                  value?: string;
                                                                                              }
                                                                                              Index

                                                                                              Properties

                                                                                              attributeId?: string
                                                                                              isInheritable?: boolean
                                                                                              name: string
                                                                                              noteId?: string
                                                                                              position?: null | number
                                                                                              utcDateModified?: string
                                                                                              value?: string
                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosAdapter.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosAdapter.html new file mode 100644 index 000000000..b864d6bfd --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosAdapter.html @@ -0,0 +1 @@ +AxiosAdapter | trilium
                                                                                              trilium
                                                                                                Preparing search index...
                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosBasicCredentials.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosBasicCredentials.html new file mode 100644 index 000000000..c6576b589 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosBasicCredentials.html @@ -0,0 +1,3 @@ +AxiosBasicCredentials | trilium
                                                                                                trilium
                                                                                                  Preparing search index...
                                                                                                  interface AxiosBasicCredentials {
                                                                                                      password: string;
                                                                                                      username: string;
                                                                                                  }
                                                                                                  Index

                                                                                                  Properties

                                                                                                  Properties

                                                                                                  password: string
                                                                                                  username: string
                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosDefaults.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosDefaults.html new file mode 100644 index 000000000..c3d87b2f1 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosDefaults.html @@ -0,0 +1,45 @@ +AxiosDefaults | trilium
                                                                                                  trilium
                                                                                                    Preparing search index...

                                                                                                    Construct a type with the properties of T except for those in type K.

                                                                                                    +
                                                                                                    interface AxiosDefaults<D = any> {
                                                                                                        adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
                                                                                                        allowAbsoluteUrls?: boolean;
                                                                                                        auth?: AxiosBasicCredentials;
                                                                                                        baseURL?: string;
                                                                                                        beforeRedirect?: (
                                                                                                            options: Record<string, any>,
                                                                                                            responseDetails: {
                                                                                                                headers: Record<string, string>;
                                                                                                                statusCode: HttpStatusCode;
                                                                                                            },
                                                                                                        ) => void;
                                                                                                        cancelToken?: CancelToken;
                                                                                                        data?: D;
                                                                                                        decompress?: boolean;
                                                                                                        env?: { FormData?: new (...args: any[]) => object };
                                                                                                        family?: AddressFamily;
                                                                                                        fetchOptions?: Record<string, any>;
                                                                                                        formSerializer?: FormSerializerOptions;
                                                                                                        headers: HeadersDefaults;
                                                                                                        httpAgent?: any;
                                                                                                        httpsAgent?: any;
                                                                                                        insecureHTTPParser?: boolean;
                                                                                                        lookup?:
                                                                                                            | (
                                                                                                                (
                                                                                                                    hostname: string,
                                                                                                                    options: object,
                                                                                                                    cb: (
                                                                                                                        err: null | Error,
                                                                                                                        address: LookupAddress | LookupAddress[],
                                                                                                                        family?: AddressFamily,
                                                                                                                    ) => void,
                                                                                                                ) => void
                                                                                                            )
                                                                                                            | (
                                                                                                                (
                                                                                                                    hostname: string,
                                                                                                                    options: object,
                                                                                                                ) => Promise<
                                                                                                                    | LookupAddress
                                                                                                                    | [
                                                                                                                        address: LookupAddressEntry
                                                                                                                        | LookupAddressEntry[],
                                                                                                                        family?: AddressFamily,
                                                                                                                    ],
                                                                                                                >
                                                                                                            );
                                                                                                        maxBodyLength?: number;
                                                                                                        maxContentLength?: number;
                                                                                                        maxRate?: number | [number, number];
                                                                                                        maxRedirects?: number;
                                                                                                        method?: string;
                                                                                                        onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
                                                                                                        onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
                                                                                                        params?: any;
                                                                                                        paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
                                                                                                        proxy?: false | AxiosProxyConfig;
                                                                                                        responseEncoding?: string;
                                                                                                        responseType?: ResponseType;
                                                                                                        signal?: GenericAbortSignal;
                                                                                                        socketPath?: null | string;
                                                                                                        timeout?: number;
                                                                                                        timeoutErrorMessage?: string;
                                                                                                        transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
                                                                                                        transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
                                                                                                        transitional?: TransitionalOptions;
                                                                                                        transport?: any;
                                                                                                        url?: string;
                                                                                                        validateStatus?: null | ((status: number) => boolean);
                                                                                                        withCredentials?: boolean;
                                                                                                        withXSRFToken?:
                                                                                                            | boolean
                                                                                                            | ((config: InternalAxiosRequestConfig) => undefined | boolean);
                                                                                                        xsrfCookieName?: string;
                                                                                                        xsrfHeaderName?: string;
                                                                                                    }

                                                                                                    Type Parameters

                                                                                                    • D = any

                                                                                                    Hierarchy (View Summary)

                                                                                                    Index

                                                                                                    Properties

                                                                                                    allowAbsoluteUrls?: boolean
                                                                                                    baseURL?: string
                                                                                                    beforeRedirect?: (
                                                                                                        options: Record<string, any>,
                                                                                                        responseDetails: {
                                                                                                            headers: Record<string, string>;
                                                                                                            statusCode: HttpStatusCode;
                                                                                                        },
                                                                                                    ) => void
                                                                                                    cancelToken?: CancelToken
                                                                                                    data?: D
                                                                                                    decompress?: boolean
                                                                                                    env?: { FormData?: new (...args: any[]) => object }
                                                                                                    family?: AddressFamily
                                                                                                    fetchOptions?: Record<string, any>
                                                                                                    formSerializer?: FormSerializerOptions
                                                                                                    httpAgent?: any
                                                                                                    httpsAgent?: any
                                                                                                    insecureHTTPParser?: boolean
                                                                                                    lookup?:
                                                                                                        | (
                                                                                                            (
                                                                                                                hostname: string,
                                                                                                                options: object,
                                                                                                                cb: (
                                                                                                                    err: null | Error,
                                                                                                                    address: LookupAddress | LookupAddress[],
                                                                                                                    family?: AddressFamily,
                                                                                                                ) => void,
                                                                                                            ) => void
                                                                                                        )
                                                                                                        | (
                                                                                                            (
                                                                                                                hostname: string,
                                                                                                                options: object,
                                                                                                            ) => Promise<
                                                                                                                | LookupAddress
                                                                                                                | [
                                                                                                                    address: LookupAddressEntry
                                                                                                                    | LookupAddressEntry[],
                                                                                                                    family?: AddressFamily,
                                                                                                                ],
                                                                                                            >
                                                                                                        )
                                                                                                    maxBodyLength?: number
                                                                                                    maxContentLength?: number
                                                                                                    maxRate?: number | [number, number]
                                                                                                    maxRedirects?: number
                                                                                                    method?: string
                                                                                                    onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void
                                                                                                    onUploadProgress?: (progressEvent: AxiosProgressEvent) => void
                                                                                                    params?: any
                                                                                                    proxy?: false | AxiosProxyConfig
                                                                                                    responseEncoding?: string
                                                                                                    responseType?: ResponseType
                                                                                                    socketPath?: null | string
                                                                                                    timeout?: number
                                                                                                    timeoutErrorMessage?: string
                                                                                                    transitional?: TransitionalOptions
                                                                                                    transport?: any
                                                                                                    url?: string
                                                                                                    validateStatus?: null | ((status: number) => boolean)
                                                                                                    withCredentials?: boolean
                                                                                                    withXSRFToken?:
                                                                                                        | boolean
                                                                                                        | ((config: InternalAxiosRequestConfig) => undefined | boolean)
                                                                                                    xsrfCookieName?: string
                                                                                                    xsrfHeaderName?: string
                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInstance.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInstance.html new file mode 100644 index 000000000..57a620a21 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInstance.html @@ -0,0 +1,15 @@ +AxiosInstance | trilium
                                                                                                    trilium
                                                                                                      Preparing search index...
                                                                                                      interface AxiosInstance {
                                                                                                          defaults: Omit<AxiosDefaults<any>, "headers"> & {
                                                                                                              headers: HeadersDefaults & { [key: string]: AxiosHeaderValue };
                                                                                                          };
                                                                                                          interceptors: {
                                                                                                              request: AxiosInterceptorManager<InternalAxiosRequestConfig<any>>;
                                                                                                              response: AxiosInterceptorManager<AxiosResponse<any, any>>;
                                                                                                          };
                                                                                                          delete<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          get<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          getUri(config?: AxiosRequestConfig<any>): string;
                                                                                                          head<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          options<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          patch<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              data?: D,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          patchForm<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              data?: D,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          post<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              data?: D,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          postForm<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              data?: D,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          put<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              data?: D,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          putForm<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              data?: D,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          request<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              config: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          <T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              config: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                          <T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                              url: string,
                                                                                                              config?: AxiosRequestConfig<D>,
                                                                                                          ): Promise<R>;
                                                                                                      }

                                                                                                      Hierarchy (View Summary)

                                                                                                      Index

                                                                                                      Properties

                                                                                                      defaults: Omit<AxiosDefaults<any>, "headers"> & {
                                                                                                          headers: HeadersDefaults & { [key: string]: AxiosHeaderValue };
                                                                                                      }
                                                                                                      interceptors: {
                                                                                                          request: AxiosInterceptorManager<InternalAxiosRequestConfig<any>>;
                                                                                                          response: AxiosInterceptorManager<AxiosResponse<any, any>>;
                                                                                                      }

                                                                                                      Methods

                                                                                                      post

                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInterceptorManager.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInterceptorManager.html new file mode 100644 index 000000000..9f92059d5 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInterceptorManager.html @@ -0,0 +1,4 @@ +AxiosInterceptorManager | trilium
                                                                                                      trilium
                                                                                                        Preparing search index...
                                                                                                        interface AxiosInterceptorManager<V> {
                                                                                                            use: V extends AxiosResponse<any, any>
                                                                                                                ? AxiosResponseInterceptorUse<V<V>>
                                                                                                                : AxiosRequestInterceptorUse<V>;
                                                                                                            clear(): void;
                                                                                                            eject(id: number): void;
                                                                                                        }

                                                                                                        Type Parameters

                                                                                                        • V
                                                                                                        Index

                                                                                                        Properties

                                                                                                        use +

                                                                                                        Methods

                                                                                                        Properties

                                                                                                        use: V extends AxiosResponse<any, any>
                                                                                                            ? AxiosResponseInterceptorUse<V<V>>
                                                                                                            : AxiosRequestInterceptorUse<V>

                                                                                                        Methods

                                                                                                        • Returns void

                                                                                                        • Parameters

                                                                                                          • id: number

                                                                                                          Returns void

                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInterceptorOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInterceptorOptions.html new file mode 100644 index 000000000..ebda83e39 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosInterceptorOptions.html @@ -0,0 +1,3 @@ +AxiosInterceptorOptions | trilium
                                                                                                        trilium
                                                                                                          Preparing search index...
                                                                                                          interface AxiosInterceptorOptions {
                                                                                                              runWhen?: (config: InternalAxiosRequestConfig) => boolean;
                                                                                                              synchronous?: boolean;
                                                                                                          }
                                                                                                          Index

                                                                                                          Properties

                                                                                                          Properties

                                                                                                          runWhen?: (config: InternalAxiosRequestConfig) => boolean
                                                                                                          synchronous?: boolean
                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosProgressEvent.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosProgressEvent.html new file mode 100644 index 000000000..b66eb611f --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosProgressEvent.html @@ -0,0 +1,11 @@ +AxiosProgressEvent | trilium
                                                                                                          trilium
                                                                                                            Preparing search index...
                                                                                                            interface AxiosProgressEvent {
                                                                                                                bytes: number;
                                                                                                                download?: boolean;
                                                                                                                estimated?: number;
                                                                                                                event?: any;
                                                                                                                lengthComputable: boolean;
                                                                                                                loaded: number;
                                                                                                                progress?: number;
                                                                                                                rate?: number;
                                                                                                                total?: number;
                                                                                                                upload?: boolean;
                                                                                                            }
                                                                                                            Index

                                                                                                            Properties

                                                                                                            bytes: number
                                                                                                            download?: boolean
                                                                                                            estimated?: number
                                                                                                            event?: any
                                                                                                            lengthComputable: boolean
                                                                                                            loaded: number
                                                                                                            progress?: number
                                                                                                            rate?: number
                                                                                                            total?: number
                                                                                                            upload?: boolean
                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosProxyConfig.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosProxyConfig.html new file mode 100644 index 000000000..b292a780a --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosProxyConfig.html @@ -0,0 +1,5 @@ +AxiosProxyConfig | trilium
                                                                                                            trilium
                                                                                                              Preparing search index...
                                                                                                              interface AxiosProxyConfig {
                                                                                                                  auth?: AxiosBasicCredentials;
                                                                                                                  host: string;
                                                                                                                  port: number;
                                                                                                                  protocol?: string;
                                                                                                              }
                                                                                                              Index

                                                                                                              Properties

                                                                                                              Properties

                                                                                                              host: string
                                                                                                              port: number
                                                                                                              protocol?: string
                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosRequestConfig.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosRequestConfig.html new file mode 100644 index 000000000..e4b85d381 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosRequestConfig.html @@ -0,0 +1,44 @@ +AxiosRequestConfig | trilium
                                                                                                              trilium
                                                                                                                Preparing search index...
                                                                                                                interface AxiosRequestConfig<D = any> {
                                                                                                                    adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
                                                                                                                    allowAbsoluteUrls?: boolean;
                                                                                                                    auth?: AxiosBasicCredentials;
                                                                                                                    baseURL?: string;
                                                                                                                    beforeRedirect?: (
                                                                                                                        options: Record<string, any>,
                                                                                                                        responseDetails: {
                                                                                                                            headers: Record<string, string>;
                                                                                                                            statusCode: HttpStatusCode;
                                                                                                                        },
                                                                                                                    ) => void;
                                                                                                                    cancelToken?: CancelToken;
                                                                                                                    data?: D;
                                                                                                                    decompress?: boolean;
                                                                                                                    env?: { FormData?: new (...args: any[]) => object };
                                                                                                                    family?: AddressFamily;
                                                                                                                    fetchOptions?: Record<string, any>;
                                                                                                                    formSerializer?: FormSerializerOptions;
                                                                                                                    headers?:
                                                                                                                        | AxiosHeaders
                                                                                                                        | Partial<
                                                                                                                            RawAxiosHeaders & {
                                                                                                                                Accept: AxiosHeaderValue;
                                                                                                                                Authorization: AxiosHeaderValue;
                                                                                                                                "Content-Encoding": AxiosHeaderValue;
                                                                                                                                "Content-Length": AxiosHeaderValue;
                                                                                                                                "User-Agent": AxiosHeaderValue;
                                                                                                                            } & { "Content-Type": ContentType },
                                                                                                                        > & Partial<
                                                                                                                            {
                                                                                                                                delete: AxiosHeaders;
                                                                                                                                get: AxiosHeaders;
                                                                                                                                head: AxiosHeaders;
                                                                                                                                link: AxiosHeaders;
                                                                                                                                options: AxiosHeaders;
                                                                                                                                patch: AxiosHeaders;
                                                                                                                                post: AxiosHeaders;
                                                                                                                                purge: AxiosHeaders;
                                                                                                                                put: AxiosHeaders;
                                                                                                                                unlink: AxiosHeaders;
                                                                                                                            } & { common: AxiosHeaders },
                                                                                                                        >;
                                                                                                                    httpAgent?: any;
                                                                                                                    httpsAgent?: any;
                                                                                                                    insecureHTTPParser?: boolean;
                                                                                                                    lookup?:
                                                                                                                        | (
                                                                                                                            (
                                                                                                                                hostname: string,
                                                                                                                                options: object,
                                                                                                                                cb: (
                                                                                                                                    err: null | Error,
                                                                                                                                    address: LookupAddress | LookupAddress[],
                                                                                                                                    family?: AddressFamily,
                                                                                                                                ) => void,
                                                                                                                            ) => void
                                                                                                                        )
                                                                                                                        | (
                                                                                                                            (
                                                                                                                                hostname: string,
                                                                                                                                options: object,
                                                                                                                            ) => Promise<
                                                                                                                                | LookupAddress
                                                                                                                                | [
                                                                                                                                    address: LookupAddressEntry
                                                                                                                                    | LookupAddressEntry[],
                                                                                                                                    family?: AddressFamily,
                                                                                                                                ],
                                                                                                                            >
                                                                                                                        );
                                                                                                                    maxBodyLength?: number;
                                                                                                                    maxContentLength?: number;
                                                                                                                    maxRate?: number | [number, number];
                                                                                                                    maxRedirects?: number;
                                                                                                                    method?: string;
                                                                                                                    onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
                                                                                                                    onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
                                                                                                                    params?: any;
                                                                                                                    paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
                                                                                                                    proxy?: false | AxiosProxyConfig;
                                                                                                                    responseEncoding?: string;
                                                                                                                    responseType?: ResponseType;
                                                                                                                    signal?: GenericAbortSignal;
                                                                                                                    socketPath?: null | string;
                                                                                                                    timeout?: number;
                                                                                                                    timeoutErrorMessage?: string;
                                                                                                                    transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
                                                                                                                    transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
                                                                                                                    transitional?: TransitionalOptions;
                                                                                                                    transport?: any;
                                                                                                                    url?: string;
                                                                                                                    validateStatus?: null | ((status: number) => boolean);
                                                                                                                    withCredentials?: boolean;
                                                                                                                    withXSRFToken?:
                                                                                                                        | boolean
                                                                                                                        | ((config: InternalAxiosRequestConfig) => undefined | boolean);
                                                                                                                    xsrfCookieName?: string;
                                                                                                                    xsrfHeaderName?: string;
                                                                                                                }

                                                                                                                Type Parameters

                                                                                                                • D = any

                                                                                                                Hierarchy (View Summary)

                                                                                                                Index

                                                                                                                Properties

                                                                                                                allowAbsoluteUrls?: boolean
                                                                                                                baseURL?: string
                                                                                                                beforeRedirect?: (
                                                                                                                    options: Record<string, any>,
                                                                                                                    responseDetails: {
                                                                                                                        headers: Record<string, string>;
                                                                                                                        statusCode: HttpStatusCode;
                                                                                                                    },
                                                                                                                ) => void
                                                                                                                cancelToken?: CancelToken
                                                                                                                data?: D
                                                                                                                decompress?: boolean
                                                                                                                env?: { FormData?: new (...args: any[]) => object }
                                                                                                                family?: AddressFamily
                                                                                                                fetchOptions?: Record<string, any>
                                                                                                                formSerializer?: FormSerializerOptions
                                                                                                                headers?:
                                                                                                                    | AxiosHeaders
                                                                                                                    | Partial<
                                                                                                                        RawAxiosHeaders & {
                                                                                                                            Accept: AxiosHeaderValue;
                                                                                                                            Authorization: AxiosHeaderValue;
                                                                                                                            "Content-Encoding": AxiosHeaderValue;
                                                                                                                            "Content-Length": AxiosHeaderValue;
                                                                                                                            "User-Agent": AxiosHeaderValue;
                                                                                                                        } & { "Content-Type": ContentType },
                                                                                                                    > & Partial<
                                                                                                                        {
                                                                                                                            delete: AxiosHeaders;
                                                                                                                            get: AxiosHeaders;
                                                                                                                            head: AxiosHeaders;
                                                                                                                            link: AxiosHeaders;
                                                                                                                            options: AxiosHeaders;
                                                                                                                            patch: AxiosHeaders;
                                                                                                                            post: AxiosHeaders;
                                                                                                                            purge: AxiosHeaders;
                                                                                                                            put: AxiosHeaders;
                                                                                                                            unlink: AxiosHeaders;
                                                                                                                        } & { common: AxiosHeaders },
                                                                                                                    >
                                                                                                                httpAgent?: any
                                                                                                                httpsAgent?: any
                                                                                                                insecureHTTPParser?: boolean
                                                                                                                lookup?:
                                                                                                                    | (
                                                                                                                        (
                                                                                                                            hostname: string,
                                                                                                                            options: object,
                                                                                                                            cb: (
                                                                                                                                err: null | Error,
                                                                                                                                address: LookupAddress | LookupAddress[],
                                                                                                                                family?: AddressFamily,
                                                                                                                            ) => void,
                                                                                                                        ) => void
                                                                                                                    )
                                                                                                                    | (
                                                                                                                        (
                                                                                                                            hostname: string,
                                                                                                                            options: object,
                                                                                                                        ) => Promise<
                                                                                                                            | LookupAddress
                                                                                                                            | [
                                                                                                                                address: LookupAddressEntry
                                                                                                                                | LookupAddressEntry[],
                                                                                                                                family?: AddressFamily,
                                                                                                                            ],
                                                                                                                        >
                                                                                                                    )
                                                                                                                maxBodyLength?: number
                                                                                                                maxContentLength?: number
                                                                                                                maxRate?: number | [number, number]
                                                                                                                maxRedirects?: number
                                                                                                                method?: string
                                                                                                                onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void
                                                                                                                onUploadProgress?: (progressEvent: AxiosProgressEvent) => void
                                                                                                                params?: any
                                                                                                                proxy?: false | AxiosProxyConfig
                                                                                                                responseEncoding?: string
                                                                                                                responseType?: ResponseType
                                                                                                                socketPath?: null | string
                                                                                                                timeout?: number
                                                                                                                timeoutErrorMessage?: string
                                                                                                                transitional?: TransitionalOptions
                                                                                                                transport?: any
                                                                                                                url?: string
                                                                                                                validateStatus?: null | ((status: number) => boolean)
                                                                                                                withCredentials?: boolean
                                                                                                                withXSRFToken?:
                                                                                                                    | boolean
                                                                                                                    | ((config: InternalAxiosRequestConfig) => undefined | boolean)
                                                                                                                xsrfCookieName?: string
                                                                                                                xsrfHeaderName?: string
                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosRequestTransformer.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosRequestTransformer.html new file mode 100644 index 000000000..b8af5d583 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosRequestTransformer.html @@ -0,0 +1 @@ +AxiosRequestTransformer | trilium
                                                                                                                trilium
                                                                                                                  Preparing search index...
                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosResponse.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosResponse.html new file mode 100644 index 000000000..7d5ace976 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosResponse.html @@ -0,0 +1,7 @@ +AxiosResponse | trilium
                                                                                                                  trilium
                                                                                                                    Preparing search index...
                                                                                                                    interface AxiosResponse<T = any, D = any> {
                                                                                                                        config: InternalAxiosRequestConfig<D>;
                                                                                                                        data: T;
                                                                                                                        headers:
                                                                                                                            | AxiosResponseHeaders
                                                                                                                            | Partial<
                                                                                                                                RawAxiosHeaders & {
                                                                                                                                    "Cache-Control": AxiosHeaderValue;
                                                                                                                                    "Content-Encoding": AxiosHeaderValue;
                                                                                                                                    "Content-Length": AxiosHeaderValue;
                                                                                                                                    "Content-Type": AxiosHeaderValue;
                                                                                                                                    Server: AxiosHeaderValue;
                                                                                                                                } & { "set-cookie": string[] },
                                                                                                                            >;
                                                                                                                        request?: any;
                                                                                                                        status: number;
                                                                                                                        statusText: string;
                                                                                                                    }

                                                                                                                    Type Parameters

                                                                                                                    • T = any
                                                                                                                    • D = any
                                                                                                                    Index

                                                                                                                    Properties

                                                                                                                    data: T
                                                                                                                    headers:
                                                                                                                        | AxiosResponseHeaders
                                                                                                                        | Partial<
                                                                                                                            RawAxiosHeaders & {
                                                                                                                                "Cache-Control": AxiosHeaderValue;
                                                                                                                                "Content-Encoding": AxiosHeaderValue;
                                                                                                                                "Content-Length": AxiosHeaderValue;
                                                                                                                                "Content-Type": AxiosHeaderValue;
                                                                                                                                Server: AxiosHeaderValue;
                                                                                                                            } & { "set-cookie": string[] },
                                                                                                                        >
                                                                                                                    request?: any
                                                                                                                    status: number
                                                                                                                    statusText: string
                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosResponseTransformer.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosResponseTransformer.html new file mode 100644 index 000000000..9d7ae9a49 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosResponseTransformer.html @@ -0,0 +1 @@ +AxiosResponseTransformer | trilium
                                                                                                                    trilium
                                                                                                                      Preparing search index...
                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosStatic.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosStatic.html new file mode 100644 index 000000000..7559baf0a --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.AxiosStatic.html @@ -0,0 +1,32 @@ +AxiosStatic | trilium
                                                                                                                      trilium
                                                                                                                        Preparing search index...
                                                                                                                        interface AxiosStatic {
                                                                                                                            all: <T>(values: (T | Promise<T>)[]) => Promise<T[]>;
                                                                                                                            Axios: typeof Axios;
                                                                                                                            AxiosError: typeof AxiosError;
                                                                                                                            AxiosHeaders: typeof AxiosHeaders;
                                                                                                                            Cancel: CancelStatic;
                                                                                                                            CanceledError: typeof CanceledError;
                                                                                                                            CancelToken: CancelTokenStatic;
                                                                                                                            defaults: Omit<AxiosDefaults<any>, "headers"> & {
                                                                                                                                headers: HeadersDefaults & { [key: string]: AxiosHeaderValue };
                                                                                                                            };
                                                                                                                            formToJSON: (form: GenericFormData | GenericHTMLFormElement) => object;
                                                                                                                            getAdapter: (
                                                                                                                                adapters: undefined | AxiosAdapterConfig | AxiosAdapterConfig[],
                                                                                                                            ) => AxiosAdapter;
                                                                                                                            HttpStatusCode: typeof HttpStatusCode;
                                                                                                                            interceptors: {
                                                                                                                                request: AxiosInterceptorManager<InternalAxiosRequestConfig<any>>;
                                                                                                                                response: AxiosInterceptorManager<AxiosResponse<any, any>>;
                                                                                                                            };
                                                                                                                            isAxiosError: <T = any, D = any>(
                                                                                                                                payload: any,
                                                                                                                            ) => payload is AxiosError<T, D>;
                                                                                                                            isCancel: (value: any) => value is Cancel;
                                                                                                                            mergeConfig: <D = any>(
                                                                                                                                config1: AxiosRequestConfig<D>,
                                                                                                                                config2: AxiosRequestConfig<D>,
                                                                                                                            ) => AxiosRequestConfig<D>;
                                                                                                                            spread: <T, R>(callback: (...args: T[]) => R) => (array: T[]) => R;
                                                                                                                            toFormData: (
                                                                                                                                sourceObj: object,
                                                                                                                                targetFormData?: GenericFormData,
                                                                                                                                options?: FormSerializerOptions,
                                                                                                                            ) => GenericFormData;
                                                                                                                            VERSION: string;
                                                                                                                            create(config?: CreateAxiosDefaults<any>): AxiosInstance;
                                                                                                                            delete<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            get<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            getUri(config?: AxiosRequestConfig<any>): string;
                                                                                                                            head<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            options<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            patch<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                data?: D,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            patchForm<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                data?: D,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            post<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                data?: D,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            postForm<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                data?: D,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            put<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                data?: D,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            putForm<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                data?: D,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            request<T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                config: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            <T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                config: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                            <T = any, R = AxiosResponse<T, any>, D = any>(
                                                                                                                                url: string,
                                                                                                                                config?: AxiosRequestConfig<D>,
                                                                                                                            ): Promise<R>;
                                                                                                                        }

                                                                                                                        Hierarchy (View Summary)

                                                                                                                        Index

                                                                                                                        Properties

                                                                                                                        all: <T>(values: (T | Promise<T>)[]) => Promise<T[]>
                                                                                                                        Axios: typeof Axios
                                                                                                                        AxiosError: typeof AxiosError
                                                                                                                        AxiosHeaders: typeof AxiosHeaders
                                                                                                                        Cancel: CancelStatic
                                                                                                                        CanceledError: typeof CanceledError
                                                                                                                        CancelToken: CancelTokenStatic
                                                                                                                        defaults: Omit<AxiosDefaults<any>, "headers"> & {
                                                                                                                            headers: HeadersDefaults & { [key: string]: AxiosHeaderValue };
                                                                                                                        }
                                                                                                                        formToJSON: (form: GenericFormData | GenericHTMLFormElement) => object
                                                                                                                        getAdapter: (
                                                                                                                            adapters: undefined | AxiosAdapterConfig | AxiosAdapterConfig[],
                                                                                                                        ) => AxiosAdapter
                                                                                                                        HttpStatusCode: typeof HttpStatusCode
                                                                                                                        interceptors: {
                                                                                                                            request: AxiosInterceptorManager<InternalAxiosRequestConfig<any>>;
                                                                                                                            response: AxiosInterceptorManager<AxiosResponse<any, any>>;
                                                                                                                        }
                                                                                                                        isAxiosError: <T = any, D = any>(payload: any) => payload is AxiosError<T, D>
                                                                                                                        isCancel: (value: any) => value is Cancel
                                                                                                                        mergeConfig: <D = any>(
                                                                                                                            config1: AxiosRequestConfig<D>,
                                                                                                                            config2: AxiosRequestConfig<D>,
                                                                                                                        ) => AxiosRequestConfig<D>
                                                                                                                        spread: <T, R>(callback: (...args: T[]) => R) => (array: T[]) => R
                                                                                                                        toFormData: (
                                                                                                                            sourceObj: object,
                                                                                                                            targetFormData?: GenericFormData,
                                                                                                                            options?: FormSerializerOptions,
                                                                                                                        ) => GenericFormData
                                                                                                                        VERSION: string

                                                                                                                        Methods

                                                                                                                        post

                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.BranchRow.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.BranchRow.html new file mode 100644 index 000000000..941a004d6 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.BranchRow.html @@ -0,0 +1,9 @@ +BranchRow | trilium
                                                                                                                        trilium
                                                                                                                          Preparing search index...
                                                                                                                          interface BranchRow {
                                                                                                                              branchId?: string;
                                                                                                                              isDeleted?: boolean;
                                                                                                                              isExpanded?: boolean;
                                                                                                                              noteId: string;
                                                                                                                              notePosition?: null | number;
                                                                                                                              parentNoteId: string;
                                                                                                                              prefix?: null | string;
                                                                                                                              utcDateModified?: string;
                                                                                                                          }
                                                                                                                          Index

                                                                                                                          Properties

                                                                                                                          branchId?: string
                                                                                                                          isDeleted?: boolean
                                                                                                                          isExpanded?: boolean
                                                                                                                          noteId: string
                                                                                                                          notePosition?: null | number
                                                                                                                          parentNoteId: string
                                                                                                                          prefix?: null | string
                                                                                                                          utcDateModified?: string
                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CallSite.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CallSite.html new file mode 100644 index 000000000..4ff835aa5 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CallSite.html @@ -0,0 +1,48 @@ +CallSite | trilium
                                                                                                                          trilium
                                                                                                                            Preparing search index...
                                                                                                                            interface CallSite {
                                                                                                                                getColumnNumber(): null | number;
                                                                                                                                getEnclosingColumnNumber(): number;
                                                                                                                                getEnclosingLineNumber(): number;
                                                                                                                                getEvalOrigin(): undefined | string;
                                                                                                                                getFileName(): undefined | string;
                                                                                                                                getFunction(): undefined | Function;
                                                                                                                                getFunctionName(): null | string;
                                                                                                                                getLineNumber(): null | number;
                                                                                                                                getMethodName(): null | string;
                                                                                                                                getPosition(): number;
                                                                                                                                getPromiseIndex(): null | number;
                                                                                                                                getScriptHash(): string;
                                                                                                                                getScriptNameOrSourceURL(): string;
                                                                                                                                getThis(): unknown;
                                                                                                                                getTypeName(): null | string;
                                                                                                                                isAsync(): boolean;
                                                                                                                                isConstructor(): boolean;
                                                                                                                                isEval(): boolean;
                                                                                                                                isNative(): boolean;
                                                                                                                                isPromiseAll(): boolean;
                                                                                                                                isToplevel(): boolean;
                                                                                                                                toString(): string;
                                                                                                                            }
                                                                                                                            Index

                                                                                                                            Methods

                                                                                                                            • Current column number [if this function was defined in a script]

                                                                                                                              +

                                                                                                                              Returns null | number

                                                                                                                            • Returns number

                                                                                                                            • Returns number

                                                                                                                            • A call site object representing the location where eval was called +[if this function was created using a call to eval]

                                                                                                                              +

                                                                                                                              Returns undefined | string

                                                                                                                            • Name of the script [if this function was defined in a script]

                                                                                                                              +

                                                                                                                              Returns undefined | string

                                                                                                                            • Current function

                                                                                                                              +

                                                                                                                              Returns undefined | Function

                                                                                                                            • Name of the current function, typically its name property. +If a name property is not available an attempt will be made to try +to infer a name from the function's context.

                                                                                                                              +

                                                                                                                              Returns null | string

                                                                                                                            • Current line number [if this function was defined in a script]

                                                                                                                              +

                                                                                                                              Returns null | number

                                                                                                                            • Name of the property [of "this" or one of its prototypes] that holds +the current function

                                                                                                                              +

                                                                                                                              Returns null | string

                                                                                                                            • Returns number

                                                                                                                            • returns the index of the promise element that was followed in +Promise.all() or Promise.any() for async stack traces, or null +if the CallSite is not an async

                                                                                                                              +

                                                                                                                              Returns null | number

                                                                                                                            • Returns string

                                                                                                                            • Returns string

                                                                                                                            • Value of "this"

                                                                                                                              +

                                                                                                                              Returns unknown

                                                                                                                            • Type of "this" as a string. +This is the name of the function stored in the constructor field of +"this", if available. Otherwise the object's [[Class]] internal +property.

                                                                                                                              +

                                                                                                                              Returns null | string

                                                                                                                            • is this an async call (i.e. await, Promise.all(), or Promise.any())?

                                                                                                                              +

                                                                                                                              Returns boolean

                                                                                                                            • Is this a constructor call?

                                                                                                                              +

                                                                                                                              Returns boolean

                                                                                                                            • Does this call take place in code defined by a call to eval?

                                                                                                                              +

                                                                                                                              Returns boolean

                                                                                                                            • Is this call in native V8 code?

                                                                                                                              +

                                                                                                                              Returns boolean

                                                                                                                            • is this an async call to Promise.all()?

                                                                                                                              +

                                                                                                                              Returns boolean

                                                                                                                            • Is this a toplevel invocation, that is, is "this" the global object?

                                                                                                                              +

                                                                                                                              Returns boolean

                                                                                                                            • Returns string

                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Cancel.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Cancel.html new file mode 100644 index 000000000..344a4dc6c --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Cancel.html @@ -0,0 +1,2 @@ +Cancel | trilium
                                                                                                                            trilium
                                                                                                                              Preparing search index...
                                                                                                                              interface Cancel {
                                                                                                                                  message: undefined | string;
                                                                                                                              }
                                                                                                                              Index

                                                                                                                              Properties

                                                                                                                              Properties

                                                                                                                              message: undefined | string
                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelStatic.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelStatic.html new file mode 100644 index 000000000..cd917cdab --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelStatic.html @@ -0,0 +1,2 @@ +CancelStatic | trilium
                                                                                                                              trilium
                                                                                                                                Preparing search index...
                                                                                                                                interface CancelStatic {
                                                                                                                                    new CancelStatic(message?: string): Cancel;
                                                                                                                                }
                                                                                                                                Index

                                                                                                                                Constructors

                                                                                                                                Constructors

                                                                                                                                • Parameters

                                                                                                                                  • Optionalmessage: string

                                                                                                                                  Returns Cancel

                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelToken.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelToken.html new file mode 100644 index 000000000..be9c3f3c4 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelToken.html @@ -0,0 +1,4 @@ +CancelToken | trilium
                                                                                                                                trilium
                                                                                                                                  Preparing search index...
                                                                                                                                  interface CancelToken {
                                                                                                                                      promise: Promise<Cancel>;
                                                                                                                                      reason?: Cancel;
                                                                                                                                      throwIfRequested(): void;
                                                                                                                                  }
                                                                                                                                  Index

                                                                                                                                  Properties

                                                                                                                                  Methods

                                                                                                                                  Properties

                                                                                                                                  promise: Promise<Cancel>
                                                                                                                                  reason?: Cancel

                                                                                                                                  Methods

                                                                                                                                  • Returns void

                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelTokenSource.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelTokenSource.html new file mode 100644 index 000000000..1afe57557 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelTokenSource.html @@ -0,0 +1,3 @@ +CancelTokenSource | trilium
                                                                                                                                  trilium
                                                                                                                                    Preparing search index...
                                                                                                                                    interface CancelTokenSource {
                                                                                                                                        cancel: Canceler;
                                                                                                                                        token: CancelToken;
                                                                                                                                    }
                                                                                                                                    Index

                                                                                                                                    Properties

                                                                                                                                    Properties

                                                                                                                                    cancel: Canceler
                                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelTokenStatic.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelTokenStatic.html new file mode 100644 index 000000000..e7f5dfd7e --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CancelTokenStatic.html @@ -0,0 +1,3 @@ +CancelTokenStatic | trilium
                                                                                                                                    trilium
                                                                                                                                      Preparing search index...
                                                                                                                                      interface CancelTokenStatic {
                                                                                                                                          new CancelTokenStatic(executor: (cancel: Canceler) => void): CancelToken;
                                                                                                                                          source(): CancelTokenSource;
                                                                                                                                      }
                                                                                                                                      Index

                                                                                                                                      Constructors

                                                                                                                                      Methods

                                                                                                                                      Constructors

                                                                                                                                      Methods

                                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Canceler.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Canceler.html new file mode 100644 index 000000000..19c686df0 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Canceler.html @@ -0,0 +1 @@ +Canceler | trilium
                                                                                                                                      trilium
                                                                                                                                        Preparing search index...
                                                                                                                                        • Parameters

                                                                                                                                          Returns void

                                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Cheerio.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Cheerio.html new file mode 100644 index 000000000..badc30c4f --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Cheerio.html @@ -0,0 +1,61 @@ +Cheerio | trilium
                                                                                                                                        trilium
                                                                                                                                          Preparing search index...
                                                                                                                                          interface Cheerio {
                                                                                                                                              cheerio: string;
                                                                                                                                              length: number;
                                                                                                                                              "[iterator]"(): IterableIterator<Element>;
                                                                                                                                              add(selectorOrHtml: string): Cheerio;
                                                                                                                                              add(selector: string, context: Document): Cheerio;
                                                                                                                                              add(element: Element): Cheerio;
                                                                                                                                              add(elements: Element[]): Cheerio;
                                                                                                                                              add(selection: Cheerio): Cheerio;
                                                                                                                                              addBack(): Cheerio;
                                                                                                                                              addBack(filter: string): Cheerio;
                                                                                                                                              addClass(classNames: string): Cheerio;
                                                                                                                                              after(content: string, ...contents: any[]): Cheerio;
                                                                                                                                              after(content: Document, ...contents: any[]): Cheerio;
                                                                                                                                              after(content: Document[], ...contents: any[]): Cheerio;
                                                                                                                                              after(content: Cheerio, ...contents: any[]): Cheerio;
                                                                                                                                              append(content: string, ...contents: any[]): Cheerio;
                                                                                                                                              append(content: Document, ...contents: any[]): Cheerio;
                                                                                                                                              append(content: Document[], ...contents: any[]): Cheerio;
                                                                                                                                              append(content: Cheerio, ...contents: any[]): Cheerio;
                                                                                                                                              appendTo(target: Cheerio): Cheerio;
                                                                                                                                              attr(): { [attr: string]: string };
                                                                                                                                              attr(name: string): undefined | string;
                                                                                                                                              attr(name: string, value: AttrFunction): Cheerio;
                                                                                                                                              attr(name: string, value: string): Cheerio;
                                                                                                                                              attr(map: { [key: string]: any }): Cheerio;
                                                                                                                                              before(content: string, ...contents: any[]): Cheerio;
                                                                                                                                              before(content: Document, ...contents: any[]): Cheerio;
                                                                                                                                              before(content: Document[], ...contents: any[]): Cheerio;
                                                                                                                                              before(content: Cheerio, ...contents: any[]): Cheerio;
                                                                                                                                              children(selector?: string): Cheerio;
                                                                                                                                              clone(): Cheerio;
                                                                                                                                              closest(): Cheerio;
                                                                                                                                              closest(selector: string): Cheerio;
                                                                                                                                              contents(): Cheerio;
                                                                                                                                              css(propertyName?: string): string;
                                                                                                                                              css(propertyNames: string[]): string[];
                                                                                                                                              css(propertyName: string, value: string): Cheerio;
                                                                                                                                              css(propertyName: string, value: number): Cheerio;
                                                                                                                                              css(
                                                                                                                                                  propertyName: string,
                                                                                                                                                  func: (index: number, value: string) => string,
                                                                                                                                              ): Cheerio;
                                                                                                                                              css(
                                                                                                                                                  propertyName: string,
                                                                                                                                                  func: (index: number, value: string) => number,
                                                                                                                                              ): Cheerio;
                                                                                                                                              css(properties: Object): Cheerio;
                                                                                                                                              data(): any;
                                                                                                                                              data(name: string): any;
                                                                                                                                              data(name: string, value: any): any;
                                                                                                                                              each(func: (index: number, element: Element) => any): Cheerio;
                                                                                                                                              empty(): Cheerio;
                                                                                                                                              end(): Cheerio;
                                                                                                                                              eq(index: number): Cheerio;
                                                                                                                                              filter(selector: string): Cheerio;
                                                                                                                                              filter(selection: Cheerio): Cheerio;
                                                                                                                                              filter(element: Element): Cheerio;
                                                                                                                                              filter(elements: Element[]): Cheerio;
                                                                                                                                              filter(func: (index: number, element: Element) => boolean): Cheerio;
                                                                                                                                              find(selector: string): Cheerio;
                                                                                                                                              find(element: Cheerio): Cheerio;
                                                                                                                                              first(): Cheerio;
                                                                                                                                              get(): any[];
                                                                                                                                              get(index: number): any;
                                                                                                                                              has(selector: string): Cheerio;
                                                                                                                                              has(element: Element): Cheerio;
                                                                                                                                              hasClass(className: string): boolean;
                                                                                                                                              html(): null | string;
                                                                                                                                              html(html: string): Cheerio;
                                                                                                                                              index(): number;
                                                                                                                                              index(selector: string): number;
                                                                                                                                              index(selection: Cheerio): number;
                                                                                                                                              insertAfter(content: string): Cheerio;
                                                                                                                                              insertAfter(content: Document): Cheerio;
                                                                                                                                              insertAfter(content: Cheerio): Cheerio;
                                                                                                                                              insertBefore(content: string): Cheerio;
                                                                                                                                              insertBefore(content: Document): Cheerio;
                                                                                                                                              insertBefore(content: Cheerio): Cheerio;
                                                                                                                                              is(selector: string): boolean;
                                                                                                                                              is(element: Element): boolean;
                                                                                                                                              is(element: Element[]): boolean;
                                                                                                                                              is(selection: Cheerio): boolean;
                                                                                                                                              is(func: (index: number, element: Element) => boolean): boolean;
                                                                                                                                              last(): Cheerio;
                                                                                                                                              map(func: (index: number, element: Element) => any): Cheerio;
                                                                                                                                              next(selector?: string): Cheerio;
                                                                                                                                              nextAll(): Cheerio;
                                                                                                                                              nextAll(selector: string): Cheerio;
                                                                                                                                              nextUntil(selector?: string, filter?: string): Cheerio;
                                                                                                                                              nextUntil(element: Element, filter?: string): Cheerio;
                                                                                                                                              nextUntil(element: Cheerio, filter?: string): Cheerio;
                                                                                                                                              not(selector: string): Cheerio;
                                                                                                                                              not(selection: Cheerio): Cheerio;
                                                                                                                                              not(element: Element): Cheerio;
                                                                                                                                              not(func: (index: number, element: Element) => boolean): Cheerio;
                                                                                                                                              parent(selector?: string): Cheerio;
                                                                                                                                              parents(selector?: string): Cheerio;
                                                                                                                                              parentsUntil(selector?: string, filter?: string): Cheerio;
                                                                                                                                              parentsUntil(element: Element, filter?: string): Cheerio;
                                                                                                                                              parentsUntil(element: Cheerio, filter?: string): Cheerio;
                                                                                                                                              prepend(content: string, ...contents: any[]): Cheerio;
                                                                                                                                              prepend(content: Document, ...contents: any[]): Cheerio;
                                                                                                                                              prepend(content: Document[], ...contents: any[]): Cheerio;
                                                                                                                                              prepend(content: Cheerio, ...contents: any[]): Cheerio;
                                                                                                                                              prependTo(target: Cheerio): Cheerio;
                                                                                                                                              prev(selector?: string): Cheerio;
                                                                                                                                              prevAll(): Cheerio;
                                                                                                                                              prevAll(selector: string): Cheerio;
                                                                                                                                              prevUntil(selector?: string, filter?: string): Cheerio;
                                                                                                                                              prevUntil(element: Element, filter?: string): Cheerio;
                                                                                                                                              prevUntil(element: Cheerio, filter?: string): Cheerio;
                                                                                                                                              prop(name: string): any;
                                                                                                                                              prop(name: string, value: any): Cheerio;
                                                                                                                                              remove(selector?: string): Cheerio;
                                                                                                                                              removeAttr(name: string): Cheerio;
                                                                                                                                              removeClass(): Cheerio;
                                                                                                                                              removeClass(className: string): Cheerio;
                                                                                                                                              removeClass(func: (index: number, className: string) => string): Cheerio;
                                                                                                                                              replaceWith(content: string): Cheerio;
                                                                                                                                              replaceWith(content: Element): Cheerio;
                                                                                                                                              replaceWith(content: Element[]): Cheerio;
                                                                                                                                              replaceWith(content: Cheerio): Cheerio;
                                                                                                                                              replaceWith(content: () => Cheerio): Cheerio;
                                                                                                                                              serialize(): string;
                                                                                                                                              serializeArray(): { name: string; value: string }[];
                                                                                                                                              siblings(selector?: string): Cheerio;
                                                                                                                                              slice(start: number, end?: number): Cheerio;
                                                                                                                                              text(): string;
                                                                                                                                              text(text: string): Cheerio;
                                                                                                                                              toArray(): Element[];
                                                                                                                                              toggleClass(className: string): Cheerio;
                                                                                                                                              toggleClass(className: string, toggleSwitch: boolean): Cheerio;
                                                                                                                                              toggleClass(toggleSwitch?: boolean): Cheerio;
                                                                                                                                              toggleClass(
                                                                                                                                                  func: (
                                                                                                                                                      index: number,
                                                                                                                                                      className: string,
                                                                                                                                                      toggleSwitch: boolean,
                                                                                                                                                  ) => string,
                                                                                                                                                  toggleSwitch?: boolean,
                                                                                                                                              ): Cheerio;
                                                                                                                                              val(): string;
                                                                                                                                              val(value: string): Cheerio;
                                                                                                                                              wrap(content: string): Cheerio;
                                                                                                                                              wrap(content: Document): Cheerio;
                                                                                                                                              wrap(content: Cheerio): Cheerio;
                                                                                                                                              [index: number]: Element;
                                                                                                                                          }

                                                                                                                                          Indexable

                                                                                                                                          Index

                                                                                                                                          Properties

                                                                                                                                          cheerio: string
                                                                                                                                          length: number

                                                                                                                                          Methods

                                                                                                                                          • Parameters

                                                                                                                                            • selectorOrHtml: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string
                                                                                                                                            • context: Document

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • filter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • classNames: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: string
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document[]
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: string
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document[]
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns { [attr: string]: string }

                                                                                                                                          • Parameters

                                                                                                                                            • name: string

                                                                                                                                            Returns undefined | string

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • name: string
                                                                                                                                            • value: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • map: { [key: string]: any }

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: string
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document[]
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • OptionalpropertyName: string

                                                                                                                                            Returns string

                                                                                                                                          • Parameters

                                                                                                                                            • propertyNames: string[]

                                                                                                                                            Returns string[]

                                                                                                                                          • Parameters

                                                                                                                                            • propertyName: string
                                                                                                                                            • value: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • propertyName: string
                                                                                                                                            • value: number

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • propertyName: string
                                                                                                                                            • func: (index: number, value: string) => string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • propertyName: string
                                                                                                                                            • func: (index: number, value: string) => number

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns any

                                                                                                                                          • Parameters

                                                                                                                                            • name: string

                                                                                                                                            Returns any

                                                                                                                                          • Parameters

                                                                                                                                            • name: string
                                                                                                                                            • value: any

                                                                                                                                            Returns any

                                                                                                                                          • Parameters

                                                                                                                                            • func: (index: number, element: Element) => any

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • index: number

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • func: (index: number, element: Element) => boolean

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Returns any[]

                                                                                                                                          • Parameters

                                                                                                                                            • index: number

                                                                                                                                            Returns any

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • className: string

                                                                                                                                            Returns boolean

                                                                                                                                          • Returns null | string

                                                                                                                                          • Parameters

                                                                                                                                            • html: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns number

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns number

                                                                                                                                          • Parameters

                                                                                                                                            Returns number

                                                                                                                                          • Parameters

                                                                                                                                            • content: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns boolean

                                                                                                                                          • Parameters

                                                                                                                                            Returns boolean

                                                                                                                                          • Parameters

                                                                                                                                            Returns boolean

                                                                                                                                          • Parameters

                                                                                                                                            Returns boolean

                                                                                                                                          • Parameters

                                                                                                                                            • func: (index: number, element: Element) => boolean

                                                                                                                                            Returns boolean

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • func: (index: number, element: Element) => any

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • element: Element
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • element: Cheerio
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • func: (index: number, element: Element) => boolean

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • element: Element
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • element: Cheerio
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: string
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document[]
                                                                                                                                            • ...contents: any[]

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • selector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • element: Element
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • element: Cheerio
                                                                                                                                            • Optionalfilter: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • name: string

                                                                                                                                            Returns any

                                                                                                                                          • Parameters

                                                                                                                                            • name: string
                                                                                                                                            • value: any

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • name: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • className: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • func: (index: number, className: string) => string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns string

                                                                                                                                          • Returns { name: string; value: string }[]

                                                                                                                                          • Parameters

                                                                                                                                            • Optionalselector: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • start: number
                                                                                                                                            • Optionalend: number

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns string

                                                                                                                                          • Parameters

                                                                                                                                            • text: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns Element[]

                                                                                                                                          • Parameters

                                                                                                                                            • className: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • className: string
                                                                                                                                            • toggleSwitch: boolean

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • OptionaltoggleSwitch: boolean

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • func: (index: number, className: string, toggleSwitch: boolean) => string
                                                                                                                                            • OptionaltoggleSwitch: boolean

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Returns string

                                                                                                                                          • Parameters

                                                                                                                                            • value: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: string

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            • content: Document

                                                                                                                                            Returns Cheerio

                                                                                                                                          • Parameters

                                                                                                                                            Returns Cheerio

                                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CheerioAPI.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CheerioAPI.html new file mode 100644 index 000000000..6f477ceac --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CheerioAPI.html @@ -0,0 +1,8 @@ +CheerioAPI | trilium
                                                                                                                                          trilium
                                                                                                                                            Preparing search index...
                                                                                                                                            interface CheerioAPI {
                                                                                                                                                version: string;
                                                                                                                                                contains(container: Element, contained: Element): boolean;
                                                                                                                                                html(options?: CheerioParserOptions): string;
                                                                                                                                                html(
                                                                                                                                                    dom: string | Element | Cheerio,
                                                                                                                                                    options?: CheerioParserOptions,
                                                                                                                                                ): string;
                                                                                                                                                load(
                                                                                                                                                    html: string | Buffer<ArrayBufferLike>,
                                                                                                                                                    options?: CheerioParserOptions,
                                                                                                                                                ): Root;
                                                                                                                                                load(element: Element | Element[], options?: CheerioParserOptions): Root;
                                                                                                                                                parseHTML(
                                                                                                                                                    data: string,
                                                                                                                                                    context?: null | Document,
                                                                                                                                                    keepScripts?: boolean,
                                                                                                                                                ): Document[];
                                                                                                                                                root(): Cheerio;
                                                                                                                                                xml(dom?: string | Element | Cheerio): string;
                                                                                                                                                (selector: string): Cheerio;
                                                                                                                                                (selector: string, context: string): Cheerio;
                                                                                                                                                (selector: string, context: Element): Cheerio;
                                                                                                                                                (selector: string, context: Element[]): Cheerio;
                                                                                                                                                (selector: string, context: Cheerio): Cheerio;
                                                                                                                                                (selector: string, context: string, root: string): Cheerio;
                                                                                                                                                (selector: string, context: Element, root: string): Cheerio;
                                                                                                                                                (selector: string, context: Element[], root: string): Cheerio;
                                                                                                                                                (selector: string, context: Cheerio, root: string): Cheerio;
                                                                                                                                                (selector: any): Cheerio;
                                                                                                                                            }

                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                            • Parameters

                                                                                                                                              • selector: string

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              • selector: string
                                                                                                                                              • context: string

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              • selector: string
                                                                                                                                              • context: string
                                                                                                                                              • root: string

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              • selector: string
                                                                                                                                              • context: Element
                                                                                                                                              • root: string

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              • selector: string
                                                                                                                                              • context: Element[]
                                                                                                                                              • root: string

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              • selector: string
                                                                                                                                              • context: Cheerio
                                                                                                                                              • root: string

                                                                                                                                              Returns Cheerio

                                                                                                                                            • Parameters

                                                                                                                                              • selector: any

                                                                                                                                              Returns Cheerio

                                                                                                                                            Index

                                                                                                                                            Properties

                                                                                                                                            Methods

                                                                                                                                            Properties

                                                                                                                                            version: string

                                                                                                                                            Methods

                                                                                                                                            • Parameters

                                                                                                                                              • data: string
                                                                                                                                              • Optionalcontext: null | Document
                                                                                                                                              • OptionalkeepScripts: boolean

                                                                                                                                              Returns Document[]

                                                                                                                                            • Parameters

                                                                                                                                              Returns string

                                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CheerioParserOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CheerioParserOptions.html new file mode 100644 index 000000000..7faf2fd89 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CheerioParserOptions.html @@ -0,0 +1,12 @@ +CheerioParserOptions | trilium
                                                                                                                                            trilium
                                                                                                                                              Preparing search index...
                                                                                                                                              interface CheerioParserOptions {
                                                                                                                                                  _useHtmlParser2?: boolean;
                                                                                                                                                  decodeEntities?: boolean;
                                                                                                                                                  ignoreWhitespace?: boolean;
                                                                                                                                                  lowerCaseAttributeNames?: boolean;
                                                                                                                                                  lowerCaseTags?: boolean;
                                                                                                                                                  normalizeWhitespace?: boolean;
                                                                                                                                                  recognizeCDATA?: boolean;
                                                                                                                                                  recognizeSelfClosing?: boolean;
                                                                                                                                                  withEndIndices?: boolean;
                                                                                                                                                  withStartIndices?: boolean;
                                                                                                                                                  xmlMode?: boolean;
                                                                                                                                              }
                                                                                                                                              Index

                                                                                                                                              Properties

                                                                                                                                              _useHtmlParser2?: boolean
                                                                                                                                              decodeEntities?: boolean
                                                                                                                                              ignoreWhitespace?: boolean
                                                                                                                                              lowerCaseAttributeNames?: boolean
                                                                                                                                              lowerCaseTags?: boolean
                                                                                                                                              normalizeWhitespace?: boolean
                                                                                                                                              recognizeCDATA?: boolean
                                                                                                                                              recognizeSelfClosing?: boolean
                                                                                                                                              withEndIndices?: boolean
                                                                                                                                              withStartIndices?: boolean
                                                                                                                                              xmlMode?: boolean
                                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CloneResponse.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CloneResponse.html new file mode 100644 index 000000000..54cf61d53 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CloneResponse.html @@ -0,0 +1,5 @@ +CloneResponse | trilium
                                                                                                                                              trilium
                                                                                                                                                Preparing search index...
                                                                                                                                                interface CloneResponse {
                                                                                                                                                    branchId?: string;
                                                                                                                                                    message?: string;
                                                                                                                                                    notePath?: string;
                                                                                                                                                    success: boolean;
                                                                                                                                                }
                                                                                                                                                Index

                                                                                                                                                Properties

                                                                                                                                                branchId?: string
                                                                                                                                                message?: string
                                                                                                                                                notePath?: string
                                                                                                                                                success: boolean
                                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CommentElement.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CommentElement.html new file mode 100644 index 000000000..c69e3d1b7 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CommentElement.html @@ -0,0 +1,8 @@ +CommentElement | trilium
                                                                                                                                                trilium
                                                                                                                                                  Preparing search index...
                                                                                                                                                  interface CommentElement {
                                                                                                                                                      data?: string;
                                                                                                                                                      endIndex?: number;
                                                                                                                                                      next: null | Element;
                                                                                                                                                      parent: Element;
                                                                                                                                                      prev: null | Element;
                                                                                                                                                      startIndex?: number;
                                                                                                                                                      type: "comment";
                                                                                                                                                  }
                                                                                                                                                  Index

                                                                                                                                                  Properties

                                                                                                                                                  data?: string
                                                                                                                                                  endIndex?: number
                                                                                                                                                  next: null | Element
                                                                                                                                                  parent: Element
                                                                                                                                                  prev: null | Element
                                                                                                                                                  startIndex?: number
                                                                                                                                                  type: "comment"
                                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-1.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-1.html new file mode 100644 index 000000000..7f47be31f --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-1.html @@ -0,0 +1,3 @@ +ContentOpts | trilium
                                                                                                                                                  trilium
                                                                                                                                                    Preparing search index...
                                                                                                                                                    interface ContentOpts {
                                                                                                                                                        forceFrontendReload?: boolean;
                                                                                                                                                        forceSave?: boolean;
                                                                                                                                                    }
                                                                                                                                                    Index

                                                                                                                                                    Properties

                                                                                                                                                    forceFrontendReload?: boolean
                                                                                                                                                    forceSave?: boolean
                                                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-2.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-2.html new file mode 100644 index 000000000..4f8a4b14e --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-2.html @@ -0,0 +1,6 @@ +ContentOpts | trilium
                                                                                                                                                    trilium
                                                                                                                                                      Preparing search index...
                                                                                                                                                      interface ContentOpts {
                                                                                                                                                          forceFrontendReload?: boolean;
                                                                                                                                                          forceFullSave?: boolean;
                                                                                                                                                          forceSave?: boolean;
                                                                                                                                                      }
                                                                                                                                                      Index

                                                                                                                                                      Properties

                                                                                                                                                      forceFrontendReload?: boolean

                                                                                                                                                      override frontend heuristics on when to reload, instruct to reload

                                                                                                                                                      +
                                                                                                                                                      forceFullSave?: boolean

                                                                                                                                                      will also save this BAttachment entity

                                                                                                                                                      +
                                                                                                                                                      forceSave?: boolean
                                                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-3.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-3.html new file mode 100644 index 000000000..6520d543f --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts-3.html @@ -0,0 +1,3 @@ +ContentOpts | trilium
                                                                                                                                                      trilium
                                                                                                                                                        Preparing search index...
                                                                                                                                                        interface ContentOpts {
                                                                                                                                                            forceSave?: boolean;
                                                                                                                                                        }
                                                                                                                                                        Index

                                                                                                                                                        Properties

                                                                                                                                                        Properties

                                                                                                                                                        forceSave?: boolean

                                                                                                                                                        will also save this BRevision entity

                                                                                                                                                        +
                                                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts.html new file mode 100644 index 000000000..5ad8df8f0 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ContentOpts.html @@ -0,0 +1,5 @@ +ContentOpts | trilium
                                                                                                                                                        trilium
                                                                                                                                                          Preparing search index...
                                                                                                                                                          interface ContentOpts {
                                                                                                                                                              forceFrontendReload?: boolean;
                                                                                                                                                              forceSave?: boolean;
                                                                                                                                                          }
                                                                                                                                                          Index

                                                                                                                                                          Properties

                                                                                                                                                          forceFrontendReload?: boolean

                                                                                                                                                          override frontend heuristics on when to reload, instruct to reload

                                                                                                                                                          +
                                                                                                                                                          forceSave?: boolean

                                                                                                                                                          will also save this BNote entity

                                                                                                                                                          +
                                                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ConvertOpts.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ConvertOpts.html new file mode 100644 index 000000000..bc3dd4c56 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ConvertOpts.html @@ -0,0 +1,3 @@ +ConvertOpts | trilium
                                                                                                                                                          trilium
                                                                                                                                                            Preparing search index...
                                                                                                                                                            interface ConvertOpts {
                                                                                                                                                                autoConversion?: boolean;
                                                                                                                                                            }
                                                                                                                                                            Index

                                                                                                                                                            Properties

                                                                                                                                                            Properties

                                                                                                                                                            autoConversion?: boolean

                                                                                                                                                            if true, the action is not triggered by user, but e.g. by migration, and only perfect candidates will be migrated

                                                                                                                                                            +
                                                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CreateAxiosDefaults.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CreateAxiosDefaults.html new file mode 100644 index 000000000..93b7c4a5b --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CreateAxiosDefaults.html @@ -0,0 +1,45 @@ +CreateAxiosDefaults | trilium
                                                                                                                                                            trilium
                                                                                                                                                              Preparing search index...

                                                                                                                                                              Construct a type with the properties of T except for those in type K.

                                                                                                                                                              +
                                                                                                                                                              interface CreateAxiosDefaults<D = any> {
                                                                                                                                                                  adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
                                                                                                                                                                  allowAbsoluteUrls?: boolean;
                                                                                                                                                                  auth?: AxiosBasicCredentials;
                                                                                                                                                                  baseURL?: string;
                                                                                                                                                                  beforeRedirect?: (
                                                                                                                                                                      options: Record<string, any>,
                                                                                                                                                                      responseDetails: {
                                                                                                                                                                          headers: Record<string, string>;
                                                                                                                                                                          statusCode: HttpStatusCode;
                                                                                                                                                                      },
                                                                                                                                                                  ) => void;
                                                                                                                                                                  cancelToken?: CancelToken;
                                                                                                                                                                  data?: D;
                                                                                                                                                                  decompress?: boolean;
                                                                                                                                                                  env?: { FormData?: new (...args: any[]) => object };
                                                                                                                                                                  family?: AddressFamily;
                                                                                                                                                                  fetchOptions?: Record<string, any>;
                                                                                                                                                                  formSerializer?: FormSerializerOptions;
                                                                                                                                                                  headers?:
                                                                                                                                                                      | AxiosHeaders
                                                                                                                                                                      | Partial<HeadersDefaults>
                                                                                                                                                                      | Partial<
                                                                                                                                                                          RawAxiosHeaders & {
                                                                                                                                                                              Accept: AxiosHeaderValue;
                                                                                                                                                                              Authorization: AxiosHeaderValue;
                                                                                                                                                                              "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                              "Content-Length": AxiosHeaderValue;
                                                                                                                                                                              "User-Agent": AxiosHeaderValue;
                                                                                                                                                                          } & { "Content-Type": ContentType },
                                                                                                                                                                      >;
                                                                                                                                                                  httpAgent?: any;
                                                                                                                                                                  httpsAgent?: any;
                                                                                                                                                                  insecureHTTPParser?: boolean;
                                                                                                                                                                  lookup?:
                                                                                                                                                                      | (
                                                                                                                                                                          (
                                                                                                                                                                              hostname: string,
                                                                                                                                                                              options: object,
                                                                                                                                                                              cb: (
                                                                                                                                                                                  err: null | Error,
                                                                                                                                                                                  address: LookupAddress | LookupAddress[],
                                                                                                                                                                                  family?: AddressFamily,
                                                                                                                                                                              ) => void,
                                                                                                                                                                          ) => void
                                                                                                                                                                      )
                                                                                                                                                                      | (
                                                                                                                                                                          (
                                                                                                                                                                              hostname: string,
                                                                                                                                                                              options: object,
                                                                                                                                                                          ) => Promise<
                                                                                                                                                                              | LookupAddress
                                                                                                                                                                              | [
                                                                                                                                                                                  address: LookupAddressEntry
                                                                                                                                                                                  | LookupAddressEntry[],
                                                                                                                                                                                  family?: AddressFamily,
                                                                                                                                                                              ],
                                                                                                                                                                          >
                                                                                                                                                                      );
                                                                                                                                                                  maxBodyLength?: number;
                                                                                                                                                                  maxContentLength?: number;
                                                                                                                                                                  maxRate?: number | [number, number];
                                                                                                                                                                  maxRedirects?: number;
                                                                                                                                                                  method?: string;
                                                                                                                                                                  onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
                                                                                                                                                                  onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
                                                                                                                                                                  params?: any;
                                                                                                                                                                  paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
                                                                                                                                                                  proxy?: false | AxiosProxyConfig;
                                                                                                                                                                  responseEncoding?: string;
                                                                                                                                                                  responseType?: ResponseType;
                                                                                                                                                                  signal?: GenericAbortSignal;
                                                                                                                                                                  socketPath?: null | string;
                                                                                                                                                                  timeout?: number;
                                                                                                                                                                  timeoutErrorMessage?: string;
                                                                                                                                                                  transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
                                                                                                                                                                  transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
                                                                                                                                                                  transitional?: TransitionalOptions;
                                                                                                                                                                  transport?: any;
                                                                                                                                                                  url?: string;
                                                                                                                                                                  validateStatus?: null | ((status: number) => boolean);
                                                                                                                                                                  withCredentials?: boolean;
                                                                                                                                                                  withXSRFToken?:
                                                                                                                                                                      | boolean
                                                                                                                                                                      | ((config: InternalAxiosRequestConfig) => undefined | boolean);
                                                                                                                                                                  xsrfCookieName?: string;
                                                                                                                                                                  xsrfHeaderName?: string;
                                                                                                                                                              }

                                                                                                                                                              Type Parameters

                                                                                                                                                              • D = any

                                                                                                                                                              Hierarchy (View Summary)

                                                                                                                                                              Index

                                                                                                                                                              Properties

                                                                                                                                                              allowAbsoluteUrls?: boolean
                                                                                                                                                              baseURL?: string
                                                                                                                                                              beforeRedirect?: (
                                                                                                                                                                  options: Record<string, any>,
                                                                                                                                                                  responseDetails: {
                                                                                                                                                                      headers: Record<string, string>;
                                                                                                                                                                      statusCode: HttpStatusCode;
                                                                                                                                                                  },
                                                                                                                                                              ) => void
                                                                                                                                                              cancelToken?: CancelToken
                                                                                                                                                              data?: D
                                                                                                                                                              decompress?: boolean
                                                                                                                                                              env?: { FormData?: new (...args: any[]) => object }
                                                                                                                                                              family?: AddressFamily
                                                                                                                                                              fetchOptions?: Record<string, any>
                                                                                                                                                              formSerializer?: FormSerializerOptions
                                                                                                                                                              headers?:
                                                                                                                                                                  | AxiosHeaders
                                                                                                                                                                  | Partial<HeadersDefaults>
                                                                                                                                                                  | Partial<
                                                                                                                                                                      RawAxiosHeaders & {
                                                                                                                                                                          Accept: AxiosHeaderValue;
                                                                                                                                                                          Authorization: AxiosHeaderValue;
                                                                                                                                                                          "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                          "Content-Length": AxiosHeaderValue;
                                                                                                                                                                          "User-Agent": AxiosHeaderValue;
                                                                                                                                                                      } & { "Content-Type": ContentType },
                                                                                                                                                                  >
                                                                                                                                                              httpAgent?: any
                                                                                                                                                              httpsAgent?: any
                                                                                                                                                              insecureHTTPParser?: boolean
                                                                                                                                                              lookup?:
                                                                                                                                                                  | (
                                                                                                                                                                      (
                                                                                                                                                                          hostname: string,
                                                                                                                                                                          options: object,
                                                                                                                                                                          cb: (
                                                                                                                                                                              err: null | Error,
                                                                                                                                                                              address: LookupAddress | LookupAddress[],
                                                                                                                                                                              family?: AddressFamily,
                                                                                                                                                                          ) => void,
                                                                                                                                                                      ) => void
                                                                                                                                                                  )
                                                                                                                                                                  | (
                                                                                                                                                                      (
                                                                                                                                                                          hostname: string,
                                                                                                                                                                          options: object,
                                                                                                                                                                      ) => Promise<
                                                                                                                                                                          | LookupAddress
                                                                                                                                                                          | [
                                                                                                                                                                              address: LookupAddressEntry
                                                                                                                                                                              | LookupAddressEntry[],
                                                                                                                                                                              family?: AddressFamily,
                                                                                                                                                                          ],
                                                                                                                                                                      >
                                                                                                                                                                  )
                                                                                                                                                              maxBodyLength?: number
                                                                                                                                                              maxContentLength?: number
                                                                                                                                                              maxRate?: number | [number, number]
                                                                                                                                                              maxRedirects?: number
                                                                                                                                                              method?: string
                                                                                                                                                              onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void
                                                                                                                                                              onUploadProgress?: (progressEvent: AxiosProgressEvent) => void
                                                                                                                                                              params?: any
                                                                                                                                                              proxy?: false | AxiosProxyConfig
                                                                                                                                                              responseEncoding?: string
                                                                                                                                                              responseType?: ResponseType
                                                                                                                                                              socketPath?: null | string
                                                                                                                                                              timeout?: number
                                                                                                                                                              timeoutErrorMessage?: string
                                                                                                                                                              transitional?: TransitionalOptions
                                                                                                                                                              transport?: any
                                                                                                                                                              url?: string
                                                                                                                                                              validateStatus?: null | ((status: number) => boolean)
                                                                                                                                                              withCredentials?: boolean
                                                                                                                                                              withXSRFToken?:
                                                                                                                                                                  | boolean
                                                                                                                                                                  | ((config: InternalAxiosRequestConfig) => undefined | boolean)
                                                                                                                                                              xsrfCookieName?: string
                                                                                                                                                              xsrfHeaderName?: string
                                                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CustomParamsSerializer.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CustomParamsSerializer.html new file mode 100644 index 000000000..366476c73 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.CustomParamsSerializer.html @@ -0,0 +1 @@ +CustomParamsSerializer | trilium
                                                                                                                                                              trilium
                                                                                                                                                                Preparing search index...
                                                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.DefinitionObject.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.DefinitionObject.html new file mode 100644 index 000000000..0e08baece --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.DefinitionObject.html @@ -0,0 +1,7 @@ +DefinitionObject | trilium
                                                                                                                                                                trilium
                                                                                                                                                                  Preparing search index...
                                                                                                                                                                  interface DefinitionObject {
                                                                                                                                                                      inverseRelation?: string;
                                                                                                                                                                      isPromoted?: boolean;
                                                                                                                                                                      labelType?: string;
                                                                                                                                                                      multiplicity?: string;
                                                                                                                                                                      numberPrecision?: number;
                                                                                                                                                                      promotedAlias?: string;
                                                                                                                                                                  }
                                                                                                                                                                  Index

                                                                                                                                                                  Properties

                                                                                                                                                                  inverseRelation?: string
                                                                                                                                                                  isPromoted?: boolean
                                                                                                                                                                  labelType?: string
                                                                                                                                                                  multiplicity?: string
                                                                                                                                                                  numberPrecision?: number
                                                                                                                                                                  promotedAlias?: string
                                                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Disposable.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Disposable.html new file mode 100644 index 000000000..ad11cfd7d --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Disposable.html @@ -0,0 +1,2 @@ +Disposable | trilium
                                                                                                                                                                  trilium
                                                                                                                                                                    Preparing search index...
                                                                                                                                                                    interface Disposable {
                                                                                                                                                                        "[dispose]"(): void;
                                                                                                                                                                    }
                                                                                                                                                                    Index

                                                                                                                                                                    Methods

                                                                                                                                                                    Methods

                                                                                                                                                                    • Returns void

                                                                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EtapiTokenRow.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EtapiTokenRow.html new file mode 100644 index 000000000..cbcc95c47 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EtapiTokenRow.html @@ -0,0 +1,7 @@ +EtapiTokenRow | trilium
                                                                                                                                                                    trilium
                                                                                                                                                                      Preparing search index...
                                                                                                                                                                      interface EtapiTokenRow {
                                                                                                                                                                          etapiTokenId?: string;
                                                                                                                                                                          isDeleted?: boolean;
                                                                                                                                                                          name: string;
                                                                                                                                                                          tokenHash: string;
                                                                                                                                                                          utcDateCreated?: string;
                                                                                                                                                                          utcDateModified?: string;
                                                                                                                                                                      }
                                                                                                                                                                      Index

                                                                                                                                                                      Properties

                                                                                                                                                                      etapiTokenId?: string
                                                                                                                                                                      isDeleted?: boolean
                                                                                                                                                                      name: string
                                                                                                                                                                      tokenHash: string
                                                                                                                                                                      utcDateCreated?: string
                                                                                                                                                                      utcDateModified?: string
                                                                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.Abortable.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.Abortable.html new file mode 100644 index 000000000..2764e0718 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.Abortable.html @@ -0,0 +1,3 @@ +Abortable | trilium
                                                                                                                                                                      trilium
                                                                                                                                                                        Preparing search index...
                                                                                                                                                                        interface Abortable {
                                                                                                                                                                            signal?: AbortSignal;
                                                                                                                                                                        }
                                                                                                                                                                        Index

                                                                                                                                                                        Properties

                                                                                                                                                                        Properties

                                                                                                                                                                        signal?: AbortSignal

                                                                                                                                                                        When provided the corresponding AbortController can be used to cancel an asynchronous action.

                                                                                                                                                                        +
                                                                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.EventEmitterAsyncResourceOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.EventEmitterAsyncResourceOptions.html new file mode 100644 index 000000000..d5640fc8b --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.EventEmitterAsyncResourceOptions.html @@ -0,0 +1,22 @@ +EventEmitterAsyncResourceOptions | trilium
                                                                                                                                                                        trilium
                                                                                                                                                                          Preparing search index...
                                                                                                                                                                          interface EventEmitterAsyncResourceOptions {
                                                                                                                                                                              captureRejections?: boolean;
                                                                                                                                                                              name?: string;
                                                                                                                                                                              requireManualDestroy?: boolean;
                                                                                                                                                                              triggerAsyncId?: number;
                                                                                                                                                                          }

                                                                                                                                                                          Hierarchy (View Summary)

                                                                                                                                                                          Index

                                                                                                                                                                          Properties

                                                                                                                                                                          captureRejections?: boolean

                                                                                                                                                                          Enables automatic capturing of promise rejection.

                                                                                                                                                                          +
                                                                                                                                                                          name?: string

                                                                                                                                                                          The type of async event, this is required when instantiating EventEmitterAsyncResource +directly rather than as a child class.

                                                                                                                                                                          +
                                                                                                                                                                          new.target.name if instantiated as a child class.
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          requireManualDestroy?: boolean

                                                                                                                                                                          Disables automatic emitDestroy when the object is garbage collected. +This usually does not need to be set (even if emitDestroy is called +manually), unless the resource's asyncId is retrieved and the +sensitive API's emitDestroy is called with it.

                                                                                                                                                                          +
                                                                                                                                                                          false
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          triggerAsyncId?: number

                                                                                                                                                                          The ID of the execution context that created this async event.

                                                                                                                                                                          +
                                                                                                                                                                          executionAsyncId()
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.EventEmitterReferencingAsyncResource.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.EventEmitterReferencingAsyncResource.html new file mode 100644 index 000000000..941d23ad9 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.EventEmitterReferencingAsyncResource.html @@ -0,0 +1,33 @@ +EventEmitterReferencingAsyncResource | trilium
                                                                                                                                                                          trilium
                                                                                                                                                                            Preparing search index...

                                                                                                                                                                            The class AsyncResource is designed to be extended by the embedder's async +resources. Using this, users can easily trigger the lifetime events of their +own resources.

                                                                                                                                                                            +

                                                                                                                                                                            The init hook will trigger when an AsyncResource is instantiated.

                                                                                                                                                                            +

                                                                                                                                                                            The following is an overview of the AsyncResource API.

                                                                                                                                                                            +
                                                                                                                                                                            import { AsyncResource, executionAsyncId } from 'node:async_hooks';

                                                                                                                                                                            // AsyncResource() is meant to be extended. Instantiating a
                                                                                                                                                                            // new AsyncResource() also triggers init. If triggerAsyncId is omitted then
                                                                                                                                                                            // async_hook.executionAsyncId() is used.
                                                                                                                                                                            const asyncResource = new AsyncResource(
                                                                                                                                                                            type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false },
                                                                                                                                                                            );

                                                                                                                                                                            // Run a function in the execution context of the resource. This will
                                                                                                                                                                            // * establish the context of the resource
                                                                                                                                                                            // * trigger the AsyncHooks before callbacks
                                                                                                                                                                            // * call the provided function `fn` with the supplied arguments
                                                                                                                                                                            // * trigger the AsyncHooks after callbacks
                                                                                                                                                                            // * restore the original execution context
                                                                                                                                                                            asyncResource.runInAsyncScope(fn, thisArg, ...args);

                                                                                                                                                                            // Call AsyncHooks destroy callbacks.
                                                                                                                                                                            asyncResource.emitDestroy();

                                                                                                                                                                            // Return the unique ID assigned to the AsyncResource instance.
                                                                                                                                                                            asyncResource.asyncId();

                                                                                                                                                                            // Return the trigger ID for the AsyncResource instance.
                                                                                                                                                                            asyncResource.triggerAsyncId(); +
                                                                                                                                                                            + +
                                                                                                                                                                            interface EventEmitterReferencingAsyncResource {
                                                                                                                                                                                eventEmitter: EventEmitterAsyncResource;
                                                                                                                                                                                asyncId(): number;
                                                                                                                                                                                bind<Func extends (...args: any[]) => any>(fn: Func): Func;
                                                                                                                                                                                emitDestroy(): this;
                                                                                                                                                                                runInAsyncScope<This, Result>(
                                                                                                                                                                                    fn: (this: This, ...args: any[]) => Result,
                                                                                                                                                                                    thisArg?: This,
                                                                                                                                                                                    ...args: any[],
                                                                                                                                                                                ): Result;
                                                                                                                                                                                triggerAsyncId(): number;
                                                                                                                                                                            }

                                                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                                                            Index

                                                                                                                                                                            Properties

                                                                                                                                                                            Methods

                                                                                                                                                                            • Returns number

                                                                                                                                                                              The unique asyncId assigned to the resource.

                                                                                                                                                                              +
                                                                                                                                                                            • Binds the given function to execute to this AsyncResource's scope.

                                                                                                                                                                              +

                                                                                                                                                                              Type Parameters

                                                                                                                                                                              • Func extends (...args: any[]) => any

                                                                                                                                                                              Parameters

                                                                                                                                                                              • fn: Func

                                                                                                                                                                                The function to bind to the current AsyncResource.

                                                                                                                                                                                +

                                                                                                                                                                              Returns Func

                                                                                                                                                                              v14.8.0, v12.19.0

                                                                                                                                                                              +
                                                                                                                                                                            • Call all destroy hooks. This should only ever be called once. An error will +be thrown if it is called more than once. This must be manually called. If +the resource is left to be collected by the GC then the destroy hooks will +never be called.

                                                                                                                                                                              +

                                                                                                                                                                              Returns this

                                                                                                                                                                              A reference to asyncResource.

                                                                                                                                                                              +
                                                                                                                                                                            • Call the provided function with the provided arguments in the execution context +of the async resource. This will establish the context, trigger the AsyncHooks +before callbacks, call the function, trigger the AsyncHooks after callbacks, and +then restore the original execution context.

                                                                                                                                                                              +

                                                                                                                                                                              Type Parameters

                                                                                                                                                                              • This
                                                                                                                                                                              • Result

                                                                                                                                                                              Parameters

                                                                                                                                                                              • fn: (this: This, ...args: any[]) => Result

                                                                                                                                                                                The function to call in the execution context of this async resource.

                                                                                                                                                                                +
                                                                                                                                                                              • OptionalthisArg: This

                                                                                                                                                                                The receiver to be used for the function call.

                                                                                                                                                                                +
                                                                                                                                                                              • ...args: any[]

                                                                                                                                                                                Optional arguments to pass to the function.

                                                                                                                                                                                +

                                                                                                                                                                              Returns Result

                                                                                                                                                                              v9.6.0

                                                                                                                                                                              +
                                                                                                                                                                            • Returns number

                                                                                                                                                                              The same triggerAsyncId that is passed to the AsyncResource constructor.

                                                                                                                                                                              +
                                                                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.html new file mode 100644 index 000000000..8389264cd --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitter.html @@ -0,0 +1,143 @@ +EventEmitter | trilium
                                                                                                                                                                            trilium
                                                                                                                                                                              Preparing search index...
                                                                                                                                                                              interface EventEmitter<T extends EventMap<T> = DefaultEventMap> {
                                                                                                                                                                                  "[captureRejectionSymbol]"<K>(
                                                                                                                                                                                      error: Error,
                                                                                                                                                                                      event: Key<K, T>,
                                                                                                                                                                                      ...args: Args<K, T>,
                                                                                                                                                                                  ): void;
                                                                                                                                                                                  addListener<K>(eventName: Key<K, T>, listener: Listener<K, T>): this;
                                                                                                                                                                                  emit<K>(eventName: Key<K, T>, ...args: Args<K, T>): boolean;
                                                                                                                                                                                  eventNames(): ((string | symbol) & Key2<unknown, T>)[];
                                                                                                                                                                                  getMaxListeners(): number;
                                                                                                                                                                                  listenerCount<K>(
                                                                                                                                                                                      eventName: Key<K, T>,
                                                                                                                                                                                      listener?: Listener<K, T, Function>,
                                                                                                                                                                                  ): number;
                                                                                                                                                                                  listeners<K>(eventName: Key<K, T>): Listener<K, T, Function>[];
                                                                                                                                                                                  off<K>(eventName: Key<K, T>, listener: Listener<K, T>): this;
                                                                                                                                                                                  on<K>(eventName: Key<K, T>, listener: Listener<K, T>): this;
                                                                                                                                                                                  once<K>(eventName: Key<K, T>, listener: Listener<K, T>): this;
                                                                                                                                                                                  prependListener<K>(eventName: Key<K, T>, listener: Listener<K, T>): this;
                                                                                                                                                                                  prependOnceListener<K>(
                                                                                                                                                                                      eventName: Key<K, T>,
                                                                                                                                                                                      listener: Listener<K, T>,
                                                                                                                                                                                  ): this;
                                                                                                                                                                                  rawListeners<K>(eventName: Key<K, T>): Listener<K, T, Function>[];
                                                                                                                                                                                  removeAllListeners(eventName?: Key<unknown, T>): this;
                                                                                                                                                                                  removeListener<K>(eventName: Key<K, T>, listener: Listener<K, T>): this;
                                                                                                                                                                                  setMaxListeners(n: number): this;
                                                                                                                                                                              }

                                                                                                                                                                              Type Parameters

                                                                                                                                                                              Hierarchy (View Summary)

                                                                                                                                                                              Index

                                                                                                                                                                              Methods

                                                                                                                                                                              • Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns void

                                                                                                                                                                              • Alias for emitter.on(eventName, listener).

                                                                                                                                                                                +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns this

                                                                                                                                                                                v0.1.26

                                                                                                                                                                                +
                                                                                                                                                                              • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments +to each.

                                                                                                                                                                                +

                                                                                                                                                                                Returns true if the event had listeners, false otherwise.

                                                                                                                                                                                +
                                                                                                                                                                                import { EventEmitter } from 'node:events';
                                                                                                                                                                                const myEmitter = new EventEmitter();

                                                                                                                                                                                // First listener
                                                                                                                                                                                myEmitter.on('event', function firstListener() {
                                                                                                                                                                                console.log('Helloooo! first listener');
                                                                                                                                                                                });
                                                                                                                                                                                // Second listener
                                                                                                                                                                                myEmitter.on('event', function secondListener(arg1, arg2) {
                                                                                                                                                                                console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
                                                                                                                                                                                });
                                                                                                                                                                                // Third listener
                                                                                                                                                                                myEmitter.on('event', function thirdListener(...args) {
                                                                                                                                                                                const parameters = args.join(', ');
                                                                                                                                                                                console.log(`event with parameters ${parameters} in third listener`);
                                                                                                                                                                                });

                                                                                                                                                                                console.log(myEmitter.listeners('event'));

                                                                                                                                                                                myEmitter.emit('event', 1, 2, 3, 4, 5);

                                                                                                                                                                                // Prints:
                                                                                                                                                                                // [
                                                                                                                                                                                // [Function: firstListener],
                                                                                                                                                                                // [Function: secondListener],
                                                                                                                                                                                // [Function: thirdListener]
                                                                                                                                                                                // ]
                                                                                                                                                                                // Helloooo! first listener
                                                                                                                                                                                // event with parameters 1, 2 in second listener
                                                                                                                                                                                // event with parameters 1, 2, 3, 4, 5 in third listener +
                                                                                                                                                                                + +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns boolean

                                                                                                                                                                                v0.1.26

                                                                                                                                                                                +
                                                                                                                                                                              • Returns an array listing the events for which the emitter has registered +listeners. The values in the array are strings or Symbols.

                                                                                                                                                                                +
                                                                                                                                                                                import { EventEmitter } from 'node:events';

                                                                                                                                                                                const myEE = new EventEmitter();
                                                                                                                                                                                myEE.on('foo', () => {});
                                                                                                                                                                                myEE.on('bar', () => {});

                                                                                                                                                                                const sym = Symbol('symbol');
                                                                                                                                                                                myEE.on(sym, () => {});

                                                                                                                                                                                console.log(myEE.eventNames());
                                                                                                                                                                                // Prints: [ 'foo', 'bar', Symbol(symbol) ] +
                                                                                                                                                                                + +

                                                                                                                                                                                Returns ((string | symbol) & Key2<unknown, T>)[]

                                                                                                                                                                                v6.0.0

                                                                                                                                                                                +
                                                                                                                                                                              • Returns the current max listener value for the EventEmitter which is either +set by emitter.setMaxListeners(n) or defaults to EventEmitter.defaultMaxListeners.

                                                                                                                                                                                +

                                                                                                                                                                                Returns number

                                                                                                                                                                                v1.0.0

                                                                                                                                                                                +
                                                                                                                                                                              • Returns the number of listeners listening for the event named eventName. +If listener is provided, it will return how many times the listener is found +in the list of the listeners of the event.

                                                                                                                                                                                +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                • eventName: Key<K, T>

                                                                                                                                                                                  The name of the event being listened for

                                                                                                                                                                                  +
                                                                                                                                                                                • Optionallistener: Listener<K, T, Function>

                                                                                                                                                                                  The event handler function

                                                                                                                                                                                  +

                                                                                                                                                                                Returns number

                                                                                                                                                                                v3.2.0

                                                                                                                                                                                +
                                                                                                                                                                              • Returns a copy of the array of listeners for the event named eventName.

                                                                                                                                                                                +
                                                                                                                                                                                server.on('connection', (stream) => {
                                                                                                                                                                                console.log('someone connected!');
                                                                                                                                                                                });
                                                                                                                                                                                console.log(util.inspect(server.listeners('connection')));
                                                                                                                                                                                // Prints: [ [Function] ] +
                                                                                                                                                                                + +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns Listener<K, T, Function>[]

                                                                                                                                                                                v0.1.26

                                                                                                                                                                                +
                                                                                                                                                                              • Alias for emitter.removeListener().

                                                                                                                                                                                +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns this

                                                                                                                                                                                v10.0.0

                                                                                                                                                                                +
                                                                                                                                                                              • Adds the listener function to the end of the listeners array for the event +named eventName. No checks are made to see if the listener has already +been added. Multiple calls passing the same combination of eventName and +listener will result in the listener being added, and called, multiple times.

                                                                                                                                                                                +
                                                                                                                                                                                server.on('connection', (stream) => {
                                                                                                                                                                                console.log('someone connected!');
                                                                                                                                                                                }); +
                                                                                                                                                                                + +

                                                                                                                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                                                                                                                +

                                                                                                                                                                                By default, event listeners are invoked in the order they are added. The emitter.prependListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                                                                                                                                                                +
                                                                                                                                                                                import { EventEmitter } from 'node:events';
                                                                                                                                                                                const myEE = new EventEmitter();
                                                                                                                                                                                myEE.on('foo', () => console.log('a'));
                                                                                                                                                                                myEE.prependListener('foo', () => console.log('b'));
                                                                                                                                                                                myEE.emit('foo');
                                                                                                                                                                                // Prints:
                                                                                                                                                                                // b
                                                                                                                                                                                // a +
                                                                                                                                                                                + +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                • eventName: Key<K, T>

                                                                                                                                                                                  The name of the event.

                                                                                                                                                                                  +
                                                                                                                                                                                • listener: Listener<K, T>

                                                                                                                                                                                  The callback function

                                                                                                                                                                                  +

                                                                                                                                                                                Returns this

                                                                                                                                                                                v0.1.101

                                                                                                                                                                                +
                                                                                                                                                                              • Adds a one-time listener function for the event named eventName. The +next time eventName is triggered, this listener is removed and then invoked.

                                                                                                                                                                                +
                                                                                                                                                                                server.once('connection', (stream) => {
                                                                                                                                                                                console.log('Ah, we have our first user!');
                                                                                                                                                                                }); +
                                                                                                                                                                                + +

                                                                                                                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                                                                                                                +

                                                                                                                                                                                By default, event listeners are invoked in the order they are added. The emitter.prependOnceListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                                                                                                                                                                +
                                                                                                                                                                                import { EventEmitter } from 'node:events';
                                                                                                                                                                                const myEE = new EventEmitter();
                                                                                                                                                                                myEE.once('foo', () => console.log('a'));
                                                                                                                                                                                myEE.prependOnceListener('foo', () => console.log('b'));
                                                                                                                                                                                myEE.emit('foo');
                                                                                                                                                                                // Prints:
                                                                                                                                                                                // b
                                                                                                                                                                                // a +
                                                                                                                                                                                + +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                • eventName: Key<K, T>

                                                                                                                                                                                  The name of the event.

                                                                                                                                                                                  +
                                                                                                                                                                                • listener: Listener<K, T>

                                                                                                                                                                                  The callback function

                                                                                                                                                                                  +

                                                                                                                                                                                Returns this

                                                                                                                                                                                v0.3.0

                                                                                                                                                                                +
                                                                                                                                                                              • Adds the listener function to the beginning of the listeners array for the +event named eventName. No checks are made to see if the listener has +already been added. Multiple calls passing the same combination of eventName +and listener will result in the listener being added, and called, multiple times.

                                                                                                                                                                                +
                                                                                                                                                                                server.prependListener('connection', (stream) => {
                                                                                                                                                                                console.log('someone connected!');
                                                                                                                                                                                }); +
                                                                                                                                                                                + +

                                                                                                                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                                                                                                                +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                • eventName: Key<K, T>

                                                                                                                                                                                  The name of the event.

                                                                                                                                                                                  +
                                                                                                                                                                                • listener: Listener<K, T>

                                                                                                                                                                                  The callback function

                                                                                                                                                                                  +

                                                                                                                                                                                Returns this

                                                                                                                                                                                v6.0.0

                                                                                                                                                                                +
                                                                                                                                                                              • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this +listener is removed, and then invoked.

                                                                                                                                                                                +
                                                                                                                                                                                server.prependOnceListener('connection', (stream) => {
                                                                                                                                                                                console.log('Ah, we have our first user!');
                                                                                                                                                                                }); +
                                                                                                                                                                                + +

                                                                                                                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                                                                                                                +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                • eventName: Key<K, T>

                                                                                                                                                                                  The name of the event.

                                                                                                                                                                                  +
                                                                                                                                                                                • listener: Listener<K, T>

                                                                                                                                                                                  The callback function

                                                                                                                                                                                  +

                                                                                                                                                                                Returns this

                                                                                                                                                                                v6.0.0

                                                                                                                                                                                +
                                                                                                                                                                              • Returns a copy of the array of listeners for the event named eventName, +including any wrappers (such as those created by .once()).

                                                                                                                                                                                +
                                                                                                                                                                                import { EventEmitter } from 'node:events';
                                                                                                                                                                                const emitter = new EventEmitter();
                                                                                                                                                                                emitter.once('log', () => console.log('log once'));

                                                                                                                                                                                // Returns a new Array with a function `onceWrapper` which has a property
                                                                                                                                                                                // `listener` which contains the original listener bound above
                                                                                                                                                                                const listeners = emitter.rawListeners('log');
                                                                                                                                                                                const logFnWrapper = listeners[0];

                                                                                                                                                                                // Logs "log once" to the console and does not unbind the `once` event
                                                                                                                                                                                logFnWrapper.listener();

                                                                                                                                                                                // Logs "log once" to the console and removes the listener
                                                                                                                                                                                logFnWrapper();

                                                                                                                                                                                emitter.on('log', () => console.log('log persistently'));
                                                                                                                                                                                // Will return a new Array with a single function bound by `.on()` above
                                                                                                                                                                                const newListeners = emitter.rawListeners('log');

                                                                                                                                                                                // Logs "log persistently" twice
                                                                                                                                                                                newListeners[0]();
                                                                                                                                                                                emitter.emit('log'); +
                                                                                                                                                                                + +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns Listener<K, T, Function>[]

                                                                                                                                                                                v9.4.0

                                                                                                                                                                                +
                                                                                                                                                                              • Removes all listeners, or those of the specified eventName.

                                                                                                                                                                                +

                                                                                                                                                                                It is bad practice to remove listeners added elsewhere in the code, +particularly when the EventEmitter instance was created by some other +component or module (e.g. sockets or file streams).

                                                                                                                                                                                +

                                                                                                                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                                                                                                                +

                                                                                                                                                                                Parameters

                                                                                                                                                                                • OptionaleventName: Key<unknown, T>

                                                                                                                                                                                Returns this

                                                                                                                                                                                v0.1.26

                                                                                                                                                                                +
                                                                                                                                                                              • Removes the specified listener from the listener array for the event named eventName.

                                                                                                                                                                                +
                                                                                                                                                                                const callback = (stream) => {
                                                                                                                                                                                console.log('someone connected!');
                                                                                                                                                                                };
                                                                                                                                                                                server.on('connection', callback);
                                                                                                                                                                                // ...
                                                                                                                                                                                server.removeListener('connection', callback); +
                                                                                                                                                                                + +

                                                                                                                                                                                removeListener() will remove, at most, one instance of a listener from the +listener array. If any single listener has been added multiple times to the +listener array for the specified eventName, then removeListener() must be +called multiple times to remove each instance.

                                                                                                                                                                                +

                                                                                                                                                                                Once an event is emitted, all listeners attached to it at the +time of emitting are called in order. This implies that any removeListener() or removeAllListeners() calls after emitting and before the last listener finishes execution +will not remove them fromemit() in progress. Subsequent events behave as expected.

                                                                                                                                                                                +
                                                                                                                                                                                import { EventEmitter } from 'node:events';
                                                                                                                                                                                class MyEmitter extends EventEmitter {}
                                                                                                                                                                                const myEmitter = new MyEmitter();

                                                                                                                                                                                const callbackA = () => {
                                                                                                                                                                                console.log('A');
                                                                                                                                                                                myEmitter.removeListener('event', callbackB);
                                                                                                                                                                                };

                                                                                                                                                                                const callbackB = () => {
                                                                                                                                                                                console.log('B');
                                                                                                                                                                                };

                                                                                                                                                                                myEmitter.on('event', callbackA);

                                                                                                                                                                                myEmitter.on('event', callbackB);

                                                                                                                                                                                // callbackA removes listener callbackB but it will still be called.
                                                                                                                                                                                // Internal listener array at time of emit [callbackA, callbackB]
                                                                                                                                                                                myEmitter.emit('event');
                                                                                                                                                                                // Prints:
                                                                                                                                                                                // A
                                                                                                                                                                                // B

                                                                                                                                                                                // callbackB is now removed.
                                                                                                                                                                                // Internal listener array [callbackA]
                                                                                                                                                                                myEmitter.emit('event');
                                                                                                                                                                                // Prints:
                                                                                                                                                                                // A +
                                                                                                                                                                                + +

                                                                                                                                                                                Because listeners are managed using an internal array, calling this will +change the position indices of any listener registered after the listener +being removed. This will not impact the order in which listeners are called, +but it means that any copies of the listener array as returned by +the emitter.listeners() method will need to be recreated.

                                                                                                                                                                                +

                                                                                                                                                                                When a single function has been added as a handler multiple times for a single +event (as in the example below), removeListener() will remove the most +recently added instance. In the example the once('ping') listener is removed:

                                                                                                                                                                                +
                                                                                                                                                                                import { EventEmitter } from 'node:events';
                                                                                                                                                                                const ee = new EventEmitter();

                                                                                                                                                                                function pong() {
                                                                                                                                                                                console.log('pong');
                                                                                                                                                                                }

                                                                                                                                                                                ee.on('ping', pong);
                                                                                                                                                                                ee.once('ping', pong);
                                                                                                                                                                                ee.removeListener('ping', pong);

                                                                                                                                                                                ee.emit('ping');
                                                                                                                                                                                ee.emit('ping'); +
                                                                                                                                                                                + +

                                                                                                                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                                                                                                                +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                • K

                                                                                                                                                                                Parameters

                                                                                                                                                                                Returns this

                                                                                                                                                                                v0.1.26

                                                                                                                                                                                +
                                                                                                                                                                              • By default EventEmitters will print a warning if more than 10 listeners are +added for a particular event. This is a useful default that helps finding +memory leaks. The emitter.setMaxListeners() method allows the limit to be +modified for this specific EventEmitter instance. The value can be set to Infinity (or 0) to indicate an unlimited number of listeners.

                                                                                                                                                                                +

                                                                                                                                                                                Returns a reference to the EventEmitter, so that calls can be chained.

                                                                                                                                                                                +

                                                                                                                                                                                Parameters

                                                                                                                                                                                • n: number

                                                                                                                                                                                Returns this

                                                                                                                                                                                v0.3.5

                                                                                                                                                                                +
                                                                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitterOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitterOptions.html new file mode 100644 index 000000000..22549f04b --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.EventEmitterOptions.html @@ -0,0 +1,3 @@ +EventEmitterOptions | trilium
                                                                                                                                                                              trilium
                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                interface EventEmitterOptions {
                                                                                                                                                                                    captureRejections?: boolean;
                                                                                                                                                                                }

                                                                                                                                                                                Hierarchy (View Summary)

                                                                                                                                                                                Index

                                                                                                                                                                                Properties

                                                                                                                                                                                Properties

                                                                                                                                                                                captureRejections?: boolean

                                                                                                                                                                                Enables automatic capturing of promise rejection.

                                                                                                                                                                                +
                                                                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.FormDataVisitorHelpers.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.FormDataVisitorHelpers.html new file mode 100644 index 000000000..8ffc7883c --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.FormDataVisitorHelpers.html @@ -0,0 +1,4 @@ +FormDataVisitorHelpers | trilium
                                                                                                                                                                                trilium
                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                  interface FormDataVisitorHelpers {
                                                                                                                                                                                      convertValue: (value: any) => any;
                                                                                                                                                                                      defaultVisitor: SerializerVisitor;
                                                                                                                                                                                      isVisitable: (value: any) => boolean;
                                                                                                                                                                                  }
                                                                                                                                                                                  Index

                                                                                                                                                                                  Properties

                                                                                                                                                                                  convertValue: (value: any) => any
                                                                                                                                                                                  defaultVisitor: SerializerVisitor
                                                                                                                                                                                  isVisitable: (value: any) => boolean
                                                                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.FormSerializerOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.FormSerializerOptions.html new file mode 100644 index 000000000..70f9dbea2 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.FormSerializerOptions.html @@ -0,0 +1,5 @@ +FormSerializerOptions | trilium
                                                                                                                                                                                  trilium
                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                    interface FormSerializerOptions {
                                                                                                                                                                                        dots?: boolean;
                                                                                                                                                                                        indexes?: null | boolean;
                                                                                                                                                                                        metaTokens?: boolean;
                                                                                                                                                                                        visitor?: SerializerVisitor;
                                                                                                                                                                                    }

                                                                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                                                                    Index

                                                                                                                                                                                    Properties

                                                                                                                                                                                    dots?: boolean
                                                                                                                                                                                    indexes?: null | boolean
                                                                                                                                                                                    metaTokens?: boolean
                                                                                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericAbortSignal.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericAbortSignal.html new file mode 100644 index 000000000..439a14fbf --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericAbortSignal.html @@ -0,0 +1,5 @@ +GenericAbortSignal | trilium
                                                                                                                                                                                    trilium
                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                      interface GenericAbortSignal {
                                                                                                                                                                                          aborted: boolean;
                                                                                                                                                                                          addEventListener?: (...args: any) => any;
                                                                                                                                                                                          onabort?: null | ((...args: any) => any);
                                                                                                                                                                                          removeEventListener?: (...args: any) => any;
                                                                                                                                                                                      }
                                                                                                                                                                                      Index

                                                                                                                                                                                      Properties

                                                                                                                                                                                      aborted: boolean
                                                                                                                                                                                      addEventListener?: (...args: any) => any
                                                                                                                                                                                      onabort?: null | ((...args: any) => any)
                                                                                                                                                                                      removeEventListener?: (...args: any) => any
                                                                                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericFormData.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericFormData.html new file mode 100644 index 000000000..e5d6e84fc --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericFormData.html @@ -0,0 +1,2 @@ +GenericFormData | trilium
                                                                                                                                                                                      trilium
                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                        interface GenericFormData {
                                                                                                                                                                                            append(name: string, value: any, options?: any): any;
                                                                                                                                                                                        }
                                                                                                                                                                                        Index

                                                                                                                                                                                        Methods

                                                                                                                                                                                        Methods

                                                                                                                                                                                        • Parameters

                                                                                                                                                                                          • name: string
                                                                                                                                                                                          • value: any
                                                                                                                                                                                          • Optionaloptions: any

                                                                                                                                                                                          Returns any

                                                                                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericHTMLFormElement.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericHTMLFormElement.html new file mode 100644 index 000000000..a08d7d8f8 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GenericHTMLFormElement.html @@ -0,0 +1,4 @@ +GenericHTMLFormElement | trilium
                                                                                                                                                                                        trilium
                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                          interface GenericHTMLFormElement {
                                                                                                                                                                                              method: string;
                                                                                                                                                                                              name: string;
                                                                                                                                                                                              submit(): void;
                                                                                                                                                                                          }
                                                                                                                                                                                          Index

                                                                                                                                                                                          Properties

                                                                                                                                                                                          Methods

                                                                                                                                                                                          Properties

                                                                                                                                                                                          method: string
                                                                                                                                                                                          name: string

                                                                                                                                                                                          Methods

                                                                                                                                                                                          • Returns void

                                                                                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GetByIdOpts.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GetByIdOpts.html new file mode 100644 index 000000000..4bfce16cf --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.GetByIdOpts.html @@ -0,0 +1,2 @@ +GetByIdOpts | trilium
                                                                                                                                                                                          trilium
                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                            interface GetByIdOpts {
                                                                                                                                                                                                includeContentLength?: boolean;
                                                                                                                                                                                            }
                                                                                                                                                                                            Index

                                                                                                                                                                                            Properties

                                                                                                                                                                                            includeContentLength?: boolean
                                                                                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.HeadersDefaults.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.HeadersDefaults.html new file mode 100644 index 000000000..6adb0f91f --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.HeadersDefaults.html @@ -0,0 +1,12 @@ +HeadersDefaults | trilium
                                                                                                                                                                                            trilium
                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                              interface HeadersDefaults {
                                                                                                                                                                                                  common: Partial;
                                                                                                                                                                                                  delete: Partial;
                                                                                                                                                                                                  get: Partial;
                                                                                                                                                                                                  head: Partial;
                                                                                                                                                                                                  link?: Partial<
                                                                                                                                                                                                      RawAxiosHeaders & {
                                                                                                                                                                                                          Accept: AxiosHeaderValue;
                                                                                                                                                                                                          Authorization: AxiosHeaderValue;
                                                                                                                                                                                                          "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                                                          "Content-Length": AxiosHeaderValue;
                                                                                                                                                                                                          "User-Agent": AxiosHeaderValue;
                                                                                                                                                                                                      } & { "Content-Type": ContentType },
                                                                                                                                                                                                  >;
                                                                                                                                                                                                  options?: Partial<
                                                                                                                                                                                                      RawAxiosHeaders & {
                                                                                                                                                                                                          Accept: AxiosHeaderValue;
                                                                                                                                                                                                          Authorization: AxiosHeaderValue;
                                                                                                                                                                                                          "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                                                          "Content-Length": AxiosHeaderValue;
                                                                                                                                                                                                          "User-Agent": AxiosHeaderValue;
                                                                                                                                                                                                      } & { "Content-Type": ContentType },
                                                                                                                                                                                                  >;
                                                                                                                                                                                                  patch: Partial;
                                                                                                                                                                                                  post: Partial;
                                                                                                                                                                                                  purge?: Partial<
                                                                                                                                                                                                      RawAxiosHeaders & {
                                                                                                                                                                                                          Accept: AxiosHeaderValue;
                                                                                                                                                                                                          Authorization: AxiosHeaderValue;
                                                                                                                                                                                                          "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                                                          "Content-Length": AxiosHeaderValue;
                                                                                                                                                                                                          "User-Agent": AxiosHeaderValue;
                                                                                                                                                                                                      } & { "Content-Type": ContentType },
                                                                                                                                                                                                  >;
                                                                                                                                                                                                  put: Partial;
                                                                                                                                                                                                  unlink?: Partial<
                                                                                                                                                                                                      RawAxiosHeaders & {
                                                                                                                                                                                                          Accept: AxiosHeaderValue;
                                                                                                                                                                                                          Authorization: AxiosHeaderValue;
                                                                                                                                                                                                          "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                                                          "Content-Length": AxiosHeaderValue;
                                                                                                                                                                                                          "User-Agent": AxiosHeaderValue;
                                                                                                                                                                                                      } & { "Content-Type": ContentType },
                                                                                                                                                                                                  >;
                                                                                                                                                                                              }
                                                                                                                                                                                              Index

                                                                                                                                                                                              Properties

                                                                                                                                                                                              common: Partial
                                                                                                                                                                                              delete: Partial
                                                                                                                                                                                              get: Partial
                                                                                                                                                                                              head: Partial
                                                                                                                                                                                              link?: Partial<
                                                                                                                                                                                                  RawAxiosHeaders & {
                                                                                                                                                                                                      Accept: AxiosHeaderValue;
                                                                                                                                                                                                      Authorization: AxiosHeaderValue;
                                                                                                                                                                                                      "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                                                      "Content-Length": AxiosHeaderValue;
                                                                                                                                                                                                      "User-Agent": AxiosHeaderValue;
                                                                                                                                                                                                  } & { "Content-Type": ContentType },
                                                                                                                                                                                              >
                                                                                                                                                                                              options?: Partial<
                                                                                                                                                                                                  RawAxiosHeaders & {
                                                                                                                                                                                                      Accept: AxiosHeaderValue;
                                                                                                                                                                                                      Authorization: AxiosHeaderValue;
                                                                                                                                                                                                      "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                                                      "Content-Length": AxiosHeaderValue;
                                                                                                                                                                                                      "User-Agent": AxiosHeaderValue;
                                                                                                                                                                                                  } & { "Content-Type": ContentType },
                                                                                                                                                                                              >
                                                                                                                                                                                              patch: Partial

                                                                                                                                                                                              post

                                                                                                                                                                                              post: Partial
                                                                                                                                                                                              purge?: Partial<
                                                                                                                                                                                                  RawAxiosHeaders & {
                                                                                                                                                                                                      Accept: AxiosHeaderValue;
                                                                                                                                                                                                      Authorization: AxiosHeaderValue;
                                                                                                                                                                                                      "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                                                      "Content-Length": AxiosHeaderValue;
                                                                                                                                                                                                      "User-Agent": AxiosHeaderValue;
                                                                                                                                                                                                  } & { "Content-Type": ContentType },
                                                                                                                                                                                              >
                                                                                                                                                                                              put: Partial
                                                                                                                                                                                              unlink?: Partial<
                                                                                                                                                                                                  RawAxiosHeaders & {
                                                                                                                                                                                                      Accept: AxiosHeaderValue;
                                                                                                                                                                                                      Authorization: AxiosHeaderValue;
                                                                                                                                                                                                      "Content-Encoding": AxiosHeaderValue;
                                                                                                                                                                                                      "Content-Length": AxiosHeaderValue;
                                                                                                                                                                                                      "User-Agent": AxiosHeaderValue;
                                                                                                                                                                                                  } & { "Content-Type": ContentType },
                                                                                                                                                                                              >
                                                                                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.InternalAxiosRequestConfig.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.InternalAxiosRequestConfig.html new file mode 100644 index 000000000..0a144ddd1 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.InternalAxiosRequestConfig.html @@ -0,0 +1,44 @@ +InternalAxiosRequestConfig | trilium
                                                                                                                                                                                              trilium
                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                interface InternalAxiosRequestConfig<D = any> {
                                                                                                                                                                                                    adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
                                                                                                                                                                                                    allowAbsoluteUrls?: boolean;
                                                                                                                                                                                                    auth?: AxiosBasicCredentials;
                                                                                                                                                                                                    baseURL?: string;
                                                                                                                                                                                                    beforeRedirect?: (
                                                                                                                                                                                                        options: Record<string, any>,
                                                                                                                                                                                                        responseDetails: {
                                                                                                                                                                                                            headers: Record<string, string>;
                                                                                                                                                                                                            statusCode: HttpStatusCode;
                                                                                                                                                                                                        },
                                                                                                                                                                                                    ) => void;
                                                                                                                                                                                                    cancelToken?: CancelToken;
                                                                                                                                                                                                    data?: D;
                                                                                                                                                                                                    decompress?: boolean;
                                                                                                                                                                                                    env?: { FormData?: new (...args: any[]) => object };
                                                                                                                                                                                                    family?: AddressFamily;
                                                                                                                                                                                                    fetchOptions?: Record<string, any>;
                                                                                                                                                                                                    formSerializer?: FormSerializerOptions;
                                                                                                                                                                                                    headers: AxiosRequestHeaders;
                                                                                                                                                                                                    httpAgent?: any;
                                                                                                                                                                                                    httpsAgent?: any;
                                                                                                                                                                                                    insecureHTTPParser?: boolean;
                                                                                                                                                                                                    lookup?:
                                                                                                                                                                                                        | (
                                                                                                                                                                                                            (
                                                                                                                                                                                                                hostname: string,
                                                                                                                                                                                                                options: object,
                                                                                                                                                                                                                cb: (
                                                                                                                                                                                                                    err: null | Error,
                                                                                                                                                                                                                    address: LookupAddress | LookupAddress[],
                                                                                                                                                                                                                    family?: AddressFamily,
                                                                                                                                                                                                                ) => void,
                                                                                                                                                                                                            ) => void
                                                                                                                                                                                                        )
                                                                                                                                                                                                        | (
                                                                                                                                                                                                            (
                                                                                                                                                                                                                hostname: string,
                                                                                                                                                                                                                options: object,
                                                                                                                                                                                                            ) => Promise<
                                                                                                                                                                                                                | LookupAddress
                                                                                                                                                                                                                | [
                                                                                                                                                                                                                    address: LookupAddressEntry
                                                                                                                                                                                                                    | LookupAddressEntry[],
                                                                                                                                                                                                                    family?: AddressFamily,
                                                                                                                                                                                                                ],
                                                                                                                                                                                                            >
                                                                                                                                                                                                        );
                                                                                                                                                                                                    maxBodyLength?: number;
                                                                                                                                                                                                    maxContentLength?: number;
                                                                                                                                                                                                    maxRate?: number | [number, number];
                                                                                                                                                                                                    maxRedirects?: number;
                                                                                                                                                                                                    method?: string;
                                                                                                                                                                                                    onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
                                                                                                                                                                                                    onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
                                                                                                                                                                                                    params?: any;
                                                                                                                                                                                                    paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
                                                                                                                                                                                                    proxy?: false | AxiosProxyConfig;
                                                                                                                                                                                                    responseEncoding?: string;
                                                                                                                                                                                                    responseType?: ResponseType;
                                                                                                                                                                                                    signal?: GenericAbortSignal;
                                                                                                                                                                                                    socketPath?: null | string;
                                                                                                                                                                                                    timeout?: number;
                                                                                                                                                                                                    timeoutErrorMessage?: string;
                                                                                                                                                                                                    transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
                                                                                                                                                                                                    transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
                                                                                                                                                                                                    transitional?: TransitionalOptions;
                                                                                                                                                                                                    transport?: any;
                                                                                                                                                                                                    url?: string;
                                                                                                                                                                                                    validateStatus?: null | ((status: number) => boolean);
                                                                                                                                                                                                    withCredentials?: boolean;
                                                                                                                                                                                                    withXSRFToken?:
                                                                                                                                                                                                        | boolean
                                                                                                                                                                                                        | ((config: InternalAxiosRequestConfig) => undefined | boolean);
                                                                                                                                                                                                    xsrfCookieName?: string;
                                                                                                                                                                                                    xsrfHeaderName?: string;
                                                                                                                                                                                                }

                                                                                                                                                                                                Type Parameters

                                                                                                                                                                                                • D = any

                                                                                                                                                                                                Hierarchy (View Summary)

                                                                                                                                                                                                Index

                                                                                                                                                                                                Properties

                                                                                                                                                                                                allowAbsoluteUrls?: boolean
                                                                                                                                                                                                baseURL?: string
                                                                                                                                                                                                beforeRedirect?: (
                                                                                                                                                                                                    options: Record<string, any>,
                                                                                                                                                                                                    responseDetails: {
                                                                                                                                                                                                        headers: Record<string, string>;
                                                                                                                                                                                                        statusCode: HttpStatusCode;
                                                                                                                                                                                                    },
                                                                                                                                                                                                ) => void
                                                                                                                                                                                                cancelToken?: CancelToken
                                                                                                                                                                                                data?: D
                                                                                                                                                                                                decompress?: boolean
                                                                                                                                                                                                env?: { FormData?: new (...args: any[]) => object }
                                                                                                                                                                                                family?: AddressFamily
                                                                                                                                                                                                fetchOptions?: Record<string, any>
                                                                                                                                                                                                formSerializer?: FormSerializerOptions
                                                                                                                                                                                                httpAgent?: any
                                                                                                                                                                                                httpsAgent?: any
                                                                                                                                                                                                insecureHTTPParser?: boolean
                                                                                                                                                                                                lookup?:
                                                                                                                                                                                                    | (
                                                                                                                                                                                                        (
                                                                                                                                                                                                            hostname: string,
                                                                                                                                                                                                            options: object,
                                                                                                                                                                                                            cb: (
                                                                                                                                                                                                                err: null | Error,
                                                                                                                                                                                                                address: LookupAddress | LookupAddress[],
                                                                                                                                                                                                                family?: AddressFamily,
                                                                                                                                                                                                            ) => void,
                                                                                                                                                                                                        ) => void
                                                                                                                                                                                                    )
                                                                                                                                                                                                    | (
                                                                                                                                                                                                        (
                                                                                                                                                                                                            hostname: string,
                                                                                                                                                                                                            options: object,
                                                                                                                                                                                                        ) => Promise<
                                                                                                                                                                                                            | LookupAddress
                                                                                                                                                                                                            | [
                                                                                                                                                                                                                address: LookupAddressEntry
                                                                                                                                                                                                                | LookupAddressEntry[],
                                                                                                                                                                                                                family?: AddressFamily,
                                                                                                                                                                                                            ],
                                                                                                                                                                                                        >
                                                                                                                                                                                                    )
                                                                                                                                                                                                maxBodyLength?: number
                                                                                                                                                                                                maxContentLength?: number
                                                                                                                                                                                                maxRate?: number | [number, number]
                                                                                                                                                                                                maxRedirects?: number
                                                                                                                                                                                                method?: string
                                                                                                                                                                                                onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void
                                                                                                                                                                                                onUploadProgress?: (progressEvent: AxiosProgressEvent) => void
                                                                                                                                                                                                params?: any
                                                                                                                                                                                                proxy?: false | AxiosProxyConfig
                                                                                                                                                                                                responseEncoding?: string
                                                                                                                                                                                                responseType?: ResponseType
                                                                                                                                                                                                socketPath?: null | string
                                                                                                                                                                                                timeout?: number
                                                                                                                                                                                                timeoutErrorMessage?: string
                                                                                                                                                                                                transitional?: TransitionalOptions
                                                                                                                                                                                                transport?: any
                                                                                                                                                                                                url?: string
                                                                                                                                                                                                validateStatus?: null | ((status: number) => boolean)
                                                                                                                                                                                                withCredentials?: boolean
                                                                                                                                                                                                withXSRFToken?:
                                                                                                                                                                                                    | boolean
                                                                                                                                                                                                    | ((config: InternalAxiosRequestConfig) => undefined | boolean)
                                                                                                                                                                                                xsrfCookieName?: string
                                                                                                                                                                                                xsrfHeaderName?: string
                                                                                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IterableIterator.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IterableIterator.html new file mode 100644 index 000000000..d4897dc69 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IterableIterator.html @@ -0,0 +1,6 @@ +IterableIterator | trilium
                                                                                                                                                                                                trilium
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                  Interface IterableIterator<T, TReturn, TNext>

                                                                                                                                                                                                  Describes a user-defined Iterator that is also iterable.

                                                                                                                                                                                                  +
                                                                                                                                                                                                  interface IterableIterator<T, TReturn = any, TNext = any> {
                                                                                                                                                                                                      "[iterator]"(): IterableIterator<T, TReturn, TNext>;
                                                                                                                                                                                                      next(...__namedParameters: [] | [TNext]): IteratorResult<T, TReturn>;
                                                                                                                                                                                                      return(value?: TReturn): IteratorResult<T, TReturn>;
                                                                                                                                                                                                      throw(e?: any): IteratorResult<T, TReturn>;
                                                                                                                                                                                                  }

                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                  • T
                                                                                                                                                                                                  • TReturn = any
                                                                                                                                                                                                  • TNext = any

                                                                                                                                                                                                  Hierarchy (View Summary)

                                                                                                                                                                                                  Index

                                                                                                                                                                                                  Methods

                                                                                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Iterator.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Iterator.html new file mode 100644 index 000000000..fd77ca057 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Iterator.html @@ -0,0 +1,4 @@ +Iterator | trilium
                                                                                                                                                                                                  trilium
                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                    Interface Iterator<T, TReturn, TNext>

                                                                                                                                                                                                    interface Iterator<T, TReturn = any, TNext = any> {
                                                                                                                                                                                                        next(...__namedParameters: [] | [TNext]): IteratorResult<T, TReturn>;
                                                                                                                                                                                                        return(value?: TReturn): IteratorResult<T, TReturn>;
                                                                                                                                                                                                        throw(e?: any): IteratorResult<T, TReturn>;
                                                                                                                                                                                                    }

                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                    • T
                                                                                                                                                                                                    • TReturn = any
                                                                                                                                                                                                    • TNext = any

                                                                                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                                                                                    Index

                                                                                                                                                                                                    Methods

                                                                                                                                                                                                    Methods

                                                                                                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IteratorReturnResult.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IteratorReturnResult.html new file mode 100644 index 000000000..fb2447717 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IteratorReturnResult.html @@ -0,0 +1,3 @@ +IteratorReturnResult | trilium
                                                                                                                                                                                                    trilium
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Interface IteratorReturnResult<TReturn>

                                                                                                                                                                                                      interface IteratorReturnResult<TReturn> {
                                                                                                                                                                                                          done: true;
                                                                                                                                                                                                          value: TReturn;
                                                                                                                                                                                                      }

                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                      • TReturn
                                                                                                                                                                                                      Index

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      done: true
                                                                                                                                                                                                      value: TReturn
                                                                                                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IteratorYieldResult.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IteratorYieldResult.html new file mode 100644 index 000000000..029d9e22a --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.IteratorYieldResult.html @@ -0,0 +1,3 @@ +IteratorYieldResult | trilium
                                                                                                                                                                                                      trilium
                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                        Interface IteratorYieldResult<TYield>

                                                                                                                                                                                                        interface IteratorYieldResult<TYield> {
                                                                                                                                                                                                            done?: false;
                                                                                                                                                                                                            value: TYield;
                                                                                                                                                                                                        }

                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                        • TYield
                                                                                                                                                                                                        Index

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        done?: false
                                                                                                                                                                                                        value: TYield
                                                                                                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.LookupAddressEntry.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.LookupAddressEntry.html new file mode 100644 index 000000000..33b080570 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.LookupAddressEntry.html @@ -0,0 +1,3 @@ +LookupAddressEntry | trilium
                                                                                                                                                                                                        trilium
                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                          interface LookupAddressEntry {
                                                                                                                                                                                                              address: string;
                                                                                                                                                                                                              family?: AddressFamily;
                                                                                                                                                                                                          }
                                                                                                                                                                                                          Index

                                                                                                                                                                                                          Properties

                                                                                                                                                                                                          Properties

                                                                                                                                                                                                          address: string
                                                                                                                                                                                                          family?: AddressFamily
                                                                                                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteAndBranch.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteAndBranch.html new file mode 100644 index 000000000..64d73c4cd --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteAndBranch.html @@ -0,0 +1,4 @@ +NoteAndBranch | trilium
                                                                                                                                                                                                          trilium
                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                            interface NoteAndBranch {
                                                                                                                                                                                                                branch: BBranch;
                                                                                                                                                                                                                note: BNote;
                                                                                                                                                                                                            }
                                                                                                                                                                                                            Index

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            branch: BBranch

                                                                                                                                                                                                            object having "note" and "branch" keys representing respective objects

                                                                                                                                                                                                            +
                                                                                                                                                                                                            note: BNote
                                                                                                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteParams.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteParams.html new file mode 100644 index 000000000..f0c9c5c6c --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteParams.html @@ -0,0 +1,24 @@ +NoteParams | trilium
                                                                                                                                                                                                            trilium
                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                              interface NoteParams {
                                                                                                                                                                                                                  branchId?: string;
                                                                                                                                                                                                                  content: string | Buffer<ArrayBufferLike>;
                                                                                                                                                                                                                  dateCreated?: string;
                                                                                                                                                                                                                  ignoreForbiddenParents?: boolean;
                                                                                                                                                                                                                  isExpanded?: boolean;
                                                                                                                                                                                                                  isProtected?: boolean;
                                                                                                                                                                                                                  mime?: string;
                                                                                                                                                                                                                  noteId?: string;
                                                                                                                                                                                                                  notePosition?: number;
                                                                                                                                                                                                                  parentNoteId: string;
                                                                                                                                                                                                                  prefix?: string;
                                                                                                                                                                                                                  target?: "into";
                                                                                                                                                                                                                  templateNoteId?: string;
                                                                                                                                                                                                                  title: string;
                                                                                                                                                                                                                  type:
                                                                                                                                                                                                                      | "canvas"
                                                                                                                                                                                                                      | "code"
                                                                                                                                                                                                                      | "search"
                                                                                                                                                                                                                      | "image"
                                                                                                                                                                                                                      | "text"
                                                                                                                                                                                                                      | "file"
                                                                                                                                                                                                                      | "noteMap"
                                                                                                                                                                                                                      | "launcher"
                                                                                                                                                                                                                      | "doc"
                                                                                                                                                                                                                      | "contentWidget"
                                                                                                                                                                                                                      | "relationMap"
                                                                                                                                                                                                                      | "render"
                                                                                                                                                                                                                      | "mermaid"
                                                                                                                                                                                                                      | "book"
                                                                                                                                                                                                                      | "webView"
                                                                                                                                                                                                                      | "mindMap"
                                                                                                                                                                                                                      | "geoMap";
                                                                                                                                                                                                                  utcDateCreated?: string;
                                                                                                                                                                                                              }
                                                                                                                                                                                                              Index

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              branchId?: string
                                                                                                                                                                                                              content: string | Buffer<ArrayBufferLike>
                                                                                                                                                                                                              dateCreated?: string
                                                                                                                                                                                                              ignoreForbiddenParents?: boolean
                                                                                                                                                                                                              isExpanded?: boolean

                                                                                                                                                                                                              default is false

                                                                                                                                                                                                              +
                                                                                                                                                                                                              isProtected?: boolean

                                                                                                                                                                                                              default is false

                                                                                                                                                                                                              +
                                                                                                                                                                                                              mime?: string

                                                                                                                                                                                                              default value is derived from default mimes for type

                                                                                                                                                                                                              +
                                                                                                                                                                                                              noteId?: string

                                                                                                                                                                                                              optionally can force specific noteId

                                                                                                                                                                                                              +
                                                                                                                                                                                                              notePosition?: number

                                                                                                                                                                                                              default is the last existing notePosition in a parent + 10

                                                                                                                                                                                                              +
                                                                                                                                                                                                              parentNoteId: string
                                                                                                                                                                                                              prefix?: string

                                                                                                                                                                                                              default is empty string

                                                                                                                                                                                                              +
                                                                                                                                                                                                              target?: "into"
                                                                                                                                                                                                              templateNoteId?: string
                                                                                                                                                                                                              title: string
                                                                                                                                                                                                              type:
                                                                                                                                                                                                                  | "canvas"
                                                                                                                                                                                                                  | "code"
                                                                                                                                                                                                                  | "search"
                                                                                                                                                                                                                  | "image"
                                                                                                                                                                                                                  | "text"
                                                                                                                                                                                                                  | "file"
                                                                                                                                                                                                                  | "noteMap"
                                                                                                                                                                                                                  | "launcher"
                                                                                                                                                                                                                  | "doc"
                                                                                                                                                                                                                  | "contentWidget"
                                                                                                                                                                                                                  | "relationMap"
                                                                                                                                                                                                                  | "render"
                                                                                                                                                                                                                  | "mermaid"
                                                                                                                                                                                                                  | "book"
                                                                                                                                                                                                                  | "webView"
                                                                                                                                                                                                                  | "mindMap"
                                                                                                                                                                                                                  | "geoMap"

                                                                                                                                                                                                              text, code, file, image, search, book, relationMap, canvas, webView

                                                                                                                                                                                                              +
                                                                                                                                                                                                              utcDateCreated?: string
                                                                                                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NotePathRecord.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NotePathRecord.html new file mode 100644 index 000000000..30d73ac8e --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NotePathRecord.html @@ -0,0 +1,5 @@ +NotePathRecord | trilium
                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                interface NotePathRecord {
                                                                                                                                                                                                                    isArchived: boolean;
                                                                                                                                                                                                                    isHidden: boolean;
                                                                                                                                                                                                                    isInHoistedSubTree: boolean;
                                                                                                                                                                                                                    notePath: string[];
                                                                                                                                                                                                                }
                                                                                                                                                                                                                Index

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                isArchived: boolean
                                                                                                                                                                                                                isHidden: boolean
                                                                                                                                                                                                                isInHoistedSubTree: boolean
                                                                                                                                                                                                                notePath: string[]
                                                                                                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NotePojo.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NotePojo.html new file mode 100644 index 000000000..718a7cb0d --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NotePojo.html @@ -0,0 +1,12 @@ +NotePojo | trilium
                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                  interface NotePojo {
                                                                                                                                                                                                                      blobId?: string;
                                                                                                                                                                                                                      dateCreated?: string;
                                                                                                                                                                                                                      dateModified?: string;
                                                                                                                                                                                                                      isDeleted: boolean;
                                                                                                                                                                                                                      isProtected?: boolean;
                                                                                                                                                                                                                      mime: string;
                                                                                                                                                                                                                      noteId: string;
                                                                                                                                                                                                                      title?: string;
                                                                                                                                                                                                                      type: string;
                                                                                                                                                                                                                      utcDateCreated: string;
                                                                                                                                                                                                                      utcDateModified?: string;
                                                                                                                                                                                                                  }
                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                  blobId?: string
                                                                                                                                                                                                                  dateCreated?: string
                                                                                                                                                                                                                  dateModified?: string
                                                                                                                                                                                                                  isDeleted: boolean
                                                                                                                                                                                                                  isProtected?: boolean
                                                                                                                                                                                                                  mime: string
                                                                                                                                                                                                                  noteId: string
                                                                                                                                                                                                                  title?: string
                                                                                                                                                                                                                  type: string
                                                                                                                                                                                                                  utcDateCreated: string
                                                                                                                                                                                                                  utcDateModified?: string
                                                                                                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteRow.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteRow.html new file mode 100644 index 000000000..eb3d385cd --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.NoteRow.html @@ -0,0 +1,14 @@ +NoteRow | trilium
                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                    interface NoteRow {
                                                                                                                                                                                                                        blobId: string;
                                                                                                                                                                                                                        content?: string | Buffer<ArrayBufferLike>;
                                                                                                                                                                                                                        dateCreated: string;
                                                                                                                                                                                                                        dateModified: string;
                                                                                                                                                                                                                        deleteId: string;
                                                                                                                                                                                                                        isDeleted: boolean;
                                                                                                                                                                                                                        isProtected: boolean;
                                                                                                                                                                                                                        mime: string;
                                                                                                                                                                                                                        noteId: string;
                                                                                                                                                                                                                        title: string;
                                                                                                                                                                                                                        type:
                                                                                                                                                                                                                            | "canvas"
                                                                                                                                                                                                                            | "code"
                                                                                                                                                                                                                            | "search"
                                                                                                                                                                                                                            | "image"
                                                                                                                                                                                                                            | "text"
                                                                                                                                                                                                                            | "file"
                                                                                                                                                                                                                            | "noteMap"
                                                                                                                                                                                                                            | "launcher"
                                                                                                                                                                                                                            | "doc"
                                                                                                                                                                                                                            | "contentWidget"
                                                                                                                                                                                                                            | "relationMap"
                                                                                                                                                                                                                            | "render"
                                                                                                                                                                                                                            | "mermaid"
                                                                                                                                                                                                                            | "book"
                                                                                                                                                                                                                            | "webView"
                                                                                                                                                                                                                            | "mindMap"
                                                                                                                                                                                                                            | "geoMap";
                                                                                                                                                                                                                        utcDateCreated: string;
                                                                                                                                                                                                                        utcDateModified: string;
                                                                                                                                                                                                                    }
                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                    blobId: string
                                                                                                                                                                                                                    content?: string | Buffer<ArrayBufferLike>
                                                                                                                                                                                                                    dateCreated: string
                                                                                                                                                                                                                    dateModified: string
                                                                                                                                                                                                                    deleteId: string
                                                                                                                                                                                                                    isDeleted: boolean
                                                                                                                                                                                                                    isProtected: boolean
                                                                                                                                                                                                                    mime: string
                                                                                                                                                                                                                    noteId: string
                                                                                                                                                                                                                    title: string
                                                                                                                                                                                                                    type:
                                                                                                                                                                                                                        | "canvas"
                                                                                                                                                                                                                        | "code"
                                                                                                                                                                                                                        | "search"
                                                                                                                                                                                                                        | "image"
                                                                                                                                                                                                                        | "text"
                                                                                                                                                                                                                        | "file"
                                                                                                                                                                                                                        | "noteMap"
                                                                                                                                                                                                                        | "launcher"
                                                                                                                                                                                                                        | "doc"
                                                                                                                                                                                                                        | "contentWidget"
                                                                                                                                                                                                                        | "relationMap"
                                                                                                                                                                                                                        | "render"
                                                                                                                                                                                                                        | "mermaid"
                                                                                                                                                                                                                        | "book"
                                                                                                                                                                                                                        | "webView"
                                                                                                                                                                                                                        | "mindMap"
                                                                                                                                                                                                                        | "geoMap"
                                                                                                                                                                                                                    utcDateCreated: string
                                                                                                                                                                                                                    utcDateModified: string
                                                                                                                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Object.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Object.html new file mode 100644 index 000000000..397419d2e --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Object.html @@ -0,0 +1,18 @@ +Object | trilium
                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                      interface Object {
                                                                                                                                                                                                                          constructor: Function;
                                                                                                                                                                                                                          hasOwnProperty(v: PropertyKey): boolean;
                                                                                                                                                                                                                          isPrototypeOf(v: Object): boolean;
                                                                                                                                                                                                                          propertyIsEnumerable(v: PropertyKey): boolean;
                                                                                                                                                                                                                          toLocaleString(): string;
                                                                                                                                                                                                                          toString(): string;
                                                                                                                                                                                                                          valueOf(): Object;
                                                                                                                                                                                                                      }
                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                      constructor: Function

                                                                                                                                                                                                                      The initial value of Object.prototype.constructor is the standard built-in Object constructor.

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Methods

                                                                                                                                                                                                                      • Determines whether an object has a property with the specified name.

                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        Returns boolean

                                                                                                                                                                                                                      • Determines whether an object exists in another object's prototype chain.

                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        • v: Object

                                                                                                                                                                                                                          Another object whose prototype chain is to be checked.

                                                                                                                                                                                                                          +

                                                                                                                                                                                                                        Returns boolean

                                                                                                                                                                                                                      • Determines whether a specified property is enumerable.

                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Parameters

                                                                                                                                                                                                                        Returns boolean

                                                                                                                                                                                                                      • Returns a date converted to a string using the current locale.

                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Returns string

                                                                                                                                                                                                                      • Returns a string representation of an object.

                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Returns string

                                                                                                                                                                                                                      • Returns the primitive value of the specified object.

                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Returns Object

                                                                                                                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.OptionRow.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.OptionRow.html new file mode 100644 index 000000000..05612c86a --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.OptionRow.html @@ -0,0 +1,11 @@ +OptionRow | trilium
                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                        Database representation of an option.

                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Options are key-value pairs that are used to store information such as user preferences (for example +the current theme, sync server information), but also information about the state of the application).

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        interface OptionRow {
                                                                                                                                                                                                                            isSynced: boolean;
                                                                                                                                                                                                                            name: string;
                                                                                                                                                                                                                            utcDateModified?: string;
                                                                                                                                                                                                                            value: string;
                                                                                                                                                                                                                        }
                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                        isSynced: boolean

                                                                                                                                                                                                                        true if the value should be synced across multiple instances (e.g. locale) or false if it should be local-only (e.g. theme).

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        name: string

                                                                                                                                                                                                                        The name of the option.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        utcDateModified?: string
                                                                                                                                                                                                                        value: string

                                                                                                                                                                                                                        The value of the option.

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ParamEncoder.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ParamEncoder.html new file mode 100644 index 000000000..1f349e2f4 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ParamEncoder.html @@ -0,0 +1 @@ +ParamEncoder | trilium
                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                            • value: any
                                                                                                                                                                                                                            • defaultEncoder: (value: any) => any

                                                                                                                                                                                                                            Returns any

                                                                                                                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ParamsSerializerOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ParamsSerializerOptions.html new file mode 100644 index 000000000..8208ec80c --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.ParamsSerializerOptions.html @@ -0,0 +1,7 @@ +ParamsSerializerOptions | trilium
                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                            interface ParamsSerializerOptions {
                                                                                                                                                                                                                                dots?: boolean;
                                                                                                                                                                                                                                encode?: ParamEncoder;
                                                                                                                                                                                                                                indexes?: null | boolean;
                                                                                                                                                                                                                                metaTokens?: boolean;
                                                                                                                                                                                                                                serialize?: CustomParamsSerializer;
                                                                                                                                                                                                                                visitor?: SerializerVisitor;
                                                                                                                                                                                                                            }

                                                                                                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                            dots?: boolean
                                                                                                                                                                                                                            encode?: ParamEncoder
                                                                                                                                                                                                                            indexes?: null | boolean
                                                                                                                                                                                                                            metaTokens?: boolean
                                                                                                                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.RawAxiosHeaders.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.RawAxiosHeaders.html new file mode 100644 index 000000000..6c8af217c --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.RawAxiosHeaders.html @@ -0,0 +1 @@ +RawAxiosHeaders | trilium
                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                              Indexable

                                                                                                                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Relationship.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Relationship.html new file mode 100644 index 000000000..92e098065 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Relationship.html @@ -0,0 +1,3 @@ +Relationship | trilium
                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                interface Relationship {
                                                                                                                                                                                                                                    childNoteId: string;
                                                                                                                                                                                                                                    parentNoteId: string;
                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                childNoteId: string
                                                                                                                                                                                                                                parentNoteId: string
                                                                                                                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.RevisionRow.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.RevisionRow.html new file mode 100644 index 000000000..9e5c9c702 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.RevisionRow.html @@ -0,0 +1,14 @@ +RevisionRow | trilium
                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                  interface RevisionRow {
                                                                                                                                                                                                                                      blobId?: string;
                                                                                                                                                                                                                                      contentLength?: number;
                                                                                                                                                                                                                                      dateCreated: string;
                                                                                                                                                                                                                                      dateLastEdited?: string;
                                                                                                                                                                                                                                      isProtected?: boolean;
                                                                                                                                                                                                                                      mime: string;
                                                                                                                                                                                                                                      noteId: string;
                                                                                                                                                                                                                                      revisionId?: string;
                                                                                                                                                                                                                                      title: string;
                                                                                                                                                                                                                                      type:
                                                                                                                                                                                                                                          | "canvas"
                                                                                                                                                                                                                                          | "code"
                                                                                                                                                                                                                                          | "search"
                                                                                                                                                                                                                                          | "image"
                                                                                                                                                                                                                                          | "text"
                                                                                                                                                                                                                                          | "file"
                                                                                                                                                                                                                                          | "noteMap"
                                                                                                                                                                                                                                          | "launcher"
                                                                                                                                                                                                                                          | "doc"
                                                                                                                                                                                                                                          | "contentWidget"
                                                                                                                                                                                                                                          | "relationMap"
                                                                                                                                                                                                                                          | "render"
                                                                                                                                                                                                                                          | "mermaid"
                                                                                                                                                                                                                                          | "book"
                                                                                                                                                                                                                                          | "webView"
                                                                                                                                                                                                                                          | "mindMap"
                                                                                                                                                                                                                                          | "geoMap";
                                                                                                                                                                                                                                      utcDateCreated: string;
                                                                                                                                                                                                                                      utcDateLastEdited?: string;
                                                                                                                                                                                                                                      utcDateModified: string;
                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                  blobId?: string
                                                                                                                                                                                                                                  contentLength?: number
                                                                                                                                                                                                                                  dateCreated: string
                                                                                                                                                                                                                                  dateLastEdited?: string
                                                                                                                                                                                                                                  isProtected?: boolean
                                                                                                                                                                                                                                  mime: string
                                                                                                                                                                                                                                  noteId: string
                                                                                                                                                                                                                                  revisionId?: string
                                                                                                                                                                                                                                  title: string
                                                                                                                                                                                                                                  type:
                                                                                                                                                                                                                                      | "canvas"
                                                                                                                                                                                                                                      | "code"
                                                                                                                                                                                                                                      | "search"
                                                                                                                                                                                                                                      | "image"
                                                                                                                                                                                                                                      | "text"
                                                                                                                                                                                                                                      | "file"
                                                                                                                                                                                                                                      | "noteMap"
                                                                                                                                                                                                                                      | "launcher"
                                                                                                                                                                                                                                      | "doc"
                                                                                                                                                                                                                                      | "contentWidget"
                                                                                                                                                                                                                                      | "relationMap"
                                                                                                                                                                                                                                      | "render"
                                                                                                                                                                                                                                      | "mermaid"
                                                                                                                                                                                                                                      | "book"
                                                                                                                                                                                                                                      | "webView"
                                                                                                                                                                                                                                      | "mindMap"
                                                                                                                                                                                                                                      | "geoMap"
                                                                                                                                                                                                                                  utcDateCreated: string
                                                                                                                                                                                                                                  utcDateLastEdited?: string
                                                                                                                                                                                                                                  utcDateModified: string
                                                                                                                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Root.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Root.html new file mode 100644 index 000000000..b423fe304 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Root.html @@ -0,0 +1,6 @@ +Root | trilium
                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                    interface Root {
                                                                                                                                                                                                                                        contains(container: Element, contained: Element): boolean;
                                                                                                                                                                                                                                        html(options?: CheerioParserOptions): string;
                                                                                                                                                                                                                                        html(
                                                                                                                                                                                                                                            dom: string | Element | Cheerio,
                                                                                                                                                                                                                                            options?: CheerioParserOptions,
                                                                                                                                                                                                                                        ): string;
                                                                                                                                                                                                                                        parseHTML(
                                                                                                                                                                                                                                            data: string,
                                                                                                                                                                                                                                            context?: null | Document,
                                                                                                                                                                                                                                            keepScripts?: boolean,
                                                                                                                                                                                                                                        ): Document[];
                                                                                                                                                                                                                                        root(): Cheerio;
                                                                                                                                                                                                                                        xml(dom?: string | Element | Cheerio): string;
                                                                                                                                                                                                                                        (selector: string): Cheerio;
                                                                                                                                                                                                                                        (selector: string, context: string): Cheerio;
                                                                                                                                                                                                                                        (selector: string, context: Element): Cheerio;
                                                                                                                                                                                                                                        (selector: string, context: Element[]): Cheerio;
                                                                                                                                                                                                                                        (selector: string, context: Cheerio): Cheerio;
                                                                                                                                                                                                                                        (selector: string, context: string, root: string): Cheerio;
                                                                                                                                                                                                                                        (selector: string, context: Element, root: string): Cheerio;
                                                                                                                                                                                                                                        (selector: string, context: Element[], root: string): Cheerio;
                                                                                                                                                                                                                                        (selector: string, context: Cheerio, root: string): Cheerio;
                                                                                                                                                                                                                                        (selector: any): Cheerio;
                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      • selector: string

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      • selector: string
                                                                                                                                                                                                                                      • context: string

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      • selector: string
                                                                                                                                                                                                                                      • context: string
                                                                                                                                                                                                                                      • root: string

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      • selector: string
                                                                                                                                                                                                                                      • context: Element
                                                                                                                                                                                                                                      • root: string

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      • selector: string
                                                                                                                                                                                                                                      • context: Element[]
                                                                                                                                                                                                                                      • root: string

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      • selector: string
                                                                                                                                                                                                                                      • context: Cheerio
                                                                                                                                                                                                                                      • root: string

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      • selector: any

                                                                                                                                                                                                                                      Returns Cheerio

                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      Returns boolean

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      • data: string
                                                                                                                                                                                                                                      • Optionalcontext: null | Document
                                                                                                                                                                                                                                      • OptionalkeepScripts: boolean

                                                                                                                                                                                                                                      Returns Document[]

                                                                                                                                                                                                                                    • Returns Cheerio

                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                      Returns string

                                                                                                                                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SavingOpts.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SavingOpts.html new file mode 100644 index 000000000..76aa34356 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SavingOpts.html @@ -0,0 +1,2 @@ +SavingOpts | trilium
                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                      interface SavingOpts {
                                                                                                                                                                                                                                          skipValidation?: boolean;
                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                      skipValidation?: boolean
                                                                                                                                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SearchParams.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SearchParams.html new file mode 100644 index 000000000..535fbb974 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SearchParams.html @@ -0,0 +1,5 @@ +SearchParams | trilium
                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                        An instance of the frontend api available globally.

                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                        api

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        interface SearchParams {
                                                                                                                                                                                                                                            ignoreHoistedNote?: boolean;
                                                                                                                                                                                                                                            includeArchivedNotes?: boolean;
                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                        ignoreHoistedNote?: boolean
                                                                                                                                                                                                                                        includeArchivedNotes?: boolean
                                                                                                                                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Selector.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Selector.html new file mode 100644 index 000000000..1031d94c6 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.Selector.html @@ -0,0 +1 @@ +Selector | trilium
                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                          Hierarchy (View Summary)

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            • selector: string

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            • selector: string
                                                                                                                                                                                                                                            • context: string

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            • selector: string
                                                                                                                                                                                                                                            • context: string
                                                                                                                                                                                                                                            • root: string

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            • selector: string
                                                                                                                                                                                                                                            • context: Element
                                                                                                                                                                                                                                            • root: string

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            • selector: string
                                                                                                                                                                                                                                            • context: Element[]
                                                                                                                                                                                                                                            • root: string

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            • selector: string
                                                                                                                                                                                                                                            • context: Cheerio
                                                                                                                                                                                                                                            • root: string

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                            • selector: any

                                                                                                                                                                                                                                            Returns Cheerio

                                                                                                                                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SerializerOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SerializerOptions.html new file mode 100644 index 000000000..7ed18ad17 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SerializerOptions.html @@ -0,0 +1,5 @@ +SerializerOptions | trilium
                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                            interface SerializerOptions {
                                                                                                                                                                                                                                                dots?: boolean;
                                                                                                                                                                                                                                                indexes?: null | boolean;
                                                                                                                                                                                                                                                metaTokens?: boolean;
                                                                                                                                                                                                                                                visitor?: SerializerVisitor;
                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                            dots?: boolean
                                                                                                                                                                                                                                            indexes?: null | boolean
                                                                                                                                                                                                                                            metaTokens?: boolean
                                                                                                                                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SerializerVisitor.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SerializerVisitor.html new file mode 100644 index 000000000..13e4600e3 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.SerializerVisitor.html @@ -0,0 +1 @@ +SerializerVisitor | trilium
                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                              • Parameters

                                                                                                                                                                                                                                                Returns boolean

                                                                                                                                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.StaticEventEmitterIteratorOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.StaticEventEmitterIteratorOptions.html new file mode 100644 index 000000000..e20cf07dc --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.StaticEventEmitterIteratorOptions.html @@ -0,0 +1,17 @@ +StaticEventEmitterIteratorOptions | trilium
                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                interface StaticEventEmitterIteratorOptions {
                                                                                                                                                                                                                                                    close?: string[];
                                                                                                                                                                                                                                                    highWaterMark?: number;
                                                                                                                                                                                                                                                    lowWaterMark?: number;
                                                                                                                                                                                                                                                    signal?: AbortSignal;
                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                Hierarchy (View Summary)

                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                close?: string[]

                                                                                                                                                                                                                                                Names of events that will end the iteration.

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                highWaterMark?: number

                                                                                                                                                                                                                                                The high watermark. The emitter is paused every time the size of events being buffered is higher than it. +Supported only on emitters implementing pause() and resume() methods.

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                Number.MAX_SAFE_INTEGER
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                lowWaterMark?: number

                                                                                                                                                                                                                                                The low watermark. The emitter is resumed every time the size of events being buffered is lower than it. +Supported only on emitters implementing pause() and resume() methods.

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                1
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                signal?: AbortSignal

                                                                                                                                                                                                                                                Can be used to cancel awaiting events.

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.StaticEventEmitterOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.StaticEventEmitterOptions.html new file mode 100644 index 000000000..5e35826b8 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.StaticEventEmitterOptions.html @@ -0,0 +1,3 @@ +StaticEventEmitterOptions | trilium
                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                  interface StaticEventEmitterOptions {
                                                                                                                                                                                                                                                      signal?: AbortSignal;
                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                  Hierarchy (View Summary)

                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                  signal?: AbortSignal

                                                                                                                                                                                                                                                  Can be used to cancel awaiting events.

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TagElement.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TagElement.html new file mode 100644 index 000000000..154127780 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TagElement.html @@ -0,0 +1,21 @@ +TagElement | trilium
                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                    interface TagElement {
                                                                                                                                                                                                                                                        attribs: { [attr: string]: string };
                                                                                                                                                                                                                                                        childNodes: null | Element[];
                                                                                                                                                                                                                                                        children: Element[];
                                                                                                                                                                                                                                                        data?: string;
                                                                                                                                                                                                                                                        endIndex?: number;
                                                                                                                                                                                                                                                        firstChild: null | Element;
                                                                                                                                                                                                                                                        lastChild: null | Element;
                                                                                                                                                                                                                                                        name: string;
                                                                                                                                                                                                                                                        next: null | Element;
                                                                                                                                                                                                                                                        nextSibling: Element;
                                                                                                                                                                                                                                                        nodeValue: string;
                                                                                                                                                                                                                                                        parent: Element;
                                                                                                                                                                                                                                                        parentNode: Element;
                                                                                                                                                                                                                                                        prev: null | Element;
                                                                                                                                                                                                                                                        previousSibling: Element;
                                                                                                                                                                                                                                                        startIndex?: number;
                                                                                                                                                                                                                                                        tagName: string;
                                                                                                                                                                                                                                                        type: "script" | "style" | "tag";
                                                                                                                                                                                                                                                        "x-attribsNamespace": { [attr: string]: string };
                                                                                                                                                                                                                                                        "x-prefixNamespace": { [attr: string]: string };
                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                    attribs: { [attr: string]: string }
                                                                                                                                                                                                                                                    childNodes: null | Element[]
                                                                                                                                                                                                                                                    children: Element[]
                                                                                                                                                                                                                                                    data?: string
                                                                                                                                                                                                                                                    endIndex?: number
                                                                                                                                                                                                                                                    firstChild: null | Element
                                                                                                                                                                                                                                                    lastChild: null | Element
                                                                                                                                                                                                                                                    name: string
                                                                                                                                                                                                                                                    next: null | Element
                                                                                                                                                                                                                                                    nextSibling: Element
                                                                                                                                                                                                                                                    nodeValue: string
                                                                                                                                                                                                                                                    parent: Element
                                                                                                                                                                                                                                                    parentNode: Element
                                                                                                                                                                                                                                                    prev: null | Element
                                                                                                                                                                                                                                                    previousSibling: Element
                                                                                                                                                                                                                                                    startIndex?: number
                                                                                                                                                                                                                                                    tagName: string
                                                                                                                                                                                                                                                    type: "script" | "style" | "tag"
                                                                                                                                                                                                                                                    "x-attribsNamespace": { [attr: string]: string }
                                                                                                                                                                                                                                                    "x-prefixNamespace": { [attr: string]: string }
                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TaskData.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TaskData.html new file mode 100644 index 000000000..e17e7100e --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TaskData.html @@ -0,0 +1,6 @@ +TaskData | trilium
                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                      interface TaskData {
                                                                                                                                                                                                                                                          codeImportedAsCode?: boolean;
                                                                                                                                                                                                                                                          replaceUnderscoresWithSpaces?: boolean;
                                                                                                                                                                                                                                                          safeImport?: boolean;
                                                                                                                                                                                                                                                          shrinkImages?: boolean;
                                                                                                                                                                                                                                                          textImportedAsText?: boolean;
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                      codeImportedAsCode?: boolean
                                                                                                                                                                                                                                                      replaceUnderscoresWithSpaces?: boolean
                                                                                                                                                                                                                                                      safeImport?: boolean
                                                                                                                                                                                                                                                      shrinkImages?: boolean
                                                                                                                                                                                                                                                      textImportedAsText?: boolean
                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TextElement.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TextElement.html new file mode 100644 index 000000000..0c88db3a5 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TextElement.html @@ -0,0 +1,8 @@ +TextElement | trilium
                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                        interface TextElement {
                                                                                                                                                                                                                                                            data?: string;
                                                                                                                                                                                                                                                            endIndex?: number;
                                                                                                                                                                                                                                                            next: null | Element;
                                                                                                                                                                                                                                                            parent: Element;
                                                                                                                                                                                                                                                            prev: null | Element;
                                                                                                                                                                                                                                                            startIndex?: number;
                                                                                                                                                                                                                                                            type: "text";
                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                        data?: string
                                                                                                                                                                                                                                                        endIndex?: number
                                                                                                                                                                                                                                                        next: null | Element
                                                                                                                                                                                                                                                        parent: Element
                                                                                                                                                                                                                                                        prev: null | Element
                                                                                                                                                                                                                                                        startIndex?: number
                                                                                                                                                                                                                                                        type: "text"
                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TransitionalOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TransitionalOptions.html new file mode 100644 index 000000000..419589807 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.TransitionalOptions.html @@ -0,0 +1,4 @@ +TransitionalOptions | trilium
                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                          interface TransitionalOptions {
                                                                                                                                                                                                                                                              clarifyTimeoutError?: boolean;
                                                                                                                                                                                                                                                              forcedJSONParsing?: boolean;
                                                                                                                                                                                                                                                              silentJSONParsing?: boolean;
                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                          clarifyTimeoutError?: boolean
                                                                                                                                                                                                                                                          forcedJSONParsing?: boolean
                                                                                                                                                                                                                                                          silentJSONParsing?: boolean
                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.BuilderOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.BuilderOptions.html new file mode 100644 index 000000000..6d1a79d61 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.BuilderOptions.html @@ -0,0 +1,10 @@ +BuilderOptions | trilium
                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                            interface BuilderOptions {
                                                                                                                                                                                                                                                                allowSurrogateChars?: boolean;
                                                                                                                                                                                                                                                                attrkey?: string;
                                                                                                                                                                                                                                                                cdata?: boolean;
                                                                                                                                                                                                                                                                charkey?: string;
                                                                                                                                                                                                                                                                doctype?: any;
                                                                                                                                                                                                                                                                headless?: boolean;
                                                                                                                                                                                                                                                                renderOpts?: RenderOptions;
                                                                                                                                                                                                                                                                rootName?: string;
                                                                                                                                                                                                                                                                xmldec?: XmlDeclarationAttributes;
                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                            allowSurrogateChars?: boolean
                                                                                                                                                                                                                                                            attrkey?: string
                                                                                                                                                                                                                                                            cdata?: boolean
                                                                                                                                                                                                                                                            charkey?: string
                                                                                                                                                                                                                                                            doctype?: any
                                                                                                                                                                                                                                                            headless?: boolean
                                                                                                                                                                                                                                                            renderOpts?: RenderOptions
                                                                                                                                                                                                                                                            rootName?: string
                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.ParserOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.ParserOptions.html new file mode 100644 index 000000000..a96c83f99 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.ParserOptions.html @@ -0,0 +1,26 @@ +ParserOptions | trilium
                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                                              interface ParserOptions {
                                                                                                                                                                                                                                                                  async?: boolean;
                                                                                                                                                                                                                                                                  attrkey?: string;
                                                                                                                                                                                                                                                                  attrNameProcessors?: ((name: string) => any)[];
                                                                                                                                                                                                                                                                  attrValueProcessors?: ((value: string, name: string) => any)[];
                                                                                                                                                                                                                                                                  charkey?: string;
                                                                                                                                                                                                                                                                  charsAsChildren?: boolean;
                                                                                                                                                                                                                                                                  childkey?: string;
                                                                                                                                                                                                                                                                  chunkSize?: number;
                                                                                                                                                                                                                                                                  emptyTag?: string | (() => any);
                                                                                                                                                                                                                                                                  explicitArray?: boolean;
                                                                                                                                                                                                                                                                  explicitCharkey?: boolean;
                                                                                                                                                                                                                                                                  explicitChildren?: boolean;
                                                                                                                                                                                                                                                                  explicitRoot?: boolean;
                                                                                                                                                                                                                                                                  ignoreAttrs?: boolean;
                                                                                                                                                                                                                                                                  includeWhiteChars?: boolean;
                                                                                                                                                                                                                                                                  mergeAttrs?: boolean;
                                                                                                                                                                                                                                                                  normalize?: boolean;
                                                                                                                                                                                                                                                                  normalizeTags?: boolean;
                                                                                                                                                                                                                                                                  preserveChildrenOrder?: boolean;
                                                                                                                                                                                                                                                                  strict?: boolean;
                                                                                                                                                                                                                                                                  tagNameProcessors?: ((name: string) => any)[];
                                                                                                                                                                                                                                                                  trim?: boolean;
                                                                                                                                                                                                                                                                  validator?: Function;
                                                                                                                                                                                                                                                                  valueProcessors?: ((value: string, name: string) => any)[];
                                                                                                                                                                                                                                                                  xmlns?: boolean;
                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                              async?: boolean
                                                                                                                                                                                                                                                              attrkey?: string
                                                                                                                                                                                                                                                              attrNameProcessors?: ((name: string) => any)[]
                                                                                                                                                                                                                                                              attrValueProcessors?: ((value: string, name: string) => any)[]
                                                                                                                                                                                                                                                              charkey?: string
                                                                                                                                                                                                                                                              charsAsChildren?: boolean
                                                                                                                                                                                                                                                              childkey?: string
                                                                                                                                                                                                                                                              chunkSize?: number
                                                                                                                                                                                                                                                              emptyTag?: string | (() => any)
                                                                                                                                                                                                                                                              explicitArray?: boolean
                                                                                                                                                                                                                                                              explicitCharkey?: boolean
                                                                                                                                                                                                                                                              explicitChildren?: boolean
                                                                                                                                                                                                                                                              explicitRoot?: boolean
                                                                                                                                                                                                                                                              ignoreAttrs?: boolean
                                                                                                                                                                                                                                                              includeWhiteChars?: boolean
                                                                                                                                                                                                                                                              mergeAttrs?: boolean
                                                                                                                                                                                                                                                              normalize?: boolean
                                                                                                                                                                                                                                                              normalizeTags?: boolean
                                                                                                                                                                                                                                                              preserveChildrenOrder?: boolean
                                                                                                                                                                                                                                                              strict?: boolean
                                                                                                                                                                                                                                                              tagNameProcessors?: ((name: string) => any)[]
                                                                                                                                                                                                                                                              trim?: boolean
                                                                                                                                                                                                                                                              validator?: Function
                                                                                                                                                                                                                                                              valueProcessors?: ((value: string, name: string) => any)[]
                                                                                                                                                                                                                                                              xmlns?: boolean
                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.RenderOptions.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.RenderOptions.html new file mode 100644 index 000000000..cc9d11cf9 --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.RenderOptions.html @@ -0,0 +1,4 @@ +RenderOptions | trilium
                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                interface RenderOptions {
                                                                                                                                                                                                                                                                    indent?: string;
                                                                                                                                                                                                                                                                    newline?: string;
                                                                                                                                                                                                                                                                    pretty?: boolean;
                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                indent?: string
                                                                                                                                                                                                                                                                newline?: string
                                                                                                                                                                                                                                                                pretty?: boolean
                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.XmlDeclarationAttributes.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.XmlDeclarationAttributes.html new file mode 100644 index 000000000..b5539443c --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.XmlDeclarationAttributes.html @@ -0,0 +1,4 @@ +XmlDeclarationAttributes | trilium
                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                  interface XmlDeclarationAttributes {
                                                                                                                                                                                                                                                                      encoding?: string;
                                                                                                                                                                                                                                                                      standalone?: boolean;
                                                                                                                                                                                                                                                                      version: string;
                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                  encoding?: string
                                                                                                                                                                                                                                                                  standalone?: boolean
                                                                                                                                                                                                                                                                  version: string
                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.convertableToString.html b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.convertableToString.html new file mode 100644 index 000000000..29d62429e --- /dev/null +++ b/docs/backend_api/interfaces/backend_script_entrypoint._internal_.node_modules__types_xml2js.convertableToString.html @@ -0,0 +1,2 @@ +convertableToString | trilium
                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                    interface convertableToString {
                                                                                                                                                                                                                                                                        toString(): string;
                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                    • Returns string

                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/interfaces/becca_entities_rows.AttachmentRow.html b/docs/backend_api/interfaces/becca_entities_rows.AttachmentRow.html deleted file mode 100644 index a390cfeac..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.AttachmentRow.html +++ /dev/null @@ -1,16 +0,0 @@ -AttachmentRow | trilium
                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                      Interface AttachmentRow

                                                                                                                                                                                                                                                                      interface AttachmentRow {
                                                                                                                                                                                                                                                                          attachmentId?: string;
                                                                                                                                                                                                                                                                          blobId?: string;
                                                                                                                                                                                                                                                                          content?: string | Buffer<ArrayBufferLike>;
                                                                                                                                                                                                                                                                          contentLength?: number;
                                                                                                                                                                                                                                                                          dateModified?: string;
                                                                                                                                                                                                                                                                          deleteId?: string;
                                                                                                                                                                                                                                                                          isDeleted?: boolean;
                                                                                                                                                                                                                                                                          isProtected?: boolean;
                                                                                                                                                                                                                                                                          mime: string;
                                                                                                                                                                                                                                                                          ownerId?: string;
                                                                                                                                                                                                                                                                          position?: number;
                                                                                                                                                                                                                                                                          role: string;
                                                                                                                                                                                                                                                                          title: string;
                                                                                                                                                                                                                                                                          utcDateModified?: string;
                                                                                                                                                                                                                                                                          utcDateScheduledForErasureSince?: string;
                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                      attachmentId?: string
                                                                                                                                                                                                                                                                      blobId?: string
                                                                                                                                                                                                                                                                      content?: string | Buffer<ArrayBufferLike>
                                                                                                                                                                                                                                                                      contentLength?: number
                                                                                                                                                                                                                                                                      dateModified?: string
                                                                                                                                                                                                                                                                      deleteId?: string
                                                                                                                                                                                                                                                                      isDeleted?: boolean
                                                                                                                                                                                                                                                                      isProtected?: boolean
                                                                                                                                                                                                                                                                      mime: string
                                                                                                                                                                                                                                                                      ownerId?: string
                                                                                                                                                                                                                                                                      position?: number
                                                                                                                                                                                                                                                                      role: string
                                                                                                                                                                                                                                                                      title: string
                                                                                                                                                                                                                                                                      utcDateModified?: string
                                                                                                                                                                                                                                                                      utcDateScheduledForErasureSince?: string
                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/interfaces/becca_entities_rows.AttributeRow.html b/docs/backend_api/interfaces/becca_entities_rows.AttributeRow.html deleted file mode 100644 index 475adeb33..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.AttributeRow.html +++ /dev/null @@ -1,9 +0,0 @@ -AttributeRow | trilium
                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                        Interface AttributeRow

                                                                                                                                                                                                                                                                        interface AttributeRow {
                                                                                                                                                                                                                                                                            attributeId?: string;
                                                                                                                                                                                                                                                                            isInheritable?: boolean;
                                                                                                                                                                                                                                                                            name: string;
                                                                                                                                                                                                                                                                            noteId?: string;
                                                                                                                                                                                                                                                                            position?: null | number;
                                                                                                                                                                                                                                                                            type: AttributeType;
                                                                                                                                                                                                                                                                            utcDateModified?: string;
                                                                                                                                                                                                                                                                            value?: string;
                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                        attributeId?: string
                                                                                                                                                                                                                                                                        isInheritable?: boolean
                                                                                                                                                                                                                                                                        name: string
                                                                                                                                                                                                                                                                        noteId?: string
                                                                                                                                                                                                                                                                        position?: null | number
                                                                                                                                                                                                                                                                        utcDateModified?: string
                                                                                                                                                                                                                                                                        value?: string
                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/interfaces/becca_entities_rows.BlobRow.html b/docs/backend_api/interfaces/becca_entities_rows.BlobRow.html deleted file mode 100644 index feb0bc446..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.BlobRow.html +++ /dev/null @@ -1,6 +0,0 @@ -BlobRow | trilium
                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                          interface BlobRow {
                                                                                                                                                                                                                                                                              blobId: string;
                                                                                                                                                                                                                                                                              content: string | Buffer<ArrayBufferLike>;
                                                                                                                                                                                                                                                                              contentLength: number;
                                                                                                                                                                                                                                                                              dateModified: string;
                                                                                                                                                                                                                                                                              utcDateModified: string;
                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                          blobId: string
                                                                                                                                                                                                                                                                          content: string | Buffer<ArrayBufferLike>
                                                                                                                                                                                                                                                                          contentLength: number
                                                                                                                                                                                                                                                                          dateModified: string
                                                                                                                                                                                                                                                                          utcDateModified: string
                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/interfaces/becca_entities_rows.BranchRow.html b/docs/backend_api/interfaces/becca_entities_rows.BranchRow.html deleted file mode 100644 index f19ad64ce..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.BranchRow.html +++ /dev/null @@ -1,9 +0,0 @@ -BranchRow | trilium
                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                            Interface BranchRow

                                                                                                                                                                                                                                                                            interface BranchRow {
                                                                                                                                                                                                                                                                                branchId?: string;
                                                                                                                                                                                                                                                                                isDeleted?: boolean;
                                                                                                                                                                                                                                                                                isExpanded?: boolean;
                                                                                                                                                                                                                                                                                noteId: string;
                                                                                                                                                                                                                                                                                notePosition?: null | number;
                                                                                                                                                                                                                                                                                parentNoteId: string;
                                                                                                                                                                                                                                                                                prefix?: null | string;
                                                                                                                                                                                                                                                                                utcDateModified?: string;
                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                            branchId?: string
                                                                                                                                                                                                                                                                            isDeleted?: boolean
                                                                                                                                                                                                                                                                            isExpanded?: boolean
                                                                                                                                                                                                                                                                            noteId: string
                                                                                                                                                                                                                                                                            notePosition?: null | number
                                                                                                                                                                                                                                                                            parentNoteId: string
                                                                                                                                                                                                                                                                            prefix?: null | string
                                                                                                                                                                                                                                                                            utcDateModified?: string
                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/interfaces/becca_entities_rows.EtapiTokenRow.html b/docs/backend_api/interfaces/becca_entities_rows.EtapiTokenRow.html deleted file mode 100644 index 7fe6f9325..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.EtapiTokenRow.html +++ /dev/null @@ -1,7 +0,0 @@ -EtapiTokenRow | trilium
                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                              Interface EtapiTokenRow

                                                                                                                                                                                                                                                                              interface EtapiTokenRow {
                                                                                                                                                                                                                                                                                  etapiTokenId?: string;
                                                                                                                                                                                                                                                                                  isDeleted?: boolean;
                                                                                                                                                                                                                                                                                  name: string;
                                                                                                                                                                                                                                                                                  tokenHash: string;
                                                                                                                                                                                                                                                                                  utcDateCreated?: string;
                                                                                                                                                                                                                                                                                  utcDateModified?: string;
                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                              etapiTokenId?: string
                                                                                                                                                                                                                                                                              isDeleted?: boolean
                                                                                                                                                                                                                                                                              name: string
                                                                                                                                                                                                                                                                              tokenHash: string
                                                                                                                                                                                                                                                                              utcDateCreated?: string
                                                                                                                                                                                                                                                                              utcDateModified?: string
                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/interfaces/becca_entities_rows.NoteRow.html b/docs/backend_api/interfaces/becca_entities_rows.NoteRow.html deleted file mode 100644 index c8b329c50..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.NoteRow.html +++ /dev/null @@ -1,14 +0,0 @@ -NoteRow | trilium
                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                                interface NoteRow {
                                                                                                                                                                                                                                                                                    blobId: string;
                                                                                                                                                                                                                                                                                    content?: string | Buffer<ArrayBufferLike>;
                                                                                                                                                                                                                                                                                    dateCreated: string;
                                                                                                                                                                                                                                                                                    dateModified: string;
                                                                                                                                                                                                                                                                                    deleteId: string;
                                                                                                                                                                                                                                                                                    isDeleted: boolean;
                                                                                                                                                                                                                                                                                    isProtected: boolean;
                                                                                                                                                                                                                                                                                    mime: string;
                                                                                                                                                                                                                                                                                    noteId: string;
                                                                                                                                                                                                                                                                                    title: string;
                                                                                                                                                                                                                                                                                    type:
                                                                                                                                                                                                                                                                                        | "canvas"
                                                                                                                                                                                                                                                                                        | "code"
                                                                                                                                                                                                                                                                                        | "search"
                                                                                                                                                                                                                                                                                        | "image"
                                                                                                                                                                                                                                                                                        | "text"
                                                                                                                                                                                                                                                                                        | "file"
                                                                                                                                                                                                                                                                                        | "noteMap"
                                                                                                                                                                                                                                                                                        | "launcher"
                                                                                                                                                                                                                                                                                        | "doc"
                                                                                                                                                                                                                                                                                        | "contentWidget"
                                                                                                                                                                                                                                                                                        | "relationMap"
                                                                                                                                                                                                                                                                                        | "render"
                                                                                                                                                                                                                                                                                        | "mermaid"
                                                                                                                                                                                                                                                                                        | "book"
                                                                                                                                                                                                                                                                                        | "webView"
                                                                                                                                                                                                                                                                                        | "mindMap"
                                                                                                                                                                                                                                                                                        | "geoMap";
                                                                                                                                                                                                                                                                                    utcDateCreated: string;
                                                                                                                                                                                                                                                                                    utcDateModified: string;
                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                blobId: string
                                                                                                                                                                                                                                                                                content?: string | Buffer<ArrayBufferLike>
                                                                                                                                                                                                                                                                                dateCreated: string
                                                                                                                                                                                                                                                                                dateModified: string
                                                                                                                                                                                                                                                                                deleteId: string
                                                                                                                                                                                                                                                                                isDeleted: boolean
                                                                                                                                                                                                                                                                                isProtected: boolean
                                                                                                                                                                                                                                                                                mime: string
                                                                                                                                                                                                                                                                                noteId: string
                                                                                                                                                                                                                                                                                title: string
                                                                                                                                                                                                                                                                                type:
                                                                                                                                                                                                                                                                                    | "canvas"
                                                                                                                                                                                                                                                                                    | "code"
                                                                                                                                                                                                                                                                                    | "search"
                                                                                                                                                                                                                                                                                    | "image"
                                                                                                                                                                                                                                                                                    | "text"
                                                                                                                                                                                                                                                                                    | "file"
                                                                                                                                                                                                                                                                                    | "noteMap"
                                                                                                                                                                                                                                                                                    | "launcher"
                                                                                                                                                                                                                                                                                    | "doc"
                                                                                                                                                                                                                                                                                    | "contentWidget"
                                                                                                                                                                                                                                                                                    | "relationMap"
                                                                                                                                                                                                                                                                                    | "render"
                                                                                                                                                                                                                                                                                    | "mermaid"
                                                                                                                                                                                                                                                                                    | "book"
                                                                                                                                                                                                                                                                                    | "webView"
                                                                                                                                                                                                                                                                                    | "mindMap"
                                                                                                                                                                                                                                                                                    | "geoMap"
                                                                                                                                                                                                                                                                                utcDateCreated: string
                                                                                                                                                                                                                                                                                utcDateModified: string
                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/interfaces/becca_entities_rows.OptionRow.html b/docs/backend_api/interfaces/becca_entities_rows.OptionRow.html deleted file mode 100644 index d7fdb6448..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.OptionRow.html +++ /dev/null @@ -1,11 +0,0 @@ -OptionRow | trilium
                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                  Interface OptionRow

                                                                                                                                                                                                                                                                                  Database representation of an option.

                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                  Options are key-value pairs that are used to store information such as user preferences (for example -the current theme, sync server information), but also information about the state of the application).

                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                  interface OptionRow {
                                                                                                                                                                                                                                                                                      isSynced: boolean;
                                                                                                                                                                                                                                                                                      name: string;
                                                                                                                                                                                                                                                                                      utcDateModified?: string;
                                                                                                                                                                                                                                                                                      value: string;
                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                  isSynced: boolean

                                                                                                                                                                                                                                                                                  true if the value should be synced across multiple instances (e.g. locale) or false if it should be local-only (e.g. theme).

                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                  name: string

                                                                                                                                                                                                                                                                                  The name of the option.

                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                  utcDateModified?: string
                                                                                                                                                                                                                                                                                  value: string

                                                                                                                                                                                                                                                                                  The value of the option.

                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/interfaces/becca_entities_rows.RecentNoteRow.html b/docs/backend_api/interfaces/becca_entities_rows.RecentNoteRow.html deleted file mode 100644 index fa598d2ce..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.RecentNoteRow.html +++ /dev/null @@ -1,4 +0,0 @@ -RecentNoteRow | trilium
                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                    Interface RecentNoteRow

                                                                                                                                                                                                                                                                                    interface RecentNoteRow {
                                                                                                                                                                                                                                                                                        noteId: string;
                                                                                                                                                                                                                                                                                        notePath: string;
                                                                                                                                                                                                                                                                                        utcDateCreated?: string;
                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                    noteId: string
                                                                                                                                                                                                                                                                                    notePath: string
                                                                                                                                                                                                                                                                                    utcDateCreated?: string
                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/interfaces/becca_entities_rows.RevisionRow.html b/docs/backend_api/interfaces/becca_entities_rows.RevisionRow.html deleted file mode 100644 index de1f3133a..000000000 --- a/docs/backend_api/interfaces/becca_entities_rows.RevisionRow.html +++ /dev/null @@ -1,14 +0,0 @@ -RevisionRow | trilium
                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                      Interface RevisionRow

                                                                                                                                                                                                                                                                                      interface RevisionRow {
                                                                                                                                                                                                                                                                                          blobId?: string;
                                                                                                                                                                                                                                                                                          contentLength?: number;
                                                                                                                                                                                                                                                                                          dateCreated: string;
                                                                                                                                                                                                                                                                                          dateLastEdited?: string;
                                                                                                                                                                                                                                                                                          isProtected?: boolean;
                                                                                                                                                                                                                                                                                          mime: string;
                                                                                                                                                                                                                                                                                          noteId: string;
                                                                                                                                                                                                                                                                                          revisionId?: string;
                                                                                                                                                                                                                                                                                          title: string;
                                                                                                                                                                                                                                                                                          type:
                                                                                                                                                                                                                                                                                              | "canvas"
                                                                                                                                                                                                                                                                                              | "code"
                                                                                                                                                                                                                                                                                              | "search"
                                                                                                                                                                                                                                                                                              | "image"
                                                                                                                                                                                                                                                                                              | "text"
                                                                                                                                                                                                                                                                                              | "file"
                                                                                                                                                                                                                                                                                              | "noteMap"
                                                                                                                                                                                                                                                                                              | "launcher"
                                                                                                                                                                                                                                                                                              | "doc"
                                                                                                                                                                                                                                                                                              | "contentWidget"
                                                                                                                                                                                                                                                                                              | "relationMap"
                                                                                                                                                                                                                                                                                              | "render"
                                                                                                                                                                                                                                                                                              | "mermaid"
                                                                                                                                                                                                                                                                                              | "book"
                                                                                                                                                                                                                                                                                              | "webView"
                                                                                                                                                                                                                                                                                              | "mindMap"
                                                                                                                                                                                                                                                                                              | "geoMap";
                                                                                                                                                                                                                                                                                          utcDateCreated: string;
                                                                                                                                                                                                                                                                                          utcDateLastEdited?: string;
                                                                                                                                                                                                                                                                                          utcDateModified: string;
                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      blobId?: string
                                                                                                                                                                                                                                                                                      contentLength?: number
                                                                                                                                                                                                                                                                                      dateCreated: string
                                                                                                                                                                                                                                                                                      dateLastEdited?: string
                                                                                                                                                                                                                                                                                      isProtected?: boolean
                                                                                                                                                                                                                                                                                      mime: string
                                                                                                                                                                                                                                                                                      noteId: string
                                                                                                                                                                                                                                                                                      revisionId?: string
                                                                                                                                                                                                                                                                                      title: string
                                                                                                                                                                                                                                                                                      type:
                                                                                                                                                                                                                                                                                          | "canvas"
                                                                                                                                                                                                                                                                                          | "code"
                                                                                                                                                                                                                                                                                          | "search"
                                                                                                                                                                                                                                                                                          | "image"
                                                                                                                                                                                                                                                                                          | "text"
                                                                                                                                                                                                                                                                                          | "file"
                                                                                                                                                                                                                                                                                          | "noteMap"
                                                                                                                                                                                                                                                                                          | "launcher"
                                                                                                                                                                                                                                                                                          | "doc"
                                                                                                                                                                                                                                                                                          | "contentWidget"
                                                                                                                                                                                                                                                                                          | "relationMap"
                                                                                                                                                                                                                                                                                          | "render"
                                                                                                                                                                                                                                                                                          | "mermaid"
                                                                                                                                                                                                                                                                                          | "book"
                                                                                                                                                                                                                                                                                          | "webView"
                                                                                                                                                                                                                                                                                          | "mindMap"
                                                                                                                                                                                                                                                                                          | "geoMap"
                                                                                                                                                                                                                                                                                      utcDateCreated: string
                                                                                                                                                                                                                                                                                      utcDateLastEdited?: string
                                                                                                                                                                                                                                                                                      utcDateModified: string
                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/modules.html b/docs/backend_api/modules.html index 91b755a6f..94fb07f2e 100644 --- a/docs/backend_api/modules.html +++ b/docs/backend_api/modules.html @@ -1 +1 @@ -trilium
                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                        +trilium
                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/modules/backend_script_entrypoint._internal_.EventEmitter.html b/docs/backend_api/modules/backend_script_entrypoint._internal_.EventEmitter.html new file mode 100644 index 000000000..7b166d540 --- /dev/null +++ b/docs/backend_api/modules/backend_script_entrypoint._internal_.EventEmitter.html @@ -0,0 +1 @@ +EventEmitter | trilium
                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/modules/backend_script_entrypoint._internal_.html b/docs/backend_api/modules/backend_script_entrypoint._internal_.html new file mode 100644 index 000000000..d33dca284 --- /dev/null +++ b/docs/backend_api/modules/backend_script_entrypoint._internal_.html @@ -0,0 +1 @@ +<internal> | trilium
                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                              Namespaces

                                                                                                                                                                                                                                                                                              EventEmitter
                                                                                                                                                                                                                                                                                              node_modules/@types/xml2js

                                                                                                                                                                                                                                                                                              Enumerations

                                                                                                                                                                                                                                                                                              HttpStatusCode

                                                                                                                                                                                                                                                                                              Classes

                                                                                                                                                                                                                                                                                              AbstractBeccaEntity
                                                                                                                                                                                                                                                                                              AsyncResource
                                                                                                                                                                                                                                                                                              Axios
                                                                                                                                                                                                                                                                                              AxiosError
                                                                                                                                                                                                                                                                                              AxiosHeaders
                                                                                                                                                                                                                                                                                              BAttachment
                                                                                                                                                                                                                                                                                              BAttribute
                                                                                                                                                                                                                                                                                              BBranch
                                                                                                                                                                                                                                                                                              BEtapiToken
                                                                                                                                                                                                                                                                                              BNote
                                                                                                                                                                                                                                                                                              BOption
                                                                                                                                                                                                                                                                                              BRevision
                                                                                                                                                                                                                                                                                              CanceledError
                                                                                                                                                                                                                                                                                              default
                                                                                                                                                                                                                                                                                              EventEmitter
                                                                                                                                                                                                                                                                                              SpacedUpdate
                                                                                                                                                                                                                                                                                              TaskContext

                                                                                                                                                                                                                                                                                              Interfaces

                                                                                                                                                                                                                                                                                              AsyncResourceOptions
                                                                                                                                                                                                                                                                                              AttachmentOpts
                                                                                                                                                                                                                                                                                              AttachmentRow
                                                                                                                                                                                                                                                                                              AttributeRow
                                                                                                                                                                                                                                                                                              AxiosAdapter
                                                                                                                                                                                                                                                                                              AxiosBasicCredentials
                                                                                                                                                                                                                                                                                              AxiosDefaults
                                                                                                                                                                                                                                                                                              AxiosInstance
                                                                                                                                                                                                                                                                                              AxiosInterceptorManager
                                                                                                                                                                                                                                                                                              AxiosInterceptorOptions
                                                                                                                                                                                                                                                                                              AxiosProgressEvent
                                                                                                                                                                                                                                                                                              AxiosProxyConfig
                                                                                                                                                                                                                                                                                              AxiosRequestConfig
                                                                                                                                                                                                                                                                                              AxiosRequestTransformer
                                                                                                                                                                                                                                                                                              AxiosResponse
                                                                                                                                                                                                                                                                                              AxiosResponseTransformer
                                                                                                                                                                                                                                                                                              AxiosStatic
                                                                                                                                                                                                                                                                                              BranchRow
                                                                                                                                                                                                                                                                                              CallSite
                                                                                                                                                                                                                                                                                              Cancel
                                                                                                                                                                                                                                                                                              Canceler
                                                                                                                                                                                                                                                                                              CancelStatic
                                                                                                                                                                                                                                                                                              CancelToken
                                                                                                                                                                                                                                                                                              CancelTokenSource
                                                                                                                                                                                                                                                                                              CancelTokenStatic
                                                                                                                                                                                                                                                                                              Cheerio
                                                                                                                                                                                                                                                                                              CheerioAPI
                                                                                                                                                                                                                                                                                              CheerioParserOptions
                                                                                                                                                                                                                                                                                              CloneResponse
                                                                                                                                                                                                                                                                                              CommentElement
                                                                                                                                                                                                                                                                                              ContentOpts
                                                                                                                                                                                                                                                                                              ContentOpts
                                                                                                                                                                                                                                                                                              ContentOpts
                                                                                                                                                                                                                                                                                              ContentOpts
                                                                                                                                                                                                                                                                                              ConvertOpts
                                                                                                                                                                                                                                                                                              CreateAxiosDefaults
                                                                                                                                                                                                                                                                                              CustomParamsSerializer
                                                                                                                                                                                                                                                                                              DefinitionObject
                                                                                                                                                                                                                                                                                              Disposable
                                                                                                                                                                                                                                                                                              EtapiTokenRow
                                                                                                                                                                                                                                                                                              EventEmitter
                                                                                                                                                                                                                                                                                              EventEmitterOptions
                                                                                                                                                                                                                                                                                              FormDataVisitorHelpers
                                                                                                                                                                                                                                                                                              FormSerializerOptions
                                                                                                                                                                                                                                                                                              GenericAbortSignal
                                                                                                                                                                                                                                                                                              GenericFormData
                                                                                                                                                                                                                                                                                              GenericHTMLFormElement
                                                                                                                                                                                                                                                                                              GetByIdOpts
                                                                                                                                                                                                                                                                                              HeadersDefaults
                                                                                                                                                                                                                                                                                              InternalAxiosRequestConfig
                                                                                                                                                                                                                                                                                              IterableIterator
                                                                                                                                                                                                                                                                                              Iterator
                                                                                                                                                                                                                                                                                              IteratorReturnResult
                                                                                                                                                                                                                                                                                              IteratorYieldResult
                                                                                                                                                                                                                                                                                              LookupAddressEntry
                                                                                                                                                                                                                                                                                              NoteAndBranch
                                                                                                                                                                                                                                                                                              NoteParams
                                                                                                                                                                                                                                                                                              NotePathRecord
                                                                                                                                                                                                                                                                                              NotePojo
                                                                                                                                                                                                                                                                                              NoteRow
                                                                                                                                                                                                                                                                                              Object
                                                                                                                                                                                                                                                                                              OptionRow
                                                                                                                                                                                                                                                                                              ParamEncoder
                                                                                                                                                                                                                                                                                              ParamsSerializerOptions
                                                                                                                                                                                                                                                                                              RawAxiosHeaders
                                                                                                                                                                                                                                                                                              Relationship
                                                                                                                                                                                                                                                                                              RevisionRow
                                                                                                                                                                                                                                                                                              Root
                                                                                                                                                                                                                                                                                              SavingOpts
                                                                                                                                                                                                                                                                                              SearchParams
                                                                                                                                                                                                                                                                                              Selector
                                                                                                                                                                                                                                                                                              SerializerOptions
                                                                                                                                                                                                                                                                                              SerializerVisitor
                                                                                                                                                                                                                                                                                              StaticEventEmitterIteratorOptions
                                                                                                                                                                                                                                                                                              StaticEventEmitterOptions
                                                                                                                                                                                                                                                                                              TagElement
                                                                                                                                                                                                                                                                                              TaskData
                                                                                                                                                                                                                                                                                              TextElement
                                                                                                                                                                                                                                                                                              TransitionalOptions

                                                                                                                                                                                                                                                                                              Type Aliases

                                                                                                                                                                                                                                                                                              AddressFamily
                                                                                                                                                                                                                                                                                              AnyRest
                                                                                                                                                                                                                                                                                              Args
                                                                                                                                                                                                                                                                                              ArrayBufferLike
                                                                                                                                                                                                                                                                                              AttrFunction
                                                                                                                                                                                                                                                                                              AttributeType
                                                                                                                                                                                                                                                                                              AxiosAdapterConfig
                                                                                                                                                                                                                                                                                              AxiosAdapterName
                                                                                                                                                                                                                                                                                              AxiosHeaderMatcher
                                                                                                                                                                                                                                                                                              AxiosHeaderParser
                                                                                                                                                                                                                                                                                              AxiosHeaderValue
                                                                                                                                                                                                                                                                                              AxiosPromise
                                                                                                                                                                                                                                                                                              AxiosRequestHeaders
                                                                                                                                                                                                                                                                                              AxiosRequestInterceptorUse
                                                                                                                                                                                                                                                                                              AxiosResponseHeaders
                                                                                                                                                                                                                                                                                              AxiosResponseInterceptorUse
                                                                                                                                                                                                                                                                                              CommonRequestHeadersList
                                                                                                                                                                                                                                                                                              CommonResponseHeadersList
                                                                                                                                                                                                                                                                                              ContentType
                                                                                                                                                                                                                                                                                              DefaultEventMap
                                                                                                                                                                                                                                                                                              Element
                                                                                                                                                                                                                                                                                              EventMap
                                                                                                                                                                                                                                                                                              Exclude
                                                                                                                                                                                                                                                                                              IteratorResult
                                                                                                                                                                                                                                                                                              Key
                                                                                                                                                                                                                                                                                              Key2
                                                                                                                                                                                                                                                                                              Listener
                                                                                                                                                                                                                                                                                              LookupAddress
                                                                                                                                                                                                                                                                                              Omit
                                                                                                                                                                                                                                                                                              Partial
                                                                                                                                                                                                                                                                                              Pick
                                                                                                                                                                                                                                                                                              PropertyKey
                                                                                                                                                                                                                                                                                              RawAxiosRequestHeaders
                                                                                                                                                                                                                                                                                              RawAxiosResponseHeaders
                                                                                                                                                                                                                                                                                              RawCommonResponseHeaders
                                                                                                                                                                                                                                                                                              Record
                                                                                                                                                                                                                                                                                              ResponseType
                                                                                                                                                                                                                                                                                              Updater

                                                                                                                                                                                                                                                                                              Variables

                                                                                                                                                                                                                                                                                              Object
                                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/modules/backend_script_entrypoint._internal_.node_modules__types_xml2js.html b/docs/backend_api/modules/backend_script_entrypoint._internal_.node_modules__types_xml2js.html new file mode 100644 index 000000000..f0b231217 --- /dev/null +++ b/docs/backend_api/modules/backend_script_entrypoint._internal_.node_modules__types_xml2js.html @@ -0,0 +1 @@ +node_modules/@types/xml2js | trilium
                                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/modules/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.html b/docs/backend_api/modules/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.html new file mode 100644 index 000000000..8cf0fc56d --- /dev/null +++ b/docs/backend_api/modules/backend_script_entrypoint._internal_.node_modules__types_xml2js.processors.html @@ -0,0 +1 @@ +processors | trilium
                                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/modules/backend_script_entrypoint.html b/docs/backend_api/modules/backend_script_entrypoint.html new file mode 100644 index 000000000..25bbdbe2d --- /dev/null +++ b/docs/backend_api/modules/backend_script_entrypoint.html @@ -0,0 +1 @@ +backend_script_entrypoint | trilium
                                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                    Module backend_script_entrypoint

                                                                                                                                                                                                                                                                                                    Modules

                                                                                                                                                                                                                                                                                                    <internal>

                                                                                                                                                                                                                                                                                                    Interfaces

                                                                                                                                                                                                                                                                                                    Api

                                                                                                                                                                                                                                                                                                    Variables

                                                                                                                                                                                                                                                                                                    api
                                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/modules/becca_entities_abstract_becca_entity.html b/docs/backend_api/modules/becca_entities_abstract_becca_entity.html deleted file mode 100644 index 5d267b1b3..000000000 --- a/docs/backend_api/modules/becca_entities_abstract_becca_entity.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/abstract_becca_entity | trilium
                                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                      Module becca/entities/abstract_becca_entity

                                                                                                                                                                                                                                                                                                      Classes

                                                                                                                                                                                                                                                                                                      default
                                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/modules/becca_entities_battachment.html b/docs/backend_api/modules/becca_entities_battachment.html deleted file mode 100644 index 1fac31d3b..000000000 --- a/docs/backend_api/modules/becca_entities_battachment.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/battachment | trilium
                                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                        Module becca/entities/battachment

                                                                                                                                                                                                                                                                                                        Classes

                                                                                                                                                                                                                                                                                                        default
                                                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/modules/becca_entities_battribute.html b/docs/backend_api/modules/becca_entities_battribute.html deleted file mode 100644 index fcb6482c9..000000000 --- a/docs/backend_api/modules/becca_entities_battribute.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/battribute | trilium
                                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                          Module becca/entities/battribute

                                                                                                                                                                                                                                                                                                          Classes

                                                                                                                                                                                                                                                                                                          default
                                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/modules/becca_entities_bblob.html b/docs/backend_api/modules/becca_entities_bblob.html deleted file mode 100644 index a92bf4f9f..000000000 --- a/docs/backend_api/modules/becca_entities_bblob.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/bblob | trilium
                                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                            Module becca/entities/bblob

                                                                                                                                                                                                                                                                                                            Classes

                                                                                                                                                                                                                                                                                                            default
                                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/modules/becca_entities_bbranch.html b/docs/backend_api/modules/becca_entities_bbranch.html deleted file mode 100644 index 22e909d64..000000000 --- a/docs/backend_api/modules/becca_entities_bbranch.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/bbranch | trilium
                                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                              Module becca/entities/bbranch

                                                                                                                                                                                                                                                                                                              Classes

                                                                                                                                                                                                                                                                                                              default
                                                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/modules/becca_entities_betapi_token.html b/docs/backend_api/modules/becca_entities_betapi_token.html deleted file mode 100644 index 85b36e400..000000000 --- a/docs/backend_api/modules/becca_entities_betapi_token.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/betapi_token | trilium
                                                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                Module becca/entities/betapi_token

                                                                                                                                                                                                                                                                                                                Classes

                                                                                                                                                                                                                                                                                                                default
                                                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/modules/becca_entities_bnote.html b/docs/backend_api/modules/becca_entities_bnote.html deleted file mode 100644 index 5f38ddaf7..000000000 --- a/docs/backend_api/modules/becca_entities_bnote.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/bnote | trilium
                                                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                  Module becca/entities/bnote

                                                                                                                                                                                                                                                                                                                  Classes

                                                                                                                                                                                                                                                                                                                  default
                                                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/modules/becca_entities_boption.html b/docs/backend_api/modules/becca_entities_boption.html deleted file mode 100644 index cbd8f34ad..000000000 --- a/docs/backend_api/modules/becca_entities_boption.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/boption | trilium
                                                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                    Module becca/entities/boption

                                                                                                                                                                                                                                                                                                                    Classes

                                                                                                                                                                                                                                                                                                                    default
                                                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/modules/becca_entities_brecent_note.html b/docs/backend_api/modules/becca_entities_brecent_note.html deleted file mode 100644 index 57918a058..000000000 --- a/docs/backend_api/modules/becca_entities_brecent_note.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/brecent_note | trilium
                                                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                      Module becca/entities/brecent_note

                                                                                                                                                                                                                                                                                                                      Classes

                                                                                                                                                                                                                                                                                                                      default
                                                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/modules/becca_entities_brevision.html b/docs/backend_api/modules/becca_entities_brevision.html deleted file mode 100644 index 679d3251e..000000000 --- a/docs/backend_api/modules/becca_entities_brevision.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/brevision | trilium
                                                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                        Module becca/entities/brevision

                                                                                                                                                                                                                                                                                                                        Classes

                                                                                                                                                                                                                                                                                                                        default
                                                                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/modules/becca_entities_rows.html b/docs/backend_api/modules/becca_entities_rows.html deleted file mode 100644 index 3e78a38d4..000000000 --- a/docs/backend_api/modules/becca_entities_rows.html +++ /dev/null @@ -1 +0,0 @@ -becca/entities/rows | trilium
                                                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/modules/services_backend_script_api.html b/docs/backend_api/modules/services_backend_script_api.html deleted file mode 100644 index 599ca976b..000000000 --- a/docs/backend_api/modules/services_backend_script_api.html +++ /dev/null @@ -1 +0,0 @@ -services/backend_script_api | trilium
                                                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                            Module services/backend_script_api

                                                                                                                                                                                                                                                                                                                            Variables

                                                                                                                                                                                                                                                                                                                            default
                                                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/modules/services_sql.html b/docs/backend_api/modules/services_sql.html deleted file mode 100644 index 917e02a1b..000000000 --- a/docs/backend_api/modules/services_sql.html +++ /dev/null @@ -1 +0,0 @@ -services/sql | trilium
                                                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                              Module services/sql

                                                                                                                                                                                                                                                                                                                              Variables

                                                                                                                                                                                                                                                                                                                              default
                                                                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AddressFamily.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AddressFamily.html new file mode 100644 index 000000000..7365b9616 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AddressFamily.html @@ -0,0 +1 @@ +AddressFamily | trilium
                                                                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                                                                                AddressFamily: 4 | 6 | undefined
                                                                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AnyRest.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AnyRest.html new file mode 100644 index 000000000..69ff65723 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AnyRest.html @@ -0,0 +1 @@ +AnyRest | trilium
                                                                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                                                                                  AnyRest: [args: any[]]
                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Args.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Args.html new file mode 100644 index 000000000..a1ad72cfb --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Args.html @@ -0,0 +1 @@ +Args | trilium
                                                                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                                                                                    Args: T extends DefaultEventMap ? AnyRest : K extends keyof T ? T[K] : never

                                                                                                                                                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                                                                                                                                                    • K
                                                                                                                                                                                                                                                                                                                                    • T
                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.ArrayBufferLike.html b/docs/backend_api/types/backend_script_entrypoint._internal_.ArrayBufferLike.html new file mode 100644 index 000000000..0ca7fb7fa --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.ArrayBufferLike.html @@ -0,0 +1 @@ +ArrayBufferLike | trilium
                                                                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                      ArrayBufferLike: ArrayBufferTypes[keyof ArrayBufferTypes]
                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AttrFunction.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AttrFunction.html new file mode 100644 index 000000000..6090c24a9 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AttrFunction.html @@ -0,0 +1 @@ +AttrFunction | trilium
                                                                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                        AttrFunction: (el: Element, i: number, currentValue: string) => any

                                                                                                                                                                                                                                                                                                                                        Type declaration

                                                                                                                                                                                                                                                                                                                                          • (el: Element, i: number, currentValue: string): any
                                                                                                                                                                                                                                                                                                                                          • Parameters

                                                                                                                                                                                                                                                                                                                                            • el: Element
                                                                                                                                                                                                                                                                                                                                            • i: number
                                                                                                                                                                                                                                                                                                                                            • currentValue: string

                                                                                                                                                                                                                                                                                                                                            Returns any

                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AttributeType.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AttributeType.html new file mode 100644 index 000000000..b0717393a --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AttributeType.html @@ -0,0 +1 @@ +AttributeType | trilium
                                                                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                                                                                          AttributeType: "label" | "relation" | "label-definition" | "relation-definition"
                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosAdapterConfig.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosAdapterConfig.html new file mode 100644 index 000000000..c7dcee1b2 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosAdapterConfig.html @@ -0,0 +1 @@ +AxiosAdapterConfig | trilium
                                                                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                                                                            AxiosAdapterConfig: AxiosAdapter | AxiosAdapterName
                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosAdapterName.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosAdapterName.html new file mode 100644 index 000000000..c6980df75 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosAdapterName.html @@ -0,0 +1 @@ +AxiosAdapterName | trilium
                                                                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                                                                                                                              AxiosAdapterName: "fetch" | "xhr" | "http" | string
                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderMatcher.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderMatcher.html new file mode 100644 index 000000000..6074b3f6f --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderMatcher.html @@ -0,0 +1 @@ +AxiosHeaderMatcher | trilium
                                                                                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                                                                                                AxiosHeaderMatcher:
                                                                                                                                                                                                                                                                                                                                                    | string
                                                                                                                                                                                                                                                                                                                                                    | RegExp
                                                                                                                                                                                                                                                                                                                                                    | ((this: AxiosHeaders, value: string, name: string) => boolean)
                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderParser.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderParser.html new file mode 100644 index 000000000..17e45f712 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderParser.html @@ -0,0 +1 @@ +AxiosHeaderParser | trilium
                                                                                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                                                                                                  AxiosHeaderParser: (
                                                                                                                                                                                                                                                                                                                                                      this: AxiosHeaders,
                                                                                                                                                                                                                                                                                                                                                      value: AxiosHeaderValue,
                                                                                                                                                                                                                                                                                                                                                      header: string,
                                                                                                                                                                                                                                                                                                                                                  ) => any

                                                                                                                                                                                                                                                                                                                                                  Type declaration

                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderValue.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderValue.html new file mode 100644 index 000000000..6d2316390 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosHeaderValue.html @@ -0,0 +1 @@ +AxiosHeaderValue | trilium
                                                                                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                                                                                                    AxiosHeaderValue: AxiosHeaders | string | string[] | number | boolean | null
                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosPromise.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosPromise.html new file mode 100644 index 000000000..66eaf7e78 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosPromise.html @@ -0,0 +1 @@ +AxiosPromise | trilium
                                                                                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                                      AxiosPromise: Promise<AxiosResponse<T>>

                                                                                                                                                                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                                                                                                                                                                      • T = any
                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosRequestHeaders.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosRequestHeaders.html new file mode 100644 index 000000000..58457bcdd --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosRequestHeaders.html @@ -0,0 +1 @@ +AxiosRequestHeaders | trilium
                                                                                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                                        AxiosRequestHeaders: RawAxiosRequestHeaders & AxiosHeaders
                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosRequestInterceptorUse.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosRequestInterceptorUse.html new file mode 100644 index 000000000..79af633be --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosRequestInterceptorUse.html @@ -0,0 +1 @@ +AxiosRequestInterceptorUse | trilium
                                                                                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                                                                                                          AxiosRequestInterceptorUse: (
                                                                                                                                                                                                                                                                                                                                                              onFulfilled?: ((value: T) => T | Promise<T>) | null,
                                                                                                                                                                                                                                                                                                                                                              onRejected?: ((error: any) => any) | null,
                                                                                                                                                                                                                                                                                                                                                              options?: AxiosInterceptorOptions,
                                                                                                                                                                                                                                                                                                                                                          ) => number

                                                                                                                                                                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                                                                                                                                                                          • T

                                                                                                                                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                                                                                                                                            • (
                                                                                                                                                                                                                                                                                                                                                                  onFulfilled?: ((value: T) => T | Promise<T>) | null,
                                                                                                                                                                                                                                                                                                                                                                  onRejected?: ((error: any) => any) | null,
                                                                                                                                                                                                                                                                                                                                                                  options?: AxiosInterceptorOptions,
                                                                                                                                                                                                                                                                                                                                                              ): number
                                                                                                                                                                                                                                                                                                                                                            • Parameters

                                                                                                                                                                                                                                                                                                                                                              • OptionalonFulfilled: ((value: T) => T | Promise<T>) | null
                                                                                                                                                                                                                                                                                                                                                              • OptionalonRejected: ((error: any) => any) | null
                                                                                                                                                                                                                                                                                                                                                              • Optionaloptions: AxiosInterceptorOptions

                                                                                                                                                                                                                                                                                                                                                              Returns number

                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosResponseHeaders.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosResponseHeaders.html new file mode 100644 index 000000000..ed771bfeb --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosResponseHeaders.html @@ -0,0 +1 @@ +AxiosResponseHeaders | trilium
                                                                                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                                                                                            AxiosResponseHeaders: RawAxiosResponseHeaders & AxiosHeaders
                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosResponseInterceptorUse.html b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosResponseInterceptorUse.html new file mode 100644 index 000000000..8dc5c4a85 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.AxiosResponseInterceptorUse.html @@ -0,0 +1 @@ +AxiosResponseInterceptorUse | trilium
                                                                                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                                                                                                                                              AxiosResponseInterceptorUse: (
                                                                                                                                                                                                                                                                                                                                                                  onFulfilled?: ((value: T) => T | Promise<T>) | null,
                                                                                                                                                                                                                                                                                                                                                                  onRejected?: ((error: any) => any) | null,
                                                                                                                                                                                                                                                                                                                                                              ) => number

                                                                                                                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                                                                                                                              • T

                                                                                                                                                                                                                                                                                                                                                              Type declaration

                                                                                                                                                                                                                                                                                                                                                                • (
                                                                                                                                                                                                                                                                                                                                                                      onFulfilled?: ((value: T) => T | Promise<T>) | null,
                                                                                                                                                                                                                                                                                                                                                                      onRejected?: ((error: any) => any) | null,
                                                                                                                                                                                                                                                                                                                                                                  ): number
                                                                                                                                                                                                                                                                                                                                                                • Parameters

                                                                                                                                                                                                                                                                                                                                                                  • OptionalonFulfilled: ((value: T) => T | Promise<T>) | null
                                                                                                                                                                                                                                                                                                                                                                  • OptionalonRejected: ((error: any) => any) | null

                                                                                                                                                                                                                                                                                                                                                                  Returns number

                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.CommonRequestHeadersList.html b/docs/backend_api/types/backend_script_entrypoint._internal_.CommonRequestHeadersList.html new file mode 100644 index 000000000..128dc28fd --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.CommonRequestHeadersList.html @@ -0,0 +1 @@ +CommonRequestHeadersList | trilium
                                                                                                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                CommonRequestHeadersList:
                                                                                                                                                                                                                                                                                                                                                                    | "Accept"
                                                                                                                                                                                                                                                                                                                                                                    | "Content-Length"
                                                                                                                                                                                                                                                                                                                                                                    | "User-Agent"
                                                                                                                                                                                                                                                                                                                                                                    | "Content-Encoding"
                                                                                                                                                                                                                                                                                                                                                                    | "Authorization"
                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.CommonResponseHeadersList.html b/docs/backend_api/types/backend_script_entrypoint._internal_.CommonResponseHeadersList.html new file mode 100644 index 000000000..a5fe4d6a4 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.CommonResponseHeadersList.html @@ -0,0 +1 @@ +CommonResponseHeadersList | trilium
                                                                                                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                  CommonResponseHeadersList:
                                                                                                                                                                                                                                                                                                                                                                      | "Server"
                                                                                                                                                                                                                                                                                                                                                                      | "Content-Type"
                                                                                                                                                                                                                                                                                                                                                                      | "Content-Length"
                                                                                                                                                                                                                                                                                                                                                                      | "Cache-Control"
                                                                                                                                                                                                                                                                                                                                                                      | "Content-Encoding"
                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.ContentType.html b/docs/backend_api/types/backend_script_entrypoint._internal_.ContentType.html new file mode 100644 index 000000000..68edcc339 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.ContentType.html @@ -0,0 +1 @@ +ContentType | trilium
                                                                                                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                    ContentType:
                                                                                                                                                                                                                                                                                                                                                                        | AxiosHeaderValue
                                                                                                                                                                                                                                                                                                                                                                        | "text/html"
                                                                                                                                                                                                                                                                                                                                                                        | "text/plain"
                                                                                                                                                                                                                                                                                                                                                                        | "multipart/form-data"
                                                                                                                                                                                                                                                                                                                                                                        | "application/json"
                                                                                                                                                                                                                                                                                                                                                                        | "application/x-www-form-urlencoded"
                                                                                                                                                                                                                                                                                                                                                                        | "application/octet-stream"
                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.DefaultEventMap.html b/docs/backend_api/types/backend_script_entrypoint._internal_.DefaultEventMap.html new file mode 100644 index 000000000..9993602aa --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.DefaultEventMap.html @@ -0,0 +1 @@ +DefaultEventMap | trilium
                                                                                                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                      DefaultEventMap: [never]
                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Element.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Element.html new file mode 100644 index 000000000..791065d1a --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Element.html @@ -0,0 +1 @@ +Element | trilium
                                                                                                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.EventMap.html b/docs/backend_api/types/backend_script_entrypoint._internal_.EventMap.html new file mode 100644 index 000000000..1bbecb34a --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.EventMap.html @@ -0,0 +1 @@ +EventMap | trilium
                                                                                                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                          EventMap: Record<keyof T, any[]> | DefaultEventMap

                                                                                                                                                                                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                                                                                                                                                                                          • T
                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Exclude.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Exclude.html new file mode 100644 index 000000000..223ffd87a --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Exclude.html @@ -0,0 +1,2 @@ +Exclude | trilium
                                                                                                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                            Exclude: T extends U ? never : T

                                                                                                                                                                                                                                                                                                                                                                            Exclude from T those types that are assignable to U

                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                                                                                                                                                                                                            • T
                                                                                                                                                                                                                                                                                                                                                                            • U
                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.IteratorResult.html b/docs/backend_api/types/backend_script_entrypoint._internal_.IteratorResult.html new file mode 100644 index 000000000..922e6b5d1 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.IteratorResult.html @@ -0,0 +1 @@ +IteratorResult | trilium
                                                                                                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                              Type Alias IteratorResult<T, TReturn>

                                                                                                                                                                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                                                                                                                                                                              • T
                                                                                                                                                                                                                                                                                                                                                                              • TReturn = any
                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Key.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Key.html new file mode 100644 index 000000000..8fed44af4 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Key.html @@ -0,0 +1 @@ +Key | trilium
                                                                                                                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                Key: T extends DefaultEventMap ? string | symbol : K | keyof T

                                                                                                                                                                                                                                                                                                                                                                                Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                • K
                                                                                                                                                                                                                                                                                                                                                                                • T
                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Key2.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Key2.html new file mode 100644 index 000000000..7fb300e21 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Key2.html @@ -0,0 +1 @@ +Key2 | trilium
                                                                                                                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                  Key2: T extends DefaultEventMap ? string | symbol : K & keyof T

                                                                                                                                                                                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                  • K
                                                                                                                                                                                                                                                                                                                                                                                  • T
                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Listener.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Listener.html new file mode 100644 index 000000000..fe216d0ee --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Listener.html @@ -0,0 +1 @@ +Listener | trilium
                                                                                                                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                    Listener: T extends DefaultEventMap
                                                                                                                                                                                                                                                                                                                                                                                        ? F
                                                                                                                                                                                                                                                                                                                                                                                        : K extends keyof T
                                                                                                                                                                                                                                                                                                                                                                                            ? T[K] extends unknown[] ? (...args: T[K]) => void : never
                                                                                                                                                                                                                                                                                                                                                                                            : never

                                                                                                                                                                                                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                    • K
                                                                                                                                                                                                                                                                                                                                                                                    • T
                                                                                                                                                                                                                                                                                                                                                                                    • F
                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.LookupAddress.html b/docs/backend_api/types/backend_script_entrypoint._internal_.LookupAddress.html new file mode 100644 index 000000000..4d0df25b7 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.LookupAddress.html @@ -0,0 +1 @@ +LookupAddress | trilium
                                                                                                                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                      LookupAddress: string | LookupAddressEntry
                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Omit.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Omit.html new file mode 100644 index 000000000..1efe32684 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Omit.html @@ -0,0 +1,2 @@ +Omit | trilium
                                                                                                                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                        Omit: Pick<T, Exclude<keyof T, K>>

                                                                                                                                                                                                                                                                                                                                                                                        Construct a type with the properties of T except for those in type K.

                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                        • T
                                                                                                                                                                                                                                                                                                                                                                                        • K extends keyof any
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Partial.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Partial.html new file mode 100644 index 000000000..f683c65e9 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Partial.html @@ -0,0 +1,2 @@ +Partial | trilium
                                                                                                                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                          Partial: { [P in keyof T]?: T[P] }

                                                                                                                                                                                                                                                                                                                                                                                          Make all properties in T optional

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                          • T
                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Pick.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Pick.html new file mode 100644 index 000000000..56f93ad22 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Pick.html @@ -0,0 +1,2 @@ +Pick | trilium
                                                                                                                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                            Pick: { [P in K]: T[P] }

                                                                                                                                                                                                                                                                                                                                                                                            From T, pick a set of properties whose keys are in the union K

                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                            • T
                                                                                                                                                                                                                                                                                                                                                                                            • K extends keyof T
                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.PropertyKey.html b/docs/backend_api/types/backend_script_entrypoint._internal_.PropertyKey.html new file mode 100644 index 000000000..82c4e634d --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.PropertyKey.html @@ -0,0 +1 @@ +PropertyKey | trilium
                                                                                                                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                              PropertyKey: string | number | symbol
                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.RawAxiosRequestHeaders.html b/docs/backend_api/types/backend_script_entrypoint._internal_.RawAxiosRequestHeaders.html new file mode 100644 index 000000000..c6f76a1ad --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.RawAxiosRequestHeaders.html @@ -0,0 +1 @@ +RawAxiosRequestHeaders | trilium
                                                                                                                                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                RawAxiosRequestHeaders: Partial<
                                                                                                                                                                                                                                                                                                                                                                                                    RawAxiosHeaders & {
                                                                                                                                                                                                                                                                                                                                                                                                        [Key in CommonRequestHeadersList]: AxiosHeaderValue
                                                                                                                                                                                                                                                                                                                                                                                                    } & { "Content-Type": ContentType },
                                                                                                                                                                                                                                                                                                                                                                                                >
                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.RawAxiosResponseHeaders.html b/docs/backend_api/types/backend_script_entrypoint._internal_.RawAxiosResponseHeaders.html new file mode 100644 index 000000000..94d633c30 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.RawAxiosResponseHeaders.html @@ -0,0 +1 @@ +RawAxiosResponseHeaders | trilium
                                                                                                                                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.RawCommonResponseHeaders.html b/docs/backend_api/types/backend_script_entrypoint._internal_.RawCommonResponseHeaders.html new file mode 100644 index 000000000..706739321 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.RawCommonResponseHeaders.html @@ -0,0 +1 @@ +RawCommonResponseHeaders | trilium
                                                                                                                                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                    RawCommonResponseHeaders: {
                                                                                                                                                                                                                                                                                                                                                                                                        [Key in CommonResponseHeadersList]: AxiosHeaderValue
                                                                                                                                                                                                                                                                                                                                                                                                    } & { "set-cookie": string[] }
                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Record.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Record.html new file mode 100644 index 000000000..53a361ab9 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Record.html @@ -0,0 +1,2 @@ +Record | trilium
                                                                                                                                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                      Record: { [P in K]: T }

                                                                                                                                                                                                                                                                                                                                                                                                      Construct a type with a set of properties K of type T

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                      • K extends keyof any
                                                                                                                                                                                                                                                                                                                                                                                                      • T
                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.ResponseType.html b/docs/backend_api/types/backend_script_entrypoint._internal_.ResponseType.html new file mode 100644 index 000000000..157349150 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.ResponseType.html @@ -0,0 +1 @@ +ResponseType | trilium
                                                                                                                                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                        ResponseType:
                                                                                                                                                                                                                                                                                                                                                                                                            | "arraybuffer"
                                                                                                                                                                                                                                                                                                                                                                                                            | "blob"
                                                                                                                                                                                                                                                                                                                                                                                                            | "document"
                                                                                                                                                                                                                                                                                                                                                                                                            | "json"
                                                                                                                                                                                                                                                                                                                                                                                                            | "text"
                                                                                                                                                                                                                                                                                                                                                                                                            | "stream"
                                                                                                                                                                                                                                                                                                                                                                                                            | "formdata"
                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.Updater.html b/docs/backend_api/types/backend_script_entrypoint._internal_.Updater.html new file mode 100644 index 000000000..b6f6930e4 --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.Updater.html @@ -0,0 +1 @@ +Updater | trilium
                                                                                                                                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                          Updater: () => void

                                                                                                                                                                                                                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                            • (): void
                                                                                                                                                                                                                                                                                                                                                                                                            • Returns void

                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.node_modules__types_xml2js.Options.html b/docs/backend_api/types/backend_script_entrypoint._internal_.node_modules__types_xml2js.Options.html new file mode 100644 index 000000000..0eaf95b2b --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.node_modules__types_xml2js.Options.html @@ -0,0 +1 @@ +Options | trilium
                                                                                                                                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                            Options: Omit<ParserOptions, "preserveChildrenOrder" | "chunkSize">
                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/types/backend_script_entrypoint._internal_.node_modules__types_xml2js.OptionsV2.html b/docs/backend_api/types/backend_script_entrypoint._internal_.node_modules__types_xml2js.OptionsV2.html new file mode 100644 index 000000000..d31c3b30d --- /dev/null +++ b/docs/backend_api/types/backend_script_entrypoint._internal_.node_modules__types_xml2js.OptionsV2.html @@ -0,0 +1 @@ +OptionsV2 | trilium
                                                                                                                                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/backend_api/types/becca_entities_rows.AttributeType.html b/docs/backend_api/types/becca_entities_rows.AttributeType.html deleted file mode 100644 index 4064afcc1..000000000 --- a/docs/backend_api/types/becca_entities_rows.AttributeType.html +++ /dev/null @@ -1 +0,0 @@ -AttributeType | trilium
                                                                                                                                                                                                                                                                                                                                                                                                              trilium
                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias AttributeType

                                                                                                                                                                                                                                                                                                                                                                                                                AttributeType: "label" | "relation" | "label-definition" | "relation-definition"
                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/backend_api/types/becca_entities_rows.NoteType.html b/docs/backend_api/types/becca_entities_rows.NoteType.html deleted file mode 100644 index b23658484..000000000 --- a/docs/backend_api/types/becca_entities_rows.NoteType.html +++ /dev/null @@ -1 +0,0 @@ -NoteType | trilium
                                                                                                                                                                                                                                                                                                                                                                                                                trilium
                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias NoteType

                                                                                                                                                                                                                                                                                                                                                                                                                  NoteType: typeof ALLOWED_NOTE_TYPES[number]
                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/backend_api/variables/backend_script_entrypoint._internal_.Object.html b/docs/backend_api/variables/backend_script_entrypoint._internal_.Object.html new file mode 100644 index 000000000..e3051efcb --- /dev/null +++ b/docs/backend_api/variables/backend_script_entrypoint._internal_.Object.html @@ -0,0 +1,2 @@ +Object | trilium
                                                                                                                                                                                                                                                                                                                                                                                                                  trilium
                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                    Object: ObjectConstructor

                                                                                                                                                                                                                                                                                                                                                                                                                    Provides functionality common to all JavaScript objects.

                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/backend_api/variables/backend_script_entrypoint._internal_.node_modules__types_xml2js.defaults.html b/docs/backend_api/variables/backend_script_entrypoint._internal_.node_modules__types_xml2js.defaults.html new file mode 100644 index 000000000..d1e1c4804 --- /dev/null +++ b/docs/backend_api/variables/backend_script_entrypoint._internal_.node_modules__types_xml2js.defaults.html @@ -0,0 +1 @@ +defaults | trilium
                                                                                                                                                                                                                                                                                                                                                                                                                    trilium
                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                      defaults: { "0.1": Options; "0.2": OptionsV2 }

                                                                                                                                                                                                                                                                                                                                                                                                                      Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/backend_api/variables/backend_script_entrypoint.api.html b/docs/backend_api/variables/backend_script_entrypoint.api.html new file mode 100644 index 000000000..92470d340 --- /dev/null +++ b/docs/backend_api/variables/backend_script_entrypoint.api.html @@ -0,0 +1,2 @@ +api | trilium
                                                                                                                                                                                                                                                                                                                                                                                                                      trilium
                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                        api: Api = ...

                                                                                                                                                                                                                                                                                                                                                                                                                        The code api global variable allows access to the backend script API, which is documented in Api.

                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/backend_api/variables/becca_entities_rows.ALLOWED_NOTE_TYPES.html b/docs/backend_api/variables/becca_entities_rows.ALLOWED_NOTE_TYPES.html deleted file mode 100644 index 9fdcc4e9f..000000000 --- a/docs/backend_api/variables/becca_entities_rows.ALLOWED_NOTE_TYPES.html +++ /dev/null @@ -1,4 +0,0 @@ -ALLOWED_NOTE_TYPES | trilium
                                                                                                                                                                                                                                                                                                                                                                                                                        trilium
                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                          Variable ALLOWED_NOTE_TYPESConst

                                                                                                                                                                                                                                                                                                                                                                                                                          ALLOWED_NOTE_TYPES: readonly [
                                                                                                                                                                                                                                                                                                                                                                                                                              "file",
                                                                                                                                                                                                                                                                                                                                                                                                                              "image",
                                                                                                                                                                                                                                                                                                                                                                                                                              "search",
                                                                                                                                                                                                                                                                                                                                                                                                                              "noteMap",
                                                                                                                                                                                                                                                                                                                                                                                                                              "launcher",
                                                                                                                                                                                                                                                                                                                                                                                                                              "doc",
                                                                                                                                                                                                                                                                                                                                                                                                                              "contentWidget",
                                                                                                                                                                                                                                                                                                                                                                                                                              "text",
                                                                                                                                                                                                                                                                                                                                                                                                                              "relationMap",
                                                                                                                                                                                                                                                                                                                                                                                                                              "render",
                                                                                                                                                                                                                                                                                                                                                                                                                              "canvas",
                                                                                                                                                                                                                                                                                                                                                                                                                              "mermaid",
                                                                                                                                                                                                                                                                                                                                                                                                                              "book",
                                                                                                                                                                                                                                                                                                                                                                                                                              "webView",
                                                                                                                                                                                                                                                                                                                                                                                                                              "code",
                                                                                                                                                                                                                                                                                                                                                                                                                              "mindMap",
                                                                                                                                                                                                                                                                                                                                                                                                                              "geoMap",
                                                                                                                                                                                                                                                                                                                                                                                                                          ] = ...

                                                                                                                                                                                                                                                                                                                                                                                                                          There are many different Note types, some of which are entirely opaque to the -end user. Those types should be used only for checking against, they are -not for direct use.

                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/backend_api/variables/services_backend_script_api.default.html b/docs/backend_api/variables/services_backend_script_api.default.html deleted file mode 100644 index e9660d620..000000000 --- a/docs/backend_api/variables/services_backend_script_api.default.html +++ /dev/null @@ -1 +0,0 @@ -default | trilium
                                                                                                                                                                                                                                                                                                                                                                                                                          trilium
                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                            default: new (currentNote: default, apiParams: ApiParams) => Api
                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/backend_api/variables/services_sql.default.html b/docs/backend_api/variables/services_sql.default.html deleted file mode 100644 index d91b7bf1b..000000000 --- a/docs/backend_api/variables/services_sql.default.html +++ /dev/null @@ -1,7 +0,0 @@ -default | trilium
                                                                                                                                                                                                                                                                                                                                                                                                                            trilium
                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                              Variable default

                                                                                                                                                                                                                                                                                                                                                                                                                              default: {
                                                                                                                                                                                                                                                                                                                                                                                                                                  copyDatabase: (targetFilePath: string) => Promise<void>;
                                                                                                                                                                                                                                                                                                                                                                                                                                  dbConnection: Database;
                                                                                                                                                                                                                                                                                                                                                                                                                                  disableSlowQueryLogging: <T>(cb: () => T) => T;
                                                                                                                                                                                                                                                                                                                                                                                                                                  execute: (query: string, params?: any) => RunResult;
                                                                                                                                                                                                                                                                                                                                                                                                                                  executeMany: (query: string, params: any) => void;
                                                                                                                                                                                                                                                                                                                                                                                                                                  executeScript: (query: string) => Database;
                                                                                                                                                                                                                                                                                                                                                                                                                                  fillParamList: (
                                                                                                                                                                                                                                                                                                                                                                                                                                      paramIds: string[] | Set<string>,
                                                                                                                                                                                                                                                                                                                                                                                                                                      truncate?: boolean,
                                                                                                                                                                                                                                                                                                                                                                                                                                  ) => void;
                                                                                                                                                                                                                                                                                                                                                                                                                                  getColumn: <T>(query: string, params?: any) => T[];
                                                                                                                                                                                                                                                                                                                                                                                                                                  getManyRows: <T>(query: string, params: any) => T[];
                                                                                                                                                                                                                                                                                                                                                                                                                                  getMap: <K extends string | number | symbol, V>(
                                                                                                                                                                                                                                                                                                                                                                                                                                      query: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                      params?: any,
                                                                                                                                                                                                                                                                                                                                                                                                                                  ) => Record<K, V>;
                                                                                                                                                                                                                                                                                                                                                                                                                                  getRawRows: <T extends {} | unknown[]>(query: string, params?: any) => T[];
                                                                                                                                                                                                                                                                                                                                                                                                                                  getRow: <T>(query: string, params?: any) => T;
                                                                                                                                                                                                                                                                                                                                                                                                                                  getRowOrNull: <T>(query: string, params?: any) => null | T;
                                                                                                                                                                                                                                                                                                                                                                                                                                  getRows: <T>(query: string, params?: any) => T[];
                                                                                                                                                                                                                                                                                                                                                                                                                                  getValue: <T>(query: string, params?: any) => T;
                                                                                                                                                                                                                                                                                                                                                                                                                                  insert: <T extends {}>(
                                                                                                                                                                                                                                                                                                                                                                                                                                      tableName: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                      rec: T,
                                                                                                                                                                                                                                                                                                                                                                                                                                      replace?: boolean,
                                                                                                                                                                                                                                                                                                                                                                                                                                  ) => undefined | null | number | bigint;
                                                                                                                                                                                                                                                                                                                                                                                                                                  iterateRows: <T>(query: string, params?: any) => IterableIterator<T>;
                                                                                                                                                                                                                                                                                                                                                                                                                                  rebuildIntegrationTestDatabase: (dbPath?: string) => void;
                                                                                                                                                                                                                                                                                                                                                                                                                                  replace: <T extends {}>(tableName: string, rec: T) => null | number;
                                                                                                                                                                                                                                                                                                                                                                                                                                  transactional: <T>(func: (statement: Statement) => T) => T;
                                                                                                                                                                                                                                                                                                                                                                                                                                  upsert: <T extends {}>(
                                                                                                                                                                                                                                                                                                                                                                                                                                      tableName: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                      primaryKey: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                      rec: T,
                                                                                                                                                                                                                                                                                                                                                                                                                                  ) => void;
                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                              Type declaration

                                                                                                                                                                                                                                                                                                                                                                                                                              • copyDatabase: (targetFilePath: string) => Promise<void>
                                                                                                                                                                                                                                                                                                                                                                                                                              • dbConnection: Database
                                                                                                                                                                                                                                                                                                                                                                                                                              • disableSlowQueryLogging: <T>(cb: () => T) => T
                                                                                                                                                                                                                                                                                                                                                                                                                              • execute: (query: string, params?: any) => RunResult

                                                                                                                                                                                                                                                                                                                                                                                                                                Execute SQL

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                              • executeMany: (query: string, params: any) => void
                                                                                                                                                                                                                                                                                                                                                                                                                              • executeScript: (query: string) => Database
                                                                                                                                                                                                                                                                                                                                                                                                                              • fillParamList: (paramIds: string[] | Set<string>, truncate?: boolean) => void
                                                                                                                                                                                                                                                                                                                                                                                                                              • getColumn: <T>(query: string, params?: any) => T[]

                                                                                                                                                                                                                                                                                                                                                                                                                                Get a first column in an array.

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                              • getManyRows: <T>(query: string, params: any) => T[]
                                                                                                                                                                                                                                                                                                                                                                                                                              • getMap: <K extends string | number | symbol, V>(
                                                                                                                                                                                                                                                                                                                                                                                                                                    query: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                    params?: any,
                                                                                                                                                                                                                                                                                                                                                                                                                                ) => Record<K, V>

                                                                                                                                                                                                                                                                                                                                                                                                                                Get a map of first column mapping to second column.

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                              • getRawRows: <T extends {} | unknown[]>(query: string, params?: any) => T[]
                                                                                                                                                                                                                                                                                                                                                                                                                              • getRow: <T>(query: string, params?: any) => T

                                                                                                                                                                                                                                                                                                                                                                                                                                Get first returned row.

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                              • getRowOrNull: <T>(query: string, params?: any) => null | T
                                                                                                                                                                                                                                                                                                                                                                                                                              • getRows: <T>(query: string, params?: any) => T[]

                                                                                                                                                                                                                                                                                                                                                                                                                                Get all returned rows.

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                              • getValue: <T>(query: string, params?: any) => T

                                                                                                                                                                                                                                                                                                                                                                                                                                Get single value from the given query - first column from first returned row.

                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                              • insert: <T extends {}>(
                                                                                                                                                                                                                                                                                                                                                                                                                                    tableName: string,
                                                                                                                                                                                                                                                                                                                                                                                                                                    rec: T,
                                                                                                                                                                                                                                                                                                                                                                                                                                    replace?: boolean,
                                                                                                                                                                                                                                                                                                                                                                                                                                ) => undefined | null | number | bigint
                                                                                                                                                                                                                                                                                                                                                                                                                              • iterateRows: <T>(query: string, params?: any) => IterableIterator<T>
                                                                                                                                                                                                                                                                                                                                                                                                                              • rebuildIntegrationTestDatabase: (dbPath?: string) => void
                                                                                                                                                                                                                                                                                                                                                                                                                              • replace: <T extends {}>(tableName: string, rec: T) => null | number
                                                                                                                                                                                                                                                                                                                                                                                                                              • transactional: <T>(func: (statement: Statement) => T) => T
                                                                                                                                                                                                                                                                                                                                                                                                                              • upsert: <T extends {}>(tableName: string, primaryKey: string, rec: T) => void
                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/package-lock.json b/package-lock.json index 0e7cf4a94..7d9f26c26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -192,6 +192,7 @@ "tslib": "2.8.1", "tsx": "4.19.3", "typedoc": "0.28.2", + "typedoc-plugin-missing-exports": "4.0.0", "typescript": "5.8.3", "typescript-eslint": "8.29.1", "vanilla-js-wheel-zoom": "9.0.4", @@ -20342,6 +20343,16 @@ "typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x" } }, + "node_modules/typedoc-plugin-missing-exports": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/typedoc-plugin-missing-exports/-/typedoc-plugin-missing-exports-4.0.0.tgz", + "integrity": "sha512-Z4ei+853xppDEhcqzyeyRs4+R0kUuKQWnMK1EtSTEd5LFkgkdW5Bdn8vfo/rsCGbYVJxOWU99fxgM1mROw5Fug==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "typedoc": "^0.28.1" + } + }, "node_modules/typedoc/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", diff --git a/package.json b/package.json index e85eab20c..cb0205d72 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "electron-forge:start": "npm run build:prepare-dist && cd ./build && electron-forge start", "electron-forge:make": "npm run build:prepare-dist && cross-env DEBUG=electron-windows-installer:* electron-forge make ./build", "electron-forge:package": "npm run build:prepare-dist && cd ./build && electron-forge package", - "docs:build-backend": "rimraf ./docs/backend_api && typedoc ./docs/backend_api src/becca/entities/*.ts src/services/backend_script_api.ts src/services/sql.ts", + "docs:build-backend": "rimraf ./docs/backend_api && typedoc", "docs:build-frontend": "rimraf ./docs/frontend_api && jsdoc -c jsdoc-conf.json -d ./docs/frontend_api src/public/app/entities/*.js src/public/app/services/frontend_script_api.js src/public/app/widgets/basic_widget.js src/public/app/widgets/note_context_aware_widget.js src/public/app/widgets/right_panel_widget.js", "docs:build": "npm run docs:build-backend && npm run docs:build-frontend", "build:webpack": "tsx node_modules/webpack/bin/webpack.js -c webpack.config.ts --progress", @@ -251,6 +251,7 @@ "tslib": "2.8.1", "tsx": "4.19.3", "typedoc": "0.28.2", + "typedoc-plugin-missing-exports": "4.0.0", "typescript": "5.8.3", "typescript-eslint": "8.29.1", "vanilla-js-wheel-zoom": "9.0.4", diff --git a/src/services/backend_script_api.ts b/src/services/backend_script_api.ts index f1f14bb0f..9ba1591c0 100644 --- a/src/services/backend_script_api.ts +++ b/src/services/backend_script_api.ts @@ -58,7 +58,7 @@ interface NoteAndBranch { branch: BBranch; } -interface Api { +export interface Api { /** * Note where the script started executing (entrypoint). * As an analogy, in C this would be the file which contains the main() function of the current process. diff --git a/src/services/backend_script_entrypoint.ts b/src/services/backend_script_entrypoint.ts new file mode 100644 index 000000000..a8d8af42e --- /dev/null +++ b/src/services/backend_script_entrypoint.ts @@ -0,0 +1,20 @@ +/** + * @module "Backend Script API" + * + * The backend script API is accessible to code notes with the "JS (backend)" language. + * + * All the variables listed are globally accessible to the script. + */ + +import BNote from "../becca/entities/bnote.js"; +import type { Api } from "./backend_script_api.js"; +import BackendScriptApi from "./backend_script_api.js"; + +export type { Api }; + +const fakeNote = new BNote(); + +/** + * The `code` api global variable allows access to the backend script API, which is documented in {@link Api}. + */ +export const api: Api = new BackendScriptApi(fakeNote, {}); diff --git a/typedoc.json b/typedoc.json index 269640301..7b3af5524 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,4 +1,11 @@ { + "entryPoints": [ + "src/services/backend_script_entrypoint.ts" + ], + "plugin": [ + "typedoc-plugin-missing-exports" + ], + "alwaysCreateEntryPointModule": true, "outputs": [ { "name": "html",