Files
upstream-espocrm/application/Espo/Resources/metadata/entityDefs/Pipeline.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 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
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

120 lines
2.9 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"required": true,
"maxLength": 100,
"duplicateIgnore": true
},
"order": {
"type": "int",
"readOnly": true,
"duplicateIgnore": true
},
"status": {
"type": "enum",
"maxLength": 8,
"options": [
"Active",
"Inactive"
],
"default": "Active",
"style": {
"Inactive": "info"
},
"duplicateIgnore": true
},
"entityType": {
"type": "enum",
"maxLength": 100,
"required": true,
"readOnlyAfterCreate": true,
"view": "views/pipeline/fields/entity-type",
"validatorClassNameList": [
"Espo\\Classes\\FieldValidators\\Pipeline\\EntityType\\Valid"
]
},
"field": {
"type": "enum",
"maxLength": 100,
"readOnly": true,
"validatorClassNameList": [
"Espo\\Classes\\FieldValidators\\Pipeline\\Field\\Valid"
],
"view": "views/pipeline/fields/field"
},
"color": {
"type": "int",
"min": 0,
"max": 8,
"view": "views/fields/color"
},
"isAvailableForAll": {
"type": "bool",
"default": true
},
"description": {
"type": "text"
},
"teams": {
"type": "linkMultiple",
"view": "views/fields/teams"
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
},
"createdBy": {
"type": "link",
"readOnly": true,
"view": "views/fields/user"
},
"modifiedBy": {
"type": "link",
"readOnly": true,
"view": "views/fields/user"
}
},
"links": {
"stages": {
"type": "hasMany",
"entity": "PipelineStage",
"foreign": "pipeline",
"readOnly": true,
"cascadeRemoval": true,
"orderBy": "order",
"order": "asc"
},
"teams": {
"type": "hasMany",
"entity": "Team",
"relationName": "entityTeam",
"readOnly": true
},
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
}
},
"collection": {
"orderBy": "order",
"order": "asc"
},
"indexes": {
"entityTypeStatus": {
"columns": [
"entityType",
"status"
]
}
}
}