feat: Implement product management features including CRUD operations and UI components

This commit is contained in:
2025-12-05 00:01:48 +03:30
parent 3bc1202c77
commit 0419ff2fc7
36 changed files with 377 additions and 48 deletions
@@ -1,3 +1,4 @@
import { IPaginatedResponse } from '@/core/models/service.model';
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
@@ -10,8 +11,8 @@ export class StoresService {
private apiRoutes = STORES_API_ROUTES;
getAll(): Observable<IStoreResponse[]> {
return this.http.get<IStoreRawResponse[]>(this.apiRoutes.list());
getAll(): Observable<IPaginatedResponse<IStoreResponse>> {
return this.http.get<IPaginatedResponse<IStoreRawResponse>>(this.apiRoutes.list());
}
getSingle(storeId: string): Observable<IStoreResponse> {