|
80527
|
2807
|
35
|
2026-05-28T07:25:24.486232+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779953124486_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-7635200922161528077
|
-4598385934329243181
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
rapstomEV faVsco,ls ~ProjectvViewNavigateCooc$2 JY-20915-fix-missing-header-text-rola)TOOI-Window© SyneMailbox.php© DealStageTransformer.phpresturettonstonmer.onoridld tonstotmer.ondorielovalelon omeone© ForecastTransformer.phpCOoeaikxWoeonon© GroupTransformer.phponeoaononoero© InvitationTransformer.phpcpoo elansotneon© LanguageDialectTransformerCLavout Enttviranstormer cho©LayoutTransformer.phpC Leadtranstormer.on©MessageTransformer.phpCMomenttranstormer.ono© NoteTransformer.phpCNotrestontttans ormer.ono© OnDemandActivities TransfonLochlehnotChanges 5 files, updating..enylocall [EMAIL]/Commandsme logging.php config© TextRelayService.php app/Services/Mail› Unversioned Files 9 files, updating.-phe api.php© CrmController.phpO composerjson& Dockerfiepublac tuncizon serwolerau loool Snobetaul...oublac tuncizon transtor Field Smelo: arrawSdefaultValve = Sfield->default_valve;tune ssede wnesessnooiksneau vailue)DSdefaultValue = (bool) SdefaultValue;return["id' => Sfield->id_string,objectType' => Sfield-›object_type,+ → (a|Side-by-side viewerDo not ignore -Highlght words + XB e ?8890e4292SECUKITY HEADCK CUSTONLOSPEOB_CONNECTION=nysql-OB_HOST=127.0.0.1E0B. PORT=3386-0B_DATABASE=jininnyOB_USERNAME=rootIEPASSTRETIAYE7o0sLX8• Thu 28 May 10:25:24U TextRelayServiceTest ~E custom.logA console (STAGING)E IaravellogSFjiminny@localhost)xA HSJocal ([iminny@localhost)A console [PROD]A console (EU]Cascaderner hensewiet+0.1 111336& 3,-a7eTeAuto v68 jminnycan I test it locally first. if I place env from staging021 41 A18 X2 X8 Aprovider_user_token": "VIU:AQIBAHJ-L2TNK2yuuuaLq1fzhab9crUnktpk4rLg9ngnXgp_6AEghuhugVa1nvicHevnpvstAAaAtbo0gkqnk1by#u0bwa9Yes. The service relies on a few things you'd need in place:"provider_refresh_token": "5034113:195SS731:87c14258f8c813d02767ee975f6044d46b6b2bfc*,1. Credentials file The constructor expects storage/text-relay.ison (a Google service account JSON key file)exoires:989199Gmbtrom sthaind and oince it there2. .env values to copy from stagingect * fron crn feld vallues.ect * fron con felds where tyoe = "nult-oickusteELECT * FROM Crn_Layouts WHERE Uuid_to_bin(*7C327871-fc25-4c56-9a0f-44c5a849d65c') = uuid;ELECT * FROM crn_layout_entities WHERE crn_layout_id = 282;ELECT * FROM crn_fields WHERE id = 3014; # 1885Ssm"ekersaa vaimae Hsps ensaeeeeGooGLE TExTUSER.COOGLE TEXT HOSTGOOGLE_TEXT_RELAY_TOPIC=DEPLOY _REGION=the cnail nailbox address# e.g. txt.jiminny.com or txt.staging.jiminny.com# the Pub/Sub topie name* eu or us3. Run the syng manually via tinker (inside docker _ (anp_1):Ask anmnineeoe(CodeAdaptiv• •48 differencesiha Runcoall oimain hae hado caotacatec." votite oot weedefektoottian MoulearCONNECTION IRELAND=irelandD8 PORT IRELAND=7532P IIGGOMANG TOGLANNDB_CONNECTION_STAGING=staginDB_HOST_STAGING=host.docker.interrDB_PORT_STAGING=7732without affecting the dictionaries for other lanquages. (yesterday 15:44)Current versionSECURITY_HEADER_CUSTOM_CSP=DB_CONNECTION=mysaLDB HUSTEar1adtDB_PORT=3306DB_DATABASE=J3minnyDB_USERNAME=jnnyadninIEPSSORoRGousinierodFDB_ADMIN_USERNAME-jnnyadnin#[ENV_SECRET] \Models\User#CASHIER_MODEL=Jiminny\Models\UserhubsBROADCAST_ORIVER=pusherCACHE DRIVER=redisCACHE_PREFIX=jmnySESSION DRIVER=redisQUEUE_CONNECTION=redisCTTHIP TONGlemnn#REDIS_CLIENT=predisREDIS_CLIENT=phpredisOSATe MACTEAИAREDIS_PASSWORD=[PASSWORD] space...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
80526
|
2806
|
29
|
2026-05-28T07:25:24.382779+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779953124382_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
Execute...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-825319746302344983
|
-7195371876638443087
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
Execute...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
80525
|
2807
|
34
|
2026-05-28T07:25:20.513766+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779953120513_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-147301692555525249
|
-8776298399911410750
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
rapstomViewCoocTOOI-WindowEV faVsco,ls ~$ JY-20915-fix-missing-header-text-rF.env.rootF.env.stagingE gitattributes@aitianoreF php-cs-fixer.cachePPONOCIXerOiSonstp.phpstorm.meta.phpE ohounit .result cacheE .prettierignore—Minosuniulesphpde heloer.ohophpde..heloer_models.ongN8&8B8RMSCLAUDE md0 composer.jsoncomooserlockdependency-checker.jsondew. sonids.txtimacton eon dietMAINSTALmMAlNTSRNAwsWoewesniecjiminny_storageMalieanene maM Makefile0 package-lockjsonE phpstan.neon.distE phpstan-baseline.neon<>phpunit.xmlTraw_sqLquery.sqlM: README.md& sonar-project.propertiesEtest.ovARASASS&485856co Uniieo MaotainxmnlEs vetur.confialeMEWEBHOOK_FILTERING_IMPLEMENTAT>1h Extemal Librariesv E Scratches and ConsolesVEDaiseconsotconsole iauA DEAL RISKS (EU)AEU (EU)vminnuclochinostconsole tliminny@locnosoftiiminny @locainos4 HS.local (jiminny@localhost)CstminnuclorsihaetA zoho_dev (iminny@localhost)yonelnconcalo iooenlpublac tuncizon serwouerau loool Snouetaul...oublac tuncizon transtorm Field Smero: arrawSdefaultValve = Sfield->default_valve;tune asedosvne:essnooiksneau vailue)DSdefaultValue = (bool) SdefaultValve;return["id' => $field->id_string,'objectType' => $field-›object_type,'Label' => $field->label,'fieldNane' => $field->crn_provider_ia,type' => $type,'enabled' => $field->is_selectable,"Length' = $field->Length,"defaultValue' => SdefaultValuelpublic function includeOptions(Field Sfield): ?Collectionif (Sfield->isPicklist() && Svalues = Sfield->values) €if (Sfield»›tyoe == Field::TYPE PTCKLIST 55 Svalues = Sfield-›values) {// This gets a little complex. We need to check if this field has any record type constraintsSthis->orofile&s (SrecordTyoe = Sthis-›orofile->/SSield-sobiecttype . 'RecordTvoe'})&& SrecordType->fieldValues()-›ahere('crn_field_id', Sfield->id)-›exists()// Fetch the values specific for this record type.Svalues = SrecordType->fieldValues()-›ahere('crn_field_id', $field->id)->get():1f (Sthis->noDefault) {Fonssch vaimae se walla?dSvalue-›is_default = false;return Sthis->collection(Svalues, new FieldValueTransforner()):n, you can safety uninstall Hunspell without affecting the dictionaries for other lanquages. (yesterday 15:44)phe api.php# composer.isonA console (EU)& DockerfieE custom.logE laravellogSF jiminny@localhost) x 4 HSJocal ([iminny@localhost)A console (PROD]A console (STAGING)DMO00TeAuto vA11/1 A v 235ih acrwitiesa234Diusers u. nc-l: On aruser o = u.dTERE_236a.status = 'completed"Ano uurd co bincc411a00-1608-4201-8726-075y079da08eeu.uusdAND a.deleted_at IS NULLANDSXTES_241242SELECT 1 FROM tracks tWHERE t.activity_id = a.idAND t.type IN ('audio', "video")26126526726927568 fminny ~021 41 418 X2 X8 AEDER BY a.actual_start,time DESCMIT 25:ilect * fron teans where id = 19:ilect * fron crn_configurations where provider = 'Ripedcive":ELECTCONCAT(u.id, CASE WHEN U.id = t.ouner_id THEN • (onner)' ELSE ** END) AS user_id,v.enait,sa.*,t.ouner_id FROM social_accounts saIIN users u on u.id = sa.sociable_idIIN teans t 1.n<->1: on t.id = u.team_idIERE U.tean_1d = 19 and sa.provider = "pipedrive":FLECT * FROM social_accounts WHERE id = 1116;"DATE social_accounts SET provider_user_token = 'Vlu:AQIBAHJ-L2TNK2yuuuaLq{fzhWb9crUNKTрk4FLQ9гjnXqp_6AEQh0hDQVa1nV#CHEvnpvS)ovider_refresh_token = ^5034113:195S5731:87c14258f8c813d02767ee975f6844846b6b2bfc',oines = 99891994IERE $d = 1116;'provider_user_token": "v1u:AQIBAHJ-LzTNK2yuuuaLgifzhHb9crUNKTpk«F1Q9rjnXqp_6AEQhDhDQVa1nVWCHEvnpvSEAAAAfj88Bgkqhki69w0BBwugilect * fron crn field values:iLect * fron crn_fields where type = 'nulti-picklist';LPCT * FROM crn_Layouts WHERE uvid_to_bin(*7C327871-fc25-4c56-9a0f-44c5a849d65c*) = uuid;SIEOT& COnken lauaInt ont+od NHSponnloudtth202"ELECT * FROM crn fields WHERE id = 3014; # 1885SISOT & SOOM AN BOTH MOTHOG NHEOS An B1O1A 12 C 791/27o0sLXThu 28 May 10:25:20U TextRelayServiceTest~aer henseictcan I test it locally first. if I place env from stagingYes. The service relies on a few things you'd need in place:1. Credentials file The constructor expects storage/text-relay.son (a Google service account JSON key file)Gmbtrom sthaind and oince it there2. .env values to copy from stagingGOOGLE TEXTUSERECOOGLE TEXTI HASTGOOGLE_TEXT_RELAY_TOPIC=DEPLOY _REGION=the cnail mailbox address# e.g. txt.jiminny.com or txt.staging.jiminny.com# the Pub/Sub topie name* eu or us3. Run the sync manually via tinker (inside docker_lanp_1):D bashdocker exec -it docker_lamp_1 php artisan tinker• 0app(\Jininny\ServicesVMail\TextRelayService::class)->sync();Caveat: The service reads from Gmail history and dispatches jobs to the queue. If you don't want it to actuallsend SMS, make sure QUEUE_CONNECTION-syne is not set (cr use a test queue), or just call isForCurrentEnvironmtioh.Ssvc = new class extends \Jiminny|ServicesVa1l\TextRelayService ( public function _constructtsom Serviceassvc-soctServicelcontiatainny.googletextI then sinsoect a eessade canual1sasg = SgnailService-susers_gessages-sget(config(*Jiainny-9009le_text_user*), "THE_MESSAGE_ID*)collect (Sasg->getPayload()-»getHeaders())->pluck("value',thut wey von can Mrity whht handare tra nehhilm oraeset do ttat mactsod alote tha ull evoc rineAck amthine (oLCAhantiv• CNX M Maud Tosme 27/221 1TS9...
|
80522
|
NULL
|
NULL
|
NULL
|
|
80524
|
2806
|
28
|
2026-05-28T07:25:20.617155+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779953120617_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
21
1
18
2
6
Previous Highlighted Error
Next Highlighted Error
SELECT a.id, a.uuid, a.actual_start_time, o.id, o.uuid FROM opportunities o
JOIN activities a ON o.id = a.opportunity_id
WHERE a.crm_configuration_id = 39
AND a.actual_start_time > '2025-10-13'
AND a.type IN ('conference', 'softphone-inbound', 'softphone-outbound')
;
SELECT * FROM activities
WHERE crm_configuration_id = 39 and user_id = 143
and actual_start_time >= '2025-10-13'
AND type IN ('conference', 'softphone-inbound', 'softphone-outbound')
;
SELECT * FROM opportunities WHERE account_id IN (178);
select * from activities where id IN (620137, 620187, 620188, 620189, 620230);
# HS
SELECT * FROM opportunities WHERE id IN (238);
select * from activities where id IN (477,2076);
select * from users;
SELECT COUNT(*) FROM users;
SELECT COUNT(*) FROM activities;
SELECT COUNT(*) FROM opportunities;
UPDATE activities
SET
actual_start_time = '2025-12-19 09:00:00',
actual_end_time = '2025-12-19 10:30:00',
scheduled_start_time = '2025-12-19 09:00:00',
scheduled_end_time = '2025-12-19 10:30:00'
WHERE id IN (407509,407375);
select * from partners;
SELECT id, uuid, type, actual_start_time, user_id, crm_configuration_id
FROM activities
WHERE user_id = 143
AND actual_start_time >= '2025-10-13 00:00:00'
AND actual_start_time <= '2026-01-13 23:59:59'
ORDER BY actual_start_time DESC;
SELECT * FROM activities WHERE uuid_to_bin('78eda160-3086-435f-88a5-bb0c71b6008d') = uuid;
SELECT * FROM crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 282;
# lead_id
# account_id 177
# contact_id 3969
# opportunity_id
# stage_id 203
SELECT * FROM opportunities WHERE opportunities.crm_configuration_id = id = 282;
SELECT * FROM activities where crm_configuration_id = 39 AND type = 'conference'
AND user_id = 143 and actual_start_time >= '2025-10-13';
SELECT * FROM activities a
# JOIN opportunities o ON a.opportunity_id = o.id
WHERE a.crm_configuration_id = 39 AND a.type = 'conference'
and status = 'completed' and recording_state = 'recorded'
and a.actual_start_time >= '2025-10-13'
AND a.user_id = 143
;
select * from leads
where crm_configuration_id = 39; # 112 -> ac. 178, 109 => op. 1707
SELECT * FROM activities WHERE id IN (356013,616188,616202,616310,407509,407375,356001,356008);
SELECT * FROM activities WHERE id IN (356013,616188,616202,616310);
SELECT * FROM activities WHERE id IN (407509,407375); # leads: 112, 109 | status - 198
SELECT * FROM activities WHERE id IN (356001, 356008); # contacts:
SELECT * FROM opportunities WHERE id IN (1707);
SELECT * FROM stages where id IN (204, 198);
SELECT * FROM opportunities WHERE account_id IN (178);
SELECT * FROM opportunities WHERE crm_configuration_id = 39 AND created_at > '2025-01-01';
SELECT * FROM contacts WHERE account_id IN (178); # 4118 Musaibe, 4448 Ceco Personal
SELECT * FROM activities where crm_configuration_id = 39
AND opportunity_id IS NULL
AND is_internal = false
and status = 'completed' and recording_state = 'recorded'
AND actual_start_time >= '2025-10-13'
AND (lead_id IS NOT NULL OR contact_id IS NOT NULL OR account_id IS NOT NULL)
# AND lead_id IN (112, 109)
;
SELECT * FROM crm_profiles WHERE user_id = 143;
select * from inboxes; # 212
select * from users where id = 143; # 143
select * from inbox_email_batches where inbox_id = 212
and updated_at >= '2026-01-28 00:00:00' order by id desc;
select * from inbox_emails where inbox_id = 212
and batch_id = 95885 order by id desc;
select * from email_messages where origin_user_id = 143;
select * from activities where user_id = 143 and updated_at >= '2026-01-28 00:00:00';
select * from participants where activity_id = 620247;
select * from crm_profiles where user_id = 143;
SELECT * FROM activities WHERE uuid_to_bin('458cf915-b914-4000-b083-5687b32b2956') = uuid; # 356001
select * from transcription where activity_id = 356001; # 6943
select * from ai_prompts where transcription_id = 6943;
SELECT * FROM activity_summary_logs where activity_id = 356001;
SELECT * FROM social_accounts WHERE sociable_id = 143;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('0164a4fb-cb95-454e-9edd-4d804e4999bd') = uuid;
# 422515 softphone tr. 8100
SELECT * FROM activities WHERE uuid_to_bin('7520add8-8d87-41a5-98e5-fc4edf96f21e') = uuid;
# 407509 conference tr. 7670 crmId: 00UD1000002J9aTMAS
select * from ai_prompts where transcription_id IN (8100, 7670);
select * from activity_summary_logs where activity_id = 407509;
select * from sidekick_settings;
select * from default_activity_types;
SELECT * FROM contacts WHERE crm_configuration_id = 39 and email = '[EMAIL]';
SELECT * FROM leads WHERE crm_configuration_id = 39 and email = '[EMAIL]';
SELECT * FROM activity_searches where user_id = 143;
SELECT * FROM groups where team_id = 1;
select * from teams where id = 1;
select * from groups where team_id = 1; # 1150 - 7e75f8025c22
select id, name, group_id, status, deleted_at, email
from users where team_id = 1 order by group_id desc ;
select * from activity_searches where id in (1977, 1978, 1979);
select * from activity_search_filters where activity_search_id IN (1977, 1978, 1979);
select * from activity_search_filters where filter = 'group_id' and value = '443f26b8-8512-437e-a9f9-7e75f8025c22'; # 10268, 10272, 10277
select * from nudges where activity_search_id IN (1977, 1978, 1979); # 877, 878, 879
INSERT INTO `activity_search_filters`
(`activity_search_id`, `filter`, `value`) VALUES
(1977, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22'),
(1978, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22'),
(1979, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22')
;
select * from crm_configurations where id = 39;
select sa.* from users u JOIN social_accounts sa on u.id = sa.sociable_id
where u.team_id = 1;
SELECT * FROM social_accounts WHERE sociable_id = 1635;
SELECT * FROM users WHERE id = 1635;
select * from teams where id = 1;
select * from users where team_id = 1;
select * from team_features where team_id = 1;
select * from features;
SELECT * FROM activity_searches where id = 1982; # 1981
SELECT * FROM activity_search_filters WHERE activity_search_id = 1982;
SELECT * FROM activities WHERE uuid_to_bin('e916569b-086c-4bd1-94d7-5e3802c27ccf') = uuid;
SELECT * FROM groups WHERE id = 1439;
SELECT * FROM users WHERE group_id = 1439;
select * from permissions; # 158
select * from roles;
select * from permission_role;
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 28;
select * from playbooks where team_id = 1;
select * from playbooks where id = 179;
select * from playbook_categories where id = 1391;
select * from users where id = 143;
select * from crm_profiles where user_id = 143;
select * from activities where crm_configuration_id = 39 and type = 'conference'
and crm_provider_id IS NOT NULL ORDER by id desc;
select * from activities where id = 422003; # 00UO400000pB6fpMAC
SELECT ar.id, ar.uuid, ar.media_type, ar.status, a.type
FROM automated_report_results ar
JOIN automated_reports a ON a.id = ar.report_id
WHERE a.type = 'ask_jiminny'
LIMIT 10;
SELECT * FROM automated_reports where id = 71;
SELECT * FROM automated_report_results where report_id = 71;
UPDATE automated_reports set playbook_categories = NULL where id = 68;
SELECT * FROM automated_report_results where id = 275;
SELECT * FROM automated_reports order by id desc;
SELECT * FROM automated_report_results order by id desc;
select * from activity_searches where user_id = 143;
select * from ask_anything_prompts;
SELECT `automated_report_results`.* FROM `automated_report_results`
INNER JOIN `automated_reports`
ON `automated_report_results`.`report_id` = `automated_reports`.`id`
WHERE 1=1
AND `automated_report_results`.`generated_at` IS NOT NULL
# AND `automated_report_results`.`sent_at` IS NOT NULL
AND `automated_reports`.`team_id` = 1
AND JSON_CONTAINS(`automated_reports`.`recipients`, 143, '$."users"')
;
SELECT * FROM automated_reports where id = 67;
SELECT * FROM automated_reports where id = 42;
SELECT * FROM users WHERE id = 143; # group 28
select * from teams where id = 3143;
select * from crm_configurations where id = 500;
select * from users where name = 'Integration Account'; # 1695
SELECT * FROM social_accounts WHERE sociable_id = 1695;
select * from activities where crm_configuration_id = 39
and recording_state = 'recorded' and duration > 60
and status = 'completed' and actual_start_time >= '2025-12-01';
SELECT * FROM activities WHERE uuid_to_bin('458cf915-b914-4000-b083-5687b32b2956') = uuid;
select * from leads;
SELECT * FROM activities WHERE uuid_to_bin('f43cf158-e60d-46e5-92f8-c4e0594a3219') = uuid; # 422003
SELECT * FROM activities WHERE id IN (16,422003);
SELECT * FROM activities where status = 'failed';
SELECT * FROM tracks WHERE activity_id = 422003;
SELECT
a.*
FROM activities a
JOIN users u ON a.user_id = u.id
WHERE
a.status = 'completed'
AND uuid_to_bin('641f1acb-16b8-42d1-8726-df52979dad0e') = u.uuid
AND a.deleted_at IS NULL
AND EXISTS (
SELECT 1 FROM tracks t
WHERE t.activity_id = a.id
AND t.type IN ('audio', 'video')
)
ORDER BY a.actual_start_time DESC
LIMIT 25;
select * from teams where id = 19;
select * from crm_configurations where provider = 'pipedrive';
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 19 and sa.provider = 'pipedrive';
SELECT * FROM social_accounts WHERE id = 1116;
UPDATE social_accounts SET provider_user_token = 'v1u:AQIBAHj-LzTNK2yuuuaLqifzhWb9crUNKTpk4FlQ9rjnXqp_6AEQhDhDQVa1nvWCHEvnpvSEAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMnG8KNcZLIjEnlRPxAgEQgDsGPIcKjsMU7Qel36BtM5FCQa56mYUy24_AAoqd12yjVFkq6egLqS0inp-5G4JE7frJURMV8VTw_fY14g:rYyABXmXsBhEdYU_dfmDH8GF-vzSseJXE5bds_zAyVdAwlTXOPdTl9i4PS4jVofLvpq7IRgvEt2BzGhR6cWiQXHHD0AtayQOkZm262ClFCsMYtKGfep0Jq1n0eiRIVqT9gAY7rWvhpEDF8oAlgnRGmqx-euIkpzE79sPXh4OjNx_yUIaanjyplGpBBJ_NiACd1sMlZmseyUyyU_gldqlCBAuK9hhATc9icgg7zuoc7nKBBrlg49tRtzEagDh6xbFBpzfCp7kE_7n4TLWfWHLPMzu-bktjwA969G9sFRmoH1GjPA0a2odDT4dk1_1ouBrB1NcTT2hQUqH-_RzDW2nWmeoVHA',
provider_refresh_token = '5034113:[TELEGRAM_TOKEN]b2bfc',
expires = 1779091997,
state = 'connected'
WHERE id = 1116;
"provider_user_token": "v1u:AQIBAHj-LzTNK2yuuuaLqifzhWb9crUNKTpk4FlQ9rjnXqp_6AEQhDhDQVa1nvWCHEvnpvSEAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMnG8KNcZLIjEnlRPxAgEQgDsGPIcKjsMU7Qel36BtM5FCQa56mYUy24_AAoqd12yjVFkq6egLqS0inp-5G4JE7frJURMV8VTw_fY14g:rYyABXmXsBhEdYU_dfmDH8GF-vzSseJXE5bds_zAyVdAwlTXOPdTl9i4PS4jVofLvpq7IRgvEt2BzGhR6cWiQXHHD0AtayQOkZm262ClFCsMYtKGfep0Jq1n0eiRIVqT9gAY7rWvhpEDF8oAlgnRGmqx-euIkpzE79sPXh4OjNx_yUIaanjyplGpBBJ_NiACd1sMlZmseyUyyU_gldqlCBAuK9hhATc9icgg7zuoc7nKBBrlg49tRtzEagDh6xbFBpzfCp7kE_7n4TLWfWHLPMzu-bktjwA969G9sFRmoH1GjPA0a2odDT4dk1_1ouBrB1NcTT2hQUqH-_RzDW2nWmeoVHA",
"provider_refresh_token": "5034113:[TELEGRAM_TOKEN]b2bfc",
"expires": 1779091997,
select * from crm_field_values;
select * from crm_fields where type = 'multi-picklist';
SELECT * FROM crm_layouts WHERE uuid_to_bin('7c327871-fc25-4c56-9a0f-44c5a849d65c') = uuid;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 282;
SELECT * FROM crm_fields WHERE id = 3014; # 1885
SELECT * FROM crm_field_values WHERE crm_field_id = 3014;
Project
Project
New File or Directory…
Expand Selected
Collapse All
Options
Hide...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"21","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"18","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"2","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"6","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"SELECT a.id, a.uuid, a.actual_start_time, o.id, o.uuid FROM opportunities o\nJOIN activities a ON o.id = a.opportunity_id\nWHERE a.crm_configuration_id = 39\nAND a.actual_start_time > '2025-10-13'\nAND a.type IN ('conference', 'softphone-inbound', 'softphone-outbound')\n;\n\nSELECT * FROM activities\nWHERE crm_configuration_id = 39 and user_id = 143\nand actual_start_time >= '2025-10-13'\nAND type IN ('conference', 'softphone-inbound', 'softphone-outbound')\n;\n\nSELECT * FROM opportunities WHERE account_id IN (178);\nselect * from activities where id IN (620137, 620187, 620188, 620189, 620230);\n\n# HS\nSELECT * FROM opportunities WHERE id IN (238);\nselect * from activities where id IN (477,2076);\n\nselect * from users;\n\nSELECT COUNT(*) FROM users;\nSELECT COUNT(*) FROM activities;\nSELECT COUNT(*) FROM opportunities;\n\nUPDATE activities\nSET\n actual_start_time = '2025-12-19 09:00:00',\n actual_end_time = '2025-12-19 10:30:00',\n scheduled_start_time = '2025-12-19 09:00:00',\n scheduled_end_time = '2025-12-19 10:30:00'\nWHERE id IN (407509,407375);\n\nselect * from partners;\n\nSELECT id, uuid, type, actual_start_time, user_id, crm_configuration_id\nFROM activities\nWHERE user_id = 143\nAND actual_start_time >= '2025-10-13 00:00:00'\nAND actual_start_time <= '2026-01-13 23:59:59'\nORDER BY actual_start_time DESC;\n\nSELECT * FROM activities WHERE uuid_to_bin('78eda160-3086-435f-88a5-bb0c71b6008d') = uuid;\nSELECT * FROM crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 282;\n# lead_id\n# account_id 177\n# contact_id 3969\n# opportunity_id\n# stage_id 203\n\nSELECT * FROM opportunities WHERE opportunities.crm_configuration_id = id = 282;\n\nSELECT * FROM activities where crm_configuration_id = 39 AND type = 'conference'\nAND user_id = 143 and actual_start_time >= '2025-10-13';\n\nSELECT * FROM activities a\n# JOIN opportunities o ON a.opportunity_id = o.id\nWHERE a.crm_configuration_id = 39 AND a.type = 'conference'\nand status = 'completed' and recording_state = 'recorded'\nand a.actual_start_time >= '2025-10-13'\nAND a.user_id = 143\n;\n\nselect * from leads\nwhere crm_configuration_id = 39; # 112 -> ac. 178, 109 => op. 1707\n\nSELECT * FROM activities WHERE id IN (356013,616188,616202,616310,407509,407375,356001,356008);\nSELECT * FROM activities WHERE id IN (356013,616188,616202,616310);\nSELECT * FROM activities WHERE id IN (407509,407375); # leads: 112, 109 | status - 198\nSELECT * FROM activities WHERE id IN (356001, 356008); # contacts:\n\nSELECT * FROM opportunities WHERE id IN (1707);\nSELECT * FROM stages where id IN (204, 198);\nSELECT * FROM opportunities WHERE account_id IN (178);\nSELECT * FROM opportunities WHERE crm_configuration_id = 39 AND created_at > '2025-01-01';\nSELECT * FROM contacts WHERE account_id IN (178); # 4118 Musaibe, 4448 Ceco Personal\n\nSELECT * FROM activities where crm_configuration_id = 39\nAND opportunity_id IS NULL\nAND is_internal = false\nand status = 'completed' and recording_state = 'recorded'\nAND actual_start_time >= '2025-10-13'\nAND (lead_id IS NOT NULL OR contact_id IS NOT NULL OR account_id IS NOT NULL)\n# AND lead_id IN (112, 109)\n;\n\nSELECT * FROM crm_profiles WHERE user_id = 143;\n\nselect * from inboxes; # 212\nselect * from users where id = 143; # 143\nselect * from inbox_email_batches where inbox_id = 212\nand updated_at >= '2026-01-28 00:00:00' order by id desc;\nselect * from inbox_emails where inbox_id = 212\nand batch_id = 95885 order by id desc;\nselect * from email_messages where origin_user_id = 143;\nselect * from activities where user_id = 143 and updated_at >= '2026-01-28 00:00:00';\nselect * from participants where activity_id = 620247;\n\nselect * from crm_profiles where user_id = 143;\n\nSELECT * FROM activities WHERE uuid_to_bin('458cf915-b914-4000-b083-5687b32b2956') = uuid; # 356001\nselect * from transcription where activity_id = 356001; # 6943\nselect * from ai_prompts where transcription_id = 6943;\nSELECT * FROM activity_summary_logs where activity_id = 356001;\n\nSELECT * FROM social_accounts WHERE sociable_id = 143;\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('0164a4fb-cb95-454e-9edd-4d804e4999bd') = uuid;\n# 422515 softphone tr. 8100\n\nSELECT * FROM activities WHERE uuid_to_bin('7520add8-8d87-41a5-98e5-fc4edf96f21e') = uuid;\n# 407509 conference tr. 7670 crmId: 00UD1000002J9aTMAS\n\nselect * from ai_prompts where transcription_id IN (8100, 7670);\nselect * from activity_summary_logs where activity_id = 407509;\n\nselect * from sidekick_settings;\nselect * from default_activity_types;\n\nSELECT * FROM contacts WHERE crm_configuration_id = 39 and email = 'm.kogoj@gmx.at';\nSELECT * FROM leads WHERE crm_configuration_id = 39 and email = 'm.kogoj@gmx.at';\n\nSELECT * FROM activity_searches where user_id = 143;\nSELECT * FROM groups where team_id = 1;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1; # 1150 - 7e75f8025c22\nselect id, name, group_id, status, deleted_at, email\nfrom users where team_id = 1 order by group_id desc ;\n\nselect * from activity_searches where id in (1977, 1978, 1979);\nselect * from activity_search_filters where activity_search_id IN (1977, 1978, 1979);\nselect * from activity_search_filters where filter = 'group_id' and value = '443f26b8-8512-437e-a9f9-7e75f8025c22'; # 10268, 10272, 10277\nselect * from nudges where activity_search_id IN (1977, 1978, 1979); # 877, 878, 879\n\nINSERT INTO `activity_search_filters`\n(`activity_search_id`, `filter`, `value`) VALUES\n(1977, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22'),\n(1978, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22'),\n(1979, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22')\n;\n\nselect * from crm_configurations where id = 39;\n\n\nselect sa.* from users u JOIN social_accounts sa on u.id = sa.sociable_id\nwhere u.team_id = 1;\nSELECT * FROM social_accounts WHERE sociable_id = 1635;\nSELECT * FROM users WHERE id = 1635;\n\nselect * from teams where id = 1;\nselect * from users where team_id = 1;\nselect * from team_features where team_id = 1;\nselect * from features;\n\nSELECT * FROM activity_searches where id = 1982; # 1981\nSELECT * FROM activity_search_filters WHERE activity_search_id = 1982;\n\nSELECT * FROM activities WHERE uuid_to_bin('e916569b-086c-4bd1-94d7-5e3802c27ccf') = uuid;\nSELECT * FROM groups WHERE id = 1439;\nSELECT * FROM users WHERE group_id = 1439;\n\nselect * from permissions; # 158\nselect * from roles;\nselect * from permission_role;\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 28;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 179;\nselect * from playbook_categories where id = 1391;\nselect * from users where id = 143;\nselect * from crm_profiles where user_id = 143;\nselect * from activities where crm_configuration_id = 39 and type = 'conference'\nand crm_provider_id IS NOT NULL ORDER by id desc;\nselect * from activities where id = 422003; # 00UO400000pB6fpMAC\n\nSELECT ar.id, ar.uuid, ar.media_type, ar.status, a.type\nFROM automated_report_results ar\nJOIN automated_reports a ON a.id = ar.report_id\nWHERE a.type = 'ask_jiminny'\nLIMIT 10;\n\nSELECT * FROM automated_reports where id = 71;\nSELECT * FROM automated_report_results where report_id = 71;\nUPDATE automated_reports set playbook_categories = NULL where id = 68;\nSELECT * FROM automated_report_results where id = 275;\n\nSELECT * FROM automated_reports order by id desc;\nSELECT * FROM automated_report_results order by id desc;\nselect * from activity_searches where user_id = 143;\nselect * from ask_anything_prompts;\n\nSELECT `automated_report_results`.* FROM `automated_report_results`\nINNER JOIN `automated_reports`\n ON `automated_report_results`.`report_id` = `automated_reports`.`id`\nWHERE 1=1\n AND `automated_report_results`.`generated_at` IS NOT NULL\n# AND `automated_report_results`.`sent_at` IS NOT NULL\n AND `automated_reports`.`team_id` = 1\n AND JSON_CONTAINS(`automated_reports`.`recipients`, 143, '$.\"users\"')\n;\n\nSELECT * FROM automated_reports where id = 67;\nSELECT * FROM automated_reports where id = 42;\nSELECT * FROM users WHERE id = 143; # group 28\n\nselect * from teams where id = 3143;\nselect * from crm_configurations where id = 500;\nselect * from users where name = 'Integration Account'; # 1695\nSELECT * FROM social_accounts WHERE sociable_id = 1695;\n\nselect * from activities where crm_configuration_id = 39\nand recording_state = 'recorded' and duration > 60\nand status = 'completed' and actual_start_time >= '2025-12-01';\n\nSELECT * FROM activities WHERE uuid_to_bin('458cf915-b914-4000-b083-5687b32b2956') = uuid;\n\nselect * from leads;\n\nSELECT * FROM activities WHERE uuid_to_bin('f43cf158-e60d-46e5-92f8-c4e0594a3219') = uuid; # 422003\nSELECT * FROM activities WHERE id IN (16,422003);\nSELECT * FROM activities where status = 'failed';\n\nSELECT * FROM tracks WHERE activity_id = 422003;\n\nSELECT\n a.*\nFROM activities a\nJOIN users u ON a.user_id = u.id\nWHERE\n a.status = 'completed'\n AND uuid_to_bin('641f1acb-16b8-42d1-8726-df52979dad0e') = u.uuid\n AND a.deleted_at IS NULL\n AND EXISTS (\n SELECT 1 FROM tracks t\n WHERE t.activity_id = a.id\n AND t.type IN ('audio', 'video')\n )\nORDER BY a.actual_start_time DESC\nLIMIT 25;\n\nselect * from teams where id = 19;\nselect * from crm_configurations where provider = 'pipedrive';\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 19 and sa.provider = 'pipedrive';\n\nSELECT * FROM social_accounts WHERE id = 1116;\n\nUPDATE social_accounts SET provider_user_token = 'v1u:AQIBAHj-LzTNK2yuuuaLqifzhWb9crUNKTpk4FlQ9rjnXqp_6AEQhDhDQVa1nvWCHEvnpvSEAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMnG8KNcZLIjEnlRPxAgEQgDsGPIcKjsMU7Qel36BtM5FCQa56mYUy24_AAoqd12yjVFkq6egLqS0inp-5G4JE7frJURMV8VTw_fY14g:rYyABXmXsBhEdYU_dfmDH8GF-vzSseJXE5bds_zAyVdAwlTXOPdTl9i4PS4jVofLvpq7IRgvEt2BzGhR6cWiQXHHD0AtayQOkZm262ClFCsMYtKGfep0Jq1n0eiRIVqT9gAY7rWvhpEDF8oAlgnRGmqx-euIkpzE79sPXh4OjNx_yUIaanjyplGpBBJ_NiACd1sMlZmseyUyyU_gldqlCBAuK9hhATc9icgg7zuoc7nKBBrlg49tRtzEagDh6xbFBpzfCp7kE_7n4TLWfWHLPMzu-bktjwA969G9sFRmoH1GjPA0a2odDT4dk1_1ouBrB1NcTT2hQUqH-_RzDW2nWmeoVHA',\nprovider_refresh_token = '5034113:19555731:87c14258f0c813d02767ee975f6044d46b6b2bfc',\nexpires = 1779091997,\nstate = 'connected'\nWHERE id = 1116;\n\n \"provider_user_token\": \"v1u:AQIBAHj-LzTNK2yuuuaLqifzhWb9crUNKTpk4FlQ9rjnXqp_6AEQhDhDQVa1nvWCHEvnpvSEAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMnG8KNcZLIjEnlRPxAgEQgDsGPIcKjsMU7Qel36BtM5FCQa56mYUy24_AAoqd12yjVFkq6egLqS0inp-5G4JE7frJURMV8VTw_fY14g:rYyABXmXsBhEdYU_dfmDH8GF-vzSseJXE5bds_zAyVdAwlTXOPdTl9i4PS4jVofLvpq7IRgvEt2BzGhR6cWiQXHHD0AtayQOkZm262ClFCsMYtKGfep0Jq1n0eiRIVqT9gAY7rWvhpEDF8oAlgnRGmqx-euIkpzE79sPXh4OjNx_yUIaanjyplGpBBJ_NiACd1sMlZmseyUyyU_gldqlCBAuK9hhATc9icgg7zuoc7nKBBrlg49tRtzEagDh6xbFBpzfCp7kE_7n4TLWfWHLPMzu-bktjwA969G9sFRmoH1GjPA0a2odDT4dk1_1ouBrB1NcTT2hQUqH-_RzDW2nWmeoVHA\",\n \"provider_refresh_token\": \"5034113:19555731:87c14258f0c813d02767ee975f6044d46b6b2bfc\",\n \"expires\": 1779091997,\n\nselect * from crm_field_values;\n\nselect * from crm_fields where type = 'multi-picklist';\nSELECT * FROM crm_layouts WHERE uuid_to_bin('7c327871-fc25-4c56-9a0f-44c5a849d65c') = uuid;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 282;\nSELECT * FROM crm_fields WHERE id = 3014; # 1885\nSELECT * FROM crm_field_values WHERE crm_field_id = 3014;","depth":4,"on_screen":true,"value":"SELECT a.id, a.uuid, a.actual_start_time, o.id, o.uuid FROM opportunities o\nJOIN activities a ON o.id = a.opportunity_id\nWHERE a.crm_configuration_id = 39\nAND a.actual_start_time > '2025-10-13'\nAND a.type IN ('conference', 'softphone-inbound', 'softphone-outbound')\n;\n\nSELECT * FROM activities\nWHERE crm_configuration_id = 39 and user_id = 143\nand actual_start_time >= '2025-10-13'\nAND type IN ('conference', 'softphone-inbound', 'softphone-outbound')\n;\n\nSELECT * FROM opportunities WHERE account_id IN (178);\nselect * from activities where id IN (620137, 620187, 620188, 620189, 620230);\n\n# HS\nSELECT * FROM opportunities WHERE id IN (238);\nselect * from activities where id IN (477,2076);\n\nselect * from users;\n\nSELECT COUNT(*) FROM users;\nSELECT COUNT(*) FROM activities;\nSELECT COUNT(*) FROM opportunities;\n\nUPDATE activities\nSET\n actual_start_time = '2025-12-19 09:00:00',\n actual_end_time = '2025-12-19 10:30:00',\n scheduled_start_time = '2025-12-19 09:00:00',\n scheduled_end_time = '2025-12-19 10:30:00'\nWHERE id IN (407509,407375);\n\nselect * from partners;\n\nSELECT id, uuid, type, actual_start_time, user_id, crm_configuration_id\nFROM activities\nWHERE user_id = 143\nAND actual_start_time >= '2025-10-13 00:00:00'\nAND actual_start_time <= '2026-01-13 23:59:59'\nORDER BY actual_start_time DESC;\n\nSELECT * FROM activities WHERE uuid_to_bin('78eda160-3086-435f-88a5-bb0c71b6008d') = uuid;\nSELECT * FROM crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 282;\n# lead_id\n# account_id 177\n# contact_id 3969\n# opportunity_id\n# stage_id 203\n\nSELECT * FROM opportunities WHERE opportunities.crm_configuration_id = id = 282;\n\nSELECT * FROM activities where crm_configuration_id = 39 AND type = 'conference'\nAND user_id = 143 and actual_start_time >= '2025-10-13';\n\nSELECT * FROM activities a\n# JOIN opportunities o ON a.opportunity_id = o.id\nWHERE a.crm_configuration_id = 39 AND a.type = 'conference'\nand status = 'completed' and recording_state = 'recorded'\nand a.actual_start_time >= '2025-10-13'\nAND a.user_id = 143\n;\n\nselect * from leads\nwhere crm_configuration_id = 39; # 112 -> ac. 178, 109 => op. 1707\n\nSELECT * FROM activities WHERE id IN (356013,616188,616202,616310,407509,407375,356001,356008);\nSELECT * FROM activities WHERE id IN (356013,616188,616202,616310);\nSELECT * FROM activities WHERE id IN (407509,407375); # leads: 112, 109 | status - 198\nSELECT * FROM activities WHERE id IN (356001, 356008); # contacts:\n\nSELECT * FROM opportunities WHERE id IN (1707);\nSELECT * FROM stages where id IN (204, 198);\nSELECT * FROM opportunities WHERE account_id IN (178);\nSELECT * FROM opportunities WHERE crm_configuration_id = 39 AND created_at > '2025-01-01';\nSELECT * FROM contacts WHERE account_id IN (178); # 4118 Musaibe, 4448 Ceco Personal\n\nSELECT * FROM activities where crm_configuration_id = 39\nAND opportunity_id IS NULL\nAND is_internal = false\nand status = 'completed' and recording_state = 'recorded'\nAND actual_start_time >= '2025-10-13'\nAND (lead_id IS NOT NULL OR contact_id IS NOT NULL OR account_id IS NOT NULL)\n# AND lead_id IN (112, 109)\n;\n\nSELECT * FROM crm_profiles WHERE user_id = 143;\n\nselect * from inboxes; # 212\nselect * from users where id = 143; # 143\nselect * from inbox_email_batches where inbox_id = 212\nand updated_at >= '2026-01-28 00:00:00' order by id desc;\nselect * from inbox_emails where inbox_id = 212\nand batch_id = 95885 order by id desc;\nselect * from email_messages where origin_user_id = 143;\nselect * from activities where user_id = 143 and updated_at >= '2026-01-28 00:00:00';\nselect * from participants where activity_id = 620247;\n\nselect * from crm_profiles where user_id = 143;\n\nSELECT * FROM activities WHERE uuid_to_bin('458cf915-b914-4000-b083-5687b32b2956') = uuid; # 356001\nselect * from transcription where activity_id = 356001; # 6943\nselect * from ai_prompts where transcription_id = 6943;\nSELECT * FROM activity_summary_logs where activity_id = 356001;\n\nSELECT * FROM social_accounts WHERE sociable_id = 143;\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('0164a4fb-cb95-454e-9edd-4d804e4999bd') = uuid;\n# 422515 softphone tr. 8100\n\nSELECT * FROM activities WHERE uuid_to_bin('7520add8-8d87-41a5-98e5-fc4edf96f21e') = uuid;\n# 407509 conference tr. 7670 crmId: 00UD1000002J9aTMAS\n\nselect * from ai_prompts where transcription_id IN (8100, 7670);\nselect * from activity_summary_logs where activity_id = 407509;\n\nselect * from sidekick_settings;\nselect * from default_activity_types;\n\nSELECT * FROM contacts WHERE crm_configuration_id = 39 and email = 'm.kogoj@gmx.at';\nSELECT * FROM leads WHERE crm_configuration_id = 39 and email = 'm.kogoj@gmx.at';\n\nSELECT * FROM activity_searches where user_id = 143;\nSELECT * FROM groups where team_id = 1;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1; # 1150 - 7e75f8025c22\nselect id, name, group_id, status, deleted_at, email\nfrom users where team_id = 1 order by group_id desc ;\n\nselect * from activity_searches where id in (1977, 1978, 1979);\nselect * from activity_search_filters where activity_search_id IN (1977, 1978, 1979);\nselect * from activity_search_filters where filter = 'group_id' and value = '443f26b8-8512-437e-a9f9-7e75f8025c22'; # 10268, 10272, 10277\nselect * from nudges where activity_search_id IN (1977, 1978, 1979); # 877, 878, 879\n\nINSERT INTO `activity_search_filters`\n(`activity_search_id`, `filter`, `value`) VALUES\n(1977, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22'),\n(1978, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22'),\n(1979, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22')\n;\n\nselect * from crm_configurations where id = 39;\n\n\nselect sa.* from users u JOIN social_accounts sa on u.id = sa.sociable_id\nwhere u.team_id = 1;\nSELECT * FROM social_accounts WHERE sociable_id = 1635;\nSELECT * FROM users WHERE id = 1635;\n\nselect * from teams where id = 1;\nselect * from users where team_id = 1;\nselect * from team_features where team_id = 1;\nselect * from features;\n\nSELECT * FROM activity_searches where id = 1982; # 1981\nSELECT * FROM activity_search_filters WHERE activity_search_id = 1982;\n\nSELECT * FROM activities WHERE uuid_to_bin('e916569b-086c-4bd1-94d7-5e3802c27ccf') = uuid;\nSELECT * FROM groups WHERE id = 1439;\nSELECT * FROM users WHERE group_id = 1439;\n\nselect * from permissions; # 158\nselect * from roles;\nselect * from permission_role;\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 28;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 179;\nselect * from playbook_categories where id = 1391;\nselect * from users where id = 143;\nselect * from crm_profiles where user_id = 143;\nselect * from activities where crm_configuration_id = 39 and type = 'conference'\nand crm_provider_id IS NOT NULL ORDER by id desc;\nselect * from activities where id = 422003; # 00UO400000pB6fpMAC\n\nSELECT ar.id, ar.uuid, ar.media_type, ar.status, a.type\nFROM automated_report_results ar\nJOIN automated_reports a ON a.id = ar.report_id\nWHERE a.type = 'ask_jiminny'\nLIMIT 10;\n\nSELECT * FROM automated_reports where id = 71;\nSELECT * FROM automated_report_results where report_id = 71;\nUPDATE automated_reports set playbook_categories = NULL where id = 68;\nSELECT * FROM automated_report_results where id = 275;\n\nSELECT * FROM automated_reports order by id desc;\nSELECT * FROM automated_report_results order by id desc;\nselect * from activity_searches where user_id = 143;\nselect * from ask_anything_prompts;\n\nSELECT `automated_report_results`.* FROM `automated_report_results`\nINNER JOIN `automated_reports`\n ON `automated_report_results`.`report_id` = `automated_reports`.`id`\nWHERE 1=1\n AND `automated_report_results`.`generated_at` IS NOT NULL\n# AND `automated_report_results`.`sent_at` IS NOT NULL\n AND `automated_reports`.`team_id` = 1\n AND JSON_CONTAINS(`automated_reports`.`recipients`, 143, '$.\"users\"')\n;\n\nSELECT * FROM automated_reports where id = 67;\nSELECT * FROM automated_reports where id = 42;\nSELECT * FROM users WHERE id = 143; # group 28\n\nselect * from teams where id = 3143;\nselect * from crm_configurations where id = 500;\nselect * from users where name = 'Integration Account'; # 1695\nSELECT * FROM social_accounts WHERE sociable_id = 1695;\n\nselect * from activities where crm_configuration_id = 39\nand recording_state = 'recorded' and duration > 60\nand status = 'completed' and actual_start_time >= '2025-12-01';\n\nSELECT * FROM activities WHERE uuid_to_bin('458cf915-b914-4000-b083-5687b32b2956') = uuid;\n\nselect * from leads;\n\nSELECT * FROM activities WHERE uuid_to_bin('f43cf158-e60d-46e5-92f8-c4e0594a3219') = uuid; # 422003\nSELECT * FROM activities WHERE id IN (16,422003);\nSELECT * FROM activities where status = 'failed';\n\nSELECT * FROM tracks WHERE activity_id = 422003;\n\nSELECT\n a.*\nFROM activities a\nJOIN users u ON a.user_id = u.id\nWHERE\n a.status = 'completed'\n AND uuid_to_bin('641f1acb-16b8-42d1-8726-df52979dad0e') = u.uuid\n AND a.deleted_at IS NULL\n AND EXISTS (\n SELECT 1 FROM tracks t\n WHERE t.activity_id = a.id\n AND t.type IN ('audio', 'video')\n )\nORDER BY a.actual_start_time DESC\nLIMIT 25;\n\nselect * from teams where id = 19;\nselect * from crm_configurations where provider = 'pipedrive';\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 19 and sa.provider = 'pipedrive';\n\nSELECT * FROM social_accounts WHERE id = 1116;\n\nUPDATE social_accounts SET provider_user_token = 'v1u:AQIBAHj-LzTNK2yuuuaLqifzhWb9crUNKTpk4FlQ9rjnXqp_6AEQhDhDQVa1nvWCHEvnpvSEAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMnG8KNcZLIjEnlRPxAgEQgDsGPIcKjsMU7Qel36BtM5FCQa56mYUy24_AAoqd12yjVFkq6egLqS0inp-5G4JE7frJURMV8VTw_fY14g:rYyABXmXsBhEdYU_dfmDH8GF-vzSseJXE5bds_zAyVdAwlTXOPdTl9i4PS4jVofLvpq7IRgvEt2BzGhR6cWiQXHHD0AtayQOkZm262ClFCsMYtKGfep0Jq1n0eiRIVqT9gAY7rWvhpEDF8oAlgnRGmqx-euIkpzE79sPXh4OjNx_yUIaanjyplGpBBJ_NiACd1sMlZmseyUyyU_gldqlCBAuK9hhATc9icgg7zuoc7nKBBrlg49tRtzEagDh6xbFBpzfCp7kE_7n4TLWfWHLPMzu-bktjwA969G9sFRmoH1GjPA0a2odDT4dk1_1ouBrB1NcTT2hQUqH-_RzDW2nWmeoVHA',\nprovider_refresh_token = '5034113:19555731:87c14258f0c813d02767ee975f6044d46b6b2bfc',\nexpires = 1779091997,\nstate = 'connected'\nWHERE id = 1116;\n\n \"provider_user_token\": \"v1u:AQIBAHj-LzTNK2yuuuaLqifzhWb9crUNKTpk4FlQ9rjnXqp_6AEQhDhDQVa1nvWCHEvnpvSEAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMnG8KNcZLIjEnlRPxAgEQgDsGPIcKjsMU7Qel36BtM5FCQa56mYUy24_AAoqd12yjVFkq6egLqS0inp-5G4JE7frJURMV8VTw_fY14g:rYyABXmXsBhEdYU_dfmDH8GF-vzSseJXE5bds_zAyVdAwlTXOPdTl9i4PS4jVofLvpq7IRgvEt2BzGhR6cWiQXHHD0AtayQOkZm262ClFCsMYtKGfep0Jq1n0eiRIVqT9gAY7rWvhpEDF8oAlgnRGmqx-euIkpzE79sPXh4OjNx_yUIaanjyplGpBBJ_NiACd1sMlZmseyUyyU_gldqlCBAuK9hhATc9icgg7zuoc7nKBBrlg49tRtzEagDh6xbFBpzfCp7kE_7n4TLWfWHLPMzu-bktjwA969G9sFRmoH1GjPA0a2odDT4dk1_1ouBrB1NcTT2hQUqH-_RzDW2nWmeoVHA\",\n \"provider_refresh_token\": \"5034113:19555731:87c14258f0c813d02767ee975f6044d46b6b2bfc\",\n \"expires\": 1779091997,\n\nselect * from crm_field_values;\n\nselect * from crm_fields where type = 'multi-picklist';\nSELECT * FROM crm_layouts WHERE uuid_to_bin('7c327871-fc25-4c56-9a0f-44c5a849d65c') = uuid;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 282;\nSELECT * FROM crm_fields WHERE id = 3014; # 1885\nSELECT * FROM crm_field_values WHERE crm_field_id = 3014;","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"Project","depth":3,"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Project","depth":3,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"New File or Directory…","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Expand Selected","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Collapse All","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Options","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
3168321451580620590
|
6830303734470678093
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
21
1
18
2
6
Previous Highlighted Error
Next Highlighted Error
SELECT a.id, a.uuid, a.actual_start_time, o.id, o.uuid FROM opportunities o
JOIN activities a ON o.id = a.opportunity_id
WHERE a.crm_configuration_id = 39
AND a.actual_start_time > '2025-10-13'
AND a.type IN ('conference', 'softphone-inbound', 'softphone-outbound')
;
SELECT * FROM activities
WHERE crm_configuration_id = 39 and user_id = 143
and actual_start_time >= '2025-10-13'
AND type IN ('conference', 'softphone-inbound', 'softphone-outbound')
;
SELECT * FROM opportunities WHERE account_id IN (178);
select * from activities where id IN (620137, 620187, 620188, 620189, 620230);
# HS
SELECT * FROM opportunities WHERE id IN (238);
select * from activities where id IN (477,2076);
select * from users;
SELECT COUNT(*) FROM users;
SELECT COUNT(*) FROM activities;
SELECT COUNT(*) FROM opportunities;
UPDATE activities
SET
actual_start_time = '2025-12-19 09:00:00',
actual_end_time = '2025-12-19 10:30:00',
scheduled_start_time = '2025-12-19 09:00:00',
scheduled_end_time = '2025-12-19 10:30:00'
WHERE id IN (407509,407375);
select * from partners;
SELECT id, uuid, type, actual_start_time, user_id, crm_configuration_id
FROM activities
WHERE user_id = 143
AND actual_start_time >= '2025-10-13 00:00:00'
AND actual_start_time <= '2026-01-13 23:59:59'
ORDER BY actual_start_time DESC;
SELECT * FROM activities WHERE uuid_to_bin('78eda160-3086-435f-88a5-bb0c71b6008d') = uuid;
SELECT * FROM crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 282;
# lead_id
# account_id 177
# contact_id 3969
# opportunity_id
# stage_id 203
SELECT * FROM opportunities WHERE opportunities.crm_configuration_id = id = 282;
SELECT * FROM activities where crm_configuration_id = 39 AND type = 'conference'
AND user_id = 143 and actual_start_time >= '2025-10-13';
SELECT * FROM activities a
# JOIN opportunities o ON a.opportunity_id = o.id
WHERE a.crm_configuration_id = 39 AND a.type = 'conference'
and status = 'completed' and recording_state = 'recorded'
and a.actual_start_time >= '2025-10-13'
AND a.user_id = 143
;
select * from leads
where crm_configuration_id = 39; # 112 -> ac. 178, 109 => op. 1707
SELECT * FROM activities WHERE id IN (356013,616188,616202,616310,407509,407375,356001,356008);
SELECT * FROM activities WHERE id IN (356013,616188,616202,616310);
SELECT * FROM activities WHERE id IN (407509,407375); # leads: 112, 109 | status - 198
SELECT * FROM activities WHERE id IN (356001, 356008); # contacts:
SELECT * FROM opportunities WHERE id IN (1707);
SELECT * FROM stages where id IN (204, 198);
SELECT * FROM opportunities WHERE account_id IN (178);
SELECT * FROM opportunities WHERE crm_configuration_id = 39 AND created_at > '2025-01-01';
SELECT * FROM contacts WHERE account_id IN (178); # 4118 Musaibe, 4448 Ceco Personal
SELECT * FROM activities where crm_configuration_id = 39
AND opportunity_id IS NULL
AND is_internal = false
and status = 'completed' and recording_state = 'recorded'
AND actual_start_time >= '2025-10-13'
AND (lead_id IS NOT NULL OR contact_id IS NOT NULL OR account_id IS NOT NULL)
# AND lead_id IN (112, 109)
;
SELECT * FROM crm_profiles WHERE user_id = 143;
select * from inboxes; # 212
select * from users where id = 143; # 143
select * from inbox_email_batches where inbox_id = 212
and updated_at >= '2026-01-28 00:00:00' order by id desc;
select * from inbox_emails where inbox_id = 212
and batch_id = 95885 order by id desc;
select * from email_messages where origin_user_id = 143;
select * from activities where user_id = 143 and updated_at >= '2026-01-28 00:00:00';
select * from participants where activity_id = 620247;
select * from crm_profiles where user_id = 143;
SELECT * FROM activities WHERE uuid_to_bin('458cf915-b914-4000-b083-5687b32b2956') = uuid; # 356001
select * from transcription where activity_id = 356001; # 6943
select * from ai_prompts where transcription_id = 6943;
SELECT * FROM activity_summary_logs where activity_id = 356001;
SELECT * FROM social_accounts WHERE sociable_id = 143;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('0164a4fb-cb95-454e-9edd-4d804e4999bd') = uuid;
# 422515 softphone tr. 8100
SELECT * FROM activities WHERE uuid_to_bin('7520add8-8d87-41a5-98e5-fc4edf96f21e') = uuid;
# 407509 conference tr. 7670 crmId: 00UD1000002J9aTMAS
select * from ai_prompts where transcription_id IN (8100, 7670);
select * from activity_summary_logs where activity_id = 407509;
select * from sidekick_settings;
select * from default_activity_types;
SELECT * FROM contacts WHERE crm_configuration_id = 39 and email = '[EMAIL]';
SELECT * FROM leads WHERE crm_configuration_id = 39 and email = '[EMAIL]';
SELECT * FROM activity_searches where user_id = 143;
SELECT * FROM groups where team_id = 1;
select * from teams where id = 1;
select * from groups where team_id = 1; # 1150 - 7e75f8025c22
select id, name, group_id, status, deleted_at, email
from users where team_id = 1 order by group_id desc ;
select * from activity_searches where id in (1977, 1978, 1979);
select * from activity_search_filters where activity_search_id IN (1977, 1978, 1979);
select * from activity_search_filters where filter = 'group_id' and value = '443f26b8-8512-437e-a9f9-7e75f8025c22'; # 10268, 10272, 10277
select * from nudges where activity_search_id IN (1977, 1978, 1979); # 877, 878, 879
INSERT INTO `activity_search_filters`
(`activity_search_id`, `filter`, `value`) VALUES
(1977, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22'),
(1978, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22'),
(1979, 'group_id', '443f26b8-8512-437e-a9f9-7e75f8025c22')
;
select * from crm_configurations where id = 39;
select sa.* from users u JOIN social_accounts sa on u.id = sa.sociable_id
where u.team_id = 1;
SELECT * FROM social_accounts WHERE sociable_id = 1635;
SELECT * FROM users WHERE id = 1635;
select * from teams where id = 1;
select * from users where team_id = 1;
select * from team_features where team_id = 1;
select * from features;
SELECT * FROM activity_searches where id = 1982; # 1981
SELECT * FROM activity_search_filters WHERE activity_search_id = 1982;
SELECT * FROM activities WHERE uuid_to_bin('e916569b-086c-4bd1-94d7-5e3802c27ccf') = uuid;
SELECT * FROM groups WHERE id = 1439;
SELECT * FROM users WHERE group_id = 1439;
select * from permissions; # 158
select * from roles;
select * from permission_role;
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 28;
select * from playbooks where team_id = 1;
select * from playbooks where id = 179;
select * from playbook_categories where id = 1391;
select * from users where id = 143;
select * from crm_profiles where user_id = 143;
select * from activities where crm_configuration_id = 39 and type = 'conference'
and crm_provider_id IS NOT NULL ORDER by id desc;
select * from activities where id = 422003; # 00UO400000pB6fpMAC
SELECT ar.id, ar.uuid, ar.media_type, ar.status, a.type
FROM automated_report_results ar
JOIN automated_reports a ON a.id = ar.report_id
WHERE a.type = 'ask_jiminny'
LIMIT 10;
SELECT * FROM automated_reports where id = 71;
SELECT * FROM automated_report_results where report_id = 71;
UPDATE automated_reports set playbook_categories = NULL where id = 68;
SELECT * FROM automated_report_results where id = 275;
SELECT * FROM automated_reports order by id desc;
SELECT * FROM automated_report_results order by id desc;
select * from activity_searches where user_id = 143;
select * from ask_anything_prompts;
SELECT `automated_report_results`.* FROM `automated_report_results`
INNER JOIN `automated_reports`
ON `automated_report_results`.`report_id` = `automated_reports`.`id`
WHERE 1=1
AND `automated_report_results`.`generated_at` IS NOT NULL
# AND `automated_report_results`.`sent_at` IS NOT NULL
AND `automated_reports`.`team_id` = 1
AND JSON_CONTAINS(`automated_reports`.`recipients`, 143, '$."users"')
;
SELECT * FROM automated_reports where id = 67;
SELECT * FROM automated_reports where id = 42;
SELECT * FROM users WHERE id = 143; # group 28
select * from teams where id = 3143;
select * from crm_configurations where id = 500;
select * from users where name = 'Integration Account'; # 1695
SELECT * FROM social_accounts WHERE sociable_id = 1695;
select * from activities where crm_configuration_id = 39
and recording_state = 'recorded' and duration > 60
and status = 'completed' and actual_start_time >= '2025-12-01';
SELECT * FROM activities WHERE uuid_to_bin('458cf915-b914-4000-b083-5687b32b2956') = uuid;
select * from leads;
SELECT * FROM activities WHERE uuid_to_bin('f43cf158-e60d-46e5-92f8-c4e0594a3219') = uuid; # 422003
SELECT * FROM activities WHERE id IN (16,422003);
SELECT * FROM activities where status = 'failed';
SELECT * FROM tracks WHERE activity_id = 422003;
SELECT
a.*
FROM activities a
JOIN users u ON a.user_id = u.id
WHERE
a.status = 'completed'
AND uuid_to_bin('641f1acb-16b8-42d1-8726-df52979dad0e') = u.uuid
AND a.deleted_at IS NULL
AND EXISTS (
SELECT 1 FROM tracks t
WHERE t.activity_id = a.id
AND t.type IN ('audio', 'video')
)
ORDER BY a.actual_start_time DESC
LIMIT 25;
select * from teams where id = 19;
select * from crm_configurations where provider = 'pipedrive';
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 19 and sa.provider = 'pipedrive';
SELECT * FROM social_accounts WHERE id = 1116;
UPDATE social_accounts SET provider_user_token = 'v1u:AQIBAHj-LzTNK2yuuuaLqifzhWb9crUNKTpk4FlQ9rjnXqp_6AEQhDhDQVa1nvWCHEvnpvSEAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMnG8KNcZLIjEnlRPxAgEQgDsGPIcKjsMU7Qel36BtM5FCQa56mYUy24_AAoqd12yjVFkq6egLqS0inp-5G4JE7frJURMV8VTw_fY14g:rYyABXmXsBhEdYU_dfmDH8GF-vzSseJXE5bds_zAyVdAwlTXOPdTl9i4PS4jVofLvpq7IRgvEt2BzGhR6cWiQXHHD0AtayQOkZm262ClFCsMYtKGfep0Jq1n0eiRIVqT9gAY7rWvhpEDF8oAlgnRGmqx-euIkpzE79sPXh4OjNx_yUIaanjyplGpBBJ_NiACd1sMlZmseyUyyU_gldqlCBAuK9hhATc9icgg7zuoc7nKBBrlg49tRtzEagDh6xbFBpzfCp7kE_7n4TLWfWHLPMzu-bktjwA969G9sFRmoH1GjPA0a2odDT4dk1_1ouBrB1NcTT2hQUqH-_RzDW2nWmeoVHA',
provider_refresh_token = '5034113:[TELEGRAM_TOKEN]b2bfc',
expires = 1779091997,
state = 'connected'
WHERE id = 1116;
"provider_user_token": "v1u:AQIBAHj-LzTNK2yuuuaLqifzhWb9crUNKTpk4FlQ9rjnXqp_6AEQhDhDQVa1nvWCHEvnpvSEAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMnG8KNcZLIjEnlRPxAgEQgDsGPIcKjsMU7Qel36BtM5FCQa56mYUy24_AAoqd12yjVFkq6egLqS0inp-5G4JE7frJURMV8VTw_fY14g:rYyABXmXsBhEdYU_dfmDH8GF-vzSseJXE5bds_zAyVdAwlTXOPdTl9i4PS4jVofLvpq7IRgvEt2BzGhR6cWiQXHHD0AtayQOkZm262ClFCsMYtKGfep0Jq1n0eiRIVqT9gAY7rWvhpEDF8oAlgnRGmqx-euIkpzE79sPXh4OjNx_yUIaanjyplGpBBJ_NiACd1sMlZmseyUyyU_gldqlCBAuK9hhATc9icgg7zuoc7nKBBrlg49tRtzEagDh6xbFBpzfCp7kE_7n4TLWfWHLPMzu-bktjwA969G9sFRmoH1GjPA0a2odDT4dk1_1ouBrB1NcTT2hQUqH-_RzDW2nWmeoVHA",
"provider_refresh_token": "5034113:[TELEGRAM_TOKEN]b2bfc",
"expires": 1779091997,
select * from crm_field_values;
select * from crm_fields where type = 'multi-picklist';
SELECT * FROM crm_layouts WHERE uuid_to_bin('7c327871-fc25-4c56-9a0f-44c5a849d65c') = uuid;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 282;
SELECT * FROM crm_fields WHERE id = 3014; # 1885
SELECT * FROM crm_field_values WHERE crm_field_id = 3014;
Project
Project
New File or Directory…
Expand Selected
Collapse All
Options
Hide...
|
80523
|
NULL
|
NULL
|
NULL
|
|
79999
|
2795
|
9
|
2026-05-28T06:51:20.261057+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779951080261_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"}]...
|
6886210913443799555
|
-7625175301263117901
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79917
|
2793
|
30
|
2026-05-28T06:47:53.676747+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950873676_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-6759074700917923411
|
-7195371876637394509
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}...
|
79915
|
NULL
|
NULL
|
NULL
|
|
79902
|
2792
|
33
|
2026-05-28T06:47:23.283067+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950843283_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
8056782752922170526
|
-7913405746134306381
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79901
|
2793
|
25
|
2026-05-28T06:47:20.977474+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950840977_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"}]...
|
-1485668980241007621
|
-7589146504243105357
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79900
|
2792
|
32
|
2026-05-28T06:47:18.146971+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950838146_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
359997250132989537
|
1595909751477451123
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c...
|
79898
|
NULL
|
NULL
|
NULL
|
|
79899
|
2793
|
24
|
2026-05-28T06:47:13.000520+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950833000_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
7923424182753190895
|
-8780372176425246254
|
visual_change
|
hybrid
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
rnpstomFV faVsco.|s ~$2 JY-20915-fix-missiProinet v© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohocpoo elansotneoneC LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho(CMessagetiranstormer.ohoCMomentitranstormer.onoCNotetiranstormer.onoCNotirestontirans ormer.onocenoorur eommsodtodecennodur ithaeomat ocoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.php© ProspectsTransformer.phooQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olc sactrans ormec.ond) TeamDomainTransformec.ohd8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre llleor tane nmot nane Wolcodcroeehlind Mmornhrc Korol ahrCooccomposer.ison• Dockerfilecustom.iosravelloSF (iminny@localhost)un crm fields jiminnytalocalhost) x# HS Jocal jiminny@tocalhost# consolel poonA console (EU]A console [STAGING)Ty:AlrowDLQwEOgMCSVYLL+OeANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v* Bcrn_provider_id UJ8 labelM1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS39 ReninderDateTimeReminder Date/Tine3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnult30publac tuncizon serwouerau loool Snouetaul...oublac tuncizon transtor Field Smeld: arrawSdetau vailme atel de%deraut wallue?tune asedosvne:ess nooikdeau rVate)DSdefau Vailme KhooiaSdetau thailue:neturn"id' => $field->id_string.'objectType' => $field->object_type'label' => $field->label"fieldName' => $field->crn_provider_id"type' => $type'enabled' => Sfield->is selectable"Length' => Sfield->length"defaultValue' => SdefaultValuelpublic function includeOptions(Field Sfield): PCollectionif (Sfield->isPicklisto d& Svalues = Sfield->values) "if (Sfield»›tyoe == Field::TYPE PTCKLIST 55 Svalues = Sfield-›values) {// This gets a little complex. We need to check if this field has any record type constraintsSthis->orofile&s (SrecordTyoe = Sthis-›orofile->/SSield-sobiecttype . 'RecordTvoe'})&s SrecordTvoe->SieldValues(-yahere("con Sieldid' Ssield->id)-sexists()/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues)->ahere(crn_field_1d, Sfield->id)->getO:1f (Sthis->noDefault) {Fonssch vaimae se walla?dsualmnesse datant= tcaxreturn Sthis->collection(Svalues, new FieldValueTransfornerO)=heMactarcauTextRelayServiceTestler henwserwiCtCNUL-PICKIALEVOITOO%L7Thu 28 May 9:47:12+0.The backend API is now correctiy returning the mutti-picklist field with cations. The issue is in the frontend vue-co)ponents pockoco elrosnienere oocomimity woecon cornoernorskeverence Pattern trom DealInsignts/DealView DetaisView DetansView.vue)Delwwascripswitch (tfeldTvoe)torrclolwoe curtencycace "Anta".formFieldType = "date"breokformFieldtype = "select",ondeldivoeseuleseleceor aporcopfre suldosalevehrankformFieldtype = "number",orcanFiles to Uodate in vue-comoonente packaae.Tihe seiwwesummar comwooeot thet raodarsteddAny field type mapping logic that converts CRM field types to form field type:Next Steos1.Uodate the vue-cosponents package to handie au tcoick tisr tyoe2. Bump the version in the package3. Uodate the dependency in /front-end//oackage, fson to the new version4. Run yarn install to get the updated packagThe backend fix is complete and working correctly. The field is being returned with options, but the frontendcomoonent donsn't know how to render eniticotcklet telde vetAsk anything Xol@ Code swioThNwodtur Tatme"ktitres*4 space...
|
79897
|
NULL
|
NULL
|
NULL
|
|
79882
|
2793
|
19
|
2026-05-28T06:46:36.942629+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950796942_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
rnpstomViewFV faVsco.|s ~$2 JY-20915-fix-missiproi rnpstomViewFV faVsco.|s ~$2 JY-20915-fix-missiproidet© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohocpoo elansotneoneC) LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho© MessageTransformer oho)CMomentitranstormer.onoCNotetiranstormer.onoCNotrestontttans ormer.onocenoorur eommsodtodecennodur ithaeomat ocoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.php© ProspectsTransformer.phooQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olc sactrans ormec.ond) TeamDomainTransformec.ohd8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre llleor tane nmot nane Wolcodcroeehlind Mmornhrc Korol ahrCooccomposer.ison• Dockerfilecustom.iosravelloSF fiminny@localhost)un crm fields (jiminnytalocalhost) x# HS Jocal jiminny@tocalhostconsole (PROD)A console (EU]A console [STAGING)Ty:AlrowDLQwEOgMCSVYLL+OeANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v* Bcrn_provider_id U#8 label M1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS39 ReninderDateTimeReminder Date/Tine3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnult30publac tuncizon serwouerau loool Snouetaul...oublac tuncizon transtor Field Smeld: arrawSdetau vailme atel de derault wailue?tune asedosvne:essnooilsneau vailue)DSdefau Vailme KhooiaSdetau thailue:neturn"id' => $field->id_string.'objectType' => $field->object_type'label' => $field->label"fieldName' => $field->crn_provider_id"type' => $type'enabled' => Sfield->is selectable"Length' => Sfield->length"defaultValue' => SdefaultValuelpublic function includeOptions(Field Sfield): PCollectionif (Sfield->isPicklisto d& Svalues = Sfield->values) "if (Sfield»›tyoe == Field::TYPE PTCKLIST 55 Svalues = Sfield-›values) {// This gets a little complex. We need to check if this field has any record type constraintsSthis->orofile&s (SrecordTyoe = Sthis-›orofile->/SSield-sobiecttype . 'RecordTvoe'})&s SrecordTvoe->SieldValues(-yahere("con Sieldid' Ssield->id)-sexists()/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues)->ahere(crn_field_1d, Sfield->id)->getO:1f (Sthis->noDefault) {Fonssch vaimae se walla?dsualmnesse datant= tcaxreturn Sthis->collection(Svalues, new FieldValueTransfornerO)=ecor othar aonuaoaeMactardau.00%LXThu 28 May 9:46:36TextRelayServiceTestler henwserwiCtCNUL-PICKIALEVOIororened ecumily sommesy mmoneene owostouahtorsscarcinco vue-componchts and ochofmco toiner cuchyThought for 1sAccess to tue act ivity-sumary, vue is prohibited ou ,e acore, You can enable access to a tianore tiles by ena.oouoherorsThought for 1sThought for 1sThe backend API is now correctly returning the multi-picklist field with options. The issue is in the frontendmndarino. Tha net fuftucdtenary comoonant comae from tha salt-cosooshott oacknod (oodh madulae) whichHowever, 1 can see from the Dealinsights components that the frontend has logic to handle field types but onhchocke for oicktst, not enl teofckttetSearched switch,*type in front-end/sroThe backend is now correctly returning the multi-picilist field with options. The issue is in the frontend renderingooke tthe trontend necds to handie the euitcotcklltst. tyoc, but currently only chocke tor ofckiltatPasd malans learAsk anything Xol* eodeswiaTtM Wodtur Teams 20:80 UTE-A2 4 spac...
|
NULL
|
-8095164540799755462
|
NULL
|
visual_change
|
ocr
|
NULL
|
rnpstomViewFV faVsco.|s ~$2 JY-20915-fix-missiproi rnpstomViewFV faVsco.|s ~$2 JY-20915-fix-missiproidet© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohocpoo elansotneoneC) LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho© MessageTransformer oho)CMomentitranstormer.onoCNotetiranstormer.onoCNotrestontttans ormer.onocenoorur eommsodtodecennodur ithaeomat ocoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.php© ProspectsTransformer.phooQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olc sactrans ormec.ond) TeamDomainTransformec.ohd8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre llleor tane nmot nane Wolcodcroeehlind Mmornhrc Korol ahrCooccomposer.ison• Dockerfilecustom.iosravelloSF fiminny@localhost)un crm fields (jiminnytalocalhost) x# HS Jocal jiminny@tocalhostconsole (PROD)A console (EU]A console [STAGING)Ty:AlrowDLQwEOgMCSVYLL+OeANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v* Bcrn_provider_id U#8 label M1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS39 ReninderDateTimeReminder Date/Tine3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnult30publac tuncizon serwouerau loool Snouetaul...oublac tuncizon transtor Field Smeld: arrawSdetau vailme atel de derault wailue?tune asedosvne:essnooilsneau vailue)DSdefau Vailme KhooiaSdetau thailue:neturn"id' => $field->id_string.'objectType' => $field->object_type'label' => $field->label"fieldName' => $field->crn_provider_id"type' => $type'enabled' => Sfield->is selectable"Length' => Sfield->length"defaultValue' => SdefaultValuelpublic function includeOptions(Field Sfield): PCollectionif (Sfield->isPicklisto d& Svalues = Sfield->values) "if (Sfield»›tyoe == Field::TYPE PTCKLIST 55 Svalues = Sfield-›values) {// This gets a little complex. We need to check if this field has any record type constraintsSthis->orofile&s (SrecordTyoe = Sthis-›orofile->/SSield-sobiecttype . 'RecordTvoe'})&s SrecordTvoe->SieldValues(-yahere("con Sieldid' Ssield->id)-sexists()/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues)->ahere(crn_field_1d, Sfield->id)->getO:1f (Sthis->noDefault) {Fonssch vaimae se walla?dsualmnesse datant= tcaxreturn Sthis->collection(Svalues, new FieldValueTransfornerO)=ecor othar aonuaoaeMactardau.00%LXThu 28 May 9:46:36TextRelayServiceTestler henwserwiCtCNUL-PICKIALEVOIororened ecumily sommesy mmoneene owostouahtorsscarcinco vue-componchts and ochofmco toiner cuchyThought for 1sAccess to tue act ivity-sumary, vue is prohibited ou ,e acore, You can enable access to a tianore tiles by ena.oouoherorsThought for 1sThought for 1sThe backend API is now correctly returning the multi-picklist field with options. The issue is in the frontendmndarino. Tha net fuftucdtenary comoonant comae from tha salt-cosooshott oacknod (oodh madulae) whichHowever, 1 can see from the Dealinsights components that the frontend has logic to handle field types but onhchocke for oicktst, not enl teofckttetSearched switch,*type in front-end/sroThe backend is now correctly returning the multi-picilist field with options. The issue is in the frontend renderingooke tthe trontend necds to handie the euitcotcklltst. tyoc, but currently only chocke tor ofckiltatPasd malans learAsk anything Xol* eodeswiaTtM Wodtur Teams 20:80 UTE-A2 4 spac...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79850
|
2792
|
2
|
2026-05-28T06:45:03.164362+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950703164_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp•DOCKER₴81DEV (docker)-zshH3configcachecompiledeventsroutesviewsjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedjiminny-worker-processing-2:jiminny-worker-processing-2_00:stoppedjiminny-worker-processing-3:jiminny-worker-processing-3_00: stoppedjiminny-worker-processing-4:jiminny-worker-processing-4_00: stoppedjiminny-worker-processing-5:jiminny-worker-processing-5_00:stoppedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: stoppedworker-analytics:worker-analytics_00: stoppedworker-crm-update:worker-crm-update_00: stoppedworker-download:worker-download_00: stoppedworker-nudges:worker-nudges_00: stoppedworker:worker_00: stoppedworker-audio:worker-audio_00: stoppedworker-calendar:worker-calendar_00:stoppedworker-conferences:worker-conferences_00: stoppedworker-crm-sync:worker-crm-sync_00: stoppedworker-emails:worker-emails_00: stoppedworker-es-update:worker-es-update_00: stoppedartisan-schedule:artisan-schedule_00: stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed:jiminny-worker-processing-delayed_00:startedworker:worker_00: startedworker-analytics:worker-analytics_00: startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00: startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00:startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00:startedroot@docker_lamp_1:/home/jiminny# l100% C47 8• Thu 28 May 9:45:02DEV (docker)screenpipe™0 84-zshDaily - Platformin 1m - 9:45-10:05 AM66.75ms DONE3.76ms DONE3.74ms DONE2.01ms DONE26.78ms DONECi Join Google MeetDEV...
|
NULL
|
-5392230084433354633
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp•DOCKER₴81DEV (docker)-zshH3configcachecompiledeventsroutesviewsjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedjiminny-worker-processing-2:jiminny-worker-processing-2_00:stoppedjiminny-worker-processing-3:jiminny-worker-processing-3_00: stoppedjiminny-worker-processing-4:jiminny-worker-processing-4_00: stoppedjiminny-worker-processing-5:jiminny-worker-processing-5_00:stoppedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: stoppedworker-analytics:worker-analytics_00: stoppedworker-crm-update:worker-crm-update_00: stoppedworker-download:worker-download_00: stoppedworker-nudges:worker-nudges_00: stoppedworker:worker_00: stoppedworker-audio:worker-audio_00: stoppedworker-calendar:worker-calendar_00:stoppedworker-conferences:worker-conferences_00: stoppedworker-crm-sync:worker-crm-sync_00: stoppedworker-emails:worker-emails_00: stoppedworker-es-update:worker-es-update_00: stoppedartisan-schedule:artisan-schedule_00: stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed:jiminny-worker-processing-delayed_00:startedworker:worker_00: startedworker-analytics:worker-analytics_00: startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00: startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00:startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00:startedroot@docker_lamp_1:/home/jiminny# l100% C47 8• Thu 28 May 9:45:02DEV (docker)screenpipe™0 84-zshDaily - Platformin 1m - 9:45-10:05 AM66.75ms DONE3.76ms DONE3.74ms DONE2.01ms DONE26.78ms DONECi Join Google MeetDEV...
|
79846
|
NULL
|
NULL
|
NULL
|
|
79849
|
2793
|
4
|
2026-05-28T06:45:03.060724+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950703060_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
rnpstomCoocFV faVsco.|s ~$ JY-20915-fix-missproide rnpstomCoocFV faVsco.|s ~$ JY-20915-fix-missproidet© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohocpoo elansotneoneC LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho© MessageTransformer oho)CMomentitranstormer.onoCNotetiranstormer.onoCNotrestontttans ormer.onocenoorur eommsodtodecenoodur wihnddmatoodcoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.php© ProspectsTransformer.phooQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olc Sacetirans omer.onoc sactrans ormec.ond) TeamDomainTransformec.ohd8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre Wolcodcroeehlind Mmornhrc Korol ahrTextRelayServiceTestecrmcontrober.orcomposer.json• Dockerfile00%LXIno Lo woy 3i4o.0+0.custom.losravelloSF (iminny@localhost)un crm fields (jiminnytalocalhost) x# HS Jocal jiminny@tocalhost# console lPeonA console (EU]A console (STAGING)Ty:AlrowDLRbEogMCSVvgu+ANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS* Bcrn_provider_id U39 ReminderDateTime#8 label MKebander vaterlae3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnultler henwserwiCtCNUL-PICKIALEVOIThiSa5 (7C3227871-4C25-4c56-9a0f-44c5a849d65c*Jucs .*id": *0591cbe4-244а-4911-9883-256b53697006вбон Хенику Sулітауy:publac tuncizon serwolerau loool Snobetaul...oublac tuncizon transtor Field Smeld: arrawSdetau vailme atel de%deraut wallue?tune asedosvne:essnooilsneau vailue)DSdefau Valme MnooidSdetau twallme?neturn"id' => $field->id_string.'objectType' => $field->object_type'label' => $field->label"fieldName' => $field->crn_provider_id"type' => $type'enabled' => Sfield->is selectable"Length' => Sfield->length"defaultValue' => SdefaultValuelThinkingthe ueer has made the change to sic ctrans omer pho to ues irhitr srloineohd of checkno tor TYPEPXiIST directly. The JSON response shows that the multi-pickdist field "picktestmulti" is now correctly returning withHowever, the user says they still can't see it in the Ul. This means the backend is now working correctly (the fiekaand options are boina returned), but thore's likelya trontend ikaue orcuentind the multi eoicidlist ticid tfrom boindpublic function includeOptions(Field Sfield): PCollectionif (Sfield->isPicklisto d& Svalues = Sfield->values) 4if (Sfield»›tyoe == Field::TYPE PTCKLIST 55 Svalues = Sfield-›values) {// This gets a little complex. We need to check if this field has any record type constraintsSthis-›orofile8s (SrecordTvoe = Sthis-sorofile->/Sfield-›obiect type , 'RecordTvoe'})&s SrecordTvoe->SieldValues@-yahere('con Sieldid' Ssield->id)-sexists()/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues)->ahere(crn_field_1d, Sfield->id)->getO:1f (Sthis->noDefault) {Fonssch vallae se Swaime?asuamnese darant= teaxreturn Sthis->collection(Svalues, new FieldValueTransfornerO)>as for othar lanausons. lvesterdav 15:44Ask anything (XoL)* eodeswiaTtW Wodtur Teams SP-R4 UTE-яt4 spad...
|
NULL
|
4870944879151292523
|
NULL
|
click
|
ocr
|
NULL
|
rnpstomCoocFV faVsco.|s ~$ JY-20915-fix-missproide rnpstomCoocFV faVsco.|s ~$ JY-20915-fix-missproidet© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohocpoo elansotneoneC LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho© MessageTransformer oho)CMomentitranstormer.onoCNotetiranstormer.onoCNotrestontttans ormer.onocenoorur eommsodtodecenoodur wihnddmatoodcoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.php© ProspectsTransformer.phooQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olc Sacetirans omer.onoc sactrans ormec.ond) TeamDomainTransformec.ohd8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre Wolcodcroeehlind Mmornhrc Korol ahrTextRelayServiceTestecrmcontrober.orcomposer.json• Dockerfile00%LXIno Lo woy 3i4o.0+0.custom.losravelloSF (iminny@localhost)un crm fields (jiminnytalocalhost) x# HS Jocal jiminny@tocalhost# console lPeonA console (EU]A console (STAGING)Ty:AlrowDLRbEogMCSVvgu+ANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS* Bcrn_provider_id U39 ReminderDateTime#8 label MKebander vaterlae3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnultler henwserwiCtCNUL-PICKIALEVOIThiSa5 (7C3227871-4C25-4c56-9a0f-44c5a849d65c*Jucs .*id": *0591cbe4-244а-4911-9883-256b53697006вбон Хенику Sулітауy:publac tuncizon serwolerau loool Snobetaul...oublac tuncizon transtor Field Smeld: arrawSdetau vailme atel de%deraut wallue?tune asedosvne:essnooilsneau vailue)DSdefau Valme MnooidSdetau twallme?neturn"id' => $field->id_string.'objectType' => $field->object_type'label' => $field->label"fieldName' => $field->crn_provider_id"type' => $type'enabled' => Sfield->is selectable"Length' => Sfield->length"defaultValue' => SdefaultValuelThinkingthe ueer has made the change to sic ctrans omer pho to ues irhitr srloineohd of checkno tor TYPEPXiIST directly. The JSON response shows that the multi-pickdist field "picktestmulti" is now correctly returning withHowever, the user says they still can't see it in the Ul. This means the backend is now working correctly (the fiekaand options are boina returned), but thore's likelya trontend ikaue orcuentind the multi eoicidlist ticid tfrom boindpublic function includeOptions(Field Sfield): PCollectionif (Sfield->isPicklisto d& Svalues = Sfield->values) 4if (Sfield»›tyoe == Field::TYPE PTCKLIST 55 Svalues = Sfield-›values) {// This gets a little complex. We need to check if this field has any record type constraintsSthis-›orofile8s (SrecordTvoe = Sthis-sorofile->/Sfield-›obiect type , 'RecordTvoe'})&s SrecordTvoe->SieldValues@-yahere('con Sieldid' Ssield->id)-sexists()/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues)->ahere(crn_field_1d, Sfield->id)->getO:1f (Sthis->noDefault) {Fonssch vallae se Swaime?asuamnese darant= teaxreturn Sthis->collection(Svalues, new FieldValueTransfornerO)>as for othar lanausons. lvesterdav 15:44Ask anything (XoL)* eodeswiaTtW Wodtur Teams SP-R4 UTE-яt4 spad...
|
79848
|
NULL
|
NULL
|
NULL
|
|
79848
|
2793
|
3
|
2026-05-28T06:44:56.570021+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950696570_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"}]...
|
7935373448790391699
|
1595909751477451123
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79847
|
2793
|
2
|
2026-05-28T06:44:53.609619+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950693609_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"}]...
|
-1401201372213671302
|
-6470455373517880894
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
rnpstomFV faVsco.|s ~$ JY-20915-fix-missProinet v© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohooneoaononoieroncJoo eanouneonC LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho© MessageTransformer oho)CMomentitranstormer.onoCNotetiranstormer.onoCNotrestontttans ormer.onocenoorur eommsodtodecennodur ithaeomat ocoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.phprrospectsfanstoner.oneoQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olCoocecrmcontrober.orcomposer.json• DockerfileTO0%L7Thu 28 May 9:44:53TextRelayServiceTest+0.custom.losravelloSF (iminny@localhost)un crm fields (jiminnytalocalhost) x# HS Jocal jiminny@tocalhost# consolel poonA console (EU]A console [STAGING)Ty:AlrowDLRbEogMCSVYLL+OeANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v* Bcrn_provider_id U#8 label M1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS39 ReninderDateTimeReminder Date/Tine3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnultrner hensewietwtlerekevouteScarched dinss Crmcontrolien in siminnuinodRead CrmController.php and 2 other filesscorenco lire woctlin hminhyop5&9public function setNolefault(bool SnobefauLe)l...public function transform(Field Sfield): arraySdefaultValue = Sfield->derault_value:Stype = Sfield->type:it (is_bool(SdefaultValue)) 4Cootantvallua = Thoah Coatan tuaima:return"id' => Sfield->id string.'objectType' => Sfield->obiect type.Label u> StreldesladelTrelonane s> Streldescrn provzderzo"cype suyoe'enabled' => Sfield-sis selectablelenounsseles enoun"defaultValue' => SdefaultValue.wstoon.myna.wsis.multt-oickistielosarecurtentynoror.cumocn000inavoulsooc@use.nene1oransformer:: includeOpt ions () method only handies TYPE PICKLIST and excludes TYPE MULTIPICKLISTin /app/Http/Transformers/FieldTransformer.php line 52aphe1f (Sfield→>type =a= Field::TYPE PICKLIST 66 Svalues = Sfield-»values) 4this con.tion.onwinciloesob.ionstocreoul.roickenelos.ino.tmut-otcklisehhC Sess ontirans ormer.onoc Sacetirans omer.onoc sactrans ormec.ondf TeamDomainTransformec.ohe8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre Wolcodcroeehlind Mmornhrc Korol ahrpublze tuncczon anctudeupcions(hrela stieto): pcolteccionif (Sfield->isPicklist() && Svalues = $field->values) ‹StSfteldos voe sas Sieldiatpe prkasiss Syalues = Steld->values)// This gets a little complex. We need to check if this field has any record type constraintaSthis-sorofileScecondivne & SthiisoorotRoystieldrsobsiecttyne"RecordType')se ScecordTvne-sSieldValuesOeshere("eon Siold sd" Ssieldesid)-sexicte/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues-›where("crn field id', Sfield->id)-›geto:if (Sthis->noDefault) €foreach (Svalues as Svalue)Svalue->is default = false:346-1552-4661-8689-9200115660369return Sthis->collection(Svalues, new FieldValueTransfornerO)lanausoas lvesterdav 15:44Msolauryatue: null*id*: *54415f81-9f04-435d-9b6a-2fa0e178ce61*v-up, stne tchildren".tdnatontent" PodeStan maotd SiodlgW Wodtur Teams SP-R4 UTE-*4 space...
|
79845
|
NULL
|
NULL
|
NULL
|
|
79846
|
2792
|
1
|
2026-05-28T06:44:53.710457+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950693710_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-6759074700917923411
|
-7195371876637394509
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79845
|
2793
|
1
|
2026-05-28T06:44:50.733796+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950690733_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-6107491181398235475
|
-8780371094093495853
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
rnpstomFV faVsco.|s ~$ JY-20915-fix-missProinet v© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohooneoaononoieroncJoo eanouneonC LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho© MessageTransformer oho)CMomentitranstormer.onoCNotetiranstormer.onoCNotrestontttans ormer.onocenoorur eommsodtodecennodur ithaeomat ocoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.phprrospectsfanstoner.oneoQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olCoocecrmcontrober.orcomposer.json• DockerfileTO0%L7Thu 28 May 9:44:50TextRelayServiceTest+0.custom.losravelloSF (iminny@localhost)un crm fields (jiminnytalocalhost) x# HS Jocal jiminny@tocalhost# consolel poonA console (EU]A console [STAGING)Ty:AlrowDLQwEOgMCSrLL+OeANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v* Bcrn_provider_id U#8 label M1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS39 ReninderDateTimeReminder Date/Tine3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnultrner hensewietwtlerekevouteScarched dinss Crmcontrolien in siminnuinodRead CrmController.php and 2 other files5&9public function setNolefault(bool SnobefauLe)l...public function transform(Field Sfield): arraySdefaultValue = Sfield->derault_value:Stype = Sfield->type:it (is_bool(SdefaultValue)) 4Cootantvallua = Thoah Coatan tuaima:return"id' => Sfield->id string.'objectType' => Sfield->obiect type.Label u> Streldesladel"fieldName' a> Sfield->crn provider id"cype suyoe'enabled' => Sfield-sis selectablelenounsseles enoun"defaultValue' => SdefaultValue.PasdSiwldnho. aocllltwouttanetormar.obdwstoon.myna.wsis.multt-oickistielosarecurtentynoror.cumocn000inavoulsooc@use.nene1oransformer:: includeOpt ions () method only handies TYPE PICKLIST and excludes TYPE MULTIPICKLISTin /app/Http/Transformers/FieldTransformer.php line 52aphe1f (Sfield→>type =a= Field::TYPE PICKLIST 66 Svalues = Sfield-»values) 4Tiniscon.tion.onwinciloesob.ionstocreou.rpicketelosino.mutt-otcklisehCAlTtAn.oahte the cond ton to ind ude woth dickk wong"defauit" false346-05-4001-3684-470015040C Sess ontirans ormer.onoc Sacetirans omer.onoc sactrans ormec.ondf TeamDomainTransformec.ohe8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre Wolcodcroeehlind Mmornhrc Korol ahrpublze tuncczon anctudeupcions(hrela stieto): pcolteccionif (Sfield->isPicklist() && Svalues = $field->values) ‹StSfteldos voe sas Sieldiatpe prkasiss Syalues = Steld->values)// This gets a little complex. We need to check if this field has any record type constraintaSthis-sorofileScecondivne & SthiisoorotRoystieldrsobsiecttyne"RecordType')se ScecordTvne-sSieldValuesOeshere("eon Siold sd" Ssieldesid)-sexicte/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues-›where("crn field id', Sfield->id)-›geto:if (Sthis->noDefault) €foreach (Svalues as Svalue)Svalue->is default = false:return Sthis->collection(Svalues, new FieldValueTransfornerO)adoroher hoousoasMastardau..wMsolauryatue: null*id*: *54415f81-9f04-435d-9b6a-2fa0e178ce61*v-up: Stne -children".tdnatontent" PodeNtwadtur TatmeyoRahiest4 space...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79844
|
2792
|
0
|
2026-05-28T06:44:50.632537+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950690632_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-7334512262672537281
|
-8780802033898552894
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
iTerm2ShellEditViewSessionScriptsProfilesWindowHelp•DOCKER₴81DEV (docker)-zsh*3configcachecompiledeventsroutesviewsjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedjiminny-worker-processing-2:jiminny-worker-processing-2_00:stoppedjiminny-worker-processing-3:jiminny-worker-processing-3_00: stoppedjiminny-worker-processing-4:jiminny-worker-processing-4_00: stoppedjiminny-worker-processing-5:jiminny-worker-processing-5_00:stoppedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: stoppedworker-analytics:worker-analytics_00: stoppedworker-crm-update:worker-crm-update_00: stoppedworker-download:worker-download_00: stoppedworker-nudges:worker-nudges_00: stoppedworker:worker_00: stoppedworker-audio:worker-audio_00: stoppedworker-calendar:worker-calendar_00:stoppedworker-conferences:worker-conferences_00: stoppedworker-crm-sync:worker-crm-sync_00: stoppedworker-emails:worker-emails_00: stoppedworker-es-update:worker-es-update_00: stoppedartisan-schedule:artisan-schedule_00: stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed:jiminny-worker-processing-delayed_00:startedworker:worker_00: startedworker-analytics:worker-analytics_00: startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00: startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00:startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00:startedroot@docker_lamp_1:/home/jiminny# l100% C47 8• Thu 28 May 9:44:50DEV (docker)ffmpeg- 84-zshDaily - Platformin 1m - 9:45-10:05 AM66.75ms DONE3.76ms DONE3.74ms DONE2.01ms DONE26.78ms DONECi Join Google MeetDEV...
|
79841
|
NULL
|
NULL
|
NULL
|
|
79838
|
2791
|
80
|
2026-05-28T06:44:39.761554+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950679761_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"}]...
|
-8122398310849236392
|
-8057802409186872909
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K...
|
79836
|
NULL
|
NULL
|
NULL
|
|
79837
|
2790
|
53
|
2026-05-28T06:44:39.577656+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950679577_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"multi-picklist","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"multi-picklist","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"4099","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"4099","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"}]...
|
-4209027929803511578
|
447491777778497651
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0...
|
79835
|
NULL
|
NULL
|
NULL
|
|
79836
|
2791
|
79
|
2026-05-28T06:44:38.651323+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950678651_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"bounds":{"left":0.45445478,"top":0.1867518,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"bounds":{"left":0.45445478,"top":0.1867518,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.1867518,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.1867518,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"bounds":{"left":0.63663566,"top":0.1867518,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"bounds":{"left":0.63663566,"top":0.1867518,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"bounds":{"left":0.70478725,"top":0.1867518,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"bounds":{"left":0.70478725,"top":0.1867518,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.1867518,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.1867518,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"multi-picklist","depth":6,"bounds":{"left":0.81515956,"top":0.1867518,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"multi-picklist","depth":7,"bounds":{"left":0.81515956,"top":0.1867518,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"}]...
|
1462949895739260656
|
442988178151127411
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79835
|
2790
|
52
|
2026-05-28T06:44:38.550107+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950678550_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"multi-picklist","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"multi-picklist","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"4099","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"4099","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"}]...
|
3980101320715252308
|
442988178151127411
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79834
|
2791
|
78
|
2026-05-28T06:44:35.106074+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950675106_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
8056782752922170526
|
-7913405746134306381
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39...
|
79832
|
NULL
|
NULL
|
NULL
|
|
79833
|
2790
|
51
|
2026-05-28T06:44:34.294959+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950674294_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2023-07-25 01:00:23
2023-07-25 01:00:23
picktestmulti__c
2026-02-10 11:01:10
2026-02-10 11:01:10
picktestmulti__c
0
0
39
id IN (1885, 3014)
Editor
2 rows
Reload Page
Table Result Auto Refresh
Cancel Running Statements
Add Row
Delete Row
Revert Selected
Preview Pending Changes
Submit...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"multi-picklist","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"multi-picklist","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"4099","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"4099","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2023-07-25 01:00:23","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2023-07-25 01:00:23","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2026-02-10 11:01:10","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2026-02-10 11:01:10","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"id IN (1885, 3014)","depth":4,"on_screen":true,"value":"id IN (1885, 3014)","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"Editor","depth":4,"on_screen":true,"role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"2 rows","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Reload Page","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Table Result Auto Refresh","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Add Row","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Delete Row","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Revert Selected","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Preview Pending Changes","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Submit","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-1513418032147481386
|
447368636905371763
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2023-07-25 01:00:23
2023-07-25 01:00:23
picktestmulti__c
2026-02-10 11:01:10
2026-02-10 11:01:10
picktestmulti__c
0
0
39
id IN (1885, 3014)
Editor
2 rows
Reload Page
Table Result Auto Refresh
Cancel Running Statements
Add Row
Delete Row
Revert Selected
Preview Pending Changes
Submit...
|
79831
|
NULL
|
NULL
|
NULL
|
|
79832
|
2791
|
77
|
2026-05-28T06:44:33.206766+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950673206_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"}]...
|
2249414736037618283
|
-7769009083081739853
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79831
|
2790
|
50
|
2026-05-28T06:44:32.562361+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950672562_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"}]...
|
-7631727060809594619
|
1453791207727641011
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79830
|
2791
|
76
|
2026-05-28T06:44:32.131486+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950672131_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"}]...
|
1085778024381197211
|
1598161551224025395
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0...
|
79828
|
NULL
|
NULL
|
NULL
|
|
79829
|
2790
|
49
|
2026-05-28T06:44:32.027137+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950672027_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"}]...
|
8304871512096304984
|
1595909751477451123
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05...
|
79827
|
NULL
|
NULL
|
NULL
|
|
79828
|
2791
|
75
|
2026-05-28T06:44:31.078841+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950671078_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-2928994116121448033
|
-7625210485634944717
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79827
|
2790
|
48
|
2026-05-28T06:44:30.973773+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950670973_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"on_screen":true,"role_description":"text"}]...
|
-2100066260855180182
|
1595909682757974387
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79826
|
2790
|
47
|
2026-05-28T06:44:28.544399+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950668544_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-4885177809184544944
|
1598161551224025395
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39...
|
79824
|
NULL
|
NULL
|
NULL
|
|
79825
|
2791
|
74
|
2026-05-28T06:44:25.722984+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950665722_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
rnpstomFV faVsco.|s ~$ JY-20915-fix-missProinet v© rnpstomFV faVsco.|s ~$ JY-20915-fix-missProinet v© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohooneoaononoieroncJoo eanouneonC LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho© MessageTransformer oho)CMomentitranstormer.onoCNotetiranstormer.onoCNotrestontttans ormer.onocenoorur eommsodtodecennodur ithaeomat ocoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.phprrospectsfanstoner.oneoQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olCoocecrmcontrober.orcomposer.ison• Dockerfilecustom.iosravelloSF (iminny@localhost)un crm fields jiminnytalocalhost) x# HS Jocal jiminny@tocalhost# consolel poonA console (EU]A console [STAGING)Ty:AlrowDLQwEOgMCSrLL+OeANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v* Bcrn_provider_id UJ8 labelM1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS39 ReninderDateTimeReminder Date/Tine3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnult5&9public function setNolefault(bool SnobefauLe)l...public function transform(Field Sfield): arraySdefaultValue = Sfield->derault_value:Stype = Sfield->type:it (is_bool(SdefaultValue)) 4Cootantvallua = Thoah Coatan tuaima:return"id' => Sfield->id string.'objectType' => Sfield->obiect type.Label u> StreldesladelTrelonane s> Streldescrn provzderzo"cype suyoe'enabled' => Sfield-sis selectablelenounsseles enoun"defaultValue' => SdefaultValue.C Sess ontirans ormer.onoc Sacetirans omer.onoc sactrans ormec.ondf TeamDomainTransformec.ohe8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre Wolcodcroeehlind Mmornhrc Korol ahrpublze tuncczon anctudeupcions(hrela stieto): pcolleccionif (Sfield->isPicklist() && Svalues = $field->values) 4StSfteldos voe sas Sieldiatpe prkasiss Syalues = Steld->values)// This gets a little complex. We need to check if this field has any record type constraintaSthis-sorofileScecondivne & Sthiisosorothoystieldrobsiecttyoe"Recordi voc".)se ScecordTvne-sSieldValuesOeshere("eon Siold sd" Ssieldesid)-sexicte/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues-›where("crn field id', Sfield->id)-›geto:if (Sthis->noDefault) €foreach (Svalues as Svalue)Svalue->is default = false:return Sthis->collection(Svalues, new FieldValueTransfornerO)lanausoas lvesterdav 15:4400%LX• Thu 28 May 9:44:25TextRelayServiceTest+0.rner hensewietwtlerekevouteSearched class CrmController in -/jiminny/apgRead CrmController.php and 2 other filesSearched TYPE MULTI in -fiminny/appPasdSiwldnho. aocllltwouttanetormar.obdwstoon.myna.wsis.multt-oickistielosarecurtentynoror.cumocn000inavoulsooc@use.nene1oransformer:: includeOpt ions () method only handies TYPE PICKLIST and excludes TYPE MULTIPICKLISTw/spp/http/ranstomers/Btclotiranstomer.oho.fos 57aphe1f (Sfield→>type =a= Field::TYPE PICKLIST 66 Svalues = Sfield-»values) 4Tinis con.tion.onwinciloesob.ionstocteouaroick.selorino.mu.t-otckinhCAlTtAn.oahte the cond tion to ind ude woth dckik wongpheteldescpickTstd cs svalues Steld-walues)The Field::isPicklist() method (line 357-360 in Field.php) already checks for both types:boh.return in_array(sthis=>getType(), [self::TYPE_ PICKLIST, self::TYPE_MULTIPICKLIST] ):Additional Context• The Fiield model detines TYPt MuLTiP ouiSt= "etcoickttr" out marksas "Not ver supported" (uine87-88• The lavouts endpoint at /ao Vem/ Iavouts uses avout Transtorser → avoutEnt tytranstomer → Blelo.rnctornar chal.the transtormer.inc toos. enttet.chdren.tchoottontline5570lermeootrollernhoWould you like me to implement this fix to enable multi-picklist field options in layouts?Ask anything Xol@ Code swioThyRhwiiros*4 space...
|
NULL
|
9188451052079098117
|
NULL
|
click
|
ocr
|
NULL
|
rnpstomFV faVsco.|s ~$ JY-20915-fix-missProinet v© rnpstomFV faVsco.|s ~$ JY-20915-fix-missProinet v© DealStageTransformer.phpresture ronstonmer.onoridld tonstotmer.ondorielovalelon omeone© GroupTransformer.ohooneoaononoieroncJoo eanouneonC LanquageDialect TransformeCLavout Enttviranstormer choC Lavout Transformer.ohoC) Lesdtranstormer.oho© MessageTransformer oho)CMomentitranstormer.onoCNotetiranstormer.onoCNotrestontttans ormer.onocenoorur eommsodtodecennodur ithaeomat ocoarcinsottihne omatooc Paroheiane tmanooipem isronlttnohmorot(© PlaybackPageTransformer.p(© PlaybookTransformer.pho© PlaybookTreeTransformer.phPlaylistActivityTransformer.plPlaylistSharesTransformer.phPlaylistTransformer.phprrospectsfanstoner.oneoQueston lfanstommer.ohoc Kolellansouneen© ScorecardRuleTiransformer.olCoocecrmcontrober.orcomposer.ison• Dockerfilecustom.iosravelloSF (iminny@localhost)un crm fields jiminnytalocalhost) x# HS Jocal jiminny@tocalhost# consolel poonA console (EU]A console [STAGING)Ty:AlrowDLQwEOgMCSrLL+OeANYAV7- WHERE id IN (1885, 3014)=•OROER 81 wuid (UULD with tine-low a-:ae con_configuration_id v* Bcrn_provider_id UJ8 labelM1885 S8a51d4d-8ca7-49f0-9b2c-e16027877ccS39 ReninderDateTimeReminder Date/Tine3814 a3d3dfSa-eaa1-43d0-b95e-1ff4bec8c42839 picktestmulti cpicktestnult5&9public function setNolefault(bool SnobefauLe)l...public function transform(Field Sfield): arraySdefaultValue = Sfield->derault_value:Stype = Sfield->type:it (is_bool(SdefaultValue)) 4Cootantvallua = Thoah Coatan tuaima:return"id' => Sfield->id string.'objectType' => Sfield->obiect type.Label u> StreldesladelTrelonane s> Streldescrn provzderzo"cype suyoe'enabled' => Sfield-sis selectablelenounsseles enoun"defaultValue' => SdefaultValue.C Sess ontirans ormer.onoc Sacetirans omer.onoc sactrans ormec.ondf TeamDomainTransformec.ohe8) Teamintcaration Transformer8) Team Transtormec ohoc) Themetirand ormes.choc)Tooic transtormer onoc)Tooic troced trane ormer.oheerealrne nrmor nhre Wolcodcroeehlind Mmornhrc Korol ahrpublze tuncczon anctudeupcions(hrela stieto): pcolleccionif (Sfield->isPicklist() && Svalues = $field->values) 4StSfteldos voe sas Sieldiatpe prkasiss Syalues = Steld->values)// This gets a little complex. We need to check if this field has any record type constraintaSthis-sorofileScecondivne & Sthiisosorothoystieldrobsiecttyoe"Recordi voc".)se ScecordTvne-sSieldValuesOeshere("eon Siold sd" Ssieldesid)-sexicte/ Fetch the values specific for this record type.Svalues = Srecordtype->fieldValues-›where("crn field id', Sfield->id)-›geto:if (Sthis->noDefault) €foreach (Svalues as Svalue)Svalue->is default = false:return Sthis->collection(Svalues, new FieldValueTransfornerO)lanausoas lvesterdav 15:4400%LX• Thu 28 May 9:44:25TextRelayServiceTest+0.rner hensewietwtlerekevouteSearched class CrmController in -/jiminny/apgRead CrmController.php and 2 other filesSearched TYPE MULTI in -fiminny/appPasdSiwldnho. aocllltwouttanetormar.obdwstoon.myna.wsis.multt-oickistielosarecurtentynoror.cumocn000inavoulsooc@use.nene1oransformer:: includeOpt ions () method only handies TYPE PICKLIST and excludes TYPE MULTIPICKLISTw/spp/http/ranstomers/Btclotiranstomer.oho.fos 57aphe1f (Sfield→>type =a= Field::TYPE PICKLIST 66 Svalues = Sfield-»values) 4Tinis con.tion.onwinciloesob.ionstocteouaroick.selorino.mu.t-otckinhCAlTtAn.oahte the cond tion to ind ude woth dckik wongpheteldescpickTstd cs svalues Steld-walues)The Field::isPicklist() method (line 357-360 in Field.php) already checks for both types:boh.return in_array(sthis=>getType(), [self::TYPE_ PICKLIST, self::TYPE_MULTIPICKLIST] ):Additional Context• The Fiield model detines TYPt MuLTiP ouiSt= "etcoickttr" out marksas "Not ver supported" (uine87-88• The lavouts endpoint at /ao Vem/ Iavouts uses avout Transtorser → avoutEnt tytranstomer → Blelo.rnctornar chal.the transtormer.inc toos. enttet.chdren.tchoottontline5570lermeootrollernhoWould you like me to implement this fix to enable multi-picklist field options in layouts?Ask anything Xol@ Code swioThyRhwiiros*4 space...
|
79822
|
NULL
|
NULL
|
NULL
|
|
79824
|
2790
|
46
|
2026-05-28T06:44:25.804019+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950665804_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp•DOCKER₴81DEV (docker)-zsh*3configcachecompiledeventsroutesviewsjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedjiminny-worker-processing-2:jiminny-worker-processing-2_00:stoppedjiminny-worker-processing-3:jiminny-worker-processing-3_00: stoppedjiminny-worker-processing-4:jiminny-worker-processing-4_00: stoppedjiminny-worker-processing-5:jiminny-worker-processing-5_00:stoppedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: stoppedworker-analytics:worker-analytics_00: stoppedworker-crm-update:worker-crm-update_00: stoppedworker-download:worker-download_00: stoppedworker-nudges:worker-nudges_00: stoppedworker:worker_00: stoppedworker-audio:worker-audio_00: stoppedworker-calendar:worker-calendar_00:stoppedworker-conferences:worker-conferences_00: stoppedworker-crm-sync:worker-crm-sync_00: stoppedworker-emails:worker-emails_00: stoppedworker-es-update:worker-es-update_00: stoppedartisan-schedule:artisan-schedule_00: stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed:jiminny-worker-processing-delayed_00:startedworker:worker_00: startedworker-analytics:worker-analytics_00: startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00: startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00:startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00:startedroot@docker_lamp_1:/home/jiminny# l100% C47 8• Thu 28 May 9:44:25DEV (docker)ffmpeg84-zshDaily - Platformin 1m - 9:45-10:05 AM66.75ms DONE3.76ms DONE3.74ms DONE2.01ms DONE26.78ms DONECi Join Google MeetDEV...
|
NULL
|
921858029753463400
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp•DOCKER₴81DEV (docker)-zsh*3configcachecompiledeventsroutesviewsjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedjiminny-worker-processing-2:jiminny-worker-processing-2_00:stoppedjiminny-worker-processing-3:jiminny-worker-processing-3_00: stoppedjiminny-worker-processing-4:jiminny-worker-processing-4_00: stoppedjiminny-worker-processing-5:jiminny-worker-processing-5_00:stoppedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: stoppedworker-analytics:worker-analytics_00: stoppedworker-crm-update:worker-crm-update_00: stoppedworker-download:worker-download_00: stoppedworker-nudges:worker-nudges_00: stoppedworker:worker_00: stoppedworker-audio:worker-audio_00: stoppedworker-calendar:worker-calendar_00:stoppedworker-conferences:worker-conferences_00: stoppedworker-crm-sync:worker-crm-sync_00: stoppedworker-emails:worker-emails_00: stoppedworker-es-update:worker-es-update_00: stoppedartisan-schedule:artisan-schedule_00: stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed:jiminny-worker-processing-delayed_00:startedworker:worker_00: startedworker-analytics:worker-analytics_00: startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00: startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00:startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00:startedroot@docker_lamp_1:/home/jiminny# l100% C47 8• Thu 28 May 9:44:25DEV (docker)ffmpeg84-zshDaily - Platformin 1m - 9:45-10:05 AM66.75ms DONE3.76ms DONE3.74ms DONE2.01ms DONE26.78ms DONECi Join Google MeetDEV...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79798
|
2790
|
33
|
2026-05-28T06:43:40.881846+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950620881_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2023-07-25 01:00:23
2023-07-25 01:00:23
picktestmulti__c
2026-02-10 11:01:10
2026-02-10 11:01:10
picktestmulti__c
0
0
39
id IN (1885, 3014)
Editor
2 rows
Reload Page
Table Result Auto Refresh
Cancel Running Statements
Add Row
Delete Row
Revert Selected
Preview Pending Changes
Submit
Tx: Auto
DDL
Find on Current Page
Table Result Local Filter
Record View
Table Coloring Options
Show Geo Viewer
Show Chart
CSV
Export Data…
Copy to Database…
Compare Data
View as
Show Options Menu
Project
Project
New File or Directory…...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"multi-picklist","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"multi-picklist","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"4099","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"4099","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2023-07-25 01:00:23","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2023-07-25 01:00:23","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2026-02-10 11:01:10","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2026-02-10 11:01:10","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"id IN (1885, 3014)","depth":4,"on_screen":true,"value":"id IN (1885, 3014)","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"Editor","depth":4,"on_screen":true,"role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"2 rows","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Reload Page","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Table Result Auto Refresh","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Add Row","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Delete Row","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Revert Selected","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Preview Pending Changes","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Submit","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"DDL","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Find on Current Page","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Table Result Local Filter","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Record View","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Table Coloring Options","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Show Geo Viewer","depth":4,"on_screen":true,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Show Chart","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"CSV","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Export Data…","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Copy to Database…","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Compare Data","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View as","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Show Options Menu","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"Project","depth":3,"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Project","depth":3,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"New File or Directory…","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
1813676571019893544
|
447210307230971987
|
idle
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2023-07-25 01:00:23
2023-07-25 01:00:23
picktestmulti__c
2026-02-10 11:01:10
2026-02-10 11:01:10
picktestmulti__c
0
0
39
id IN (1885, 3014)
Editor
2 rows
Reload Page
Table Result Auto Refresh
Cancel Running Statements
Add Row
Delete Row
Revert Selected
Preview Pending Changes
Submit
Tx: Auto
DDL
Find on Current Page
Table Result Local Filter
Record View
Table Coloring Options
Show Geo Viewer
Show Chart
CSV
Export Data…
Copy to Database…
Compare Data
View as
Show Options Menu
Project
Project
New File or Directory…...
|
79795
|
NULL
|
NULL
|
NULL
|
|
79797
|
2791
|
60
|
2026-05-28T06:43:17.299619+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950597299_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"bounds":{"left":0.37699467,"top":0.12529927,"width":0.008976064,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"}]...
|
-8122398310849236392
|
-8057802409186872909
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K...
|
79796
|
NULL
|
NULL
|
NULL
|
|
79756
|
2790
|
19
|
2026-05-28T06:41:44.388401+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950504388_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"11","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->isPicklist() && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"on_screen":true,"role_description":"cell"}]...
|
-691517112347820057
|
442988178151125363
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
11
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->isPicklist() && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c...
|
79754
|
NULL
|
NULL
|
NULL
|
|
79753
|
2791
|
31
|
2026-05-28T06:41:20.791377+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950480791_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false}]...
|
-2227023714408738033
|
-7051283076841655887
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79752
|
2791
|
30
|
2026-05-28T06:41:19.697359+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950479697_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
crm_provider_id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"}]...
|
-5766770888979018778
|
-7769607217406201421
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
crm_provider_id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id...
|
79750
|
NULL
|
NULL
|
NULL
|
|
79751
|
2790
|
17
|
2026-05-28T06:41:19.595628+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950479595_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"}]...
|
-4399590067387133593
|
-7769607217406201421
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id...
|
79749
|
NULL
|
NULL
|
NULL
|
|
79750
|
2791
|
29
|
2026-05-28T06:41:18.450213+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950478450_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"}]...
|
-3730784919049630103
|
-7589463232312430157
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79749
|
2790
|
16
|
2026-05-28T06:41:18.346473+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950478346_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-6596862621812442368
|
1595927343663496051
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79748
|
2791
|
28
|
2026-05-28T06:41:15.634796+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950475634_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"bounds":{"left":0.45445478,"top":0.1867518,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"bounds":{"left":0.45445478,"top":0.1867518,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.1867518,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.1867518,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"bounds":{"left":0.63663566,"top":0.1867518,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"bounds":{"left":0.63663566,"top":0.1867518,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"bounds":{"left":0.70478725,"top":0.1867518,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"bounds":{"left":0.70478725,"top":0.1867518,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.1867518,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.1867518,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"multi-picklist","depth":6,"bounds":{"left":0.81515956,"top":0.1867518,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"multi-picklist","depth":7,"bounds":{"left":0.81515956,"top":0.1867518,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"4099","depth":6,"bounds":{"left":0.85704786,"top":0.1867518,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"4099","depth":7,"bounds":{"left":0.85704786,"top":0.1867518,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.1867518,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.1867518,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.1867518,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.1867518,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.1867518,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.1867518,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.1867518,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.1867518,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-1397666312501127624
|
447227894987831411
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39...
|
79747
|
NULL
|
NULL
|
NULL
|
|
79747
|
2791
|
27
|
2026-05-28T06:41:14.614146+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950474614_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"bounds":{"left":0.45445478,"top":0.1867518,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"bounds":{"left":0.45445478,"top":0.1867518,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.1867518,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.1867518,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"bounds":{"left":0.63663566,"top":0.1867518,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"bounds":{"left":0.63663566,"top":0.1867518,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"bounds":{"left":0.70478725,"top":0.1867518,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"bounds":{"left":0.70478725,"top":0.1867518,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.1867518,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.1867518,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"multi-picklist","depth":6,"bounds":{"left":0.81515956,"top":0.1867518,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"multi-picklist","depth":7,"bounds":{"left":0.81515956,"top":0.1867518,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"4099","depth":6,"bounds":{"left":0.85704786,"top":0.1867518,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"4099","depth":7,"bounds":{"left":0.85704786,"top":0.1867518,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"}]...
|
-4349616124047829135
|
1600131807408633875
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c
multi-picklist
multi-picklist
picktestmulti__c
4099
4099...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79746
|
2790
|
15
|
2026-05-28T06:41:14.512264+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950474512_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
7661539808800910102
|
-7589463232312430157
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti
picktestmulti__c
<null>
<null>
picktestmulti__c...
|
79744
|
NULL
|
NULL
|
NULL
|
|
79745
|
2791
|
26
|
2026-05-28T06:41:12.769339+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950472769_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
4328832786398104511
|
1595927274944018803
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39...
|
79743
|
NULL
|
NULL
|
NULL
|
|
79744
|
2790
|
14
|
2026-05-28T06:41:12.664362+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950472664_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti__c","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti__c","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"picktestmulti","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"picktestmulti","depth":7,"on_screen":true,"role_description":"text"}]...
|
3718456907158796174
|
447210302801785139
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
picktestmulti__c
39
39
39
picktestmulti__c
picktestmulti__c
picktestmulti__c
picktestmulti
picktestmulti...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79743
|
2791
|
25
|
2026-05-28T06:41:06.422625+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950466422_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-8589449075626620745
|
1595927274944018803
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39...
|
NULL
|
NULL
|
NULL
|
NULL
|
|
79742
|
2790
|
13
|
2026-05-28T06:41:06.317311+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950466317_m1.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.0,"top":0.0,"width":0.04375,"height":0.03},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.10486111,"height":0.024444444},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.0,"top":0.0,"width":0.16458334,"height":0.024444444},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"}]...
|
-2254716300091668085
|
1595927343659299187
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05...
|
79740
|
NULL
|
NULL
|
NULL
|
|
79741
|
2791
|
24
|
2026-05-28T06:41:05.747661+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950465747_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.9019282,"top":0.16520351,"width":0.0625,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"event","depth":6,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"event","depth":7,"bounds":{"left":0.96476066,"top":0.16520351,"width":0.03523934,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"1","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.022606373,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"bounds":{"left":1.0,"top":0.16520351,"width":-0.08543885,"height":0.0207502},"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2022-12-15 14:53:05","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2022-12-15 14:53:05","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"2025-09-29 11:00:32","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"2025-09-29 11:00:32","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"0","depth":6,"on_screen":false,"role_description":"cell"},{"role":"AXStaticText","text":"0","depth":7,"on_screen":false,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"3014","depth":6,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"3014","depth":7,"bounds":{"left":0.41988033,"top":0.1867518,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":6,"bounds":{"left":0.45445478,"top":0.1867518,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428","depth":7,"bounds":{"left":0.45445478,"top":0.1867518,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"}]...
|
-1657036801824665598
|
1600413282385342835
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>
39
<null>
<null>
picktestmulti__c
event
event
picktestmulti__c
1
1
39
0
0
39
0
0
39
0
0
39
2022-12-15 14:53:05
2022-12-15 14:53:05
picktestmulti__c
2025-09-29 11:00:32
2025-09-29 11:00:32
picktestmulti__c
0
0
39
3014
3014
39
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428
a3d3df5a-eaa1-43d0-b95e-1ff4bec8c428...
|
79739
|
NULL
|
NULL
|
NULL
|
|
79721
|
2791
|
7
|
2026-05-28T06:40:21.622983+00:00
|
/Users/lukas/.screenpipe/data/data/2026-05-28/1779 /Users/lukas/.screenpipe/data/data/2026-05-28/1779950421622_m2.jpg...
|
PhpStorm
|
faVsco.js – FieldTransformer.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.025930852,"top":0.019952115,"width":0.03856383,"height":0.025538707},"on_screen":true,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JY-20915-fix-missing-header-text-relay, menu","depth":5,"bounds":{"left":0.064494684,"top":0.019952115,"width":0.09740692,"height":0.025538707},"on_screen":true,"help_text":"Git Branch: JY-20915-fix-missing-header-text-relay","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.8374335,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"TextRelayServiceTest","depth":6,"bounds":{"left":0.85272604,"top":0.019952115,"width":0.062832445,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9155585,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'TextRelayServiceTest'","depth":6,"bounds":{"left":0.9268617,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9381649,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96609044,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9773936,"top":0.019952115,"width":0.011303191,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9886968,"top":0.019952115,"width":0.011303186,"height":0.025538707},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.042220745,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.27027926,"top":1.0,"width":0.008643617,"height":0.0},"on_screen":false,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"12","depth":4,"bounds":{"left":0.37632978,"top":0.12529927,"width":0.009640957,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXStaticText","text":"1","depth":4,"bounds":{"left":0.3879654,"top":0.12529927,"width":0.00731383,"height":0.015163607},"on_screen":true,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.39694148,"top":0.123703115,"width":0.00731383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.40425533,"top":0.123703115,"width":0.006981383,"height":0.018355945},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","depth":4,"on_screen":true,"value":"<?php\n\nnamespace Jiminny\\Http\\Transformers;\n\nuse Jiminny\\Models\\Crm\\Field;\nuse Jiminny\\Models\\Crm\\Profile;\nuse League\\Fractal\\Resource\\Collection;\nuse League\\Fractal\\TransformerAbstract;\n\nclass FieldTransformer extends TransformerAbstract\n{\n protected array $availableIncludes = [\n 'options',\n ];\n private ?Profile $profile;\n\n private bool $noDefault = false;\n\n public function __construct(?Profile $profile = null)\n {\n $this->profile = $profile;\n }\n\n public function setNoDefault(bool $noDefault)\n {\n $this->noDefault = $noDefault;\n }\n\n public function transform(Field $field): array\n {\n $defaultValue = $field->default_value;\n $type = $field->type;\n\n if (\\is_bool($defaultValue)) {\n $defaultValue = (bool) $defaultValue;\n }\n\n return [\n 'id' => $field->id_string,\n 'objectType' => $field->object_type,\n 'label' => $field->label,\n 'fieldName' => $field->crm_provider_id,\n 'type' => $type,\n 'enabled' => $field->is_selectable,\n 'length' => $field->length,\n 'defaultValue' => $defaultValue,\n ];\n }\n\n public function includeOptions(Field $field): ?Collection\n {\n if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {\n // This gets a little complex. We need to check if this field has any record type constraints for the profile.\n if (\n $this->profile\n && ($recordType = $this->profile->{$field->object_type . 'RecordType'})\n && $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()\n ) {\n // Fetch the values specific for this record type.\n $values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();\n }\n\n if ($this->noDefault) {\n foreach ($values as $value) {\n $value->is_default = false;\n }\n }\n\n return $this->collection($values, new FieldValueTransformer());\n }\n\n return null;\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"A","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"B","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"uuid (UUID with time-low and time-high swapped)","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"C","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_configuration_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"D","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"crm_provider_id","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"E","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"label","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"F","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"description","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"G","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"H","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"length","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"I","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"default_value","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"J","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"object_type","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"K","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_selectable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"L","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_mandatory","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"M","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_filterable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"N","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_indexable","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"O","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"created_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"P","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"updated_at","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"Q","depth":4,"on_screen":false,"role_description":"text"},{"role":"AXStaticText","text":"is_readonly","depth":5,"bounds":{"left":0.27027926,"top":1.0,"width":0.020944148,"height":0.0},"on_screen":false,"role_description":"text"},{"role":"AXButton","text":"Select All","depth":4,"bounds":{"left":0.41156915,"top":0.14365523,"width":0.007978723,"height":0.0207502},"on_screen":true,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"1885","depth":6,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"1885","depth":7,"bounds":{"left":0.41988033,"top":0.16520351,"width":0.034242023,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":6,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"58a51d4d-0ca7-49f0-9b2c-e16027877cc5","depth":7,"bounds":{"left":0.45445478,"top":0.16520351,"width":0.10073138,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"39","depth":6,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"39","depth":7,"bounds":{"left":0.5555186,"top":0.16520351,"width":0.080784574,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"39","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.0787899,"height":0.0},"on_screen":false,"value":"39","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"ReminderDateTime","depth":6,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"ReminderDateTime","depth":7,"bounds":{"left":0.63663566,"top":0.16520351,"width":0.06781915,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"Reminder Date/Time","depth":6,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"Reminder Date/Time","depth":7,"bounds":{"left":0.70478725,"top":0.16520351,"width":0.05219415,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.75731385,"top":0.16520351,"width":0.057513297,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"datetime","depth":6,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"datetime","depth":7,"bounds":{"left":0.81515956,"top":0.16520351,"width":0.04155585,"height":0.0207502},"on_screen":true,"role_description":"text"},{"role":"AXTextArea","text":"picktestmulti__c","depth":8,"bounds":{"left":0.27027926,"top":1.0,"width":0.050199468,"height":0.0},"on_screen":false,"value":"picktestmulti__c","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXCell","text":"<null>","depth":6,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"cell"},{"role":"AXStaticText","text":"<null>","depth":7,"bounds":{"left":0.85704786,"top":0.16520351,"width":0.04454787,"height":0.0207502},"on_screen":true,"role_description":"text"}]...
|
6214918488947391989
|
-7589164096430198349
|
typing_pause
|
accessibility
|
NULL
|
Project: faVsco.js, menu
JY-20915-fix-missing-head Project: faVsco.js, menu
JY-20915-fix-missing-header-text-relay, menu
Start Listening for PHP Debug Connections
TextRelayServiceTest
Run 'TextRelayServiceTest'
Debug 'TextRelayServiceTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Sync Changes
Hide This Notification
Code changed:
Hide
12
1
Previous Highlighted Error
Next Highlighted Error
<?php
namespace Jiminny\Http\Transformers;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\Crm\Profile;
use League\Fractal\Resource\Collection;
use League\Fractal\TransformerAbstract;
class FieldTransformer extends TransformerAbstract
{
protected array $availableIncludes = [
'options',
];
private ?Profile $profile;
private bool $noDefault = false;
public function __construct(?Profile $profile = null)
{
$this->profile = $profile;
}
public function setNoDefault(bool $noDefault)
{
$this->noDefault = $noDefault;
}
public function transform(Field $field): array
{
$defaultValue = $field->default_value;
$type = $field->type;
if (\is_bool($defaultValue)) {
$defaultValue = (bool) $defaultValue;
}
return [
'id' => $field->id_string,
'objectType' => $field->object_type,
'label' => $field->label,
'fieldName' => $field->crm_provider_id,
'type' => $type,
'enabled' => $field->is_selectable,
'length' => $field->length,
'defaultValue' => $defaultValue,
];
}
public function includeOptions(Field $field): ?Collection
{
if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// if ($field->type === Field::TYPE_PICKLIST && $values = $field->values) {
// This gets a little complex. We need to check if this field has any record type constraints for the profile.
if (
$this->profile
&& ($recordType = $this->profile->{$field->object_type . 'RecordType'})
&& $recordType->fieldValues()->where('crm_field_id', $field->id)->exists()
) {
// Fetch the values specific for this record type.
$values = $recordType->fieldValues()->where('crm_field_id', $field->id)->get();
}
if ($this->noDefault) {
foreach ($values as $value) {
$value->is_default = false;
}
}
return $this->collection($values, new FieldValueTransformer());
}
return null;
}
}
A
id
B
uuid (UUID with time-low and time-high swapped)
C
crm_configuration_id
D
crm_provider_id
E
label
F
description
G
type
H
length
I
default_value
J
object_type
K
is_selectable
L
is_mandatory
M
is_filterable
N
is_indexable
O
created_at
P
updated_at
Q
is_readonly
Select All
1885
1885
39
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
58a51d4d-0ca7-49f0-9b2c-e16027877cc5
picktestmulti__c
39
39
39
ReminderDateTime
ReminderDateTime
picktestmulti__c
Reminder Date/Time
Reminder Date/Time
picktestmulti__c
<null>
<null>
picktestmulti__c
datetime
datetime
picktestmulti__c
<null>
<null>...
|
NULL
|
NULL
|
NULL
|
NULL
|