Files
nocobase-mcp/config.example.json
T

166 lines
4.9 KiB
JSON

{
"env": "nb-mcp",
"dataSource": "main",
"timezone": "Asia/Shanghai",
"users": {
"resource": "users",
"fields": ["id", "username", "nickname", "email", "f_yh_english_name"],
"matchFields": ["username", "nickname", "email", "f_yh_english_name"],
"labelFields": ["nickname", "f_yh_english_name", "username", "email"]
},
"teams": {
"resource": "t_team_management",
"idField": "id",
"nameField": "f_team_name",
"managerField": "tdgl_manager",
"memberField": "tdgl_team_members",
"userStatusField": "yh_status",
"formalUserStatusValue": "nkluuumb1r1"
},
"projects": {
"resource": "t_projects",
"idField": "id",
"nameField": "f_project_name",
"nameFields": ["f_project_name"],
"customerField": "client_ID",
"customerRelationField": "f_projects_client",
"inquiryDateField": "xm_project_inquiry_date",
"progressField": "f_projects_progress",
"applicationsField": "f_projects_applications",
"partNumbersField": "f_projects_part_numbers",
"periodUsageField": "f_projects_period_usage",
"detailsField": "f_projects_details",
"attachmentField": "f_projects_attachments",
"contactField": "f_projects_contacts",
"followupField": "f_projects_followup_records",
"updateField": "f_u28gm9h2uzl",
"updateResource": "t_qxeepjvi39s",
"updateProjectField": "f_k37rbpi4vye",
"updateDateField": "f_6g9fw5oqef9",
"updateContentField": "f_ei16g0ihwwd",
"updateAttachmentField": "f_6pk5pv17i27"
},
"collections": {
"customers": {
"resource": "t_nt3pjadelqi",
"fields": [
"f_kyf51uh0ky7",
"f_urr1u4dw9jb",
"f_opwl6asmjfr",
"f_territorial_name",
"id",
"f_225h6n6v654",
"f_spgoie0arjq",
"f_iocbiswmj0w",
"f_6poubouiyav",
"createdBy",
"kh_followup_recrod",
"f_icnu7fer21g",
"f_ybwmst59acr",
"f_kh_projects",
"kh_progress",
"f_nkgemi2z0jq",
"kehu_lookup_people",
"f_8ny30oijdia",
"updatedBy",
"f_ef0jz62x69p",
"kehu_followup_person",
"f_8aeiunkk9iu",
"updatedAt",
"f_7jd0dccle4d",
"f_kh_english_name",
"f_epunagf8fim",
"f_03vk8tul04x",
"f_vrmce31l4tm",
"kehu_manage_person",
"f_xuodi4wytid",
"f_q2q60q7bqbg",
"createdAt",
"f_l014k58id1f",
"kehu_contacts",
"f_y8iyf2jhana",
"kh_tags"
],
"searchFields": ["f_q2q60q7bqbg", "f_kh_english_name", "f_territorial_name"],
"nameFields": ["f_q2q60q7bqbg", "f_kh_english_name", "f_territorial_name"],
"englishNameField": "f_kh_english_name",
"territorialNameField": "f_territorial_name",
"statusField": "kh_progress",
"sourceField": "f_225h6n6v654",
"ownerField": "kehu_followup_person",
"managerField": "kehu_manage_person",
"detailFields": {
"address": "f_y8iyf2jhana",
"intro": "f_spgoie0arjq",
"tags": "kh_tags",
"followup_interval_days": "f_kyf51uh0ky7"
},
"sort": ["-updatedAt"]
},
"contacts": {
"resource": "t_j77ftx1rf84",
"fields": [
"f_8ra9vxjwsz3",
"f_6mm7pz2lely",
"khlxr_address",
"updatedBy",
"f_2zpg91gtmwp",
"createdAt",
"khlxr_email",
"f_wv58431wiuu",
"kehulianxiren_client",
"f_relationship",
"f_tn8zdm2f938",
"khlxr_phone_number",
"updatedAt",
"khlxr_followup_record",
"id",
"createdBy",
"f_k81ghephjvp",
"f_xmlxr_projects"
],
"searchFields": ["f_2zpg91gtmwp", "khlxr_phone_number", "khlxr_email"],
"nameFields": ["f_2zpg91gtmwp"],
"titleField": "f_tn8zdm2f938",
"phoneField": "khlxr_phone_number",
"emailField": "khlxr_email",
"customerField": "kehulianxiren_client",
"sort": ["-updatedAt"]
},
"followups": {
"resource": "t_07667a5evtr",
"fields": [
"gjjl_client_contacts",
"createdAt",
"f_gjjl_attachment",
"gjjl_followup_person",
"createdBy",
"gjjl_client",
"f_srysmjkwfq1",
"f_z96kfc5yhx8",
"gjjl_followup_type",
"f_19iplxz0nds",
"updatedBy",
"id",
"updatedAt",
"f_gjjl_projects",
"f_b5c4hfi5og6",
"f_hmsffov90ty",
"f_hskl7gjvos9"
],
"searchFields": ["f_19iplxz0nds"],
"customerField": "gjjl_client",
"contactField": "gjjl_client_contacts",
"ownerField": "gjjl_followup_person",
"ownerFields": ["gjjl_followup_person"],
"dateField": "f_srysmjkwfq1",
"contentField": "f_19iplxz0nds",
"typeField": "gjjl_followup_type",
"statusField": "f_hskl7gjvos9",
"projectField": "f_gjjl_projects",
"locationField": "f_b5c4hfi5og6",
"sort": ["-f_srysmjkwfq1", "-createdAt"]
}
}
}