Skip to content

Commit

Permalink
Refactor to the max!
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Apr 25, 2024
1 parent 95b8e54 commit 1ed3568
Show file tree
Hide file tree
Showing 49 changed files with 100 additions and 107 deletions.
2 changes: 1 addition & 1 deletion config/pimcore/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ pimcore:
- studio

pimcore_studio_backend:
openApiScanPaths:
open_api_scan_paths:
- "%kernel.project_dir%/vendor/pimcore/studio-api-bundle/src"
9 changes: 0 additions & 9 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ services:
arguments:
$bundle: "@=service('kernel').getBundle('PimcoreStudioBackendBundle')"

# controllers are imported separately to make sure they're public
# and have a tag that allows actions to type-hint services
Pimcore\Bundle\StudioBackendBundle\Controller\:
resource: '../src/Controller'
public: true
tags: [ 'controller.service_arguments' ]






Expand Down
5 changes: 3 additions & 2 deletions src/Response/Asset.php → src/Asset/Schema/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema;

use OpenApi\Attributes\Items;
use OpenApi\Attributes\Property;
use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Permissions;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Permissions;
use Pimcore\Bundle\StudioBackendBundle\Response\Element;

/**
* @internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Asset;

#[Schema(
title: 'Archive',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Asset;

#[Schema(
title: 'Audio',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Property;
use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Asset;

#[Schema(
title: 'Document',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Asset;

#[Schema(
title: 'Folder',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Property;
use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Asset;

#[Schema(
title: 'Image',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Property;
use OpenApi\Attributes\Schema;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Property;
use OpenApi\Attributes\Schema;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Asset;

#[Schema(
title: 'Text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Asset;

#[Schema(
title: 'Unknown',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Response\Asset;
namespace Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

use OpenApi\Attributes\Property;
use OpenApi\Attributes\Schema;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Asset;

#[Schema(
title: 'Video',
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Adapter/AssetSearchAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

use Exception;
use Pimcore\Bundle\GenericDataIndexBundle\Service\Search\SearchService\Asset\AssetSearchServiceInterface;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

Check notice on line 21 in src/DataIndex/Adapter/AssetSearchAdapter.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used

Check notice on line 21 in src/DataIndex/Adapter/AssetSearchAdapter.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used
use Pimcore\Bundle\StudioBackendBundle\DataIndex\AssetSearchResult;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\AssetHydratorServiceInterface;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Query\QueryInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;

final readonly class AssetSearchAdapter implements AssetSearchAdapterInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Adapter/AssetSearchAdapterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Adapter;

use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

Check notice on line 19 in src/DataIndex/Adapter/AssetSearchAdapterInterface.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used

Check notice on line 19 in src/DataIndex/Adapter/AssetSearchAdapterInterface.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used
use Pimcore\Bundle\StudioBackendBundle\DataIndex\AssetSearchResult;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Query\QueryInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;

interface AssetSearchAdapterInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Adapter/DataObjectSearchAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
use Pimcore\Bundle\StaticResolverBundle\Models\Element\ServiceResolver;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\DataObjectSearchResult;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Query\QueryInterface;
use Pimcore\Bundle\StudioBackendBundle\DataObject\Schema\DataObject;
use Pimcore\Bundle\StudioBackendBundle\Exception\InvalidSearchException;
use Pimcore\Bundle\StudioBackendBundle\Response\DataObject;
use Pimcore\Model\DataObject\Concrete;
use Pimcore\Model\Element\ElementInterface;

Expand Down
18 changes: 9 additions & 9 deletions src/DataIndex/AssetSearchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@

namespace Pimcore\Bundle\StudioBackendBundle\DataIndex;

use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Archive;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Audio;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Document;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Folder;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Image;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Text;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Unknown;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Video;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

Check notice on line 19 in src/DataIndex/AssetSearchResult.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used

Check notice on line 19 in src/DataIndex/AssetSearchResult.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Archive;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Audio;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Document;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Folder;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Image;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Text;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Unknown;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Video;

final readonly class AssetSearchResult
{
Expand Down
18 changes: 9 additions & 9 deletions src/DataIndex/AssetSearchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@

namespace Pimcore\Bundle\StudioBackendBundle\DataIndex;

use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

Check notice on line 19 in src/DataIndex/AssetSearchService.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used

Check notice on line 19 in src/DataIndex/AssetSearchService.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Archive;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Audio;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Document;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Folder;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Image;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Text;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Unknown;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Video;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Adapter\AssetSearchAdapterInterface;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Query\QueryInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Archive;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Audio;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Document;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Folder;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Image;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Text;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Unknown;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Video;

final readonly class AssetSearchService implements AssetSearchServiceInterface
{
Expand Down
18 changes: 9 additions & 9 deletions src/DataIndex/AssetSearchServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@

namespace Pimcore\Bundle\StudioBackendBundle\DataIndex;

use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type;

Check notice on line 19 in src/DataIndex/AssetSearchServiceInterface.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used

Check notice on line 19 in src/DataIndex/AssetSearchServiceInterface.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Unused import

Import 'Pimcore\\Bundle\\StudioBackendBundle\\Asset\\Schema\\Type' is never used
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Archive;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Audio;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Document;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Folder;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Image;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Text;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Unknown;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Video;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Query\QueryInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Archive;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Audio;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Document;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Folder;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Image;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Text;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Unknown;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Video;

interface AssetSearchServiceInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/ArchiveHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Archive as ArchiveItem;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Archive;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\PermissionsHydratorInterface;
use Pimcore\Bundle\StudioBackendBundle\Icon\Service\IconServiceInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Archive;

final readonly class ArchiveHydrator implements ArchiveHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/ArchiveHydratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Archive as ArchiveItem;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Archive;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Archive;

interface ArchiveHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/AudioHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Audio as AudioItem;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Audio;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\PermissionsHydratorInterface;
use Pimcore\Bundle\StudioBackendBundle\Icon\Service\IconServiceInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Audio;

final readonly class AudioHydrator implements AudioHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/AudioHydratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Audio as AudioItem;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Audio;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Audio;

interface AudioHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/DocumentHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Document as DocumentItem;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Document;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\PermissionsHydratorInterface;
use Pimcore\Bundle\StudioBackendBundle\Icon\Service\IconServiceInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Document;

final readonly class DocumentHydrator implements DocumentHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/DocumentHydratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Document as DocumentItem;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Document;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Document;

interface DocumentHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/FolderHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Folder as FolderItem;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Folder;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\PermissionsHydratorInterface;
use Pimcore\Bundle\StudioBackendBundle\Icon\Service\IconServiceInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Folder;

final readonly class FolderHydrator implements FolderHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/FolderHydratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Folder as FolderItem;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Folder;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Folder;

interface FolderHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/ImageHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Image as ImageItem;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Image;
use Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\PermissionsHydratorInterface;
use Pimcore\Bundle\StudioBackendBundle\Icon\Service\IconServiceInterface;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Image;

final readonly class ImageHydrator implements ImageHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/ImageHydratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\SearchResultItem\Image as ImageItem;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\Image;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\Image;

interface ImageHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/MetaDataHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\AssetMetaData;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\MetaData;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\MetaData;

final class MetaDataHydrator implements MetaDataHydratorInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataIndex/Hydrator/Asset/MetaDataHydratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Pimcore\Bundle\StudioBackendBundle\DataIndex\Hydrator\Asset;

use Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Asset\SearchResult\AssetMetaData;
use Pimcore\Bundle\StudioBackendBundle\Response\Asset\MetaData;
use Pimcore\Bundle\StudioBackendBundle\Asset\Schema\Type\MetaData;

interface MetaDataHydratorInterface
{
Expand Down
Loading

0 comments on commit 1ed3568

Please sign in to comment.