Parcourir la source

feat (api): priority property on actions

Fela Maslen il y a 4 ans
Parent
commit
5e2113a289
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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"`
 }