@simitgroup/simpleapp-generator 2.0.2-a-alpha → 2.0.2-b-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.2b-alpha]
2
+
3
+ 1. fix generate no bugs
4
+
1
5
  [2.0.2a-alpha]
2
6
 
3
7
  1. interceptor set await close session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "2.0.2a-alpha",
3
+ "version": "2.0.2b-alpha",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -198,6 +198,8 @@ export class SimpleAppDocumentNoFormatService {
198
198
  const filter = { docNoType: doctype, active: true };
199
199
  if (id) {
200
200
  filter['_id'] = id;
201
+ } else {
202
+ filter['default'] = true;
201
203
  }
202
204
  //
203
205
  Object.assign(filter, appUser.getBranchFilter());