Explorar el Código

feat (api): priority property on actions

Fela Maslen hace 4 años
padre
commit
5e2113a289
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      gmus-backend/pkg/server/actions.go

+ 1 - 0
gmus-backend/pkg/server/actions.go

@@ -20,6 +20,7 @@ const (
 type Action struct {
 	Type       ActionType  `json:"type"`
 	FromClient *string     `json:"fromClient"`
+	Priority   *int        `json:"priority"`
 	Payload    interface{} `json:"payload"`
 }