- Updated interaction models and relations for handling of user-deal interactions. - Added frontend interactivity with `interaction.js` for toggling like buttons.
15 lines
204 B
PHP
15 lines
204 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use App\Traits\EnumAsArray;
|
|
|
|
enum InteractionType: string
|
|
{
|
|
use EnumAsArray;
|
|
|
|
case Like = 'like';
|
|
case Favorite = 'favorite';
|
|
case Redirection = 'redirect';
|
|
}
|