@@ -17,7 +17,7 @@ import { numberFormatter } from '@cloudforet/utils';
17
17
import type { ListResponse } from ' @/api-clients/_common/schema/api-verbs/list' ;
18
18
import type { AlertListParameters } from ' @/schema/monitoring/alert/api-verbs/list' ;
19
19
import { ALERT_STATE } from ' @/schema/monitoring/alert/constants' ;
20
- import type { AlertModel } from ' @/schema/monitoring/alert/model' ;
20
+ import type { AlertModelV1 } from ' @/schema/monitoring/alert/model' ;
21
21
import { i18n } from ' @/translations' ;
22
22
23
23
import { useUserWorkspaceStore } from ' @/store/app-context/workspace/user-workspace-store' ;
@@ -114,7 +114,7 @@ const state = reactive({
114
114
selectedUrgency: ALERT_URGENCY_FILTER .ALL ,
115
115
selectedAssignedState: ALERT_ASSIGNED_FILTER .ALL ,
116
116
isAssignedToMe: false ,
117
- items: [] as AlertModel [],
117
+ items: [] as AlertModelV1 [],
118
118
thisPage: 1 ,
119
119
allPage: 1 ,
120
120
pageSize: 10 ,
@@ -146,7 +146,7 @@ const getQuery = () => {
146
146
const listAlerts = async () => {
147
147
try {
148
148
state .loading = true ;
149
- const { results, total_count } = await SpaceConnector .clientV2 .monitoring .alert .list <AlertListParameters , ListResponse <AlertModel >>({
149
+ const { results, total_count } = await SpaceConnector .clientV2 .monitoring .alert .list <AlertListParameters , ListResponse <AlertModelV1 >>({
150
150
query: getQuery (),
151
151
workspace_id: storeState .currentWorkspaceId ,
152
152
});
0 commit comments