fix(lint): resolve module-boundary and prefer-inject errors

Retag workspace-shell-util as type:data-access to match its injectable
services that depend on @iptvnator/services, and convert
RemoteControlService to inject(HttpClient).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
4grayandClaude Fable 5 committed 2026-07-02 00:41:49 +02:00
1 parent 23ead63b1f
commit e422264327
2 files changed
+3 -4

No files matched your search

@@ -1,4 +1,4 @@
import { Injectable } from '@angular/core';
import { inject, Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { firstValueFrom } from 'rxjs';
@@ -25,8 +25,7 @@ export interface RemoteControlStatus {
})
export class RemoteControlService {
private readonly apiBaseUrl = '/api/remote-control';
constructor(private http: HttpClient) {}
private readonly http = inject(HttpClient);
/**
* Changes to the next channel
+1 -1
View File
@@ -4,7 +4,7 @@
"sourceRoot": "libs/workspace/shell/util/src",
"prefix": "lib",
"projectType": "library",
"tags": ["scope:workspace", "domain:workspace", "type:util"],
"tags": ["scope:workspace", "domain:workspace", "type:data-access"],
"targets": {
"test": {
"executor": "@nx/jest:jest",