• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2025 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
16export const DEFAULT_DECORATOR_WHITE_LIST = [
17  'AnimatableExtend',
18  'Entry',
19  'Component',
20  'Sendable',
21  'ComponentGroup',
22  'Controller',
23  'EntryComponent',
24  'Extend',
25  'Lazy',
26  'Link',
27  'LinkParam',
28  'Module',
29  'Prop',
30  'Provide',
31  'Route',
32  'RouteParam',
33  'State',
34  'StateObject',
35  'Storage',
36  'StorageLink',
37  'ComponentLink',
38  'Consume',
39  'ConsumeLink',
40  'Environment',
41  'Export',
42  'Name',
43  'OhosModule',
44  'Builder',
45  'BuilderComponent',
46  'PreviewComponent',
47  'BuilderGroup',
48  'BuilderParam',
49  'PreviewBuilder',
50  'PropGroup',
51  'Query',
52  'QueryLink',
53  'ScenePhase',
54  'Suspense',
55  'Xml',
56  'ObjectLink',
57  'Param',
58  'Event',
59  'CustomDialog',
60  'Styles',
61  'Concurrent',
62  'Preview',
63  'LocalBuilder',
64  'Require',
65  'Reusable',
66  'Observed',
67  'LocalStorageProp',
68  'LocalStorageLink',
69  'StorageProp',
70  'Watch',
71  'Track',
72  'ObservedV2',
73  'Trace',
74  'ComponentV2',
75  'Local',
76  'Once',
77  'Provider',
78  'Consumer',
79  'Monitor',
80  'Computed',
81  'Type',
82  'ReusableV2'
83];
84