@simitgroup/simpleapp-generator 2.0.2-s-alpha → 2.0.2-t-alpha

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/ReleaseNote.md CHANGED
@@ -1,3 +1,7 @@
1
+ [2.0.2t-alpha]
2
+
3
+ 1. Fix define type on service file
4
+
1
5
  [2.0.2s-alpha]
2
6
 
3
7
  1. Reduce expired-token issues
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "2.0.2s-alpha",
3
+ "version": "2.0.2t-alpha",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema.",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -93,7 +93,7 @@ export class <%= it.typename %>Service extends SimpleAppService<schema.<%= it.ty
93
93
  // <%~ JSON.stringify(fml) %>
94
94
  //const tmp = jsonpath.query(vdata,fieldpath).filter((item:string)=>item!='')
95
95
  jsonpath.apply($data, '<%~ fml.jsonPath %>', function ($item: schema.<%= fml?.paramType || it.typename %>) {
96
- return (<%~ fml.formula %>) as schema.<%= fml?.paramType || it.typename %>;
96
+ return <%~ fml.formula %>
97
97
  })
98
98
  <%}) %>
99
99
  <%} %>