fix: Добавил главный файл с экспортами, поправил пэкадж и названия файла хранилища монги
This commit is contained in:
1 parent
8c8866d338
commit
f998ee630b
4 files changed
+17
-1
No files matched your search
@@ -0,0 +1,6 @@
|
||||
# Ivanovna ORM
|
||||
|
||||
Простая ОРМ для простейших задач.
|
||||
|
||||
Позволяет задать модели для таблиц или коллекций и предоставляет менеджер сущностей для манипуляций с ними.
|
||||
|
||||
+3
-1
@@ -4,6 +4,8 @@
|
||||
"description": "Mini ORM for convenience",
|
||||
"main": "src/index.ts",
|
||||
"files": [
|
||||
"dist/index.js",
|
||||
"dist/index.d.ts",
|
||||
"dist/app/**/*"
|
||||
],
|
||||
"scripts": {
|
||||
@@ -41,7 +43,7 @@
|
||||
"ts-node": "^10.2.1",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"peerDependencies": {
|
||||
"mongodb": "^4.1.2",
|
||||
"mongodb-client-encryption": "^1.2.7"
|
||||
},
|
||||
|
||||
File renamed without changes.
@@ -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'
|
||||
Reference in new issue
Block a user