Files
hermes d4928789c4
Deploy HickLab3D Dashboard / Deploy to production (push) Failing after 23s
Add HL3D branding, Etsy Live/Draft paging and Projects lifecycle
Replace the old touchmark/PNG identity with the supplied lockup and
monogram, segmented role-aware navigation, Live/Draft listing filters
with generation-based cache invalidation, and admin Projects covering
immutable file revisions, listing live pointers, and exact-decimal
filament/packaging/shipping costing. Additive schema only; no Etsy
publication. Isolated clone tests: 301 tests, 1162 assertions.
2026-11-08 12:50:56 +00:00

31 lines
691 B
PHP

<?php
namespace App\Providers;
use App\Services\IntegrationCache;
use App\Support\Navigation;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
$this->app->singleton(IntegrationCache::class);
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
View::composer('layouts.app', function ($view): void {
$user = auth()->user();
$view->with('navigationGroups', $user ? Navigation::groups($user) : []);
});
}
}