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