Move location registry modules to canonical namespace
This commit is contained in:
15
internal/modules/dnd/extract/locationregistry/model.go
Normal file
15
internal/modules/dnd/extract/locationregistry/model.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package locationregistry
|
||||
|
||||
type extractionResponse struct {
|
||||
Locations []locationResponse `json:"locations"`
|
||||
}
|
||||
|
||||
type locationResponse struct {
|
||||
Name string `json:"name"`
|
||||
SourceRefs []locationSourceRefResponse `json:"source_refs"`
|
||||
}
|
||||
|
||||
type locationSourceRefResponse struct {
|
||||
StartUnitID int `json:"start_unit_id"`
|
||||
EndUnitID int `json:"end_unit_id"`
|
||||
}
|
||||
Reference in New Issue
Block a user