Files
upstream-espocrm/application/Espo/Resources/metadata/entityDefs/OAuthAccount.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

86 lines
2.0 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"required": true,
"maxLength": 100
},
"provider": {
"type": "link",
"required": true,
"readOnlyAfterCreate": true
},
"user": {
"type": "link",
"readOnly": true
},
"hasAccessToken": {
"type": "bool",
"readOnly": true,
"notStorable": true,
"orderDisabled": true,
"directAccessDisabled": true,
"select": {
"select": "IS_NOT_NULL:(accessToken)"
}
},
"providerIsActive": {
"type": "foreign",
"link": "provider",
"field": "isActive"
},
"accessToken": {
"type": "password",
"readOnly": true,
"dbType": "text"
},
"refreshToken": {
"type": "password",
"readOnly": true,
"dbType": "text"
},
"description": {
"type": "text"
},
"expiresAt": {
"type": "datetime",
"readOnly": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
},
"createdBy": {
"type": "link",
"readOnly": true
},
"modifiedBy": {
"type": "link",
"readOnly": true
}
},
"links": {
"provider": {
"type": "belongsTo",
"entity": "OAuthProvider",
"foreign": "accounts"
},
"user": {
"type": "belongsTo",
"entity": "User"
},
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
}
}
}