feat: implement wiki and submission management services with corresponding database schema and API endpoints
Build and Release / release (push) Successful in 2m3s

This commit is contained in:
2026-05-27 18:00:30 +07:00
parent 79cf5caa0b
commit e35f67e26b
16 changed files with 462 additions and 265 deletions
+67
View File
@@ -4742,6 +4742,9 @@ const docTemplate = `{
"$ref": "#/definitions/history-api_internal_dtos_request.GeometryEntitySnapshot"
}
},
"project": {
"$ref": "#/definitions/history-api_internal_dtos_request.ProjectSnapshot"
},
"replays": {
"type": "array",
"items": {
@@ -4897,6 +4900,27 @@ const docTemplate = `{
}
}
},
"history-api_internal_dtos_request.EntityLabelCandidate": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"time_end": {
"type": "number"
},
"time_start": {
"type": "number"
}
}
},
"history-api_internal_dtos_request.EntitySnapshot": {
"type": "object",
"required": [
@@ -5040,6 +5064,12 @@ const docTemplate = `{
"type": "string"
}
},
"entity_label_candidates": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.EntityLabelCandidate"
}
},
"entity_name": {
"type": "string"
},
@@ -5056,6 +5086,22 @@ const docTemplate = `{
"type": "string"
},
"id": {},
"line_label": {
"type": "string"
},
"point_label": {
"type": "string"
},
"polygon_label": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"inline",
"ref"
]
},
"time_end": {
"type": "number"
},
@@ -5140,6 +5186,12 @@ const docTemplate = `{
"type": "integer"
}
},
"geometry": {
"type": "array",
"items": {
"type": "integer"
}
},
"id": {
"type": "string"
},
@@ -5195,6 +5247,21 @@ const docTemplate = `{
}
}
},
"history-api_internal_dtos_request.ProjectSnapshot": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.ResetPasswordDto": {
"type": "object",
"required": [
+67
View File
@@ -4735,6 +4735,9 @@
"$ref": "#/definitions/history-api_internal_dtos_request.GeometryEntitySnapshot"
}
},
"project": {
"$ref": "#/definitions/history-api_internal_dtos_request.ProjectSnapshot"
},
"replays": {
"type": "array",
"items": {
@@ -4890,6 +4893,27 @@
}
}
},
"history-api_internal_dtos_request.EntityLabelCandidate": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"time_end": {
"type": "number"
},
"time_start": {
"type": "number"
}
}
},
"history-api_internal_dtos_request.EntitySnapshot": {
"type": "object",
"required": [
@@ -5033,6 +5057,12 @@
"type": "string"
}
},
"entity_label_candidates": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.EntityLabelCandidate"
}
},
"entity_name": {
"type": "string"
},
@@ -5049,6 +5079,22 @@
"type": "string"
},
"id": {},
"line_label": {
"type": "string"
},
"point_label": {
"type": "string"
},
"polygon_label": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"inline",
"ref"
]
},
"time_end": {
"type": "number"
},
@@ -5133,6 +5179,12 @@
"type": "integer"
}
},
"geometry": {
"type": "array",
"items": {
"type": "integer"
}
},
"id": {
"type": "string"
},
@@ -5188,6 +5240,21 @@
}
}
},
"history-api_internal_dtos_request.ProjectSnapshot": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.ResetPasswordDto": {
"type": "object",
"required": [
+45
View File
@@ -106,6 +106,8 @@ definitions:
items:
$ref: '#/definitions/history-api_internal_dtos_request.GeometryEntitySnapshot'
type: array
project:
$ref: '#/definitions/history-api_internal_dtos_request.ProjectSnapshot'
replays:
items:
$ref: '#/definitions/history-api_internal_dtos_request.BattleReplaySnapshot'
@@ -213,6 +215,20 @@ definitions:
- content
- verify_type
type: object
history-api_internal_dtos_request.EntityLabelCandidate:
properties:
id:
type: string
name:
type: string
time_end:
type: number
time_start:
type: number
required:
- id
- name
type: object
history-api_internal_dtos_request.EntitySnapshot:
properties:
base_hash:
@@ -309,6 +325,10 @@ definitions:
items:
type: string
type: array
entity_label_candidates:
items:
$ref: '#/definitions/history-api_internal_dtos_request.EntityLabelCandidate'
type: array
entity_name:
type: string
entity_names:
@@ -320,6 +340,17 @@ definitions:
geometry_preset:
type: string
id: {}
line_label:
type: string
point_label:
type: string
polygon_label:
type: string
source:
enum:
- inline
- ref
type: string
time_end:
type: number
time_start:
@@ -378,6 +409,10 @@ definitions:
items:
type: integer
type: array
geometry:
items:
type: integer
type: array
id:
type: string
operation:
@@ -417,6 +452,16 @@ definitions:
required:
- token_id
type: object
history-api_internal_dtos_request.ProjectSnapshot:
properties:
id:
type: string
title:
type: string
required:
- id
- title
type: object
history-api_internal_dtos_request.ResetPasswordDto:
properties:
is_send_email: