From ea9f71ca8a8439c95b2fcc259e679308b382e371 Mon Sep 17 00:00:00 2001 From: yibin87 Date: Fri, 12 Jun 2026 12:43:49 +0800 Subject: [PATCH] fix: sync generated client artifacts for slow query session attrs Signed-off-by: yibin87 --- .../src/client/api/models/slowquery-model.ts | 7 ++++++- ui/packages/tidb-dashboard-client/swagger/spec.json | 3 +++ ui/packages/tidb-dashboard-lib/src/client/models.ts | 7 ++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ui/packages/tidb-dashboard-client/src/client/api/models/slowquery-model.ts b/ui/packages/tidb-dashboard-client/src/client/api/models/slowquery-model.ts index 60d6edb16..399b7f6ec 100644 --- a/ui/packages/tidb-dashboard-client/src/client/api/models/slowquery-model.ts +++ b/ui/packages/tidb-dashboard-client/src/client/api/models/slowquery-model.ts @@ -362,6 +362,12 @@ export interface SlowqueryModel { * @memberof SlowqueryModel */ 'ru'?: number; + /** + * + * @type {string} + * @memberof SlowqueryModel + */ + 'session_connect_attrs'?: string; /** * * @type {string} @@ -501,4 +507,3 @@ export interface SlowqueryModel { */ 'write_sql_response_total'?: number; } - diff --git a/ui/packages/tidb-dashboard-client/swagger/spec.json b/ui/packages/tidb-dashboard-client/swagger/spec.json index 134240225..87743d6c1 100644 --- a/ui/packages/tidb-dashboard-client/swagger/spec.json +++ b/ui/packages/tidb-dashboard-client/swagger/spec.json @@ -5377,6 +5377,9 @@ "description": "Resource Control", "type": "number" }, + "session_connect_attrs": { + "type": "string" + }, "stats": { "type": "string" }, diff --git a/ui/packages/tidb-dashboard-lib/src/client/models.ts b/ui/packages/tidb-dashboard-lib/src/client/models.ts index 843873ea4..e611ae521 100644 --- a/ui/packages/tidb-dashboard-lib/src/client/models.ts +++ b/ui/packages/tidb-dashboard-lib/src/client/models.ts @@ -2548,6 +2548,12 @@ export interface SlowqueryModel { * @memberof SlowqueryModel */ 'ru'?: number; + /** + * + * @type {string} + * @memberof SlowqueryModel + */ + 'session_connect_attrs'?: string; /** * * @type {string} @@ -4550,4 +4556,3 @@ export interface VersionInfo { */ 'standalone'?: string; } -