change entity names

This commit is contained in:
2026-02-08 09:18:20 +03:30
parent 6be6a66079
commit 9a7010dcea
180 changed files with 2751 additions and 2513 deletions
@@ -10,7 +10,7 @@ export interface AdminDetailResponse {
name: string;
};
permissions: string[];
restaurant?: {
shop?: {
id: string;
name: string;
slug: string;
@@ -38,10 +38,10 @@ export class AdminDetailTransformer {
name: role.name,
},
permissions: role.permissions.getItems().map(p => p.name) || [],
restaurant: {
id: role.restaurant?.id || '',
name: role.restaurant?.name || '',
slug: role.restaurant?.slug || '',
shop: {
id: role.shop?.id || '',
name: role.shop?.name || '',
slug: role.shop?.slug || '',
},
};
}