-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Update dependencies, add schema support, and improve type definitio…
…ns in versedb" This commit includes the following changes: * Updates dependencies to the latest versions. * Adds schema support to the versedb library, allowing for more robust data validation and manipulation. * Improves type definitions for better type safety and autocompletion in various code editors. * Adds a new `info` method to the `connect` class, which returns information about the database files in the data path. * Adds a new `countDocuments` method to the `connect` class, which returns the number of documents in a database file based on an optional query. * Adds a new `model` method to the `connect` class, which allows for creating models with data validation and manipulation based on a schema. * Updates the `countDoc` and `updateMany` methods in the `SQLAdapter` and `YAMLAdapter` interfaces to include an optional query parameter. * Makes various improvements to the test suite, including adding tests for the new methods and fixing some existing tests. * Updates the documentation to reflect the changes in this commit.
- Loading branch information
Showing
15 changed files
with
936 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,7 @@ package-lock.json | |
tests | ||
tests/ | ||
src | ||
tsconfig.json | ||
tsconfig.json | ||
tsup.config.ts | ||
yarn.lock | ||
jest.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.