107ac75b1Sopenharmony_ci/*
207ac75b1Sopenharmony_ci * Copyright (c) 2024 Huawei Device Co., Ltd.
307ac75b1Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
407ac75b1Sopenharmony_ci * you may not use this file except in compliance with the License.
507ac75b1Sopenharmony_ci * You may obtain a copy of the License at
607ac75b1Sopenharmony_ci *
707ac75b1Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
807ac75b1Sopenharmony_ci *
907ac75b1Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1007ac75b1Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1107ac75b1Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1207ac75b1Sopenharmony_ci * See the License for the specific language governing permissions and
1307ac75b1Sopenharmony_ci * limitations under the License.
1407ac75b1Sopenharmony_ci */
1507ac75b1Sopenharmony_ci
1607ac75b1Sopenharmony_ciconst NAVIGATION_BUILDER_REGISTER: string = 'NavigationBuilderRegister';
1707ac75b1Sopenharmony_ci
1807ac75b1Sopenharmony_ciconst MONITOR: string = 'Monitor';
1907ac75b1Sopenharmony_ciconst COMPUTED: string = 'Computed';
2007ac75b1Sopenharmony_ciconst REQUIRE: string = 'Require';
2107ac75b1Sopenharmony_ciconst BUILDER_PARAM: string = 'BuilderParam';
2207ac75b1Sopenharmony_ciconst DECORATOR_BUILDER_PARAM: string = '@BuilderParam';
2307ac75b1Sopenharmony_ciconst MONITOR_DECORATOR: string = '@Monitor';
2407ac75b1Sopenharmony_ciconst COMPUTED_DECORATOR: string = '@Computed';
2507ac75b1Sopenharmony_ci
2607ac75b1Sopenharmony_ciconst COMPONENT_MEMBER_DECORATOR_V1: string[] = [
2707ac75b1Sopenharmony_ci  '@State', '@Prop', '@Link', '@Provide', '@Consume', '@Watch', '@StorageLink', '@StorageProp',
2807ac75b1Sopenharmony_ci  '@LocalStorageLink', '@LocalStorageProp', '@ObjectLink'
2907ac75b1Sopenharmony_ci];
3007ac75b1Sopenharmony_ci
3107ac75b1Sopenharmony_ciconst COMPONENT_MEMBER_DECORATOR_V2: string[] = [
3207ac75b1Sopenharmony_ci  '@Local', '@Param', '@Once', '@Event', '@Provider', '@Consumer'
3307ac75b1Sopenharmony_ci];
3407ac75b1Sopenharmony_ciconst STRUCT_CLASS_MEMBER_DECORATOR_V2: string[] = [
3507ac75b1Sopenharmony_ci  '@Monitor', '@Computed'
3607ac75b1Sopenharmony_ci];
3707ac75b1Sopenharmony_ciconst DECORATOR_V2: string[] = [
3807ac75b1Sopenharmony_ci  ...COMPONENT_MEMBER_DECORATOR_V2, ...STRUCT_CLASS_MEMBER_DECORATOR_V2
3907ac75b1Sopenharmony_ci];
4007ac75b1Sopenharmony_ci
4107ac75b1Sopenharmony_ciconst STRUCT_PARENT: string = 'ViewV2';
4207ac75b1Sopenharmony_ciconst INIT_PARAM: string = 'initParam';
4307ac75b1Sopenharmony_ciconst UPDATE_PARAM: string = 'updateParam';
4407ac75b1Sopenharmony_ciconst UPDATE_STATE_VARS: string = 'updateStateVars';
4507ac75b1Sopenharmony_ci
4607ac75b1Sopenharmony_ciconst BYTE_CODE_HAR: string = 'byteCodeHar';
4707ac75b1Sopenharmony_ciconst CLOSED_SOURCE_HAR: string = 'closedSourceHar';
4807ac75b1Sopenharmony_ciconst SHARED_HSP: string = 'sharedHsp';
4907ac75b1Sopenharmony_ciconst MODULE_TYPE: string = 'moduleType';
5007ac75b1Sopenharmony_ciconst HAR_DEFAULT_PAGE_PATH: string = '__harDefaultPagePath__';
5107ac75b1Sopenharmony_ciconst HAR_DEFAULT_INTEGRATED_HSP_TYPE: string = '__harDefaultIntegratedHspType__';
5207ac75b1Sopenharmony_ciconst FOLLOW_WITH_HAP: string = 'followWithHap';
5307ac75b1Sopenharmony_ci
5407ac75b1Sopenharmony_ciexport default {
5507ac75b1Sopenharmony_ci  NAVIGATION_BUILDER_REGISTER,
5607ac75b1Sopenharmony_ci  MONITOR,
5707ac75b1Sopenharmony_ci  COMPUTED,
5807ac75b1Sopenharmony_ci  STRUCT_PARENT,
5907ac75b1Sopenharmony_ci  COMPONENT_MEMBER_DECORATOR_V1,
6007ac75b1Sopenharmony_ci  COMPONENT_MEMBER_DECORATOR_V2,
6107ac75b1Sopenharmony_ci  INIT_PARAM,
6207ac75b1Sopenharmony_ci  UPDATE_PARAM,
6307ac75b1Sopenharmony_ci  UPDATE_STATE_VARS,
6407ac75b1Sopenharmony_ci  REQUIRE,
6507ac75b1Sopenharmony_ci  MONITOR_DECORATOR,
6607ac75b1Sopenharmony_ci  COMPUTED_DECORATOR,
6707ac75b1Sopenharmony_ci  DECORATOR_V2,
6807ac75b1Sopenharmony_ci  BUILDER_PARAM,
6907ac75b1Sopenharmony_ci  DECORATOR_BUILDER_PARAM,
7007ac75b1Sopenharmony_ci  BYTE_CODE_HAR,
7107ac75b1Sopenharmony_ci  CLOSED_SOURCE_HAR,
7207ac75b1Sopenharmony_ci  SHARED_HSP,
7307ac75b1Sopenharmony_ci  MODULE_TYPE,
7407ac75b1Sopenharmony_ci  HAR_DEFAULT_PAGE_PATH,
7507ac75b1Sopenharmony_ci  HAR_DEFAULT_INTEGRATED_HSP_TYPE,
7607ac75b1Sopenharmony_ci  FOLLOW_WITH_HAP
7707ac75b1Sopenharmony_ci};
78