@simitgroup/simpleapp-generator 2.0.1-y-alpha → 2.0.1-z-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.1z-alpha]
2
+
3
+ 1. Handle whitelist confirm and void api
4
+
1
5
  [2.0.1y-alpha]
2
6
 
3
7
  1. Handle whitelist confirm and void api
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "2.0.1y-alpha",
3
+ "version": "2.0.1z-alpha",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -269,6 +269,7 @@ export class <%= it.typename %>Controller extends SimpleAppController<
269
269
  @Post(':id/set-<%=statusname%>')
270
270
  @ApiBody({ description: 'Document data', type: Object })
271
271
  @Roles(Role.SuperAdmin,Role.<%= `${it.typename}_${statusname}`%>)
272
+ <%~ drawMiniAppScope(statusname) %>
272
273
  async setStatus<%=capitalizeFirstLetter(statusname)%>(@AppUser() appuser: UserContext,@Param('id') id: string, @Body() data:any,){
273
274
  return await this.service.setDocumentStatus(appuser,id,data,'<%=statusname%>',)
274
275
  }