import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AdminIntegrationsFacade } from '../facade/admin-integrations.facade';
import { BadgeComponent } from '../../../../shared/ui/badge/badge.component';
import { ButtonComponent } from '../../../../shared/ui/button/button.component';
import { EmptyStateComponent } from '../../../../shared/ui/empty-state/empty-state.component';

@Component({
  selector: 'app-admin-integrations-page',
  standalone: true,
  imports: [CommonModule, BadgeComponent, ButtonComponent, EmptyStateComponent],
  templateUrl: './admin-integrations-page.component.html',
  styleUrls: ['./admin-integrations-page.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class AdminIntegrationsPageComponent {
  readonly facade = inject(AdminIntegrationsFacade);

  constructor() {
    this.facade.load();
  }
}
