@simitgroup/simpleapp-generator 2.0.2-e-alpha → 2.0.2-f-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,9 @@
1
+ [2.0.2f-alpha]
2
+
3
+ 1. fix mini-app search condition
4
+
5
+
6
+
1
7
  [2.0.2e-alpha]
2
8
 
3
9
  1. fix wrong datatype in miniapp search
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "2.0.2e-alpha",
3
+ "version": "2.0.2f-alpha",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -81,8 +81,8 @@ export class MiniApp<%= pascalName %>BridgeService {
81
81
  <% if(action === 'list') { %>
82
82
  protected async handleList(message: MiniAppBridgeMessageApi<<%= typeActionName %>>) {
83
83
  const rawBody: any = message.params.body ?? {};
84
- const pageSize = rawBody.pagination?.pageSize ?? rawBody.pageSize ?? 200;
85
- const pageNo = rawBody.pagination?.pageNo ?? rawBody.pageNo ?? 0;
84
+ const pageSize = rawBody.pagination?.pageSize ?? 200;
85
+ const pageNo = rawBody.pagination?.pageNo ?? 0;
86
86
  const res = await this.api!.runSearch({
87
87
  filter: rawBody.filters,
88
88
  fields: rawBody.fields,