@mountsqli/mongodb 0.1.4 → 0.1.5
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 +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Table, TableConfig,
|
|
1
|
+
import { Table, TableConfig, Session, Logger, QueryWithTypings, PreparedQuery, Driver } from '@mountsqli/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* MongoDB collection factory.
|
|
@@ -8,7 +8,7 @@ declare class MongoCollection$1 extends Table<TableConfig & {
|
|
|
8
8
|
dialect: 'mongo';
|
|
9
9
|
}> {
|
|
10
10
|
}
|
|
11
|
-
type MongoCollectionColumns = Record<string,
|
|
11
|
+
type MongoCollectionColumns = Record<string, any>;
|
|
12
12
|
declare function mongoCollection<TColumns extends MongoCollectionColumns>(name: string, columns: TColumns): MongoCollection$1 & {
|
|
13
13
|
columns: TColumns;
|
|
14
14
|
};
|