Fix typings & re-export
This commit is contained in:
parent
126c453c6c
commit
d19aec3371
2
index.ts
2
index.ts
@ -1,4 +1,4 @@
|
|||||||
export { MessageBroker, BrokerOptions } from './src/MessageBroker.js';
|
export { MessageBroker, BrokerOptions } from './src/MessageBroker.js';
|
||||||
export { MariaDB, MariaOptions } from './src/MariaDB.js';
|
export { MariaDB, MariaOptions } from './src/MariaDB.js';
|
||||||
export { MongoDB, MongoOptions } from './src/MongoDB.js';
|
export { MongoDB, MongoOptions } from './src/MongoDB.js';
|
||||||
export { ObjectId, Document, DeleteResult, Collection, Filter } from 'mongodb';
|
export { ObjectId, Document, DeleteResult, Collection, Filter, UpdateFilter } from 'mongodb';
|
@ -36,7 +36,7 @@ type MariaError = {
|
|||||||
sqlMessage:string
|
sqlMessage:string
|
||||||
} & Error
|
} & Error
|
||||||
|
|
||||||
type Values = (string | number | (string | number)[] | (string | number)[][])[]
|
type Values = ((string | number | null | boolean) | (string | number | null | boolean)[] | (string | number | null | boolean)[][])[];
|
||||||
type QueryOptions = {
|
type QueryOptions = {
|
||||||
node?: string,
|
node?: string,
|
||||||
timeout?: number,
|
timeout?: number,
|
||||||
|
Loading…
Reference in New Issue
Block a user