@simitgroup/simpleapp-generator 1.1.3 → 1.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -12,8 +12,7 @@
12
12
  <div class="p-inputgroup flex flex-row">
13
13
  <InputText
14
14
  class="flex-1"
15
- type="email"
16
- placeholder="your company name"
15
+ placeholder="yourCompanyMame"
17
16
  v-model:model-value="data.tenantName"
18
17
  />
19
18
  <div class="p-inputgroup-addon p p-0">
@@ -34,6 +33,7 @@
34
33
  <div class="flex flex-col">
35
34
  <InputText
36
35
  type="text"
36
+
37
37
  autofocus="true"
38
38
  v-model:model-value="data.tenantName"
39
39
  placeholder="Organization Name"
@@ -72,7 +72,7 @@ const createTenant = async () => {
72
72
  onhold.value = true;
73
73
  const { $axios, $listen } = useNuxtApp();
74
74
 
75
- const openapi = getApi();
75
+ const openapi = getAllApi();
76
76
  const apipath = `${useRuntimeConfig().public.API_URL}`;
77
77
  let profileapi = new openapi.PROFILEApi(undefined, apipath, $axios);
78
78
 
@@ -129,7 +129,7 @@ import {SearchBody,CellSetting} from '~/types'
129
129
  if(item.field !='*'){
130
130
  cols.push(item.field)
131
131
  }
132
- if(item.moreFields && item.moreFields.length>0){
132
+ if(item?.moreFields && item.moreFields.length>0){
133
133
  cols = cols.concat(item.moreFields)
134
134
  }
135
135
  }
@@ -2,7 +2,7 @@ export type CellSetting = {
2
2
  title: string
3
3
  field: string
4
4
  cssClass?:string
5
- moreFields: string[]
5
+ moreFields?: string[]
6
6
  rendererName ?: string
7
7
  rendererSetting ?:any
8
8
  } | string