mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-02 05:10:59 +00:00
refactor(ai): extract assistant into an official module (#749)
* feat(modules): expose host data boundaries * feat(modules): add frontend extension surfaces * refactor(ai): remove assistant from core * chore(ai): prepare the module extraction * fix(modules): load extension styles after the host bundle * chore(modules): lock SDK 3.3.0
This commit is contained in:
@@ -5,16 +5,25 @@ namespace App\Platform\Modules;
|
||||
use App\Platform\Modules\Console\InstallModuleCommand;
|
||||
use App\Platform\Modules\Console\UninstallModuleCommand;
|
||||
use App\Platform\Modules\Contracts\ModuleSettingsStore;
|
||||
use App\Platform\Modules\Infrastructure\BouncerModuleAuthorization;
|
||||
use App\Platform\Modules\Infrastructure\EloquentCompanyDataReader;
|
||||
use App\Platform\Modules\Infrastructure\EloquentHostSettingsStore;
|
||||
use App\Platform\Modules\Infrastructure\EloquentModuleSettingsStore;
|
||||
use App\Platform\Modules\Policies\ModulePolicy;
|
||||
use Illuminate\Support\Facades\Gate;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use InvoiceShelf\Modules\Contracts\Host\CompanyDataReader;
|
||||
use InvoiceShelf\Modules\Contracts\Host\ModuleAuthorization;
|
||||
use InvoiceShelf\Modules\Contracts\Host\SettingsStore;
|
||||
|
||||
class ModuleServiceProvider extends ServiceProvider
|
||||
{
|
||||
public function register(): void
|
||||
{
|
||||
$this->app->bind(ModuleSettingsStore::class, EloquentModuleSettingsStore::class);
|
||||
$this->app->bind(SettingsStore::class, EloquentHostSettingsStore::class);
|
||||
$this->app->bind(ModuleAuthorization::class, BouncerModuleAuthorization::class);
|
||||
$this->app->bind(CompanyDataReader::class, EloquentCompanyDataReader::class);
|
||||
}
|
||||
|
||||
public function boot(): void
|
||||
|
||||
Reference in New Issue
Block a user