snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
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 MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
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
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 MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
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
This commit is contained in:
93
application/Espo/Resources/metadata/entityDefs/Team.json
Normal file
93
application/Espo/Resources/metadata/entityDefs/Team.json
Normal file
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user