website cleanup

This commit is contained in:
2025-12-25 00:19:36 +01:00
parent d78854a4c6
commit 9486455b9e
82 changed files with 1223 additions and 363 deletions

View File

@@ -2367,6 +2367,48 @@
"incident"
]
},
"DriverSummaryDTO": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"country": {
"type": "string"
},
"avatarUrl": {
"type": "string"
},
"rating": {
"type": "number",
"nullable": true
},
"globalRank": {
"type": "number",
"nullable": true
},
"totalRaces": {
"type": "number"
},
"wins": {
"type": "number"
},
"podiums": {
"type": "number"
},
"consistency": {
"type": "number",
"nullable": true
}
},
"required": [
"id",
"name"
]
},
"DashboardRecentResultDTO": {
"type": "object",
"properties": {
@@ -3188,6 +3230,53 @@
"payments"
]
},
"FullTransactionDTO": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"walletId": {
"type": "string"
},
"type": {
"type": "string"
},
"amount": {
"type": "number"
},
"description": {
"type": "string"
},
"referenceId": {
"type": "string"
},
"referenceType": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"leagueId": {
"type": "string"
},
"driverId": {
"type": "string"
},
"sponsorId": {
"type": "string"
}
},
"required": [
"id",
"walletId",
"type",
"amount",
"description",
"createdAt"
]
},
"DeletePrizeResultDTO": {
"type": "object",
"properties": {
@@ -3262,6 +3351,31 @@
"prize"
]
},
"ValidateFaceOutputDTO": {
"type": "object",
"properties": {
"isValid": {
"type": "boolean"
},
"errorMessage": {
"type": "string"
}
},
"required": [
"isValid"
]
},
"ValidateFaceInputDTO": {
"type": "object",
"properties": {
"imageData": {
"type": "string"
}
},
"required": [
"imageData"
]
},
"UploadMediaOutputDTO": {
"type": "object",
"properties": {
@@ -3426,6 +3540,20 @@
"success"
]
},
"AvatarDTO": {
"type": "object",
"properties": {
"driverId": {
"type": "string"
},
"avatarUrl": {
"type": "string"
}
},
"required": [
"driverId"
]
},
"WizardStepDTO": {
"type": "object",
"properties": {
@@ -4410,10 +4538,16 @@
}
},
"racesById": {
"$ref": "#/components/schemas/RaceDTO"
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/RaceDTO"
}
},
"driversById": {
"$ref": "#/components/schemas/DriverDTO"
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DriverDTO"
}
}
},
"required": [