Files
upstream-espocrm/application/Espo/Resources/metadata/entityDefs/Team.json
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

94 lines
2.2 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"maxLength": 100,
"pattern": "$noBadCharacters",
"audited": true
},
"roles": {
"type": "linkMultiple",
"tooltip": true,
"audited": true
},
"positionList": {
"type": "array",
"displayAsList": true,
"tooltip": true,
"audited": true,
"noEmptyString": true
},
"userRole": {
"type": "varchar",
"notStorable": true,
"utility": true
},
"layoutSet": {
"type": "link",
"tooltip": true,
"audited": true
},
"workingTimeCalendar": {
"type": "link",
"tooltip": true,
"audited": true
},
"description": {
"type": "text"
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
}
},
"links": {
"users": {
"type": "hasMany",
"entity": "User",
"foreign": "teams",
"columnAttributeMap": {
"role": "userRole"
},
"apiSpecDisabled": true
},
"roles": {
"type": "hasMany",
"entity": "Role",
"foreign": "teams"
},
"notes": {
"type": "hasMany",
"entity": "Note",
"foreign": "teams"
},
"inboundEmails": {
"type": "hasMany",
"entity": "InboundEmail",
"foreign": "teams"
},
"layoutSet": {
"type": "belongsTo",
"entity": "LayoutSet",
"foreign": "teams"
},
"workingTimeCalendar": {
"type": "belongsTo",
"entity": "WorkingTimeCalendar",
"foreign": "teams"
},
"groupEmailFolders": {
"type": "hasMany",
"entity": "GroupEmailFolder",
"foreign": "teams"
}
},
"collection": {
"orderBy": "name",
"order": "asc"
}
}