1/* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use rollupObject 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 SDK_VERSION: number = 10; 17export const SDK_VERSION_MOCK: number = 1; 18export const ETS_LOADER_VERSION: string = '4.1.2.3'; 19export const SDK_VERSION_STAGE: string = 'beta3'; 20 21export const BUNDLE_NAME_DEFAULT: string = 'com.example.app'; 22export const ENTRY_PACKAGE_NAME_DEFAULT: string = 'entry'; 23export const ENTRY_MODULE_NAME_DEFAULT: string = 'entry'; 24export const ENTRY_MODULE_VERSION_DEFAULT: string = '1.0.0'; 25 26export const RUNTIME_OS_OPENHARMONY: string = 'OpenHarmony'; 27export const MODULE_NAME_HASH_DEFAULT: string = '1043bfc77febe75fafec0c4309faccf1'; 28export const RESOURCE_TABLE_HASH_DEFAULT: string = '790527e39c8c2be7fbbc762f7966104e'; 29export const DEVICE_TYPE: string = 'default,tablet'; 30 31export const NODE_JS_PATH: string = '/usr/local/nodejs'; 32export const PORT_DEFAULT: string = '29900'; 33 34export const CMD_DEBUG_INFO: string = '--debug-info'; 35export const NODE: string = 'node'; 36export const META: string = 'meta'; 37 38export const ENTRYABILITY_TS_PATH_DEFAULT: string = '/src/main/entryability/EntryAbility.ts'; 39export const ENTRYABILITY_JS_PATH_DEFAULT: string = '/src/main/entryability/EntryAbility.js'; 40export const INDEX_ETS_PATH_DEFAULT: string = '/src/main/pages/Index.ets'; 41export const INDEX_JS_PATH_DEFAULT: string = '/src/main/pages/Index.js'; 42export const INDEX_SOURCE_PATH: string = 'entry/src/main/pages/Index.ets'; 43export const INDEX_JS_CACHE_PATH: string = 'entry/build/entry/src/main/pages/Index.js'; 44export const INDEX_TS_CACHE_PATH: string = 'entry/build/entry/src/main/pages/Index.ts'; 45export const ENTRYABILITY_SOURCE_PATH: string = 'entry/src/main/pages/EntryAbility.ts'; 46export const ENTRYABILITY_JS_CACHE_PATH: string = 'entry/build/entry/src/main/pages/EntryAbility.js'; 47export const ENTRYABILITY_TS_CACHE_PATH: string = 'entry/build/entry/src/main/pages/EntryAbility.ts'; 48 49export const ENTRYABILITY_TS_RECORDNAME: string = '/entry/src/main/entryability/EntryAbility'; 50export const ENTRYABILITY_JS_RECORDNAME: string = '/entry/src/main/entryability/EntryAbility'; 51export const INDEX_ETS_RECORDNAME: string = '/entry/src/main/pages/Index'; 52export const EXTNAME_MAP: string = '.map'; 53 54export const ENTRYABILITY_TS_NORMALIZED_RECORDNAME: string = 'entry/src/main/entryability/EntryAbility'; 55export const ENTRYABILITY_JS_NORMALIZED_RECORDNAME: string = 'entry/src/main/entryability/EntryAbility'; 56export const INDEX_ETS_NORMALIZED_RECORDNAME: string = 'entry/src/main/pages/Index'; 57 58export const ENTRYABILITY_TS_PATH: string = '/main/entryability/EntryAbility.ts'; 59export const INDEX_ETS_PATH: string = '/main/pages/Index.ets'; 60export const ENTRYABILITY_TS: string = 'EntryAbility.ts'; 61export const INDEX_ETS: string = 'Index.ets'; 62export const OH_UIABILITY: string = '@ohos:app.ability.UIAbility'; 63export const OH_HILOG: string = '@ohos:hilog'; 64export const OHURL_RES: string = '@bundle:com.example.app/entry/src/main/pages/Index'; 65export const OHURL_SHAREDLIBRARY: string = "@bundle:UtTestApplication/sharedLibrary/ets/index"; 66 67export const FILE: string = 'file'; 68export const SOURCE: string = 'sources'; 69export const ENTRY_PACKAGE_INFO: string = 'entry-package-info'; 70export const DYNAMICIMPORT_ETS: string = 'DynamicImport.ets'; 71 72export const PKG_MODULES: string = 'pkg_modules'; 73export const DEBUG: string = 'debug'; 74export const EXPOSE_GC: string = 'expose-gc'; 75export const JSONSTRING: string = `{"mCompact":false,"mDisableHilog":false,"mDisableConsole":false,"mSimplify":false,"mTopLevel":false,"mNameObfuscation":{"mEnable":true,"mNameGeneratorType":1,"mReservedNames":[],"mRenameProperties":false,"mReservedProperties":[],"mKeepStringProperty":true},"mEnableSourceMap":true,"mEnableNameCache":true}`; 76export const MODULES: string = 'oh-modules'; 77export const LOADER_AOTMODE: string = 'loader_aotMode.json'; 78export const UPDATESOURCEMAP: string = 'updateSourceMap.json'; 79export const ENTRYABILITY_JS: string = 'entry/src/main/entryability/EntryAbility.js'; 80export const TEST: string = 'test'; 81export const NEWFILE: string = 'newFile';