@simitgroup/simpleapp-generator 1.0.27 → 1.0.29

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/README.md CHANGED
@@ -78,18 +78,20 @@ x - service
78
78
  x - schema
79
79
  x - controller
80
80
  5. tenant setting
81
- 2. error at frontend/backend messages
81
+ 6. user management
82
+ 2. tidy up error at frontend/backend messages
83
+ 3. settle instancePath in form
82
84
  5. security of string input, block xss
83
- 6. fill in data for tenant/org/branch created,updated,createdby,updatedby
85
+ x6. fill in data for tenant/org/branch created,updated,createdby,updatedby
84
86
  7. update record need replace updated,updatedby, line item also need headache
85
- 8. block uniquekey
87
+ x8. block uniquekey
86
88
 
87
89
  ## Lower Priority
88
90
  3. multi-lingual
89
91
  6. audit trails
90
92
  7. permissions
91
- 8. jwt
92
- 9. frontend authentication
93
+ x8. jwt
94
+ x9. frontend authentication
93
95
  11.frontend add parent/child ui for invoices
94
96
 
95
97
  ## Bug fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -50,7 +50,7 @@ export class User {
50
50
 
51
51
  const u = User.getInstance()
52
52
  u.token = tokenstr
53
- u.uid = tokeninfo.sid;
53
+ u.uid = tokeninfo.sub;
54
54
  u.email = tokeninfo.email
55
55
  u.uname = tokeninfo.preferred_username
56
56
  u.fullname = tokeninfo.name
@@ -8,8 +8,8 @@
8
8
  import * as o from "../simpleapp/openapi";
9
9
  import axios from 'axios'
10
10
  const getAutoComplete = (apiname: string): any => {
11
- const { csrf } = useCsrf()
12
- axios.defaults.headers.common = {"CSRF-TOKEN": csrf};
11
+ //const { csrf } = useCsrf()
12
+ //axios.defaults.headers.common = {"CSRF-TOKEN": csrf};
13
13
  const route = useRoute();
14
14
 
15
15
  const config: o.Configuration = {
@@ -40,8 +40,8 @@ const emitter = mitt()
40
40
 
41
41
 
42
42
  export default defineNuxtPlugin((nuxtApp) => {
43
- const { csrf } = useCsrf()
44
- axios.defaults.headers.common = {"CSRF-TOKEN": csrf};
43
+ //const { csrf } = useCsrf()
44
+ //axios.defaults.headers.common = {"CSRF-TOKEN": csrf};
45
45
  nuxtApp.vueApp.use(PrimeVue, { ripple: true });
46
46
  nuxtApp.vueApp
47
47
  .component("SimpleAppAutocomplete",SimpleAppAutocomplete)