1/** 2 * @file Describe the file 3 * Copyright (c) 2023 Huawei Device Co., Ltd. 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17/** 18 * AlertsUpdateJudger 类的接口,具体实现类以 场景名 + AlertsUpdateJudger +impl命名 19 * 20 * @since 2022-09-09 21 */ 22export default interface AlertsUpdateJudger { 23 /** 24 * 判断不同表被修改的场景下,Alerts 是否需要被更新 25 * 26 * @Param tableName 被修改的表的表名 27 * @Param values 修改操作的更新值 28 * @Return 是否需要更新 Alerts 表 29 */ 30 isNeedToUpdateAlerts(tableName: string, values): boolean; 31}