File tree Expand file tree Collapse file tree 4 files changed +1
-11
lines changed Expand file tree Collapse file tree 4 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ import {
52
52
FindOneAndUpdateOperation ,
53
53
type FindOneAndUpdateOptions
54
54
} from './operations/find_and_modify' ;
55
- import { FindOneOperation } from './operations/find_one_operation' ;
56
55
import {
57
56
CreateIndexesOperation ,
58
57
type CreateIndexesOptions ,
Original file line number Diff line number Diff line change @@ -529,6 +529,7 @@ export type {
529
529
FindOneAndReplaceOptions ,
530
530
FindOneAndUpdateOptions
531
531
} from './operations/find_and_modify' ;
532
+ export type { FindOneOptions } from './operations/find_one' ;
532
533
export type { IndexInformationOptions } from './operations/indexes' ;
533
534
export type {
534
535
CreateIndexesOptions ,
Original file line number Diff line number Diff line change @@ -81,16 +81,6 @@ export interface FindOptions<TSchema extends Document = Document>
81
81
timeoutMode ?: CursorTimeoutMode ;
82
82
}
83
83
84
- /** @public */
85
- export interface FindOneOptions extends FindOptions {
86
- /** @deprecated Will be removed in the next major version. User provided value will be ignored. */
87
- batchSize ?: number ;
88
- /** @deprecated Will be removed in the next major version. User provided value will be ignored. */
89
- limit ?: number ;
90
- /** @deprecated Will be removed in the next major version. User provided value will be ignored. */
91
- noCursorTimeout ?: boolean ;
92
- }
93
-
94
84
/** @internal */
95
85
export class FindOperation extends CommandOperation < CursorResponse > {
96
86
/**
File renamed without changes.
You can’t perform that action at this time.
0 commit comments