This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update config, add spa variable * Continue if app already installed and has access token and not deleted * disable cdn app bridge if spa used * update verify * add util helper * update validation * add frontend engine enum * update frontend validation * add frontend_engine config setting * linter fix * add tests * simplified verification * Fixes issue comparing enum for `useNativeAppBridge` utility method * Changes test to ensure all tests use app config over Config::set for consistency * Changes test to ensure all tests use app config over Config::set for consistency * Changes enum/config setup for app bridge configuration to be string based * Fixes to solve undefined magic method for frontend engine Co-authored-by: Tyler King <[email protected]>
- Loading branch information
Showing
6 changed files
with
92 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
namespace Osiset\ShopifyApp\Objects\Enums; | ||
|
||
use Funeralzone\ValueObjects\Enums\EnumTrait; | ||
use Funeralzone\ValueObjects\ValueObject; | ||
|
||
/** | ||
* Online Store 2.0 theme support | ||
*/ | ||
class FrontendEngine implements ValueObject | ||
{ | ||
use EnumTrait; | ||
|
||
/** | ||
* Laravel Blade | ||
* | ||
* @var int | ||
*/ | ||
public const BLADE = 0; | ||
|
||
/** | ||
* Vue.js | ||
* | ||
* @var int | ||
*/ | ||
public const VUE = 1; | ||
|
||
/** | ||
* React | ||
* | ||
* @var int | ||
*/ | ||
public const REACT = 2; | ||
} |
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