16e80583aSopenharmony_ci/** 26e80583aSopenharmony_ci * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 36e80583aSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 46e80583aSopenharmony_ci * you may not use this file except in compliance with the License. 56e80583aSopenharmony_ci * You may obtain a copy of the License at 66e80583aSopenharmony_ci * 76e80583aSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 86e80583aSopenharmony_ci * 96e80583aSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 106e80583aSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 116e80583aSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 126e80583aSopenharmony_ci * See the License for the specific language governing permissions and 136e80583aSopenharmony_ci * limitations under the License. 146e80583aSopenharmony_ci */ 156e80583aSopenharmony_ci 166e80583aSopenharmony_ci/** 176e80583aSopenharmony_ci * common app info 186e80583aSopenharmony_ci */ 196e80583aSopenharmony_ciexport class AppItemInfo { 206e80583aSopenharmony_ci /** 216e80583aSopenharmony_ci * Indicates app id. 226e80583aSopenharmony_ci */ 236e80583aSopenharmony_ci appId: string | undefined; 246e80583aSopenharmony_ci 256e80583aSopenharmony_ci /** 266e80583aSopenharmony_ci * Indicates app name. 276e80583aSopenharmony_ci */ 286e80583aSopenharmony_ci appName: string | undefined; 296e80583aSopenharmony_ci 306e80583aSopenharmony_ci /** 316e80583aSopenharmony_ci * Indicates appIconId. 326e80583aSopenharmony_ci */ 336e80583aSopenharmony_ci appIconId: number | undefined; 346e80583aSopenharmony_ci 356e80583aSopenharmony_ci /** 366e80583aSopenharmony_ci * Indicates appLabelId. 376e80583aSopenharmony_ci */ 386e80583aSopenharmony_ci appLabelId: number | undefined; 396e80583aSopenharmony_ci 406e80583aSopenharmony_ci /** 416e80583aSopenharmony_ci * Indicates bundleName. 426e80583aSopenharmony_ci */ 436e80583aSopenharmony_ci bundleName: string | undefined; 446e80583aSopenharmony_ci 456e80583aSopenharmony_ci /** 466e80583aSopenharmony_ci * Indicates abilityName. 476e80583aSopenharmony_ci */ 486e80583aSopenharmony_ci abilityName: string | undefined; 496e80583aSopenharmony_ci 506e80583aSopenharmony_ci /** 516e80583aSopenharmony_ci * Indicates is system App. 526e80583aSopenharmony_ci */ 536e80583aSopenharmony_ci isSystemApp: boolean | undefined; 546e80583aSopenharmony_ci 556e80583aSopenharmony_ci /** 566e80583aSopenharmony_ci * Indicates is uninstallAble. 576e80583aSopenharmony_ci */ 586e80583aSopenharmony_ci isUninstallAble: boolean | undefined; 596e80583aSopenharmony_ci 606e80583aSopenharmony_ci /** 616e80583aSopenharmony_ci * badge number 626e80583aSopenharmony_ci */ 636e80583aSopenharmony_ci badgeNumber: number | undefined; 646e80583aSopenharmony_ci 656e80583aSopenharmony_ci checked: boolean | undefined; 666e80583aSopenharmony_ci 676e80583aSopenharmony_ci installTime: string | undefined; 686e80583aSopenharmony_ci 696e80583aSopenharmony_ci moduleName: string | undefined; 706e80583aSopenharmony_ci 716e80583aSopenharmony_ci keyName: string | undefined; 726e80583aSopenharmony_ci 736e80583aSopenharmony_ci /** 746e80583aSopenharmony_ci * GridLayoutItemInfo: type 0:app 1:card 3:bigFolder 756e80583aSopenharmony_ci */ 766e80583aSopenharmony_ci typeId: number | undefined; 776e80583aSopenharmony_ci 786e80583aSopenharmony_ci /** 796e80583aSopenharmony_ci * GridLayoutItemInfo: area 806e80583aSopenharmony_ci */ 816e80583aSopenharmony_ci area: number[] | undefined; 826e80583aSopenharmony_ci 836e80583aSopenharmony_ci /** 846e80583aSopenharmony_ci * GridLayoutItemInfo: page 856e80583aSopenharmony_ci */ 866e80583aSopenharmony_ci page: number | undefined; 876e80583aSopenharmony_ci 886e80583aSopenharmony_ci /** 896e80583aSopenharmony_ci * GridLayoutItemInfo: column of positions 906e80583aSopenharmony_ci */ 916e80583aSopenharmony_ci column: number | undefined; 926e80583aSopenharmony_ci 936e80583aSopenharmony_ci /** 946e80583aSopenharmony_ci * GridLayoutItemInfo: row of positions 956e80583aSopenharmony_ci */ 966e80583aSopenharmony_ci row: number | undefined; 976e80583aSopenharmony_ci bundleType?: number | undefined; 986e80583aSopenharmony_ci}