UPDATE: Change cursor to offset, bc FE dk implement
All checks were successful
Build and Release / release (push) Successful in 1m3s

This commit is contained in:
2026-04-08 13:35:18 +07:00
parent ff478f33b4
commit 82241b432e
17 changed files with 683 additions and 310 deletions

View File

@@ -869,7 +869,17 @@ const docTemplate = `{
"parameters": [
{
"type": "string",
"name": "cursor",
"name": "auth_provider",
"in": "query"
},
{
"type": "string",
"name": "created_from",
"in": "query"
},
{
"type": "string",
"name": "created_to",
"in": "query"
},
{
@@ -894,6 +904,12 @@ const docTemplate = `{
"name": "order",
"in": "query"
},
{
"minimum": 1,
"type": "integer",
"name": "page",
"in": "query"
},
{
"type": "array",
"items": {
@@ -914,7 +930,10 @@ const docTemplate = `{
"enum": [
"id",
"created_at",
"updated_at"
"updated_at",
"email",
"is_deleted",
"auth_provider"
],
"type": "string",
"name": "sort",
@@ -1570,21 +1589,30 @@ const docTemplate = `{
"type": "string"
},
"pagination": {
"type": "object",
"properties": {
"has_more": {
"type": "boolean"
},
"next_cursor": {
"type": "string"
}
}
"$ref": "#/definitions/history-api_internal_dtos_response.PaginationMeta"
},
"status": {
"type": "boolean"
}
}
},
"history-api_internal_dtos_response.PaginationMeta": {
"type": "object",
"properties": {
"current_page": {
"type": "integer"
},
"page_size": {
"type": "integer"
},
"total_pages": {
"type": "integer"
},
"total_records": {
"type": "integer"
}
}
},
"history-api_pkg_constants.TokenType": {
"type": "integer",
"format": "int32",