2022-09-04 06:19:13 +00:00
|
|
|
package services
|
|
|
|
|
2022-09-27 23:52:13 +00:00
|
|
|
import (
|
|
|
|
"github.com/hay-kot/homebox/backend/internal/repo"
|
|
|
|
)
|
2022-09-04 06:19:13 +00:00
|
|
|
|
2022-09-27 23:52:13 +00:00
|
|
|
func defaultLocations() []repo.LocationCreate {
|
|
|
|
return []repo.LocationCreate{
|
2022-09-04 06:19:13 +00:00
|
|
|
{
|
|
|
|
Name: "Living Room",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Garage",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Kitchen",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Bedroom",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Bathroom",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Office",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Attic",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Basement",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-27 23:52:13 +00:00
|
|
|
func defaultLabels() []repo.LabelCreate {
|
|
|
|
return []repo.LabelCreate{
|
2022-09-04 06:19:13 +00:00
|
|
|
{
|
|
|
|
Name: "Appliances",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "IOT",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Electronics",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Servers",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "General",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
Name: "Important",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|