import { IChangesObservable } from "./IChangesObservable.js"; import { ObjectTypeDescriptor } from "../../Types/index.js"; export interface IDocumentChanges { /** * Subscribe to changes for specified document only. */ forDocument(docId: string): IChangesObservable; /** * Subscribe to changes for all documents. */ forAllDocuments(): IChangesObservable; /** * Subscribe to changes for all documents that Id starts with given prefix. */ forDocumentsStartingWith(docIdPrefix: string): IChangesObservable; /** * Subscribe to changes for all documents that belong to specified collection (Raven-Entity-Name). */ forDocumentsInCollection(collectionName: string): IChangesObservable; /** * Subscribe to changes for all documents that belong to specified collection (Raven-Entity-Name). */ forDocumentsInCollection(type: ObjectTypeDescriptor): IChangesObservable; } //# sourceMappingURL=IDocumentChanges.d.ts.map