feat(platform): forward protected requests to run

This commit is contained in:
npc0-hue
2026-07-30 09:58:41 +08:00
parent 99be8f0f3a
commit 1e004dc9ec
16 changed files with 484 additions and 7 deletions
+2
View File
@@ -79,6 +79,7 @@ type GameClientBridgeCommandResponse struct {
PluginID string `json:"pluginId"`
ProfileKey string `json:"profileKey"`
CommandType string `json:"commandType"`
RunJobID string `json:"runJobId,omitempty"`
Priority int `json:"priority"`
State string `json:"state"`
ApprovalState string `json:"approvalState"`
@@ -256,6 +257,7 @@ func GameClientBridgeCommandFromDomain(value domain.GameClientBridgeCommand) Gam
PluginID: value.PluginID,
ProfileKey: value.ProfileKey,
CommandType: value.CommandType,
RunJobID: value.RunJobID,
Priority: value.Priority,
State: string(value.State),
ApprovalState: string(value.ApprovalState),