Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/operations/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export interface CommandOperationOptions

/**
* Used when the command needs to grant access to the underlying namespaces for time series collections.
* Only available on server versions 8.2 and above.
* @public
* Only available on server versions 8.2 and above and is not meant for public use.
* @internal
* @sinceServerVersion 8.2
**/
rawData?: boolean;
Expand Down
4 changes: 3 additions & 1 deletion src/operations/indexes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ export class DropIndexOperation extends CommandOperation<Document> {
export type ListIndexesOptions = AbstractCursorOptions & {
/** @internal */
omitMaxTimeMS?: boolean;
/** @internal */
rawData?: boolean;
};

/** @internal */
Expand All @@ -368,7 +370,7 @@ export class ListIndexesOperation extends CommandOperation<CursorResponse> {
* This allows typescript to delete the key but will
* not allow a writeConcern to be assigned as a property on options.
*/
override options: ListIndexesOptions & { writeConcern?: never; rawData?: boolean };
override options: ListIndexesOptions & { writeConcern?: never };
collectionNamespace: MongoDBNamespace;

constructor(collection: Collection, options?: ListIndexesOptions) {
Expand Down