/*
 * Copyright (c) 2024 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package ohos;

/**
 * Constants
 *
 * @since 2024-06-18
 */
public class Constants {
    /**
     * Indicates the string const: slash /
     */
    public static final String SLASH = "/";

    /**
     * Indicates the string const: comma ,
     */
    public static final String COMMA = ",";

    /**
     * Indicates the dir name: resources/rawfile
     */
    public static final String RAW_FILE_PATH = "resources/rawfile";

    /**
     * Indicates the dir name: resources/resfile
     */
    public static final String RES_FILE_PATH = "resources/resfile";

    /**
     * Indicates the file name suffix: .json
     */
    public static final String JSON_SUFFIX = ".json";

    /**
     * Indicates the file name suffix: .hap
     */
    public static final String HAP_SUFFIX = ".hap";

    /**
     * Indicates the file name suffix: .hsp
     */
    public static final String HSP_SUFFIX = ".hsp";

    /**
     * Indicates the file name suffix: .app
     */
    public static final String APP_SUFFIX = ".app";

    /**
     * Indicates the file name suffix: .png
     */
    public static final String PNG_SUFFIX = ".png";

    /**
     * Indicates the bundleType: app
     */
    public static final String APP = "app";

    /**
     * Indicates the json key: bundleType
     */
    public static final String BUNDLE_TYPE = "bundleType";

    /**
     * Indicates the bundleType: shared
     */
    public static final String BUNDLE_TYPE_SHARED = "shared";

    /**
     * Indicates the bundleType: appService
     */
    public static final String BUNDLE_TYPE_APP_SERVICE = "appService";

    /**
     * Indicates the json key: summary
     */
    public static final String SUMMARY = "summary";

    /**
     * Indicates the json key: packages
     */
    public static final String PACKAGES = "packages";

    /**
     * Indicates the json key: module
     */
    public static final String MODULE = "module";

    /**
     * Indicates the json key: buildHash
     */
    public static final String BUILD_HASH = "buildHash";

    /**
     * Indicates the json key: name
     */
    public static final String MODULE_NAME = "name";

    /**
     * Indicates the json key: type
     */
    public static final String MODULE_TYPE = "type";

    /**
     * Indicates the module type: shared
     */
    public static final String TYPE_SHARED = "shared";

    /**
     * Indicates the module type: entry
     */
    public static final String TYPE_ENTRY = "entry";

    /**
     * Indicates the module type: feature
     */
    public static final String TYPE_FEATURE = "feature";

    /**
     * Indicates the json key: generateBuildHash
     */
    public static final String GENERATE_BUILD_HASH = "generateBuildHash";

    /**
     * Indicates the json key: compressNativeLibs
     */
    public static final String COMPRESS_NATIVE_LIBS = "compressNativeLibs";

    /**
     * Indicates the file name: pack.info
     */
    public static final String FILE_PACK_INFO = "pack.info";

    /**
     * Indicates the file name: module.json
     */
    public static final String FILE_MODULE_JSON = "module.json";

    /**
     * Indicates the file name: config.json
     */
    public static final String FILE_CONFIG_JSON = "config.json";

    /**
     * Indicates the file name: pack.res
     */
    public static final String FILE_PACK_RES = "pack.res";

    /**
     * Indicates the dir null
     */
    public static final String NULL_DIR = "";

    /**
     * Indicates the dir name: libs
     */
    public static final String LIBS_DIR = "libs";

    /**
     * Indicates the SHA_256
     */
    public static final String SHA_256 = "SHA-256";

    /**
     * Indicates the tmp dir
     */
    public static final String TMP = "tmp";

    /**
     * Indicates the bool string true
     */
    public static final String TRUE = "true";

    /**
     * Indicates the bool string false
     */
    public static final String FALSE = "false";

    /**
     * Indicates the buffer size
     */
    public static final int BUFFER_SIZE = 40 * 1024;
}
