diff --git a/internal/model/submission.go b/internal/model/submission.go index dd8c374..fdc2422 100644 --- a/internal/model/submission.go +++ b/internal/model/submission.go @@ -3,16 +3,16 @@ package model import "time" type Submission struct { - ID int64 - DisplayName string - Creator string - GameID int32 - Date time.Time - Submitter int64 // UserID - AssetID int64 - AssetVersion int64 - Completed bool - Type int32 // 1=New 2=Fix - TargetAssetID int64 // where to upload map fix - StatusID int32 + ID int64 + DisplayName string + Creator string + GameID int32 + Date time.Time + Submitter int64 // UserID + AssetID int64 + AssetVersion int64 + Completed bool + SubmissionType int32 // 1=New 2=Fix + TargetAssetID int64 // where to upload map fix + StatusID int32 } diff --git a/openapi.yaml b/openapi.yaml index bd56602..3243d1c 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -213,6 +213,26 @@ components: Date: type: integer format: int64 + Submitter: + type: integer + format: int64 + AssetID: + type: integer + format: int64 + AssetVersion: + type: integer + format: int64 + Completed: + type: boolean + SubmissionType: + type: integer + format: int32 + TargetAssetID: + type: integer + format: int64 + StatusID: + type: integer + format: int32 SubmissionFilter: type: object properties: