@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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
92
|
-
|
|
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
package/templates/nest/User.eta
CHANGED
|
@@ -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)
|