Renamed Cache to CacheService to prevent name collisions

This commit is contained in:
Noel Maróti
2026-11-29 11:49:55 +01:00
parent 76d96067d0
commit bc8501d74c
2 changed files with 4 additions and 4 deletions

View File

@@ -1,13 +1,13 @@
import { TestBed } from '@angular/core/testing';
import { Cache } from './cache';
import { CacheService } from './cache';
describe('Cache', () => {
let service: Cache;
let service: CacheService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(Cache);
service = TestBed.inject(CacheService);
});
it('should be created', () => {

View File

@@ -4,7 +4,7 @@ import { Contact } from 'chatenium-sdk-preview';
@Injectable({
providedIn: 'root',
})
export class Cache {
export class CacheService {
contacts = signal<Contact[]>([])
contactsState = signal<LoadState>(LoadState.CLEAN_LOADING)
}