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
interface Action<T> { | |
type: T; | |
} | |
interface PayloadAction<T, R> { | |
readonly type: T; | |
payload: R; | |
} | |
interface ActionFactory<T> { |
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
interface Action<T> { | |
type: T; | |
} | |
interface PayloadAction<T, R> { | |
readonly type: T; | |
payload: R; | |
} | |
interface ActionFactory<T> { |
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
<?php | |
namespace Davzie\ProductCatalog\Entities; | |
use Validator; | |
use Input; | |
use Illuminate\Support\MessageBag; | |
use Exception; | |
use App; | |
class Base { |