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.
@@ -1,8 +1,8 @@
1
1
 
2
2
 
3
3
  export type AdminForthConfigMenuItem = {
4
- type: 'heading' | 'group' | 'resource' | 'page' | undefined,
5
- label: string,
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 = {