-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
77 changed files
with
12,573 additions
and
158 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace SpomkyLabs\PwaBundle\Dto; | ||
|
||
use Symfony\Component\Serializer\Attribute\SerializedName; | ||
|
||
final class Workbox | ||
{ | ||
public bool $enabled; | ||
|
||
#[SerializedName('use_cdn')] | ||
public bool $useCDN; | ||
|
||
public string $version; | ||
|
||
#[SerializedName('workbox_public_url')] | ||
public string $workboxPublicUrl; | ||
|
||
#[SerializedName('workbox_import_placeholder')] | ||
public string $workboxImportPlaceholder; | ||
|
||
#[SerializedName('warm_cache_placeholder')] | ||
public string $warmCachePlaceholder; | ||
|
||
#[SerializedName('precaching_placeholder')] | ||
public string $precachingPlaceholder; | ||
|
||
#[SerializedName('offline_fallback_placeholder')] | ||
public string $offlineFallbackPlaceholder; | ||
|
||
#[SerializedName('widgets_placeholder')] | ||
public string $widgetsPlaceholder; | ||
|
||
#[SerializedName('offline_fallback')] | ||
public null|Url $offlineFallback = null; | ||
|
||
/** | ||
* @var array<Url> | ||
*/ | ||
#[SerializedName('warm_cache_urls')] | ||
public array $warmCacheUrls = []; | ||
} |
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.