Skip to content

Commit 6dba449

Browse files
changes
1 parent 779b910 commit 6dba449

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/change_stream.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,13 @@ export interface ChangeStreamCreateDocument
419419
ChangeStreamDocumentCollectionUUID {
420420
/** Describes the type of operation represented in this change notification */
421421
operationType: 'create';
422+
423+
/**
424+
* The type of the newly created object.
425+
*
426+
* @since 8.1.0
427+
*/
428+
nsType?: 'collection' | 'timeseries' | 'view';
422429
}
423430

424431
/**

0 commit comments

Comments
 (0)