Compare commits

..

2 Commits

Author SHA1 Message Date
Nikita Dezzpil Orlov
231895c7cd chore(release): 1.3.2 2021-10-05 15:49:21 +03:00
Nikita Dezzpil Orlov
e282a887c3 fix: трансформер доступен для дочерних классов 2021-10-05 15:49:15 +03:00
5 changed files with 12 additions and 5 deletions

View File

@ -2,6 +2,13 @@
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. 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.2](https://git.archive.systems/Dezzpil/ivanovna.orm/compare/v1.3.1...v1.3.2) (2021-10-05)
### Bug Fixes
* трансформер доступен для дочерних классов ([e282a88](https://git.archive.systems/Dezzpil/ivanovna.orm/commit/e282a887c3e8c5fc6d159da9881f13adb2f527b4))
### [1.3.1](https://git.archive.systems/Dezzpil/ivanovna.orm/compare/v1.3.0...v1.3.1) (2021-10-05) ### [1.3.1](https://git.archive.systems/Dezzpil/ivanovna.orm/compare/v1.3.0...v1.3.1) (2021-10-05)

2
orm.d.ts vendored
View File

@ -66,7 +66,7 @@ export declare abstract class Repo<T extends Entity<any>> {
protected _entity: T; protected _entity: T;
protected _limit: number; protected _limit: number;
protected _offset: number; protected _offset: number;
private _transformer; protected _transformer: (obj: any) => any;
/** /**
* Возвращает объект соотв. сущности, например new App() * Возвращает объект соотв. сущности, например new App()
*/ */

4
package-lock.json generated
View File

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

View File

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

View File

@ -15,7 +15,7 @@ export abstract class Repo<T extends Entity<any>> {
protected _limit = 0 protected _limit = 0
protected _offset = 0 protected _offset = 0
private _transformer: (obj: any) => any protected _transformer: (obj: any) => any
/** /**
* Возвращает объект соотв. сущности, например new App() * Возвращает объект соотв. сущности, например new App()