-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
195 additions
and
201 deletions.
There are no files selected for viewing
30 changes: 2 additions & 28 deletions
30
app/config/graphql/types/ModelType/Slider/SliderItem.types.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,15 @@ | ||
SliderItem: | ||
type: object | ||
inherits: | ||
- 'SliderItemDecorator' | ||
config: | ||
fields: | ||
uuid: | ||
type: "Uuid!" | ||
description: "UUID" | ||
name: | ||
type: "String!" | ||
description: "Slider name" | ||
link: | ||
type: "String!" | ||
description: "Target link" | ||
extendedText: | ||
type: "String" | ||
description: "Text below slider" | ||
extendedTextLink: | ||
type: "String" | ||
description: "Target link of text below slider" | ||
gtmId: | ||
type: "String!" | ||
description: "GTM ID" | ||
gtmCreative: | ||
type: "String" | ||
description: "GTM creative" | ||
images: | ||
type: "[Image!]!" | ||
description: "Slider item images" | ||
resolve: '@=query("imagesByEntityPromiseQuery", value, args["type"])' | ||
args: | ||
type: | ||
type: "String" | ||
defaultValue: null | ||
mainImage: | ||
type: "Image!" | ||
description: "Slider item image by params" | ||
resolve: '@=query("mainImageByEntityPromiseQuery", value, args["type"])' | ||
args: | ||
type: | ||
type: "String" | ||
defaultValue: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
app/src/FrontendApi/Resolver/SliderItem/SliderItemResolverMap.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Migrations; | ||
|
||
use Doctrine\DBAL\Schema\Schema; | ||
use Shopsys\MigrationBundle\Component\Doctrine\Migrations\AbstractMigration; | ||
|
||
class Version20241114072907 extends AbstractMigration | ||
{ | ||
/** | ||
* @param \Doctrine\DBAL\Schema\Schema $schema | ||
*/ | ||
public function up(Schema $schema): void | ||
{ | ||
$this->sql('ALTER TABLE slider_items DROP COLUMN slider_extended_text'); | ||
$this->sql('ALTER TABLE slider_items DROP COLUMN slider_extended_text_link'); | ||
} | ||
|
||
/** | ||
* @param \Doctrine\DBAL\Schema\Schema $schema | ||
*/ | ||
public function down(Schema $schema): void | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.