diff options
Diffstat (limited to 'projects.go')
-rw-r--r-- | projects.go | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/projects.go b/projects.go deleted file mode 100644 index 50ca2f0..0000000 --- a/projects.go +++ /dev/null @@ -1,51 +0,0 @@ -package main - -import "time" - -/* - This file is part of taler-dashboard - Copyright (C) 2023 Özgür Kesim - - taler-dashboard is free software; you can redistribute it and/or modify it - under the terms of the GNU Affero General Public License as published by the - Free Software Foundation; either version 3, or (at your option) any later - version. - - taler-dashboard is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public - License for more details. - - You can receive a copy of the GNU Affero General Public License from - <http://www.gnu.org/licenses/> - - @author Özgür Kesim <oec-taler@kesim.org> -*/ - -type Projects []Project - -type Project struct { - Id int - Name string - Description string - Status KeyVal - ViewState KeyVal `json:"view_state"` - Enabled bool - InheritGlobal bool `json:"inherit_global"` - AccessLevel KeyVal `json:"AccessLevel"` - Versions []Version - Categories []Category - // CustomFields []any `json:"custom_fields"` -} - -type Version struct { - KeyVal - Released bool - Obsolete bool - Timestamp time.Time -} - -type Category struct { - KeyVal - Project KeyVal -} |