extend submission object

This commit is contained in:
Quaternions 2024-11-26 14:42:22 -08:00
parent a5009998a8
commit 6e2e95abaf
2 changed files with 32 additions and 12 deletions

View File

@ -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
}

View File

@ -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: