Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
23
Frontend-Learner/node_modules/unstorage/drivers/mongodb.d.mts
generated
vendored
Normal file
23
Frontend-Learner/node_modules/unstorage/drivers/mongodb.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { type Collection, type MongoClientOptions } from "mongodb";
|
||||
export interface MongoDbOptions {
|
||||
/**
|
||||
* The MongoDB connection string.
|
||||
*/
|
||||
connectionString: string;
|
||||
/**
|
||||
* Optional configuration settings for the MongoClient instance.
|
||||
*/
|
||||
clientOptions?: MongoClientOptions;
|
||||
/**
|
||||
* The name of the database to use.
|
||||
* @default "unstorage"
|
||||
*/
|
||||
databaseName?: string;
|
||||
/**
|
||||
* The name of the collection to use.
|
||||
* @default "unstorage"
|
||||
*/
|
||||
collectionName?: string;
|
||||
}
|
||||
declare const _default: (opts: MongoDbOptions) => import("..").Driver<MongoDbOptions, Collection<import("mongodb").Document>>;
|
||||
export default _default;
|
||||
Loading…
Add table
Add a link
Reference in a new issue