Comparing version 2.1.5 to 2.1.6
@@ -10,8 +10,13 @@ # Changelog | ||
## [v2.1.4](https://github.com/artus9033/tsdiskdb/compare/v2.1.3...v2.1.4) | ||
## [v2.1.6](https://github.com/artus9033/tsdiskdb/compare/v2.1.3...v2.1.6) | ||
### Merged | ||
- Bump json5 from 2.2.0 to 2.2.3 [`#7`](https://github.com/artus9033/tsdiskdb/pull/7) | ||
### Commits | ||
- Updated minimatch indirect dependency - merged #6; fixed typings in [`d959c14`]; 2.1.4(https://github.com/artus9033/tsdiskdb/commit/d959c14303b392751f093d192e2a19707f28e694) | ||
- Updated minimatch indirect dependency - merged #6; fixed typings in [`52012dd`](https://github.com/artus9033/tsdiskdb/commit/52012dd7f775447f766ec28dec1ee541a27073c1) | ||
- Bump minimatch from 3.0.4 to 3.1.2 [`51643ce`](https://github.com/artus9033/tsdiskdb/commit/51643ce35347b63eaf28f4870ca005e39f0d83fa) | ||
- Moved from template tag functions to standard invocations with chalk for [`305cc73`](https://github.com/artus9033/tsdiskdb/commit/305cc73a7410554f3759f94635561fc9edb81998) | ||
@@ -18,0 +23,0 @@ ## [v2.1.3](https://github.com/artus9033/tsdiskdb/compare/v2.1.2...v2.1.3) - 2022-03-31 |
@@ -1,7 +0,7 @@ | ||
export declare type ModelTypeBase = { | ||
export type ModelTypeBase = { | ||
_id: string; | ||
}; | ||
export declare type CollectionType<ModelType extends ModelTypeBase = ModelTypeBase> = Array<ModelType>; | ||
export declare type QueryType<ModelType extends ModelTypeBase> = Partial<EnrichModelType<ModelType>> | undefined | null; | ||
export declare type EnrichModelType<ModelType> = ModelType & ModelTypeBase; | ||
export type CollectionType<ModelType extends ModelTypeBase = ModelTypeBase> = Array<ModelType>; | ||
export type QueryType<ModelType extends ModelTypeBase> = Partial<EnrichModelType<ModelType>> | undefined | null; | ||
export type EnrichModelType<ModelType> = ModelType & ModelTypeBase; | ||
export declare class util { | ||
@@ -8,0 +8,0 @@ static isValidPath(path: string): boolean; |
{ | ||
"name": "tsdiskdb", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "TypeScript disk-based JSON database for storing small structures with a Mongo-like interface", | ||
@@ -21,12 +21,12 @@ "main": "dist/index.js", | ||
"merge": "^2.1.1", | ||
"uuid": "^8.3.2" | ||
"uuid": "^9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^27.4.1", | ||
"@types/lodash": "^4.14.181", | ||
"@types/node": "^17.0.23", | ||
"@types/uuid": "^8.3.4", | ||
"jest": "^27.5.1", | ||
"ts-jest": "^27.1.4", | ||
"typescript": "^4.6.3" | ||
"@types/jest": "^29.2.5", | ||
"@types/lodash": "^4.14.191", | ||
"@types/node": "^18.11.18", | ||
"@types/uuid": "^9.0.0", | ||
"jest": "^29.3.1", | ||
"ts-jest": "^29.0.3", | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -33,0 +33,0 @@ "overrides": { |
59064