import { Injectable, inject } from '@angular/core'
import { UsersApiService } from '../../../../../../libs/data-access/gn4/src'
import { shareReplay } from 'rxjs/operators'

@Injectable({
  providedIn: 'root',
})
export class UsersService {
  private usersService = inject(UsersApiService)

  users$ = this.usersService.getUsers().pipe(shareReplay())
}
