Compare commits

..

No commits in common. "v1.3.1" and "v1.3.0" have entirely different histories.

4 changed files with 6 additions and 13 deletions

View File

@ -2,13 +2,6 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [1.3.1](https://git.archive.systems/Dezzpil/ivanovna.orm/compare/v1.3.0...v1.3.1) (2021-10-05)
### Bug Fixes
* обновил API типов ([ead279c](https://git.archive.systems/Dezzpil/ivanovna.orm/commit/ead279ca5dbcc391aa30b224195295a4d1f81684))
## [1.3.0](https://git.archive.systems/Dezzpil/ivanovna.orm/compare/v1.2.0...v1.3.0) (2021-10-05)

6
orm.d.ts vendored
View File

@ -66,7 +66,6 @@ export declare abstract class Repo<T extends Entity<any>> {
protected _entity: T;
protected _limit: number;
protected _offset: number;
private _transformer;
/**
* Возвращает объект соотв. сущности, например new App()
*/
@ -75,8 +74,9 @@ export declare abstract class Repo<T extends Entity<any>> {
* Возвращает название коллекции/таблицы/... хранящей записи соотв. сущностей
*/
abstract Name(): string;
constructor(storage: Storage_2, transformer?: (obj: any) => any);
setTransformer(transformer?: (obj: any) => any): this;
_transformer: (object: any) => any;
constructor(storage: Storage_2);
resetTransformer(): void;
get storage(): Storage_2;
save(entity: T): Promise<this>;
findById(id: string): Promise<T | null>;

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "ivna-orm",
"version": "1.3.1",
"version": "1.3.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ivna-orm",
"version": "1.3.1",
"version": "1.3.0",
"license": "ISC",
"devDependencies": {
"@jest/test-sequencer": "^27.2.3",

View File

@ -1,6 +1,6 @@
{
"name": "ivna-orm",
"version": "1.3.1",
"version": "1.3.0",
"description": "Mini ORM for convenience",
"main": "dist/index.js",
"files": [