@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
package/package.json
CHANGED
|
@@ -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
|
}
|