mirror of
https://github.com/fleetdm/fleet
synced 2026-05-15 04:58:25 +00:00
18 lines
416 B
Go
18 lines
416 B
Go
package fleet
|
|
|
|
const (
|
|
TranslatorTypeUserEmail = "user"
|
|
TranslatorTypeLabel = "label"
|
|
TranslatorTypeTeam = "team"
|
|
TranslatorTypeHost = "host"
|
|
)
|
|
|
|
type TranslatePayload struct {
|
|
Type string `json:"type"`
|
|
Payload StringIdentifierToIDPayload `json:"payload"`
|
|
}
|
|
|
|
type StringIdentifierToIDPayload struct {
|
|
Identifier string `json:"identifier"`
|
|
ID uint `json:"id"`
|
|
}
|