adminforth 1.0.46 → 1.0.48
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/dataConnectors/sqlite.ts +0 -1
- package/dist/dataConnectors/sqlite.js +0 -1
- package/dist/index.js +70 -41
- package/dist/modules/codeInjector.js +48 -11
- package/dist/spa/spa/package-lock.json +63 -0
- package/dist/spa/spa/package.json +1 -0
- package/dist/spa/spa/src/App.vue +18 -1
- package/dist/spa/spa/src/utils.ts +3 -3
- package/dist/spa/spa/src/views/CreateView.vue +6 -8
- package/dist/spa/spa/src/views/EditView.vue +16 -10
- package/dist/spa/spa/src/views/ListView.vue +7 -8
- package/dist/spa/spa/src/views/ShowView.vue +5 -9
- package/index.ts +45 -9
- package/modules/codeInjector.ts +47 -7
- package/package.json +1 -1
- package/spa/package-lock.json +63 -0
- package/spa/package.json +1 -0
- package/spa/src/App.vue +18 -1
- package/spa/src/utils.ts +3 -3
- package/spa/src/views/CreateView.vue +6 -8
- package/spa/src/views/EditView.vue +16 -10
- package/spa/src/views/ListView.vue +7 -8
- package/spa/src/views/ShowView.vue +5 -9
- package/types/AdminForthConfig.ts +4 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
export type AdminForthConfigMenuItem = {
|
|
4
|
-
type
|
|
5
|
-
label
|
|
4
|
+
type?: 'heading' | 'group' | 'resource' | 'page' | 'gap' | 'divider',
|
|
5
|
+
label?: string,
|
|
6
6
|
icon?: string,
|
|
7
7
|
path?: string,
|
|
8
8
|
component?: string,
|
|
@@ -34,6 +34,7 @@ export type AdminForthResourceColumn = {
|
|
|
34
34
|
enum?: Array<AdminForthResourceColumnEnumElement>,
|
|
35
35
|
foreignResource?:AdminForthResourceColumnForeignResource,
|
|
36
36
|
sortable?: boolean,
|
|
37
|
+
backendOnly?: boolean, // if true field will not be passed to UI under no circumstances, but will be presented in hooks
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export type AdminForthResource = {
|
|
@@ -108,6 +109,7 @@ export type AdminForthConfig = {
|
|
|
108
109
|
brandName?: string,
|
|
109
110
|
datesFormat?: string,
|
|
110
111
|
deleteConfirmation?: boolean,
|
|
112
|
+
title?: string,
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
export type AllowedActions = {
|