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 1s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 1s
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
148 lines
3.9 KiB
JSON
148 lines
3.9 KiB
JSON
{
|
|
"fields": {
|
|
"name": {
|
|
"type": "varchar",
|
|
"required": true
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"timeZone": {
|
|
"type": "enum",
|
|
"default": "",
|
|
"view": "views/preferences/fields/time-zone"
|
|
},
|
|
"timeRanges": {
|
|
"type": "jsonArray",
|
|
"default": [
|
|
["9:00", "17:00"]
|
|
],
|
|
"view": "views/working-time-calendar/fields/time-ranges",
|
|
"required": true
|
|
},
|
|
"weekday0": {
|
|
"type": "bool",
|
|
"default": false
|
|
},
|
|
"weekday1": {
|
|
"type": "bool",
|
|
"default": true
|
|
},
|
|
"weekday2": {
|
|
"type": "bool",
|
|
"default": true
|
|
},
|
|
"weekday3": {
|
|
"type": "bool",
|
|
"default": true
|
|
},
|
|
"weekday4": {
|
|
"type": "bool",
|
|
"default": true
|
|
},
|
|
"weekday5": {
|
|
"type": "bool",
|
|
"default": true
|
|
},
|
|
"weekday6": {
|
|
"type": "bool",
|
|
"default": false
|
|
},
|
|
"weekday0TimeRanges": {
|
|
"type": "jsonArray",
|
|
"default": null,
|
|
"view": "views/working-time-calendar/fields/time-ranges"
|
|
},
|
|
"weekday1TimeRanges": {
|
|
"type": "jsonArray",
|
|
"default": null,
|
|
"view": "views/working-time-calendar/fields/time-ranges"
|
|
},
|
|
"weekday2TimeRanges": {
|
|
"type": "jsonArray",
|
|
"default": null,
|
|
"view": "views/working-time-calendar/fields/time-ranges"
|
|
},
|
|
"weekday3TimeRanges": {
|
|
"type": "jsonArray",
|
|
"default": null,
|
|
"view": "views/working-time-calendar/fields/time-ranges"
|
|
},
|
|
"weekday4TimeRanges": {
|
|
"type": "jsonArray",
|
|
"default": null,
|
|
"view": "views/working-time-calendar/fields/time-ranges"
|
|
},
|
|
"weekday5TimeRanges": {
|
|
"type": "jsonArray",
|
|
"default": null,
|
|
"view": "views/working-time-calendar/fields/time-ranges"
|
|
},
|
|
"weekday6TimeRanges": {
|
|
"type": "jsonArray",
|
|
"default": null,
|
|
"view": "views/working-time-calendar/fields/time-ranges"
|
|
},
|
|
"isDefault": {
|
|
"type": "bool",
|
|
"readOnly": true,
|
|
"notStorable": true,
|
|
"orderDisabled": true,
|
|
"loaderClassName": "Espo\\Classes\\FieldProcessing\\WorkingTimeCalendar\\IsDefaultLoader",
|
|
"tooltip": true
|
|
},
|
|
"teams": {
|
|
"type": "linkMultiple",
|
|
"readOnly": true
|
|
},
|
|
"createdAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"modifiedAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"createdBy": {
|
|
"type": "link",
|
|
"readOnly": true
|
|
},
|
|
"modifiedBy": {
|
|
"type": "link",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"links": {
|
|
"ranges": {
|
|
"type": "hasMany",
|
|
"foreign": "calendars",
|
|
"entity": "WorkingTimeRange"
|
|
},
|
|
"users": {
|
|
"type": "hasMany",
|
|
"foreign": "workingTimeCalendar",
|
|
"entity": "User",
|
|
"readOnly": true
|
|
},
|
|
"teams": {
|
|
"type": "hasMany",
|
|
"foreign": "workingTimeCalendar",
|
|
"entity": "Team",
|
|
"readOnly": true
|
|
},
|
|
"createdBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"modifiedBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
}
|
|
},
|
|
"collection": {
|
|
"orderBy": "name",
|
|
"order": "asc",
|
|
"textFilterFields": ["name"]
|
|
}
|
|
}
|