Compare commits

..

2 Commits

6 changed files with 30 additions and 4 deletions

10
HISTORY.md Normal file
View File

@ -0,0 +1,10 @@
# Changelog
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.0.2](https://git.archive.systems/Dezzpil/ivanovna.orm/compare/v1.0.1...v1.0.2) (2021-09-29)
### Bug Fixes
* Добавил главный файл с экспортами, поправил пэкадж и названия файла хранилища монги ([f998ee6](https://git.archive.systems/Dezzpil/ivanovna.orm/commit/f998ee630bdb5277f06743b0fb332dab9c6ec638))

View File

@ -0,0 +1,6 @@
# Ivanovna ORM
Простая ОРМ для простейших задач.
Позволяет задать модели для таблиц или коллекций и предоставляет менеджер сущностей для манипуляций с ними.

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "ivna-orm", "name": "ivna-orm",
"version": "1.0.1", "version": "1.0.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ivna-orm", "name": "ivna-orm",
"version": "1.0.1", "version": "1.0.2",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"mongodb": "^4.1.2", "mongodb": "^4.1.2",

View File

@ -1,9 +1,11 @@
{ {
"name": "ivna-orm", "name": "ivna-orm",
"version": "1.0.1", "version": "1.0.2",
"description": "Mini ORM for convenience", "description": "Mini ORM for convenience",
"main": "src/index.ts", "main": "src/index.ts",
"files": [ "files": [
"dist/index.js",
"dist/index.d.ts",
"dist/app/**/*" "dist/app/**/*"
], ],
"scripts": { "scripts": {
@ -41,7 +43,7 @@
"ts-node": "^10.2.1", "ts-node": "^10.2.1",
"typescript": "^4.4.3" "typescript": "^4.4.3"
}, },
"dependencies": { "peerDependencies": {
"mongodb": "^4.1.2", "mongodb": "^4.1.2",
"mongodb-client-encryption": "^1.2.7" "mongodb-client-encryption": "^1.2.7"
}, },

8
src/index.ts Normal file
View File

@ -0,0 +1,8 @@
import { EntityConstructor, ErrEntityHasNoUniqKeyValue } from './app/entity'
import { ErrEntityNotFound, ErrFoundNotUniqEntity } from './app/repo'
import { ErrNoSession, ErrStorage, StorageCursor, StorageSession } from './app/storage'
export { Data } from './app/data'
export { Entity, EntityConstructor, ErrEntityHasNoUniqKeyValue } from './app/entity'
export { Repo, ErrFoundNotUniqEntity, ErrEntityNotFound } from './app/repo'
export { Storage, StorageCursor, ErrStorage, ErrNoSession, StorageSession } from './app/storage'