@spica-devkit/database 0.18.10 → 0.18.11-pre1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +10 -1
- package/package.json +1 -1
- package/dist/src/check.d.ts +0 -2
- package/dist/src/database.d.ts +0 -4
- package/dist/src/index.d.ts +0 -2
- package/dist/src/mongo.d.ts +0 -3
- package/dist/src/objectid.d.ts +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _mongodb from 'mongodb';
|
|
2
|
+
|
|
3
|
+
declare function database(): Promise<_mongodb.Db>;
|
|
4
|
+
declare function close(force?: boolean): Promise<void> | void;
|
|
5
|
+
declare function isConnected(): boolean;
|
|
6
|
+
|
|
7
|
+
declare const objectId: (id?: string | number | _mongodb.ObjectId) => _mongodb.BSON.ObjectId;
|
|
8
|
+
declare const ObjectId: typeof _mongodb.BSON.ObjectId;
|
|
9
|
+
|
|
10
|
+
export { ObjectId, close, database, isConnected, objectId };
|
package/package.json
CHANGED
package/dist/src/check.d.ts
DELETED
package/dist/src/database.d.ts
DELETED
package/dist/src/index.d.ts
DELETED
package/dist/src/mongo.d.ts
DELETED
package/dist/src/objectid.d.ts
DELETED