use MateuszPeczkowski\NovaHeartbeatResourceField\NovaHeartbeatResourceField;
NovaHeartbeatResourceField::make('Heartbeat')
->resourceId($this->id),
use MateuszPeczkowski\NovaHeartbeatResourceField\NovaHeartbeatResourceField;
NovaHeartbeatResourceField::make('Heartbeat')
->resourceId($this->id)
->allowRetake(),
use MateuszPeczkowski\NovaHeartbeatResourceField\Traits\HasNovaHeartbeats;
class YourResource extends Resource
{
use HasNovaHeartbeats;
}
use MateuszPeczkowski\NovaHeartbeatResourceField\Traits\HasHeartbeats;
class YourModel extends Model
{
use HasHeartbeats;
}