import { Component } from '@angular/core';
import { IContainerModel } from '@fleio-api/openstack/object-store/model/container.model';
import { DetailsComponentBase } from '@objects-view/details-component-base';
import { ConfigService } from '@shared/config/config.service';
import { FormatHelper } from '@shared/ui-api/helpers/format-helper';

@Component({
  selector: 'app-container-details-overview',
  templateUrl: './container-details-overview.component.html',
  styleUrls: ['./container-details-overview.component.scss']
})
export class ContainerDetailsOverviewComponent extends DetailsComponentBase<IContainerModel> {
  formatHelper = new FormatHelper();
  publicTxt = $localize`public`;
  privateTxt = $localize`private`;

  constructor(
    public config: ConfigService,
  ) {
    super();
  }
}
