mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-17 14:18:43 +00:00
343290a55a
* cleanup unnecessary mocks * refactor document storage location * remove unused function * move ownership to document types to repo package * move types and mappers to repo package * refactor sets to own package
57 lines
655 B
Go
57 lines
655 B
Go
package services
|
|
|
|
import (
|
|
"github.com/hay-kot/homebox/backend/internal/repo"
|
|
)
|
|
|
|
func defaultLocations() []repo.LocationCreate {
|
|
return []repo.LocationCreate{
|
|
{
|
|
Name: "Living Room",
|
|
},
|
|
{
|
|
Name: "Garage",
|
|
},
|
|
{
|
|
Name: "Kitchen",
|
|
},
|
|
{
|
|
Name: "Bedroom",
|
|
},
|
|
{
|
|
Name: "Bathroom",
|
|
},
|
|
{
|
|
Name: "Office",
|
|
},
|
|
{
|
|
Name: "Attic",
|
|
},
|
|
{
|
|
Name: "Basement",
|
|
},
|
|
}
|
|
}
|
|
|
|
func defaultLabels() []repo.LabelCreate {
|
|
return []repo.LabelCreate{
|
|
{
|
|
Name: "Appliances",
|
|
},
|
|
{
|
|
Name: "IOT",
|
|
},
|
|
{
|
|
Name: "Electronics",
|
|
},
|
|
{
|
|
Name: "Servers",
|
|
},
|
|
{
|
|
Name: "General",
|
|
},
|
|
{
|
|
Name: "Important",
|
|
},
|
|
}
|
|
}
|