Make admin menu links dynamic.

This commit is contained in:
mikestefanello 2025-04-19 10:22:40 -04:00
parent 8219b96df7
commit 36bc20b90f
6 changed files with 42 additions and 15 deletions

View file

@ -20,6 +20,7 @@ type User struct {
type EntityList struct {
Columns []string
Entities []EntityValues
Page int
HasNextPage bool
}
@ -33,3 +34,10 @@ type HandlerConfig struct {
PageQueryKey string
TimeFormat string
}
func GetEntityTypeNames() []string {
return []string{
"PasswordToken",
"User",
}
}