1/**
2 * Copyright (c) 2022 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
16import BaseColumns from './BaseColumns';
17
18/**
19 * Field constants in the contact data table
20 */
21export default class DataColumns extends BaseColumns {
22  static readonly TYPE_ID: string = 'type_id';
23  static readonly RAW_CONTACT_ID: string = 'raw_contact_id';
24  static readonly READ_ONLY: string = 'read_only';
25  static readonly VERSION: string = 'version';
26  static readonly IS_PREFERRED_NUMBER: string = 'is_preferred_number';
27  static readonly DETAIL_INFO: string = 'detail_info';
28  static readonly FAMILY_NAME: string = 'family_name';
29  static readonly MIDDLE_NAME_PHONETIC: string = 'middle_name_phonetic';
30  static readonly GIVEN_NAME: string = 'given_name';
31  static readonly GIVEN_NAME_PHONETIC: string = 'given_name_phonetic';
32  static readonly ALIAS_DETAIL_INTO: string = 'alias_detail_info';
33  static readonly PHONETIC_NAME: string = 'phonetic_name';
34  static readonly POSITION: string = 'position';
35  static readonly EXTEND1: string = 'extend1';
36  static readonly EXTEND2: string = 'extend2';
37  static readonly EXTEND3: string = 'extend3';
38  static readonly EXTEND4: string = 'extend4';
39  static readonly CITY: string = 'city';
40  static readonly COUNTRY: string = 'country';
41  static readonly NEIGHBORHOOD: string = 'neighborhood';
42  static readonly POBOX: string = 'pobox';
43  static readonly POSTCODE: string = 'postcode';
44  static readonly REGION: string = 'region';
45  static readonly STREET: string = 'street';
46  static readonly ALPHA_NAME: string = 'alpha_name';
47  static readonly OTHER_LAN_LAST_NAME: string = 'other_lan_last_name';
48  static readonly OTHER_LAN_FIRST_NAME: string = 'other_lan_first_name';
49  static readonly EXTEND5: string = 'extend5';
50  static readonly LAN_STYLE: string = 'lan_style';
51  static readonly CUSTOM_DATA: string = 'custom_data';
52  static readonly EXTEND6: string = 'extend6';
53  static readonly EXTEND7: string = 'extend7';
54  static readonly BLOB_DATA: string = 'blob_data';
55  static readonly SYN_1: string = 'syn_1';
56  static readonly SYN_2: string = 'syn_2';
57  static readonly SYN_3: string = 'syn_3';
58  static readonly FAVORITE: string = 'favorite';
59  static readonly CONTENT_TYPE: string = 'content_type';
60}