UPDATE: Submission module
All checks were successful
Build and Release / release (push) Successful in 1m14s

This commit is contained in:
2026-05-04 09:55:17 +07:00
parent f3f2e09fd5
commit bcc2e192c1
48 changed files with 2918 additions and 359 deletions

View File

@@ -430,6 +430,11 @@ const docTemplate = `{
"type": "string",
"name": "name",
"in": "query"
},
{
"type": "string",
"name": "project_id",
"in": "query"
}
],
"responses": {
@@ -537,6 +542,11 @@ const docTemplate = `{
"in": "query",
"required": true
},
{
"type": "string",
"name": "project_id",
"in": "query"
},
{
"type": "integer",
"name": "time",
@@ -3418,6 +3428,11 @@ const docTemplate = `{
"name": "limit",
"in": "query"
},
{
"type": "string",
"name": "project_id",
"in": "query"
},
{
"maxLength": 1000,
"type": "string",
@@ -3500,6 +3515,29 @@ const docTemplate = `{
}
}
},
"history-api_internal_dtos_request.BBox": {
"type": "object",
"required": [
"max_lat",
"max_lng",
"min_lat",
"min_lng"
],
"properties": {
"max_lat": {
"type": "number"
},
"max_lng": {
"type": "number"
},
"min_lat": {
"type": "number"
},
"min_lng": {
"type": "number"
}
}
},
"history-api_internal_dtos_request.ChangeOwnerDto": {
"type": "object",
"required": [
@@ -3544,6 +3582,50 @@ const docTemplate = `{
}
}
},
"history-api_internal_dtos_request.CommitSnapshot": {
"type": "object",
"properties": {
"editor_feature_collection": {
"$ref": "#/definitions/history-api_internal_dtos_request.FeatureCollection"
},
"entities": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.EntitySnapshot"
}
},
"entity_wiki": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.EntityWikiLinkSnapshot"
}
},
"entity_wikis": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.EntityWikiLinkSnapshot"
}
},
"geometries": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.GeometrySnapshot"
}
},
"geometry_entity": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.GeometryEntitySnapshot"
}
},
"wikis": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.WikiSnapshot"
}
}
}
},
"history-api_internal_dtos_request.CreateCommitDto": {
"type": "object",
"required": [
@@ -3556,10 +3638,7 @@ const docTemplate = `{
"maxLength": 500
},
"snapshot_json": {
"type": "array",
"items": {
"type": "integer"
}
"$ref": "#/definitions/history-api_internal_dtos_request.CommitSnapshot"
}
}
},
@@ -3688,6 +3767,176 @@ const docTemplate = `{
}
}
},
"history-api_internal_dtos_request.EntitySnapshot": {
"type": "object",
"required": [
"id"
],
"properties": {
"base_hash": {
"type": "string"
},
"base_updated_at": {
"type": "string"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"operation": {
"type": "string",
"enum": [
"create",
"update",
"delete",
"reference"
]
},
"slug": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"inline",
"ref"
]
},
"status": {
"type": "integer",
"enum": [
0,
1
]
},
"type_id": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.EntityWikiLinkSnapshot": {
"type": "object",
"required": [
"entity_id",
"wiki_id"
],
"properties": {
"entity_id": {
"type": "string"
},
"is_deleted": {
"description": "Legacy / Compatibility",
"type": "integer",
"enum": [
0,
1
]
},
"operation": {
"type": "string",
"enum": [
"reference",
"delete"
]
},
"wiki_id": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.Feature": {
"type": "object",
"required": [
"geometry",
"properties",
"type"
],
"properties": {
"geometry": {
"type": "array",
"items": {
"type": "integer"
}
},
"properties": {
"$ref": "#/definitions/history-api_internal_dtos_request.FeatureProperties"
},
"type": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.FeatureCollection": {
"type": "object",
"required": [
"features",
"type"
],
"properties": {
"features": {
"type": "array",
"items": {
"$ref": "#/definitions/history-api_internal_dtos_request.Feature"
}
},
"type": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.FeatureProperties": {
"type": "object",
"required": [
"id"
],
"properties": {
"binding": {
"type": "array",
"items": {
"type": "string"
}
},
"entity_id": {
"type": "string"
},
"entity_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"entity_name": {
"type": "string"
},
"entity_names": {
"type": "array",
"items": {
"type": "string"
}
},
"entity_type_id": {
"type": "string"
},
"geometry_preset": {
"type": "string"
},
"id": {},
"time_end": {
"type": "number"
},
"time_start": {
"type": "number"
},
"type": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.ForgotPasswordDto": {
"type": "object",
"required": [
@@ -3711,6 +3960,82 @@ const docTemplate = `{
}
}
},
"history-api_internal_dtos_request.GeometryEntitySnapshot": {
"type": "object",
"required": [
"entity_id",
"geometry_id"
],
"properties": {
"base_links_hash": {
"type": "string"
},
"entity_id": {
"type": "string"
},
"geometry_id": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.GeometrySnapshot": {
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"base_hash": {
"type": "string"
},
"base_updated_at": {
"type": "string"
},
"bbox": {
"$ref": "#/definitions/history-api_internal_dtos_request.BBox"
},
"binding": {
"type": "array",
"items": {
"type": "string"
}
},
"draw_geometry": {
"type": "array",
"items": {
"type": "integer"
}
},
"id": {
"type": "string"
},
"operation": {
"type": "string",
"enum": [
"create",
"update",
"delete",
"reference"
]
},
"source": {
"type": "string",
"enum": [
"inline",
"ref"
]
},
"time_end": {
"type": "number"
},
"time_start": {
"type": "number"
},
"type": {
"type": "string"
}
}
},
"history-api_internal_dtos_request.MediaBulkDeleteDto": {
"type": "object",
"required": [
@@ -3934,6 +4259,46 @@ const docTemplate = `{
}
}
},
"history-api_internal_dtos_request.WikiSnapshot": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"doc": {
"type": "array",
"items": {
"type": "integer"
}
},
"id": {
"type": "string"
},
"operation": {
"type": "string",
"enum": [
"create",
"update",
"delete",
"reference"
]
},
"source": {
"type": "string",
"enum": [
"inline",
"ref"
]
},
"title": {
"type": "string"
},
"updated_at": {
"type": "string"
}
}
},
"history-api_internal_dtos_response.CommonResponse": {
"type": "object",
"properties": {