@feedmepos/zod-repo 1.0.5
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/README.md +23 -0
- package/package.json +46 -0
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# FeedMe zod repo
|
|
2
|
+
|
|
3
|
+
Package contains all repo related operation, with zod refinement.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Since this package host in github, have to change feedmepos registry before install package.
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm config set @feedmepos:registry https://npm.pkg.github.com
|
|
11
|
+
npm install @feedmepos/zod-repo / yarn add @feedmepos/zod-repo
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage/Examples
|
|
15
|
+
|
|
16
|
+
```javascript
|
|
17
|
+
import { MongodbRepositoryForType } from '@feedmepos/zod-repo'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Version
|
|
21
|
+
* 1.0.2
|
|
22
|
+
+ handle mongo operation filter, [`$eq`, `$ne`, `$in`, `$nin`, `$gt`, `$gte`, `$lt`, `$lte`, ]
|
|
23
|
+
+ fix refinement not working
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@feedmepos/zod-repo",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/feedmepos/core.git"
|
|
7
|
+
},
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"registry": "https://registry.npmjs.org"
|
|
10
|
+
},
|
|
11
|
+
"description": "",
|
|
12
|
+
"main": "dist/index.js",
|
|
13
|
+
"types": "dist/types/index.d.ts",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "rm -rf ./npm && babel src -d npm/dist --extensions .ts && node build.js",
|
|
16
|
+
"deploy": "yarn build && npm publish ./npm",
|
|
17
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [],
|
|
20
|
+
"author": "",
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"license": "UNLICENSED",
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@feedmepos/zod-common": "^1.0.1",
|
|
27
|
+
"@nestjs/common": "^10.2.6",
|
|
28
|
+
"@nestjs/config": "^3.1.1",
|
|
29
|
+
"@nestjs/core": "^10.2.6",
|
|
30
|
+
"@types/pouchdb": "^6.4.0",
|
|
31
|
+
"axios": "^1.5.1",
|
|
32
|
+
"mongodb": "^4.4.1",
|
|
33
|
+
"pouchdb": "^7.3.0",
|
|
34
|
+
"pouchdb-find": "^7.3.0",
|
|
35
|
+
"pouchdb-sync-to-anything": "^0.2.0",
|
|
36
|
+
"zod": "3.17.9"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@babel/cli": "^7.21.0",
|
|
40
|
+
"@babel/core": "^7.21.4",
|
|
41
|
+
"@babel/plugin-proposal-decorators": "^7.21.0",
|
|
42
|
+
"@babel/preset-env": "^7.21.4",
|
|
43
|
+
"@babel/preset-typescript": "^7.21.4",
|
|
44
|
+
"typescript": "^4.9.4"
|
|
45
|
+
}
|
|
46
|
+
}
|