@voxgig/model 0.5.0 → 0.6.0

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.
Files changed (2) hide show
  1. package/model/sys.jsonic +30 -1
  2. package/package.json +4 -4
package/model/sys.jsonic CHANGED
@@ -1,7 +1,36 @@
1
1
 
2
2
  shape: srv: {
3
+ in: {
4
+ # TODO: validate leaf?
5
+ }
6
+ deps: {
7
+ &: {}
8
+ }
9
+ api: {
10
+ web: {
11
+ active: *false | boolean
12
+ path: {
13
+ prefix: *'/' | string
14
+ area: *'' | string
15
+ # TODO: path to ref srv name?
16
+ # name: ..path..web..api..*;name | string
17
+ }
18
+ method: *'POST' | string
19
+ cors: {
20
+ active: *false | boolean
21
+ }
22
+ }
23
+ }
3
24
  env: {
4
- lambda: *false | boolean
25
+ lambda: {
26
+ active: *false | boolean
27
+ handler: {
28
+ path: {
29
+ prefix: *'src/' | string
30
+ suffix: *'.handler' | string
31
+ }
32
+ }
33
+ }
5
34
  }
6
35
  }
7
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voxgig/model",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "main": "dist/model.js",
5
5
  "type": "commonjs",
6
6
  "types": "dist/model.d.ts",
@@ -45,11 +45,11 @@
45
45
  "chokidar": "^3.5.3"
46
46
  },
47
47
  "devDependencies": {
48
- "@types/jest": "^28.1.5",
49
- "esbuild": "^0.14.49",
48
+ "@types/jest": "^28.1.6",
49
+ "esbuild": "^0.14.53",
50
50
  "esbuild-jest": "^0.5.0",
51
51
  "jest": "^28.1.3",
52
- "ts-jest": "^28.0.5",
52
+ "ts-jest": "^28.0.7",
53
53
  "typescript": "^4.7.4"
54
54
  }
55
55
  }