@trust0/ridb-mongodb 0.0.13 → 0.0.15

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/build/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BaseStorageOptions, SchemaTypeRecord, BaseStorage } from '@trust0/ridb-core';
1
+ import { BaseStorageOptions, BaseStorage } from '@trust0/ridb-core';
2
2
 
3
3
  /**
4
4
  * @packageDocumentation
@@ -38,6 +38,6 @@ type MongoDBStorageOptions = BaseStorageOptions & MongoDBConfig;
38
38
  * @public
39
39
  * @returns A factory function that creates MongoDB storage instances
40
40
  */
41
- declare function createMongoDB<T extends SchemaTypeRecord>(): Promise<typeof BaseStorage<T>>;
41
+ declare function createMongoDB(): Promise<typeof BaseStorage>;
42
42
 
43
43
  export { type MongoDBConfig, type MongoDBStorageOptions, createMongoDB };