mirror of
https://gitee.com/openharmony/applications_settings_data
synced 2024-11-23 06:40:11 +00:00
update entry/src/main/ets/Utils/SettingsDataConfig.ets.
Signed-off-by: chenlang <chenlang28@h-partners.com>
This commit is contained in:
parent
61fcf13b62
commit
e514b2948a
@ -1,25 +1,33 @@
|
||||
/**
|
||||
* Copyright (c) 2021-2023 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.
|
||||
*/
|
||||
/**
|
||||
* Copyright (c) 2021-2023 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.
|
||||
*/
|
||||
|
||||
const SettingsDataConfig = {
|
||||
DB_NAME: 'settingsdata.db',
|
||||
TABLE_NAME: 'SETTINGSDATA',
|
||||
USER_TABLE_NAME: 'USER_SETTINGSDATA',
|
||||
FIELD_ID: 'ID',
|
||||
FIELD_KEYWORD: 'KEYWORD',
|
||||
FIELD_VALUE: 'VALUE'
|
||||
};
|
||||
interface SettingsDataBaseConfig {
|
||||
DB_NAME: string;
|
||||
TABLE_NAME: string;
|
||||
USER_TABLE_NAME: string;
|
||||
FIELD_ID: string;
|
||||
FIELD_KEYWORD: string;
|
||||
FIELD_VALUE: string;
|
||||
}
|
||||
const SettingsDataConfig: SettingsDataBaseConfig = {
|
||||
DB_NAME: 'settingsdata.db',
|
||||
TABLE_NAME: 'SETTINGSDATA',
|
||||
USER_TABLE_NAME: 'USER_SETTINGSDATA',
|
||||
FIELD_ID: 'ID',
|
||||
FIELD_KEYWORD: 'KEYWORD',
|
||||
FIELD_VALUE: 'VALUE'
|
||||
};
|
||||
|
||||
export default SettingsDataConfig;
|
||||
export default SettingsDataConfig;
|
||||
|
Loading…
Reference in New Issue
Block a user