interface RepoEvents {
    delete-document: ((arg) => void);
    doc-metrics: ((arg) => void);
    document: ((arg) => void);
    unavailable-document: ((arg) => void);
}

Properties

delete-document: ((arg) => void)

A document was deleted

Type declaration

doc-metrics: ((arg) => void)

Type declaration

    • (arg): void
    • Parameters

      • arg: DocMetrics

      Returns void

document: ((arg) => void)

A new document was created or discovered

Type declaration

unavailable-document: ((arg) => void)

A document was marked as unavailable (we don't have it and none of our peers have it)

Type declaration