adapt-authoring-mongodb/lib/typedefs.js

/**
 * This file exists to define the below types for documentation purposes.
 */
/**
 * MongoDB collection
 * @memberof mongodb
 * @external MongoDBCollection
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/api/classes/Collection.html}
 */
/**
 * Options passed to the createIndex function
 * @memberof mongodb
 * @external MongoDBCreateIndexesOptions
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/interfaces/CreateIndexesOptions.html}
 */
/**
 * Options passed to the delete functions
 * @memberof mongodb
 * @external MongoDBDeleteOptions
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/interfaces/DeleteOptions.html}
 */
/**
 * Options passed to the findOneAndReplace function
 * @memberof mongodb
 * @external MongoDBFindOneAndReplaceOptions
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/interfaces/FindOneAndReplaceOptions.html}
 */
/**
 * Options passed to the findOneAndUpdate function
 * @memberof mongodb
 * @external MongoDBFindOneAndUpdateOptions
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/interfaces/FindOneAndUpdateOptions.html}
 */
/**
 * Options passed to the find function
 * @memberof mongodb
 * @external MongoDBFindOptions
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/interfaces/FindOptions.html}
 */
/**
 * Options passed to the insertOne function
 * @memberof mongodb
 * @external MongoDBInsertOneOptions
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/interfaces/InsertOneOptions.html}
 */
/**
 * MongoDB client for DB connections
 * @memberof mongodb
 * @external MongoDBMongoClient
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/api/MongoClient.html}
 */
/**
 * MongoDB representation of BSON ObjectId type
 * @memberof mongodb
 * @external MongoDBObjectId
 * @see {@link https://mongodb.github.io/node-mongodb-native/4.2/api/ObjectID.html}
 */