Skip to main content

Home > git-documentdb > GitDDBInterface

GitDDBInterface interface#

Interface of GitDocumentDB body

Signature:
export interface GitDDBInterface

Properties#

PropertyTypeDescription
author{ name: string; email: string; }
committer{ name: string; email: string; }
dbIdstring
dbNamestring
defaultBranchstring
isClosingboolean
isOpenedboolean
localDirstring
loggerColoredLogger
logLevelTLogLevelName********************************************* Public properties *********************************************
rootCollectionICollection
schemaSchema
serializeFormatSerializeFormatJSON | SerializeFormatFrontMatter********************************************* Public properties (readonly) *********************************************
taskQueueTaskQueue
tsLoggerLogger
validatorValidator
workingDirstring

Methods#

MethodDescription
close(options)
destroy(options)
getCommit(oid)
getRemoteURLs()
getSync(remoteURL)
loadAuthor()
loadDbInfo()
open(options)********************************************* Public methods *********************************************
removeSync(remoteURL)
saveAuthor()
sync(options, getSyncResult)
sync(options)