1/**
2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * common app info
18 */
19export class AppItemInfo {
20  /**
21   * Indicates app id.
22   */
23  appId: string | undefined;
24
25  /**
26   * Indicates app name.
27   */
28  appName: string | undefined;
29
30  /**
31   * Indicates appIconId.
32   */
33  appIconId: number | undefined;
34
35  /**
36   * Indicates appLabelId.
37   */
38  appLabelId: number | undefined;
39
40  /**
41   * Indicates bundleName.
42   */
43  bundleName: string | undefined;
44
45  /**
46   * Indicates abilityName.
47   */
48  abilityName: string | undefined;
49
50  /**
51   * Indicates is system App.
52   */
53  isSystemApp: boolean | undefined;
54
55  /**
56   * Indicates is uninstallAble.
57   */
58  isUninstallAble: boolean | undefined;
59
60  /**
61   * badge number
62   */
63  badgeNumber: number | undefined;
64
65  checked: boolean | undefined;
66
67  installTime: string | undefined;
68
69  moduleName: string | undefined;
70
71  keyName: string | undefined;
72
73  /**
74   * GridLayoutItemInfo: type  0:app  1:card  3:bigFolder
75   */
76  typeId: number | undefined;
77
78  /**
79   * GridLayoutItemInfo: area
80   */
81  area: number[] | undefined;
82
83  /**
84   * GridLayoutItemInfo: page
85   */
86  page: number | undefined;
87
88  /**
89   * GridLayoutItemInfo: column of positions
90   */
91  column: number | undefined;
92
93  /**
94   * GridLayoutItemInfo: row of positions
95   */
96  row: number | undefined;
97  bundleType?: number | undefined;
98}