mocody 0.2.15 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +4 -4
- package/dist/core/base-schema.d.ts +13 -13
- package/dist/core/base-schema.js +11 -11
- package/dist/core/base-schema.js.map +1 -1
- package/dist/couch/couch-data-operation.d.ts +90 -90
- package/dist/couch/couch-data-operation.js +581 -581
- package/dist/couch/couch-data-operation.js.map +1 -1
- package/dist/couch/couch-filter-query-operation.d.ts +47 -47
- package/dist/couch/couch-filter-query-operation.js +438 -438
- package/dist/couch/couch-initializer.d.ts +45 -45
- package/dist/couch/couch-initializer.js +98 -98
- package/dist/couch/couch-initializer.js.map +1 -1
- package/dist/couch/couch-manage-table.d.ts +46 -46
- package/dist/couch/couch-manage-table.js +113 -113
- package/dist/dynamo/dynamo-data-operation.d.ts +97 -97
- package/dist/dynamo/dynamo-data-operation.js +788 -793
- package/dist/dynamo/dynamo-data-operation.js.map +1 -1
- package/dist/dynamo/dynamo-filter-query-operation.d.ts +28 -28
- package/dist/dynamo/dynamo-filter-query-operation.js +627 -627
- package/dist/dynamo/dynamo-helper.d.ts +1 -1
- package/dist/dynamo/dynamo-helper.js +8 -8
- package/dist/dynamo/dynamo-initializer.d.ts +14 -8
- package/dist/dynamo/dynamo-initializer.js +58 -34
- package/dist/dynamo/dynamo-initializer.js.map +1 -1
- package/dist/dynamo/dynamo-manage-table.d.ts +33 -32
- package/dist/dynamo/dynamo-manage-table.js +419 -418
- package/dist/dynamo/dynamo-manage-table.js.map +1 -1
- package/dist/dynamo/dynamo-query-scan-processor.d.ts +25 -24
- package/dist/dynamo/dynamo-query-scan-processor.js +268 -266
- package/dist/dynamo/dynamo-query-scan-processor.js.map +1 -1
- package/dist/helpers/base-joi-helper.d.ts +2 -2
- package/dist/helpers/base-joi-helper.js +12 -12
- package/dist/helpers/constants.d.ts +3 -3
- package/dist/helpers/constants.js +6 -6
- package/dist/helpers/errors.d.ts +13 -13
- package/dist/helpers/errors.js +38 -38
- package/dist/helpers/logging-service.d.ts +8 -8
- package/dist/helpers/logging-service.js +44 -44
- package/dist/helpers/mocody-utils.d.ts +13 -15
- package/dist/helpers/mocody-utils.js +48 -48
- package/dist/helpers/query-validator.d.ts +20 -20
- package/dist/helpers/query-validator.js +84 -84
- package/dist/helpers/util-service.d.ts +29 -29
- package/dist/helpers/util-service.js +155 -155
- package/dist/index.d.ts +10 -10
- package/dist/index.js +19 -19
- package/dist/model/index.d.ts +40 -40
- package/dist/model/index.js +6 -6
- package/dist/mongo/mongo-data-operation.d.ts +88 -88
- package/dist/mongo/mongo-data-operation.js +597 -597
- package/dist/mongo/mongo-data-operation.js.map +1 -1
- package/dist/mongo/mongo-filter-query-operation.d.ts +47 -47
- package/dist/mongo/mongo-filter-query-operation.js +433 -433
- package/dist/mongo/mongo-initializer.d.ts +16 -16
- package/dist/mongo/mongo-initializer.js +47 -47
- package/dist/mongo/mongo-initializer.js.map +1 -1
- package/dist/mongo/mongo-table-manager.d.ts +31 -31
- package/dist/mongo/mongo-table-manager.js +104 -104
- package/dist/type/index.d.ts +108 -108
- package/dist/type/index.js +2 -2
- package/package.json +70 -72
package/package.json
CHANGED
|
@@ -1,72 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mocody",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Implementation of single table design, and unified query access for MongoDB, CouchDB, and dynamoDB",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "rimraf ./dist && npx tsc -b",
|
|
9
|
-
"prepare": "npm run build",
|
|
10
|
-
"version": "npm run build",
|
|
11
|
-
"pub": "npm publish",
|
|
12
|
-
"pub01": "npx np",
|
|
13
|
-
"build-dev": "rimraf ./dist && npx tsc -b",
|
|
14
|
-
"eslint": "eslint 'src/**/*.ts'",
|
|
15
|
-
"eslint:fix": "eslint --fix 'src/**/*.ts'",
|
|
16
|
-
"prettier-format-fix": "prettier --write \"src/**/*.{ts,js,json}\"",
|
|
17
|
-
"prettier-different": "prettier --list-different \"src/**/*.{ts,js,json}\"",
|
|
18
|
-
"prettier-unformatted": "prettier --check \"src/**/*.{ts,js,json}\""
|
|
19
|
-
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/genbliz/mocody.git"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [
|
|
25
|
-
"dynamodb",
|
|
26
|
-
"mongodb",
|
|
27
|
-
"couchdb",
|
|
28
|
-
"orm",
|
|
29
|
-
"single table design"
|
|
30
|
-
],
|
|
31
|
-
"author": "",
|
|
32
|
-
"license": "ISC",
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/genbliz/mocody/issues"
|
|
35
|
-
},
|
|
36
|
-
"homepage": "https://github.com/genbliz/mocody",
|
|
37
|
-
"files": [
|
|
38
|
-
"dist"
|
|
39
|
-
],
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@aws-sdk/client-dynamodb": "^3.
|
|
42
|
-
"@aws-sdk/util-dynamodb": "^3.
|
|
43
|
-
"joi": "^17.6.0",
|
|
44
|
-
"lodash": "^4.17.21",
|
|
45
|
-
"mongodb": "4.
|
|
46
|
-
"nano": "^
|
|
47
|
-
"nanoid": "^3.
|
|
48
|
-
"throat": "^6.0.1",
|
|
49
|
-
"tslib": "^2.
|
|
50
|
-
"uuid": "^8.3.2"
|
|
51
|
-
},
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"@types/
|
|
54
|
-
"@types/
|
|
55
|
-
"@types/
|
|
56
|
-
"@
|
|
57
|
-
"@typescript-eslint/
|
|
58
|
-
"
|
|
59
|
-
"eslint": "^
|
|
60
|
-
"eslint-
|
|
61
|
-
"eslint-
|
|
62
|
-
"eslint-plugin-
|
|
63
|
-
"eslint-plugin-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "mocody",
|
|
3
|
+
"version": "0.2.16",
|
|
4
|
+
"description": "Implementation of single table design, and unified query access for MongoDB, CouchDB, and dynamoDB",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rimraf ./dist && npx tsc -b",
|
|
9
|
+
"prepare": "npm run build",
|
|
10
|
+
"version": "npm run build",
|
|
11
|
+
"pub": "npm publish",
|
|
12
|
+
"pub01": "npx np",
|
|
13
|
+
"build-dev": "rimraf ./dist && npx tsc -b",
|
|
14
|
+
"eslint": "eslint 'src/**/*.ts'",
|
|
15
|
+
"eslint:fix": "eslint --fix 'src/**/*.ts'",
|
|
16
|
+
"prettier-format-fix": "prettier --write \"src/**/*.{ts,js,json}\"",
|
|
17
|
+
"prettier-different": "prettier --list-different \"src/**/*.{ts,js,json}\"",
|
|
18
|
+
"prettier-unformatted": "prettier --check \"src/**/*.{ts,js,json}\""
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/genbliz/mocody.git"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"dynamodb",
|
|
26
|
+
"mongodb",
|
|
27
|
+
"couchdb",
|
|
28
|
+
"orm",
|
|
29
|
+
"single table design"
|
|
30
|
+
],
|
|
31
|
+
"author": "",
|
|
32
|
+
"license": "ISC",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/genbliz/mocody/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/genbliz/mocody",
|
|
37
|
+
"files": [
|
|
38
|
+
"dist"
|
|
39
|
+
],
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@aws-sdk/client-dynamodb": "^3.87.0",
|
|
42
|
+
"@aws-sdk/util-dynamodb": "^3.87.0",
|
|
43
|
+
"joi": "^17.6.0",
|
|
44
|
+
"lodash": "^4.17.21",
|
|
45
|
+
"mongodb": "4.5.0",
|
|
46
|
+
"nano": "^10.0.0",
|
|
47
|
+
"nanoid": "^3.3.4",
|
|
48
|
+
"throat": "^6.0.1",
|
|
49
|
+
"tslib": "^2.4.0",
|
|
50
|
+
"uuid": "^8.3.2"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/lodash": "^4.14.182",
|
|
54
|
+
"@types/node": "^16.11.11",
|
|
55
|
+
"@types/uuid": "^8.3.4",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
57
|
+
"@typescript-eslint/parser": "^5.23.0",
|
|
58
|
+
"eslint": "^8.15.0",
|
|
59
|
+
"eslint-config-prettier": "^8.5.0",
|
|
60
|
+
"eslint-plugin-import": "^2.26.0",
|
|
61
|
+
"eslint-plugin-node": "^11.1.0",
|
|
62
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
63
|
+
"eslint-plugin-promise": "^6.0.0",
|
|
64
|
+
"@faker-js/faker": "^6.3.1",
|
|
65
|
+
"np": "^7.6.1",
|
|
66
|
+
"prettier": "^2.6.2",
|
|
67
|
+
"ts-node": "^10.7.0",
|
|
68
|
+
"typescript": "^4.6.4"
|
|
69
|
+
}
|
|
70
|
+
}
|