Add export and import for profiles

This commit is contained in:
Daniel
2023-11-15 15:12:00 +01:00
parent beed574fa3
commit 602db080c5
13 changed files with 668 additions and 85 deletions

View File

@@ -19,14 +19,17 @@ type IconType string
const (
IconTypeFile IconType = "path"
IconTypeDatabase IconType = "database"
IconTypeAPI IconType = "api"
)
func (t IconType) sortOrder() int {
switch t {
case IconTypeDatabase:
case IconTypeAPI:
return 1
case IconTypeFile:
case IconTypeDatabase:
return 2
case IconTypeFile:
return 3
default:
return 100
}