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" import "time"
type Submission struct { type Submission struct {
ID int64 ID int64
DisplayName string DisplayName string
Creator string Creator string
GameID int32 GameID int32
Date time.Time Date time.Time
Submitter int64 // UserID Submitter int64 // UserID
AssetID int64 AssetID int64
AssetVersion int64 AssetVersion int64
Completed bool Completed bool
Type int32 // 1=New 2=Fix SubmissionType int32 // 1=New 2=Fix
TargetAssetID int64 // where to upload map fix TargetAssetID int64 // where to upload map fix
StatusID int32 StatusID int32
} }

View File

@ -213,6 +213,26 @@ components:
Date: Date:
type: integer type: integer
format: int64 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: SubmissionFilter:
type: object type: object
properties: properties: