Skip to content

Commit 3a8af65

Browse files
committed
规范了驼峰命名格式
1 parent 517b4e0 commit 3a8af65

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

client/src/mock/services.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ export interface AlertIssue {
12431243
title: string
12441244
labels: AlertLabel[]
12451245
alertSince: string
1246-
resolved_at: string
1246+
resolvedAt: string
12471247
}
12481248

12491249
// 告警列表响应
@@ -1288,7 +1288,7 @@ export const mockAlertsData: AlertsResponse = {
12881288
{ key: 'prophet_type', value: 'app' }
12891289
],
12901290
alertSince: '2025-09-01T19:14:12.382331146Z',
1291-
resolved_at: '2025-09-01T19:25:00.000Z'
1291+
resolvedAt: '2025-09-01T19:25:00.000Z'
12921292
},
12931293
{
12941294
id: 'alert-2',
@@ -1304,7 +1304,7 @@ export const mockAlertsData: AlertsResponse = {
13041304
{ key: 'prophet_type', value: 'app' }
13051305
],
13061306
alertSince: '2025-09-01T20:10:15.123456789Z',
1307-
resolved_at: ''
1307+
resolvedAt: ''
13081308
},
13091309
{
13101310
id: 'alert-3',
@@ -1320,7 +1320,7 @@ export const mockAlertsData: AlertsResponse = {
13201320
{ key: 'prophet_type', value: 'infra' }
13211321
],
13221322
alertSince: '2025-09-01T18:30:00.000000000Z',
1323-
resolved_at: '2025-09-01T18:45:00.000Z'
1323+
resolvedAt: '2025-09-01T18:45:00.000Z'
13241324
},
13251325
{
13261326
id: 'alert-4',
@@ -1336,7 +1336,7 @@ export const mockAlertsData: AlertsResponse = {
13361336
{ key: 'prophet_type', value: 'app' }
13371337
],
13381338
alertSince: '2025-09-01T21:00:00.000000000Z',
1339-
resolved_at: ''
1339+
resolvedAt: ''
13401340
},
13411341
{
13421342
id: 'alert-5',
@@ -1352,7 +1352,7 @@ export const mockAlertsData: AlertsResponse = {
13521352
{ key: 'prophet_type', value: 'app' }
13531353
],
13541354
alertSince: '2025-09-01T17:20:00.000000000Z',
1355-
resolved_at: '2025-09-01T17:35:00.000Z'
1355+
resolvedAt: '2025-09-01T17:35:00.000Z'
13561356
}
13571357
],
13581358
next: '2025-09-01T16:00:00.000Z'

0 commit comments

Comments
 (0)