Skip to content

Commit

Permalink
Add properties to gridcollection response
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Jan 10, 2025
1 parent 0af1cfd commit b38fdff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Grid/Attribute/Property/GridCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

use OpenApi\Attributes\Items;
use OpenApi\Attributes\Property;
use Pimcore\Bundle\StudioBackendBundle\Element\Schema\Permissions;
use Pimcore\Bundle\StudioBackendBundle\Grid\Schema\ColumnData;

/**
Expand All @@ -37,6 +38,16 @@ public function __construct()
type: 'array',
items: new Items(ref: ColumnData::class),
),
new Property(
property: 'isLocked',
type: 'bool'
),
new Property(
property: 'permissions',
ref: Permissions::class,
type: 'object'
),

]
)
);
Expand Down

0 comments on commit b38fdff

Please sign in to comment.