feat: user crm metrics, product total sold, dynamic menu sync, blog views & advisor route
This commit is contained in:
1 parent
9294e89712
commit
6e23269a5c
24 files changed
+12910
-12334
No files matched your search
@@ -149,14 +149,41 @@ export class AdminService {
|
||||
orderBy: { createdAt: 'desc' },
|
||||
take: 20,
|
||||
},
|
||||
orders: {
|
||||
where: { status: { not: 'CANCELLED' } },
|
||||
select: { totalAmount: true },
|
||||
},
|
||||
_count: {
|
||||
select: {
|
||||
orders: true,
|
||||
reviews: true,
|
||||
blogComments: true,
|
||||
pets: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
this.prisma.user.count({ where }),
|
||||
]);
|
||||
|
||||
const enrichedUsers = data.map((u) => {
|
||||
const totalSpent = u.orders?.reduce(
|
||||
(acc, curr) => acc + (Number(curr.totalAmount) || 0),
|
||||
0,
|
||||
) || 0;
|
||||
const { orders, ...rest } = u;
|
||||
return {
|
||||
...rest,
|
||||
totalSpent,
|
||||
ordersCount: u._count?.orders || 0,
|
||||
reviewsCount: (u._count?.reviews || 0) + (u._count?.blogComments || 0),
|
||||
petsCount: u._count?.pets || 0,
|
||||
};
|
||||
});
|
||||
|
||||
return {
|
||||
data,
|
||||
meta: { total, page, limit, lastPage: Math.ceil(total / limit) },
|
||||
data: enrichedUsers,
|
||||
meta: { total, page, limit, lastPage: Math.ceil(total / limit) || 1 },
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -65,25 +65,25 @@ export class BlogsController {
|
||||
return this.blogsService.findOneBySlug(slug);
|
||||
}
|
||||
|
||||
@Post(':slug/view')
|
||||
@ApiOperation({ summary: 'ثبت و افزایش بازدید مقاله' })
|
||||
incrementView(@Param('slug') slug: string) {
|
||||
return this.blogsService.incrementView(slug);
|
||||
}
|
||||
|
||||
@Get(':slug/comments')
|
||||
@ApiOperation({ summary: 'دریافت نظرات تأیید شده مقاله' })
|
||||
findComments(@Param('slug') slug: string) {
|
||||
return this.blogsService.findCommentsBySlug(slug);
|
||||
}
|
||||
|
||||
@Throttle({ default: { limit: 5, ttl: 60000 } })
|
||||
@UseGuards(JwtAuthGuard)
|
||||
@ApiBearerAuth()
|
||||
@Throttle({ default: { limit: 10, ttl: 60000 } })
|
||||
@Post(':slug/comments')
|
||||
@ApiOperation({ summary: 'ارسال نظر برای مقاله (نیازمند ورود)' })
|
||||
@ApiOperation({ summary: 'ارسال نظر برای مقاله' })
|
||||
addComment(
|
||||
@Param('slug') slug: string,
|
||||
@Body() body: { userName: string; content: string },
|
||||
@Request() req: any,
|
||||
@Body() body: { userName: string; email?: string; content: string; userId?: string },
|
||||
) {
|
||||
return this.blogsService.addComment(slug, {
|
||||
...body,
|
||||
userId: req.user?.id,
|
||||
});
|
||||
return this.blogsService.addComment(slug, body);
|
||||
}
|
||||
}
|
||||
@@ -326,6 +326,22 @@ export class BlogsService {
|
||||
});
|
||||
}
|
||||
|
||||
async incrementView(slug: string) {
|
||||
const blog = await this.prisma.blog.findUnique({
|
||||
where: { slug },
|
||||
select: { id: true, viewCount: true },
|
||||
});
|
||||
if (!blog) throw new NotFoundException('مقاله یافت نشد');
|
||||
|
||||
const updated = await this.prisma.blog.update({
|
||||
where: { id: blog.id },
|
||||
data: { viewCount: { increment: 1 } },
|
||||
select: { id: true, viewCount: true },
|
||||
});
|
||||
|
||||
return { success: true, viewCount: updated.viewCount };
|
||||
}
|
||||
|
||||
async findCommentsBySlug(slug: string) {
|
||||
const blog = await this.prisma.blog.findUnique({
|
||||
where: { slug },
|
||||
@@ -341,7 +357,7 @@ export class BlogsService {
|
||||
|
||||
async addComment(
|
||||
slug: string,
|
||||
data: { userName: string; content: string; userId?: string },
|
||||
data: { userName: string; email?: string; content: string; userId?: string },
|
||||
) {
|
||||
const blog = await this.prisma.blog.findUnique({
|
||||
where: { slug },
|
||||
|
||||
@@ -94,6 +94,10 @@ export class ProductsService {
|
||||
include: {
|
||||
ingredientList: true,
|
||||
symptoms: true,
|
||||
orderItems: {
|
||||
where: { order: { status: { not: 'CANCELLED' } } },
|
||||
select: { quantity: true },
|
||||
},
|
||||
},
|
||||
}),
|
||||
this.prisma.product.count({ where: whereClause }),
|
||||
@@ -107,15 +111,19 @@ export class ProductsService {
|
||||
const isAdmin = userRole === 'ADMIN' || userRole === 'SuperAdmin';
|
||||
|
||||
const data = rawProducts.map((p) => {
|
||||
const { buyPrice, wholesalePrice, ...publicProduct } = p;
|
||||
const totalSold = p.orderItems?.reduce(
|
||||
(acc, item) => acc + (Number(item.quantity) || 0),
|
||||
0,
|
||||
) || 0;
|
||||
const { buyPrice, wholesalePrice, orderItems, ...publicProduct } = p;
|
||||
void buyPrice;
|
||||
void wholesalePrice;
|
||||
if (!isWholesaleOrAdmin) {
|
||||
return publicProduct;
|
||||
return { ...publicProduct, totalSold };
|
||||
}
|
||||
return isAdmin
|
||||
? p
|
||||
: { ...publicProduct, wholesalePrice: p.wholesalePrice };
|
||||
? { ...p, totalSold }
|
||||
: { ...publicProduct, wholesalePrice: p.wholesalePrice, totalSold };
|
||||
});
|
||||
|
||||
return {
|
||||
@@ -123,7 +131,7 @@ export class ProductsService {
|
||||
meta: {
|
||||
total,
|
||||
page,
|
||||
lastPage: Math.ceil(total / limit),
|
||||
lastPage: Math.ceil(total / limit) || 1,
|
||||
limit,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -8,6 +8,8 @@ export class VideoQuery {
|
||||
limit?: number | string;
|
||||
search?: string;
|
||||
featured?: boolean | string;
|
||||
sortBy?: string;
|
||||
sortOrder?: 'asc' | 'desc';
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
@@ -33,12 +35,18 @@ export class VideosService {
|
||||
where.isFeatured = query.featured === 'true' || query.featured === true;
|
||||
}
|
||||
|
||||
const sortField =
|
||||
query.sortBy && ['createdAt', 'viewsCount', 'title', 'isFeatured'].includes(query.sortBy)
|
||||
? query.sortBy
|
||||
: 'createdAt';
|
||||
const sortDirection = query.sortOrder === 'asc' ? 'asc' : 'desc';
|
||||
|
||||
const [videos, total] = await Promise.all([
|
||||
this.prisma.video.findMany({
|
||||
where,
|
||||
skip,
|
||||
take: limit,
|
||||
orderBy: { createdAt: 'desc' },
|
||||
orderBy: { [sortField]: sortDirection },
|
||||
include: {
|
||||
doctorRef: true,
|
||||
},
|
||||
@@ -52,7 +60,7 @@ export class VideosService {
|
||||
total,
|
||||
page,
|
||||
limit,
|
||||
totalPages: Math.ceil(total / limit),
|
||||
totalPages: Math.ceil(total / limit) || 1,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -65,6 +65,7 @@ export interface Product {
|
||||
symptoms?: Array<{ symptom: string } | string>;
|
||||
isPreorder?: boolean;
|
||||
preorderDeposit?: string | number;
|
||||
totalSold?: number;
|
||||
}
|
||||
|
||||
export default function Products() {
|
||||
@@ -606,19 +607,22 @@ export default function Products() {
|
||||
)}
|
||||
</div>
|
||||
</th>
|
||||
<th className="py-4 px-6 text-sm font-bold text-gray-700 text-center">
|
||||
<span>فروش کل</span>
|
||||
</th>
|
||||
<th className="py-4 px-6 text-sm font-bold text-gray-500 w-24">عملیات</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody className="divide-y divide-gray-100">
|
||||
{isLoading ? (
|
||||
<tr>
|
||||
<td colSpan={6} className="py-12 text-center">
|
||||
<td colSpan={7} className="py-12 text-center">
|
||||
<Spinner size="lg" className="mx-auto text-purple-600" />
|
||||
</td>
|
||||
</tr>
|
||||
) : products.length === 0 ? (
|
||||
<tr>
|
||||
<td colSpan={6} className="py-12 text-center text-gray-500 font-medium">محصولی یافت نشد</td>
|
||||
<td colSpan={7} className="py-12 text-center text-gray-500 font-medium">محصولی یافت نشد</td>
|
||||
</tr>
|
||||
) : (
|
||||
products.map((product) => (
|
||||
@@ -657,6 +661,11 @@ export default function Products() {
|
||||
<span className="text-xs text-gray-500">{product.packageSize} موجودی</span>
|
||||
</div>
|
||||
</td>
|
||||
<td className="py-4 px-6 text-center">
|
||||
<span className="inline-flex items-center gap-1 px-3 py-1 bg-purple-50 text-purple-700 rounded-full font-mono font-bold text-xs border border-purple-100">
|
||||
{product.totalSold !== undefined ? `${product.totalSold.toLocaleString('fa-IR')} عدد` : '۰ عدد'}
|
||||
</span>
|
||||
</td>
|
||||
<td className="py-4 px-6">
|
||||
<div className="flex items-center gap-2">
|
||||
<Button
|
||||
|
||||
@@ -49,6 +49,27 @@ interface ProductReview {
|
||||
};
|
||||
}
|
||||
|
||||
interface BlogCommentItem {
|
||||
id: string;
|
||||
blogId: string;
|
||||
userId?: string;
|
||||
userName: string;
|
||||
email?: string;
|
||||
content: string;
|
||||
status: 'PENDING' | 'APPROVED' | 'REJECTED';
|
||||
createdAt: string;
|
||||
blog?: {
|
||||
title: string;
|
||||
slug: string;
|
||||
};
|
||||
user?: {
|
||||
id: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
mobile: string;
|
||||
};
|
||||
}
|
||||
|
||||
const toPersianDigits = (n: string | number): string => {
|
||||
if (n === null || n === undefined) return '';
|
||||
const farsiDigits = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
|
||||
@@ -56,7 +77,9 @@ const toPersianDigits = (n: string | number): string => {
|
||||
};
|
||||
|
||||
export default function Reviews() {
|
||||
const [mainTab, setMainTab] = useState<'products' | 'blogs'>('products');
|
||||
const [reviews, setReviews] = useState<ProductReview[]>([]);
|
||||
const [blogComments, setBlogComments] = useState<BlogCommentItem[]>([]);
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [page, setPage] = useState(1);
|
||||
const [limit] = useState(15);
|
||||
@@ -71,40 +94,61 @@ export default function Reviews() {
|
||||
const [replyText, setReplyText] = useState('');
|
||||
const [isSavingReply, setIsSavingReply] = useState(false);
|
||||
|
||||
const fetchReviews = useCallback(async () => {
|
||||
const fetchItems = useCallback(async () => {
|
||||
try {
|
||||
setIsLoading(true);
|
||||
const params = new URLSearchParams();
|
||||
params.append('page', page.toString());
|
||||
params.append('limit', limit.toString());
|
||||
if (statusFilter && statusFilter !== 'ALL') params.append('status', statusFilter);
|
||||
if (search.trim()) params.append('search', search.trim());
|
||||
if (mainTab === 'products') {
|
||||
const params = new URLSearchParams();
|
||||
params.append('page', page.toString());
|
||||
params.append('limit', limit.toString());
|
||||
if (statusFilter && statusFilter !== 'ALL') params.append('status', statusFilter);
|
||||
if (search.trim()) params.append('search', search.trim());
|
||||
|
||||
const res = await api.get(`/admin/reviews?${params.toString()}`);
|
||||
if (res.data?.success) {
|
||||
setReviews(res.data.data || []);
|
||||
setTotalPages(res.data.pagination?.totalPages || 1);
|
||||
setTotalCount(res.data.pagination?.total || 0);
|
||||
const res = await api.get(`/admin/reviews?${params.toString()}`);
|
||||
if (res.data?.success) {
|
||||
setReviews(res.data.data || []);
|
||||
setTotalPages(res.data.pagination?.totalPages || 1);
|
||||
setTotalCount(res.data.pagination?.total || 0);
|
||||
}
|
||||
} else {
|
||||
const params = new URLSearchParams();
|
||||
params.append('page', page.toString());
|
||||
params.append('limit', limit.toString());
|
||||
if (statusFilter && statusFilter !== 'ALL') params.append('status', statusFilter);
|
||||
|
||||
const res = await api.get(`/admin/blogs/comments?${params.toString()}`);
|
||||
const data = res.data?.data || (Array.isArray(res.data) ? res.data : []);
|
||||
setBlogComments(data);
|
||||
setTotalPages(res.data?.meta?.lastPage || 1);
|
||||
setTotalCount(res.data?.meta?.total || data.length);
|
||||
}
|
||||
} catch (err: any) {
|
||||
console.error('Failed to fetch reviews:', err);
|
||||
console.error('Failed to fetch items:', err);
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
}
|
||||
}, [page, limit, statusFilter, search]);
|
||||
}, [mainTab, page, limit, statusFilter, search]);
|
||||
|
||||
useEffect(() => {
|
||||
fetchReviews();
|
||||
}, [fetchReviews]);
|
||||
fetchItems();
|
||||
}, [fetchItems]);
|
||||
|
||||
const handleUpdateStatus = async (id: string, newStatus: 'APPROVED' | 'REJECTED') => {
|
||||
try {
|
||||
setProcessingId(id);
|
||||
const res = await api.patch(`/admin/reviews/${id}`, { status: newStatus });
|
||||
if (res.data?.success) {
|
||||
toast.success(newStatus === 'APPROVED' ? 'دیدگاه تایید شد و در سایت نمایش مییابد.' : 'دیدگاه رد شد.');
|
||||
setReviews((prev) =>
|
||||
prev.map((r) => (r.id === id ? { ...r, status: newStatus } : r))
|
||||
if (mainTab === 'products') {
|
||||
const res = await api.patch(`/admin/reviews/${id}`, { status: newStatus });
|
||||
if (res.data?.success) {
|
||||
toast.success(newStatus === 'APPROVED' ? 'دیدگاه تایید شد و در سایت نمایش مییابد.' : 'دیدگاه رد شد.');
|
||||
setReviews((prev) =>
|
||||
prev.map((r) => (r.id === id ? { ...r, status: newStatus } : r))
|
||||
);
|
||||
}
|
||||
} else {
|
||||
await api.patch(`/admin/blogs/comments/${id}/status`, { status: newStatus });
|
||||
toast.success(newStatus === 'APPROVED' ? 'نظر وبلاگ تایید شد.' : 'نظر وبلاگ رد شد.');
|
||||
setBlogComments((prev) =>
|
||||
prev.map((c) => (c.id === id ? { ...c, status: newStatus } : c))
|
||||
);
|
||||
}
|
||||
} catch (err: any) {
|
||||
@@ -114,6 +158,30 @@ export default function Reviews() {
|
||||
}
|
||||
};
|
||||
|
||||
const handleDeleteItem = async (id: string) => {
|
||||
if (!confirm('آیا از حذف دائمی این دیدگاه اطمینان دارید؟')) return;
|
||||
try {
|
||||
setProcessingId(id);
|
||||
if (mainTab === 'products') {
|
||||
const res = await api.delete(`/admin/reviews/${id}`);
|
||||
if (res.data?.success) {
|
||||
toast.success('دیدگاه با موفقیت حذف شد.');
|
||||
setReviews((prev) => prev.filter((r) => r.id !== id));
|
||||
setTotalCount((c) => Math.max(0, c - 1));
|
||||
}
|
||||
} else {
|
||||
await api.delete(`/admin/blogs/comments/${id}`);
|
||||
toast.success('نظر وبلاگ با موفقیت حذف شد.');
|
||||
setBlogComments((prev) => prev.filter((c) => c.id !== id));
|
||||
setTotalCount((c) => Math.max(0, c - 1));
|
||||
}
|
||||
} catch (err: any) {
|
||||
console.error('Error deleting item:', err);
|
||||
} finally {
|
||||
setProcessingId(null);
|
||||
}
|
||||
};
|
||||
|
||||
const handleOpenReplyModal = (review: ProductReview) => {
|
||||
setReplyingReview(review);
|
||||
setReplyText(review.adminReply || '');
|
||||
@@ -139,29 +207,12 @@ export default function Reviews() {
|
||||
setReplyingReview(null);
|
||||
}
|
||||
} catch (err: any) {
|
||||
console.error('Error saving admin reply:', err);
|
||||
console.error('Error saving reply:', err);
|
||||
} finally {
|
||||
setIsSavingReply(false);
|
||||
}
|
||||
};
|
||||
|
||||
const handleDelete = async (id: string) => {
|
||||
if (!window.confirm('آیا از حذف این دیدگاه اطمینان دارید؟')) return;
|
||||
try {
|
||||
setProcessingId(id);
|
||||
const res = await api.delete(`/admin/reviews/${id}`);
|
||||
if (res.data?.success) {
|
||||
toast.success('دیدگاه با موفقیت حذف شد.');
|
||||
setReviews((prev) => prev.filter((r) => r.id !== id));
|
||||
setTotalCount((c) => Math.max(0, c - 1));
|
||||
}
|
||||
} catch (err: any) {
|
||||
console.error('Error deleting review:', err);
|
||||
} finally {
|
||||
setProcessingId(null);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="space-y-6 font-vazir text-right" dir="rtl">
|
||||
{/* Header */}
|
||||
@@ -172,24 +223,58 @@ export default function Reviews() {
|
||||
مدیریت نظرات و دیدگاهها
|
||||
</h2>
|
||||
<p className="text-gray-500 font-medium mt-1">
|
||||
بررسی امتیازات، تایید یا رد نظرات خریداران و پاسخدهی کارشناسان به دیدگاهها
|
||||
بررسی، تایید، رد و پاسخدهی به نظرات محصولات و مقالات وبلاگ
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Search */}
|
||||
<div className="relative w-full sm:w-80">
|
||||
<Search className="w-5 h-5 text-gray-400 absolute right-3 top-1/2 -translate-y-1/2" />
|
||||
<input
|
||||
type="text"
|
||||
placeholder="جستجو (نام خریدار، متن نظر، نام محصول)..."
|
||||
className="pl-4 pr-10 py-2.5 border border-gray-200 rounded-xl outline-none focus:ring-2 focus:ring-purple-500 w-full font-medium text-sm bg-white"
|
||||
value={search}
|
||||
onChange={(e) => {
|
||||
setSearch(e.target.value);
|
||||
setPage(1);
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
{mainTab === 'products' && (
|
||||
<div className="relative w-full sm:w-80">
|
||||
<Search className="w-5 h-5 text-gray-400 absolute right-3 top-1/2 -translate-y-1/2" />
|
||||
<input
|
||||
type="text"
|
||||
placeholder="جستجو (نام خریدار، متن نظر، نام محصول)..."
|
||||
className="pl-4 pr-10 py-2.5 border border-gray-200 rounded-xl outline-none focus:ring-2 focus:ring-purple-500 w-full font-medium text-sm bg-white"
|
||||
value={search}
|
||||
onChange={(e) => {
|
||||
setSearch(e.target.value);
|
||||
setPage(1);
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Main Mode Tabs: Products vs Blogs */}
|
||||
<div className="flex items-center gap-3 bg-gray-100 p-1.5 rounded-2xl max-w-md">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
setMainTab('products');
|
||||
setPage(1);
|
||||
}}
|
||||
className={`flex-1 py-2.5 px-4 rounded-xl text-xs font-black transition-all cursor-pointer ${
|
||||
mainTab === 'products'
|
||||
? 'bg-white text-purple-700 shadow-sm'
|
||||
: 'text-gray-600 hover:text-gray-900'
|
||||
}`}
|
||||
>
|
||||
دیدگاههای محصولات فروشگاه
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
setMainTab('blogs');
|
||||
setPage(1);
|
||||
}}
|
||||
className={`flex-1 py-2.5 px-4 rounded-xl text-xs font-black transition-all cursor-pointer ${
|
||||
mainTab === 'blogs'
|
||||
? 'bg-white text-purple-700 shadow-sm'
|
||||
: 'text-gray-600 hover:text-gray-900'
|
||||
}`}
|
||||
>
|
||||
نظرات مقالات وبلاگ و دانشنامه
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Filter Tabs */}
|
||||
@@ -220,16 +305,16 @@ export default function Reviews() {
|
||||
})}
|
||||
</div>
|
||||
|
||||
{/* Reviews Table */}
|
||||
{/* Reviews & Blog Comments Table */}
|
||||
<div className="bg-white border border-gray-200 rounded-2xl shadow-sm overflow-hidden">
|
||||
<div className="overflow-x-auto">
|
||||
<table className="w-full text-right border-collapse">
|
||||
<thead>
|
||||
<tr className="bg-gray-50/80 border-b border-gray-200 text-xs font-black text-gray-500">
|
||||
<th className="py-4 px-6">محصول</th>
|
||||
<th className="py-4 px-6">{mainTab === 'products' ? 'محصول' : 'مقاله وبلاگ'}</th>
|
||||
<th className="py-4 px-6">نویسنده دیدگاه</th>
|
||||
<th className="py-4 px-6">امتیاز</th>
|
||||
<th className="py-4 px-6">متن نظر و پاسخ</th>
|
||||
{mainTab === 'products' && <th className="py-4 px-6">امتیاز</th>}
|
||||
<th className="py-4 px-6">{mainTab === 'products' ? 'متن نظر و پاسخ' : 'متن دیدگاه'}</th>
|
||||
<th className="py-4 px-6">تاریخ</th>
|
||||
<th className="py-4 px-6">وضعیت</th>
|
||||
<th className="py-4 px-6 text-center">عملیات</th>
|
||||
@@ -238,18 +323,18 @@ export default function Reviews() {
|
||||
<tbody className="divide-y divide-gray-100 text-sm">
|
||||
{isLoading ? (
|
||||
<tr>
|
||||
<td colSpan={7} className="py-16 text-center">
|
||||
<td colSpan={mainTab === 'products' ? 7 : 6} className="py-16 text-center">
|
||||
<Spinner size="lg" />
|
||||
<p className="text-gray-400 font-bold mt-2 text-xs">در حال بارگذاری نظرات...</p>
|
||||
<p className="text-gray-400 font-bold mt-2 text-xs">در حال بارگذاری اطلاعات...</p>
|
||||
</td>
|
||||
</tr>
|
||||
) : reviews.length === 0 ? (
|
||||
) : (mainTab === 'products' ? reviews.length === 0 : blogComments.length === 0) ? (
|
||||
<tr>
|
||||
<td colSpan={7} className="py-16 text-center text-gray-400 font-bold">
|
||||
<td colSpan={mainTab === 'products' ? 7 : 6} className="py-16 text-center text-gray-400 font-bold">
|
||||
هیچ دیدگاهی در این بخش یافت نشد.
|
||||
</td>
|
||||
</tr>
|
||||
) : (
|
||||
) : mainTab === 'products' ? (
|
||||
reviews.map((review) => {
|
||||
const isProcessing = processingId === review.id;
|
||||
const date = new Date(review.createdAt);
|
||||
@@ -258,40 +343,50 @@ export default function Reviews() {
|
||||
<tr key={review.id} className="hover:bg-gray-50/50 transition-colors">
|
||||
{/* Product */}
|
||||
<td className="py-4 px-6">
|
||||
<div className="flex items-center gap-3">
|
||||
{review.product?.imageUrl ? (
|
||||
<img
|
||||
src={review.product.imageUrl}
|
||||
alt=""
|
||||
className="w-11 h-11 object-contain rounded-lg border border-gray-100 p-1 bg-white shrink-0"
|
||||
/>
|
||||
) : (
|
||||
<div className="w-11 h-11 bg-gray-100 rounded-lg flex items-center justify-center text-gray-400 shrink-0">
|
||||
<Package className="w-5 h-5" />
|
||||
{review.product ? (
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="w-10 h-10 rounded-xl bg-gray-50 border border-gray-100 overflow-hidden shrink-0 flex items-center justify-center">
|
||||
{review.product.imageUrl ? (
|
||||
<img
|
||||
src={review.product.imageUrl}
|
||||
alt={review.product.nameFa}
|
||||
className="w-full h-full object-contain"
|
||||
/>
|
||||
) : (
|
||||
<Package className="w-5 h-5 text-gray-400" />
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
<div className="min-w-0">
|
||||
<div className="font-bold text-gray-900 line-clamp-1 text-xs sm:text-sm">
|
||||
{review.product?.nameFa || 'محصول کنینا'}
|
||||
</div>
|
||||
<div className="text-[11px] text-gray-400 font-medium line-clamp-1" dir="ltr">
|
||||
{review.product?.nameEn}
|
||||
<div className="min-w-0">
|
||||
<div className="font-bold text-xs text-gray-900 truncate max-w-[180px]">
|
||||
{review.product.nameFa}
|
||||
</div>
|
||||
<span className="text-[10px] text-gray-400 block font-mono truncate max-w-[180px]">
|
||||
{review.product.nameEn}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<span className="text-xs text-gray-400">محصول نامشخص</span>
|
||||
)}
|
||||
</td>
|
||||
|
||||
{/* Author */}
|
||||
<td className="py-4 px-6">
|
||||
<div className="font-bold text-gray-900 flex items-center gap-1.5">
|
||||
<User className="w-3.5 h-3.5 text-gray-400 shrink-0" />
|
||||
<span>{review.userName}</span>
|
||||
</div>
|
||||
{review.userPhone && (
|
||||
<div className="text-xs text-gray-400 font-mono mt-0.5" dir="ltr">
|
||||
{toPersianDigits(review.userPhone)}
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="w-8 h-8 rounded-full bg-purple-50 border border-purple-100 flex items-center justify-center text-purple-600 shrink-0">
|
||||
<User className="w-4 h-4" />
|
||||
</div>
|
||||
)}
|
||||
<div>
|
||||
<div className="font-bold text-xs text-gray-900">
|
||||
{review.userName || `${review.user?.firstName || ''} ${review.user?.lastName || ''}`.trim() || 'کاربر مهمان'}
|
||||
</div>
|
||||
{(review.userPhone || review.user?.mobile) && (
|
||||
<div className="text-[10px] text-gray-400 font-mono">
|
||||
{toPersianDigits(review.userPhone || review.user?.mobile || '')}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
{/* Rating */}
|
||||
@@ -367,7 +462,7 @@ export default function Reviews() {
|
||||
disabled={isProcessing}
|
||||
onClick={() => handleUpdateStatus(review.id, 'APPROVED')}
|
||||
title="تایید دیدگاه"
|
||||
className="p-1.5 text-emerald-600 hover:bg-emerald-50 rounded-lg transition-colors border border-emerald-200"
|
||||
className="p-1.5 text-emerald-600 hover:bg-emerald-50 rounded-lg transition-colors border border-emerald-200 cursor-pointer"
|
||||
>
|
||||
<CheckCircle2 className="w-4 h-4" />
|
||||
</button>
|
||||
@@ -377,7 +472,7 @@ export default function Reviews() {
|
||||
disabled={isProcessing}
|
||||
onClick={() => handleUpdateStatus(review.id, 'REJECTED')}
|
||||
title="رد دیدگاه"
|
||||
className="p-1.5 text-rose-600 hover:bg-rose-50 rounded-lg transition-colors border border-rose-200"
|
||||
className="p-1.5 text-rose-600 hover:bg-rose-50 rounded-lg transition-colors border border-rose-200 cursor-pointer"
|
||||
>
|
||||
<XCircle className="w-4 h-4" />
|
||||
</button>
|
||||
@@ -386,15 +481,121 @@ export default function Reviews() {
|
||||
disabled={isProcessing}
|
||||
onClick={() => handleOpenReplyModal(review)}
|
||||
title="پاسخ به دیدگاه"
|
||||
className="p-1.5 text-purple-600 hover:bg-purple-50 rounded-lg transition-colors border border-purple-200"
|
||||
className="p-1.5 text-purple-600 hover:bg-purple-50 rounded-lg transition-colors border border-purple-200 cursor-pointer"
|
||||
>
|
||||
<Reply className="w-4 h-4" />
|
||||
</button>
|
||||
<button
|
||||
disabled={isProcessing}
|
||||
onClick={() => handleDelete(review.id)}
|
||||
onClick={() => handleDeleteItem(review.id)}
|
||||
title="حذف دیدگاه"
|
||||
className="p-1.5 text-gray-400 hover:text-red-600 hover:bg-red-50 rounded-lg transition-colors"
|
||||
className="p-1.5 text-gray-400 hover:text-red-600 hover:bg-red-50 rounded-lg transition-colors cursor-pointer"
|
||||
>
|
||||
<Trash2 className="w-4 h-4" />
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
);
|
||||
})
|
||||
) : (
|
||||
blogComments.map((comment) => {
|
||||
const isProcessing = processingId === comment.id;
|
||||
const date = new Date(comment.createdAt);
|
||||
|
||||
return (
|
||||
<tr key={comment.id} className="hover:bg-gray-50/50 transition-colors">
|
||||
{/* Blog Post */}
|
||||
<td className="py-4 px-6">
|
||||
<div className="font-bold text-xs text-gray-900 line-clamp-2 max-w-[200px]">
|
||||
{comment.blog?.title || 'مقاله وبلاگ'}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
{/* Author */}
|
||||
<td className="py-4 px-6">
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="w-8 h-8 rounded-full bg-blue-50 border border-blue-100 flex items-center justify-center text-blue-600 shrink-0">
|
||||
<User className="w-4 h-4" />
|
||||
</div>
|
||||
<div>
|
||||
<div className="font-bold text-xs text-gray-900">
|
||||
{comment.userName || 'کاربر'}
|
||||
</div>
|
||||
{comment.email && (
|
||||
<div className="text-[10px] text-gray-400 font-mono">
|
||||
{comment.email}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
{/* Content */}
|
||||
<td className="py-4 px-6 max-w-xs md:max-w-md">
|
||||
<div className="text-gray-800 text-xs sm:text-sm leading-relaxed whitespace-pre-wrap">
|
||||
{comment.content}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
{/* Date */}
|
||||
<td className="py-4 px-6 text-gray-500 text-xs font-bold">
|
||||
<div>{toPersianDigits(date.toLocaleDateString('fa-IR'))}</div>
|
||||
<div className="text-[10px] text-gray-400">
|
||||
{toPersianDigits(date.toLocaleTimeString('fa-IR', { hour: '2-digit', minute: '2-digit' }))}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
{/* Status */}
|
||||
<td className="py-4 px-6">
|
||||
{comment.status === 'PENDING' && (
|
||||
<span className="inline-flex items-center gap-1 px-2.5 py-1 rounded-full text-xs font-bold bg-amber-50 text-amber-700 border border-amber-200">
|
||||
<Clock className="w-3 h-3" />
|
||||
در انتظار بررسی
|
||||
</span>
|
||||
)}
|
||||
{comment.status === 'APPROVED' && (
|
||||
<span className="inline-flex items-center gap-1 px-2.5 py-1 rounded-full text-xs font-bold bg-emerald-50 text-emerald-700 border border-emerald-200">
|
||||
<CheckCircle2 className="w-3 h-3" />
|
||||
تایید شده
|
||||
</span>
|
||||
)}
|
||||
{comment.status === 'REJECTED' && (
|
||||
<span className="inline-flex items-center gap-1 px-2.5 py-1 rounded-full text-xs font-bold bg-rose-50 text-rose-700 border border-rose-200">
|
||||
<XCircle className="w-3 h-3" />
|
||||
رد شده
|
||||
</span>
|
||||
)}
|
||||
</td>
|
||||
|
||||
{/* Actions */}
|
||||
<td className="py-4 px-6 text-center">
|
||||
<div className="flex items-center justify-center gap-1.5">
|
||||
{comment.status !== 'APPROVED' && (
|
||||
<button
|
||||
disabled={isProcessing}
|
||||
onClick={() => handleUpdateStatus(comment.id, 'APPROVED')}
|
||||
title="تایید دیدگاه"
|
||||
className="p-1.5 text-emerald-600 hover:bg-emerald-50 rounded-lg transition-colors border border-emerald-200 cursor-pointer"
|
||||
>
|
||||
<CheckCircle2 className="w-4 h-4" />
|
||||
</button>
|
||||
)}
|
||||
{comment.status !== 'REJECTED' && (
|
||||
<button
|
||||
disabled={isProcessing}
|
||||
onClick={() => handleUpdateStatus(comment.id, 'REJECTED')}
|
||||
title="رد دیدگاه"
|
||||
className="p-1.5 text-rose-600 hover:bg-rose-50 rounded-lg transition-colors border border-rose-200 cursor-pointer"
|
||||
>
|
||||
<XCircle className="w-4 h-4" />
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
disabled={isProcessing}
|
||||
onClick={() => handleDeleteItem(comment.id)}
|
||||
title="حذف دیدگاه"
|
||||
className="p-1.5 text-gray-400 hover:text-red-600 hover:bg-red-50 rounded-lg transition-colors cursor-pointer"
|
||||
>
|
||||
<Trash2 className="w-4 h-4" />
|
||||
</button>
|
||||
|
||||
@@ -32,6 +32,11 @@ export interface UserRecord {
|
||||
role?: string;
|
||||
status?: string;
|
||||
walletBalance?: number | string;
|
||||
charityDonationTotal?: number | string;
|
||||
totalSpent?: number;
|
||||
ordersCount?: number;
|
||||
reviewsCount?: number;
|
||||
petsCount?: number;
|
||||
createdAt?: string;
|
||||
addresses?: UserAddress[];
|
||||
pets?: PetSummary[];
|
||||
@@ -378,31 +383,28 @@ export default function Users() {
|
||||
<table className="w-full text-right font-vazir text-xs">
|
||||
<thead className="bg-gray-50 text-gray-500 border-b border-gray-200">
|
||||
<tr>
|
||||
<th className="py-4 px-6 font-bold">نام و نام خانوادگی</th>
|
||||
<th className="py-4 px-6 font-bold">کاربر</th>
|
||||
<th className="py-4 px-6 font-bold">شماره موبایل</th>
|
||||
<th className="py-4 px-6 font-bold">ایمیل</th>
|
||||
<th className="py-4 px-6 font-bold">نوع حساب</th>
|
||||
<th className="py-4 px-6 font-bold">موجودی کیف پول</th>
|
||||
<th className="py-4 px-6 font-bold">مجموع خرید (LTV)</th>
|
||||
<th className="py-4 px-6 font-bold text-center">سفارشات</th>
|
||||
<th className="py-4 px-6 font-bold text-center">❤️ مهربانی</th>
|
||||
<th className="py-4 px-6 font-bold text-center">دیدگاهها</th>
|
||||
<th className="py-4 px-6 font-bold">کیف پول</th>
|
||||
<th className="py-4 px-6 font-bold">تاریخ عضویت</th>
|
||||
<th className="py-4 px-6 font-bold text-center">عملیات</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody className="divide-y divide-gray-100">
|
||||
<tbody className="divide-y divide-gray-100 text-xs font-vazir">
|
||||
{isLoading ? (
|
||||
Array.from({ length: 5 }).map((_, i) => (
|
||||
<tr key={i}>
|
||||
<td className="py-4 px-6"><Skeleton className="h-6 w-32" /></td>
|
||||
<td className="py-4 px-6"><Skeleton className="h-6 w-28" /></td>
|
||||
<td className="py-4 px-6"><Skeleton className="h-6 w-40" /></td>
|
||||
<td className="py-4 px-6"><Skeleton className="h-6 w-24" /></td>
|
||||
<td className="py-4 px-6"><Skeleton className="h-6 w-24" /></td>
|
||||
<td className="py-4 px-6"><Skeleton className="h-6 w-20" /></td>
|
||||
<td className="py-4 px-6"><Skeleton className="h-8 w-32 mx-auto" /></td>
|
||||
</tr>
|
||||
))
|
||||
<tr>
|
||||
<td colSpan={10} className="py-12 text-center text-gray-400 font-bold">
|
||||
در حال بارگذاری لیست کاربران...
|
||||
</td>
|
||||
</tr>
|
||||
) : users.length === 0 ? (
|
||||
<tr>
|
||||
<td colSpan={7} className="py-12 text-center text-gray-400 font-bold">
|
||||
<td colSpan={10} className="py-12 text-center text-gray-400 font-bold">
|
||||
هیچ کاربری با این مشخصات یافت نشد.
|
||||
</td>
|
||||
</tr>
|
||||
@@ -410,6 +412,8 @@ export default function Users() {
|
||||
users.map((user) => {
|
||||
const fullName = `${user.firstName || ''} ${user.lastName || ''}`.trim() || 'بدون نام';
|
||||
const balance = Number(user.walletBalance) || 0;
|
||||
const charity = Number(user.charityDonationTotal) || 0;
|
||||
const spent = Number(user.totalSpent) || 0;
|
||||
const isMainAdmin = user.id === '12345678-1234-1234-1234-123456789012';
|
||||
|
||||
return (
|
||||
@@ -428,12 +432,9 @@ export default function Users() {
|
||||
<td className="py-4 px-6 font-mono text-gray-700" dir="ltr">
|
||||
{user.mobile || '---'}
|
||||
</td>
|
||||
<td className="py-4 px-6 text-gray-500 font-mono" dir="ltr">
|
||||
{user.email || '---'}
|
||||
</td>
|
||||
<td className="py-4 px-6">
|
||||
<span
|
||||
className={`px-3 py-1 rounded-full text-[11px] font-bold ${
|
||||
className={`px-2.5 py-1 rounded-full text-[10px] font-bold ${
|
||||
user.role === 'User_Wholesale'
|
||||
? 'bg-amber-100 text-amber-800'
|
||||
: user.role?.includes('B2B')
|
||||
@@ -444,16 +445,30 @@ export default function Users() {
|
||||
}`}
|
||||
>
|
||||
{user.role === 'User_Wholesale'
|
||||
? 'خریدار عمده'
|
||||
? 'عمده'
|
||||
: user.role?.includes('B2B')
|
||||
? 'همکار (B2B)'
|
||||
? 'همکار B2B'
|
||||
: user.role?.toLowerCase().includes('admin')
|
||||
? 'مدیر سیستم'
|
||||
: 'مشتری عادی'}
|
||||
? 'مدیر'
|
||||
: 'مشتری'}
|
||||
</span>
|
||||
</td>
|
||||
<td className="py-4 px-6 font-mono font-bold text-emerald-700">
|
||||
{spent > 0 ? `${spent.toLocaleString('fa-IR')} ت` : '۰'}
|
||||
</td>
|
||||
<td className="py-4 px-6 font-bold text-gray-800">
|
||||
<span className="bg-gray-100 px-2 py-0.5 rounded-md font-mono">
|
||||
{user.ordersCount || 0}
|
||||
</span>
|
||||
</td>
|
||||
<td className="py-4 px-6 font-mono font-bold text-rose-600">
|
||||
{charity > 0 ? `${charity.toLocaleString('fa-IR')} ت` : '---'}
|
||||
</td>
|
||||
<td className="py-4 px-6 font-bold text-purple-600 font-mono">
|
||||
{user.reviewsCount || 0}
|
||||
</td>
|
||||
<td className="py-4 px-6 font-mono font-bold text-gray-800">
|
||||
{balance.toLocaleString('fa-IR')} تومان
|
||||
{balance > 0 ? `${balance.toLocaleString('fa-IR')} ت` : '۰'}
|
||||
</td>
|
||||
<td className="py-4 px-6 text-gray-500 text-xs font-medium">
|
||||
{user.createdAt ? new Date(user.createdAt).toLocaleDateString('fa-IR') : '---'}
|
||||
@@ -947,6 +962,33 @@ export default function Users() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-2 sm:grid-cols-4 gap-2.5">
|
||||
<div className="p-3 bg-emerald-50 rounded-2xl border border-emerald-100 text-center">
|
||||
<span className="text-[10px] font-black text-emerald-800 block">مجموع خرید (LTV)</span>
|
||||
<span className="text-xs font-black text-emerald-700 font-mono mt-0.5 block">
|
||||
{(Number(viewUser.totalSpent) || 0).toLocaleString('fa-IR')} تومان
|
||||
</span>
|
||||
</div>
|
||||
<div className="p-3 bg-blue-50 rounded-2xl border border-blue-100 text-center">
|
||||
<span className="text-[10px] font-black text-blue-800 block">تعداد سفارشات</span>
|
||||
<span className="text-sm font-black text-blue-700 font-mono mt-0.5 block">
|
||||
{viewUser.ordersCount || 0}
|
||||
</span>
|
||||
</div>
|
||||
<div className="p-3 bg-rose-50 rounded-2xl border border-rose-100 text-center">
|
||||
<span className="text-[10px] font-black text-rose-800 block">❤️ پویش مهربانی</span>
|
||||
<span className="text-xs font-black text-rose-700 font-mono mt-0.5 block">
|
||||
{(Number(viewUser.charityDonationTotal) || 0).toLocaleString('fa-IR')} تومان
|
||||
</span>
|
||||
</div>
|
||||
<div className="p-3 bg-purple-50 rounded-2xl border border-purple-100 text-center">
|
||||
<span className="text-[10px] font-black text-purple-800 block">دیدگاهها و نظرات</span>
|
||||
<span className="text-sm font-black text-purple-700 font-mono mt-0.5 block">
|
||||
{viewUser.reviewsCount || 0}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="bg-purple-50/60 p-4 rounded-2xl border border-purple-100 flex items-center justify-between">
|
||||
<span className="font-bold text-purple-900">موجودی کیف پول کاربر:</span>
|
||||
<span className="font-mono font-black text-purple-700 text-base">
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
import React, { useState, useEffect, useCallback } from 'react';
|
||||
import { Plus, Search, Edit2, Trash2, Video as VideoIcon, Star, X, ImageIcon, Film, Play } from 'lucide-react';
|
||||
import { Plus, Search, Edit2, Trash2, Video as VideoIcon, Star, X, ImageIcon, Film, Play, ArrowUpDown, ChevronLeft, ChevronRight } from 'lucide-react';
|
||||
import { toast } from 'react-hot-toast';
|
||||
import api, { BASE_DOMAIN } from '../services/api';
|
||||
import ConfirmModal from '../components/ui/ConfirmModal';
|
||||
import MediaSelector from '../components/ui/MediaSelector';
|
||||
import Button from '../components/ui/Button';
|
||||
import Modal from '../components/ui/Modal';
|
||||
import Pagination from '../components/ui/Pagination';
|
||||
|
||||
|
||||
|
||||
interface Video {
|
||||
@@ -39,6 +41,14 @@ export default function Videos() {
|
||||
const [doctorsList, setDoctorsList] = useState<DoctorOption[]>([]);
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [searchTerm, setSearchTerm] = useState('');
|
||||
const [page, setPage] = useState(1);
|
||||
const [limit, setLimit] = useState(12);
|
||||
const [totalPages, setTotalPages] = useState(1);
|
||||
const [totalCount, setTotalCount] = useState(0);
|
||||
const [sortBy, setSortBy] = useState('createdAt');
|
||||
const [sortOrder, setSortOrder] = useState<'asc' | 'desc'>('desc');
|
||||
const [filterFeatured, setFilterFeatured] = useState<string>('ALL');
|
||||
|
||||
const [isModalOpen, setIsModalOpen] = useState(false);
|
||||
const [editingVideo, setEditingVideo] = useState<Video | null>(null);
|
||||
const [deleteTargetId, setDeleteTargetId] = useState<string | null>(null);
|
||||
@@ -60,9 +70,17 @@ export default function Videos() {
|
||||
const fetchVideos = useCallback(async () => {
|
||||
try {
|
||||
setIsLoading(true);
|
||||
const res = await api.get('/videos', {
|
||||
params: { search: searchTerm, limit: 100 },
|
||||
});
|
||||
const params: Record<string, any> = {
|
||||
page,
|
||||
limit,
|
||||
sortBy,
|
||||
sortOrder,
|
||||
};
|
||||
if (searchTerm.trim()) params.search = searchTerm.trim();
|
||||
if (filterFeatured === 'true') params.featured = true;
|
||||
if (filterFeatured === 'false') params.featured = false;
|
||||
|
||||
const res = await api.get('/videos', { params });
|
||||
const raw = res.data;
|
||||
const videoList = Array.isArray(raw?.videos)
|
||||
? raw.videos
|
||||
@@ -74,13 +92,15 @@ export default function Videos() {
|
||||
? raw
|
||||
: [];
|
||||
setVideos(videoList);
|
||||
setTotalPages(raw?.meta?.totalPages || 1);
|
||||
setTotalCount(raw?.meta?.total || videoList.length);
|
||||
} catch (err) {
|
||||
console.error('Failed to fetch videos:', err);
|
||||
setVideos([]);
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
}
|
||||
}, [searchTerm]);
|
||||
}, [page, limit, sortBy, sortOrder, searchTerm, filterFeatured]);
|
||||
|
||||
const fetchDoctors = useCallback(async () => {
|
||||
try {
|
||||
@@ -193,19 +213,63 @@ export default function Videos() {
|
||||
</div>
|
||||
|
||||
|
||||
<div className="bg-white p-4 rounded-2xl border border-gray-100 shadow-xs flex items-center gap-4">
|
||||
<div className="relative flex-1">
|
||||
<div className="bg-white p-4 rounded-2xl border border-gray-100 shadow-xs flex flex-col md:flex-row items-center gap-4">
|
||||
<div className="relative flex-1 w-full">
|
||||
<Search className="w-5 h-5 text-gray-400 absolute right-4 top-1/2 -translate-y-1/2" />
|
||||
<input
|
||||
type="text"
|
||||
placeholder="جستجو در عناوین، نام دامپزشک یا توضیحات ویدئو..."
|
||||
value={searchTerm}
|
||||
onChange={(e) => setSearchTerm(e.target.value)}
|
||||
className="w-full bg-gray-50 border border-gray-200 rounded-xl pr-12 pl-4 py-3 text-sm focus:outline-none focus:ring-2 focus:ring-purple-500/20 font-bold"
|
||||
onChange={(e) => {
|
||||
setSearchTerm(e.target.value);
|
||||
setPage(1);
|
||||
}}
|
||||
className="w-full bg-gray-50 border border-gray-200 rounded-xl pr-12 pl-4 py-2.5 text-xs sm:text-sm focus:outline-none focus:ring-2 focus:ring-purple-500/20 font-bold"
|
||||
/>
|
||||
</div>
|
||||
<div className="text-xs font-black text-gray-400 bg-gray-50 px-4 py-3 rounded-xl border border-gray-200 shrink-0">
|
||||
تعداد کل: {videos.length} مورد
|
||||
|
||||
<div className="flex flex-wrap items-center gap-3 w-full md:w-auto">
|
||||
{/* Featured Filter */}
|
||||
<select
|
||||
value={filterFeatured}
|
||||
onChange={(e) => {
|
||||
setFilterFeatured(e.target.value);
|
||||
setPage(1);
|
||||
}}
|
||||
className="bg-gray-50 border border-gray-200 rounded-xl px-3 py-2.5 text-xs font-bold text-gray-700 outline-none focus:ring-2 focus:ring-purple-500/20 cursor-pointer"
|
||||
>
|
||||
<option value="ALL">همه وضعیتها</option>
|
||||
<option value="true">ویدئوهای ویژه (Featured)</option>
|
||||
<option value="false">ویدئوهای عادی</option>
|
||||
</select>
|
||||
|
||||
{/* Sort By */}
|
||||
<div className="flex items-center gap-1.5 bg-gray-50 border border-gray-200 rounded-xl px-3 py-1.5">
|
||||
<ArrowUpDown className="w-3.5 h-3.5 text-gray-400" />
|
||||
<select
|
||||
value={sortBy}
|
||||
onChange={(e) => {
|
||||
setSortBy(e.target.value);
|
||||
setPage(1);
|
||||
}}
|
||||
className="bg-transparent text-xs font-bold text-gray-700 outline-none cursor-pointer"
|
||||
>
|
||||
<option value="createdAt">تاریخ ثبت</option>
|
||||
<option value="viewsCount">تعداد بازدید</option>
|
||||
<option value="title">عنوان ویدئو</option>
|
||||
</select>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setSortOrder(prev => prev === 'asc' ? 'desc' : 'asc')}
|
||||
className="text-[11px] font-black text-purple-600 hover:text-purple-700 px-1 py-0.5"
|
||||
>
|
||||
{sortOrder === 'desc' ? 'نزولی' : 'صعودی'}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div className="text-xs font-black text-gray-400 bg-gray-50 px-3.5 py-2.5 rounded-xl border border-gray-200 shrink-0">
|
||||
تعداد: {totalCount} مورد
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -314,6 +378,20 @@ export default function Videos() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Pagination */}
|
||||
{!isLoading && totalPages > 1 && (
|
||||
<div className="bg-white p-4 rounded-2xl border border-gray-100 shadow-xs flex items-center justify-between">
|
||||
<Pagination
|
||||
currentPage={page}
|
||||
totalPages={totalPages}
|
||||
onPageChange={(newPage) => setPage(newPage)}
|
||||
/>
|
||||
<div className="text-xs font-bold text-gray-500">
|
||||
صفحه {page} از {totalPages}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{isModalOpen && (
|
||||
<Modal
|
||||
isOpen={isModalOpen}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
import React from 'react';
|
||||
import { Metadata } from 'next';
|
||||
import SmartAdvisor from '../../components/SmartAdvisor';
|
||||
import Link from 'next/link';
|
||||
import { Sparkles, ChevronRight, ShieldCheck } from 'lucide-react';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'مشاوره هوشمند دارویی و محاسبه دوز درمانی | کنینا آلمان',
|
||||
description: 'سیستم مشاوره هوشمند داروسازی کنینا برای تشخیص علائم سگ و گربه، پیشنهاد تخصصی مکملهای آلمانی و محاسبه دقیق دوز مصرفی بر اساس وزن، نژاد و سن پت.',
|
||||
};
|
||||
|
||||
export default function SmartAdvisorPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-medical-gray-50 pt-8 pb-20 px-4 font-vazir" dir="rtl">
|
||||
<div className="max-w-7xl mx-auto space-y-8">
|
||||
{/* Header Breadcrumbs */}
|
||||
<div className="flex items-center gap-2 text-xs font-bold text-medical-gray-400">
|
||||
<Link href="/" className="hover:text-canina-blue transition-colors">
|
||||
صفحه اصلی
|
||||
</Link>
|
||||
<ChevronRight className="w-3.5 h-3.5" />
|
||||
<span className="text-medical-gray-800">مشاوره هوشمند دارویی و محاسبه دوز</span>
|
||||
</div>
|
||||
|
||||
{/* Page Hero Intro */}
|
||||
<div className="text-center max-w-3xl mx-auto space-y-4 py-4">
|
||||
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-canina-blue/10 text-canina-blue text-xs font-black">
|
||||
<Sparkles className="w-4 h-4 text-canina-gold" />
|
||||
<span>سامانه هوشمند نسخه و دوز دارویی کنینا آلمان</span>
|
||||
</div>
|
||||
<h1 className="text-2xl sm:text-4xl font-black text-medical-gray-900 leading-tight font-lalezar">
|
||||
مشاوره تخصصی و راهنمای <span className="text-canina-blue">دوز مصرفی مکملها</span>
|
||||
</h1>
|
||||
<p className="text-sm sm:text-base text-medical-gray-600 font-medium leading-relaxed">
|
||||
مشخصات پت دلبندتان (نوع، سن، وزن و علائم) را وارد کنید تا بهترین پروتکل درمانی و پیشگیری متناسب با شرایط بالینی او توسط الگوریتم علمی کنینا تعیین شود.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Interactive Smart Advisor Component */}
|
||||
<div className="bg-white rounded-3xl sm:rounded-[2.5rem] border border-medical-gray-200 shadow-xl overflow-hidden p-4 sm:p-8">
|
||||
<SmartAdvisor />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
"use client";
|
||||
import React, { useState } from "react";
|
||||
import React, { useState, useEffect } from "react";
|
||||
import {
|
||||
ChevronRight,
|
||||
Calendar,
|
||||
@@ -13,9 +13,11 @@ import {
|
||||
ArrowLeft,
|
||||
Send,
|
||||
Eye,
|
||||
CheckCircle2,
|
||||
} from "lucide-react";
|
||||
import Link from 'next/link';
|
||||
import SafeImage from "./SafeImage";
|
||||
import api from "../lib/services/api";
|
||||
|
||||
interface BlogPostClientProps {
|
||||
blog: any;
|
||||
@@ -25,15 +27,37 @@ interface BlogPostClientProps {
|
||||
|
||||
export default function BlogPostClient({ blog, publishedDate, authorName }: BlogPostClientProps) {
|
||||
const [copied, setCopied] = useState(false);
|
||||
const [viewCount, setViewCount] = useState<number>(blog.viewCount || 0);
|
||||
const [commentName, setCommentName] = useState("");
|
||||
const [commentEmail, setCommentEmail] = useState("");
|
||||
const [commentText, setCommentText] = useState("");
|
||||
const [commentSent, setCommentSent] = useState(false);
|
||||
const [isSubmittingComment, setIsSubmittingComment] = useState(false);
|
||||
const [commentError, setCommentError] = useState("");
|
||||
|
||||
const relatedProducts = Array.isArray(blog.relatedProducts) ? blog.relatedProducts : [];
|
||||
const relatedBlogs = Array.isArray(blog.relatedBlogs) ? blog.relatedBlogs : [];
|
||||
const comments = Array.isArray(blog.comments) ? blog.comments : [];
|
||||
|
||||
useEffect(() => {
|
||||
if (!blog?.slug) return;
|
||||
const viewKey = `viewed_blog_${blog.slug}`;
|
||||
const hasViewed = sessionStorage.getItem(viewKey);
|
||||
|
||||
api.post(`/blogs/${encodeURIComponent(blog.slug)}/view`)
|
||||
.then((res) => {
|
||||
if (res.data?.viewCount !== undefined) {
|
||||
setViewCount(res.data.viewCount);
|
||||
} else {
|
||||
setViewCount((prev) => prev + (hasViewed ? 0 : 1));
|
||||
}
|
||||
sessionStorage.setItem(viewKey, '1');
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error('Failed to register view count:', err);
|
||||
});
|
||||
}, [blog?.slug]);
|
||||
|
||||
const handleShare = () => {
|
||||
if (typeof window !== 'undefined') {
|
||||
if (navigator.share) {
|
||||
@@ -46,12 +70,28 @@ export default function BlogPostClient({ blog, publishedDate, authorName }: Blog
|
||||
}
|
||||
};
|
||||
|
||||
const handleCommentSubmit = (e: React.FormEvent) => {
|
||||
const handleCommentSubmit = async (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
setCommentSent(true);
|
||||
setCommentName("");
|
||||
setCommentEmail("");
|
||||
setCommentText("");
|
||||
if (!commentText.trim() || !commentName.trim()) return;
|
||||
|
||||
try {
|
||||
setIsSubmittingComment(true);
|
||||
setCommentError("");
|
||||
await api.post(`/blogs/${encodeURIComponent(blog.slug || blog.id)}/comments`, {
|
||||
userName: commentName.trim(),
|
||||
email: commentEmail.trim() || undefined,
|
||||
content: commentText.trim(),
|
||||
});
|
||||
setCommentSent(true);
|
||||
setCommentName("");
|
||||
setCommentEmail("");
|
||||
setCommentText("");
|
||||
} catch (err: any) {
|
||||
console.error('Failed to submit comment:', err);
|
||||
setCommentError(err.response?.data?.message || "خطا در ارسال دیدگاه. لطفاً دوباره تلاش کنید.");
|
||||
} finally {
|
||||
setIsSubmittingComment(false);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
@@ -116,7 +156,7 @@ export default function BlogPostClient({ blog, publishedDate, authorName }: Blog
|
||||
</div>
|
||||
<div className="flex items-center gap-1">
|
||||
<Eye className="w-3.5 h-3.5 text-canina-blue" />
|
||||
<span>{blog.viewCount || 0} بازدید</span>
|
||||
<span>{Number(viewCount).toLocaleString('fa-IR')} بازدید</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -18,6 +18,18 @@ export default function Footer({
|
||||
const getText = useSettingsStore(state => state.getText);
|
||||
const isB2BEnabled = useSettingsStore((s) => s.getBoolean('b2bRegistrationOpen', true) && s.getBoolean('b2b_enabled', true));
|
||||
const [showScroll, setShowScroll] = useState(false);
|
||||
const [footerCol1, setFooterCol1] = useState<Array<{ id?: string; label: string; href: string }>>([]);
|
||||
|
||||
useEffect(() => {
|
||||
fetch(`${process.env.NEXT_PUBLIC_API_URL || '/api'}/menu/type/FOOTER_COL1`)
|
||||
.then((r) => r.json())
|
||||
.then((data) => {
|
||||
if (Array.isArray(data) && data.length > 0) {
|
||||
setFooterCol1(data);
|
||||
}
|
||||
})
|
||||
.catch(() => {});
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
const checkScroll = () => {
|
||||
@@ -72,34 +84,47 @@ export default function Footer({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Quick Links */}
|
||||
{/* Quick Links / Menu Column 1 */}
|
||||
<div className="space-y-8">
|
||||
<h4 className="text-xl font-bold text-white border-b-2 border-canina-blue pb-2 max-w-max font-lalezar">{getText('footer_links_title', "دسترسی سریع")}</h4>
|
||||
<ul className="space-y-4 text-sm font-bold text-slate-300">
|
||||
<li>
|
||||
<Link href="/shop" className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{getText('footer_link_products', "محصولات تخصصی ۲۰۲۴")}
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/blog" className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{getText('footer_link_blog', "مجله سلامت پت (وبلاگ)")}
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/profile" className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{getText('footer_link_profiles', "شناسنامه پتها")}
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/wiki" className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{getText('footer_link_wiki', "دانشنامه ترکیبات")}
|
||||
</Link>
|
||||
</li>
|
||||
{footerCol1.length > 0 ? (
|
||||
footerCol1.map((item) => (
|
||||
<li key={item.id || item.href}>
|
||||
<Link href={item.href} className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{item.label}
|
||||
</Link>
|
||||
</li>
|
||||
))
|
||||
) : (
|
||||
<>
|
||||
<li>
|
||||
<Link href="/shop" className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{getText('footer_link_products', "محصولات تخصصی ۲۰۲۴")}
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/blog" className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{getText('footer_link_blog', "مجله سلامت پت (وبلاگ)")}
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/profile" className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{getText('footer_link_profiles', "شناسنامه پتها")}
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/wiki" className="hover:text-white hover:translate-x-[-4px] transition-all cursor-pointer flex items-center gap-2 group">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-canina-blue group-hover:w-4 transition-all" />
|
||||
{getText('footer_link_wiki', "دانشنامه ترکیبات")}
|
||||
</Link>
|
||||
</li>
|
||||
</>
|
||||
)}
|
||||
<li>
|
||||
<Link
|
||||
href="/trust-seals"
|
||||
|
||||
@@ -83,21 +83,23 @@ export default function Header({
|
||||
id: string;
|
||||
label: string;
|
||||
href: string;
|
||||
icon?: string;
|
||||
children?: { id: string; label: string; href: string }[];
|
||||
icon?: string | null;
|
||||
badge?: string | null;
|
||||
children?: { id: string; label: string; href: string; icon?: string | null }[];
|
||||
}
|
||||
|
||||
const [headerNavItems, setHeaderNavItems] = useState<HeaderMenuItem[]>([
|
||||
{
|
||||
id: 'category-mega',
|
||||
label: 'دستهبندی درمانی محصولات',
|
||||
id: 'symptoms',
|
||||
label: 'راهکارهای درمانی',
|
||||
href: '/shop?view=symptoms',
|
||||
icon: 'Pill',
|
||||
},
|
||||
{
|
||||
id: 'products',
|
||||
label: 'فروشگاه و محصولات',
|
||||
label: 'محصولات تخصصی',
|
||||
href: '/shop',
|
||||
icon: 'ShoppingBag',
|
||||
children: [
|
||||
{ id: 'shop-all', label: 'فروشگاه تخصصی محصولات کنینا', href: '/shop' },
|
||||
{ id: 'catalog', label: 'کاتالوگ دیجیتال و راهنمای بالینی', href: '/catalog' },
|
||||
@@ -105,32 +107,31 @@ export default function Header({
|
||||
},
|
||||
{
|
||||
id: 'science',
|
||||
label: 'دانشنامه و آکادمی',
|
||||
label: 'دانشنامه علمی',
|
||||
href: '/wiki',
|
||||
icon: 'BookOpen',
|
||||
children: [
|
||||
{ id: 'wiki', label: 'دانشنامه علمی کنینا', href: '/wiki' },
|
||||
{ id: 'wiki', label: 'دانشنامه علمی ترکیبات', href: '/wiki' },
|
||||
{ id: 'blog', label: 'مجله سلامت پت (وبلاگ)', href: '/blog' },
|
||||
{ id: 'videos', label: 'آکادمی ویدئویی و مشاوره دامپزشک', href: '/videos' },
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'tools',
|
||||
label: 'ابزارهای هوشمند',
|
||||
href: '/profile',
|
||||
children: [
|
||||
{ id: 'profile', label: 'شناسنامه و سوابق سلامت پت', href: '/profile' },
|
||||
{ id: 'dashboard', label: 'پایش هوشمند مصرف مکملها', href: '/dashboard' },
|
||||
],
|
||||
id: 'blog-mag',
|
||||
label: 'مجله سلامت پت',
|
||||
href: '/blog',
|
||||
icon: 'FileText',
|
||||
},
|
||||
{
|
||||
id: 'company',
|
||||
label: 'درباره کنینا و تماس',
|
||||
href: '/about',
|
||||
children: [
|
||||
{ id: 'about', label: 'درباره کمپانی کنینا آلمان', href: '/about' },
|
||||
{ id: 'trust-seals', label: 'نمادهای اعتماد و مجوزهای رسمی', href: '/trust-seals' },
|
||||
{ id: 'contact', label: 'تماس با مرکز پشتیبانی', href: '/contact' },
|
||||
],
|
||||
id: 'pets',
|
||||
label: 'شناسنامه پتها',
|
||||
href: '/dashboard/pets',
|
||||
icon: 'Dog',
|
||||
},
|
||||
{
|
||||
id: 'videos',
|
||||
label: 'ویدیوها',
|
||||
href: '/videos',
|
||||
icon: 'Video',
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -375,167 +376,121 @@ export default function Header({
|
||||
<div className="hidden lg:block border-t border-medical-gray-100 bg-medical-gray-50/50">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex items-center gap-1 py-1 text-xs font-black">
|
||||
|
||||
{/* Dropdown 1: Category Mega-Menu */}
|
||||
<div
|
||||
className="relative group py-2"
|
||||
onMouseEnter={() => setIsMegaMenuOpen(true)}
|
||||
onMouseLeave={() => setIsMegaMenuOpen(false)}
|
||||
>
|
||||
<button className={`flex items-center gap-1.5 px-3 py-2 rounded-xl transition-all ${isMegaMenuOpen ? 'bg-canina-blue text-white' : 'text-medical-gray-700 hover:bg-medical-gray-100 hover:text-canina-blue'}`}>
|
||||
<Pill className="w-4 h-4" />
|
||||
<span>دستهبندی درمانی محصولات</span>
|
||||
<ChevronDown className={`w-3.5 h-3.5 transition-transform ${isMegaMenuOpen ? 'rotate-180' : ''}`} />
|
||||
</button>
|
||||
<div className="flex items-center gap-1 xl:gap-2 text-xs font-bold font-vazir">
|
||||
{headerNavItems.map((navItem) => {
|
||||
const hasChildren = Array.isArray(navItem.children) && navItem.children.length > 0;
|
||||
const isMega = navItem.href?.includes('view=symptoms') || navItem.id === 'category-mega' || navItem.id === 'symptoms';
|
||||
|
||||
<AnimatePresence>
|
||||
{isMegaMenuOpen && (
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 10 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
exit={{ opacity: 0, y: 10 }}
|
||||
className="absolute top-full right-0 w-[640px] bg-white border border-medical-gray-200 shadow-2xl rounded-2xl p-6 grid grid-cols-2 gap-6 z-50"
|
||||
if (isMega) {
|
||||
return (
|
||||
<div
|
||||
key={navItem.id}
|
||||
className="relative group py-2"
|
||||
onMouseEnter={() => setIsMegaMenuOpen(true)}
|
||||
onMouseLeave={() => setIsMegaMenuOpen(false)}
|
||||
>
|
||||
{menuItems.map((item, idx) => (
|
||||
<div key={idx} className="group/item">
|
||||
<Link
|
||||
href={`/shop?category=${item.id}`}
|
||||
onClick={() => setIsMegaMenuOpen(false)}
|
||||
className="flex items-center gap-3 mb-3 cursor-pointer"
|
||||
>
|
||||
<div className="p-2 bg-canina-blue/10 rounded-xl text-canina-blue group-hover/item:bg-canina-blue group-hover/item:text-white transition-all">
|
||||
{item.icon}
|
||||
</div>
|
||||
<h4 className="font-black text-medical-gray-900 text-sm">{item.title}</h4>
|
||||
</Link>
|
||||
<div className="flex flex-wrap gap-1 border-r-2 border-medical-gray-100 pr-2">
|
||||
{item.solutions.slice(0, 6).map((sol, sIdx) => (
|
||||
<Link
|
||||
key={sIdx}
|
||||
href={`/shop?category=${item.id}&symptom=${encodeURIComponent(sol)}`}
|
||||
className="inline-block px-2 py-0.5 rounded-md text-[10px] font-bold bg-medical-gray-50 hover:bg-canina-blue hover:text-white transition-all text-medical-gray-600"
|
||||
onClick={() => setIsMegaMenuOpen(false)}
|
||||
>
|
||||
{sol}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
</div>
|
||||
|
||||
{/* Dropdown 2: Products & Catalog */}
|
||||
<div
|
||||
className="relative group py-2"
|
||||
onMouseEnter={() => setActiveDropdown('products')}
|
||||
onMouseLeave={() => setActiveDropdown(null)}
|
||||
>
|
||||
<button className="flex items-center gap-1.5 px-3 py-2 rounded-xl text-medical-gray-700 hover:bg-medical-gray-100 hover:text-canina-blue transition-all">
|
||||
<span>فروشگاه و محصولات</span>
|
||||
<ChevronDown className="w-3.5 h-3.5" />
|
||||
</button>
|
||||
{activeDropdown === 'products' && (
|
||||
<div className="absolute top-full right-0 w-56 bg-white border border-medical-gray-200 shadow-xl rounded-xl p-2 z-50 space-y-1 text-xs">
|
||||
<Link href="/shop" className="block px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
فروشگاه تخصصی محصولات کنینا
|
||||
</Link>
|
||||
<Link href="/catalog" className="block px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
کاتالوگ دیجیتال و راهنمای بالینی
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Dropdown 3: Science & Academy */}
|
||||
<div
|
||||
className="relative group py-2"
|
||||
onMouseEnter={() => setActiveDropdown('science')}
|
||||
onMouseLeave={() => setActiveDropdown(null)}
|
||||
>
|
||||
<button className="flex items-center gap-1.5 px-3 py-2 rounded-xl text-medical-gray-700 hover:bg-medical-gray-100 hover:text-canina-blue transition-all">
|
||||
<span>دانشنامه و آکادمی</span>
|
||||
<ChevronDown className="w-3.5 h-3.5" />
|
||||
</button>
|
||||
{activeDropdown === 'science' && (
|
||||
<div className="absolute top-full right-0 w-56 bg-white border border-medical-gray-200 shadow-xl rounded-xl p-2 z-50 space-y-1 text-xs">
|
||||
<Link href="/wiki" className="flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
<BookOpen className="w-4 h-4 text-canina-blue" />
|
||||
دانشنامه علمی کنینا
|
||||
</Link>
|
||||
<Link href="/blog" className="flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
<FileText className="w-4 h-4 text-canina-blue" />
|
||||
مجله سلامت پت (وبلاگ)
|
||||
</Link>
|
||||
<Link href="/videos" className="flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
<Video className="w-4 h-4 text-canina-blue" />
|
||||
آکادمی ویدئویی و مشاوره دامپزشک
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Dropdown 4: Smart Tools & Pet Profile */}
|
||||
<div
|
||||
className="relative group py-2"
|
||||
onMouseEnter={() => setActiveDropdown('tools')}
|
||||
onMouseLeave={() => setActiveDropdown(null)}
|
||||
>
|
||||
<button className="flex items-center gap-1.5 px-3 py-2 rounded-xl text-medical-gray-700 hover:bg-medical-gray-100 hover:text-canina-blue transition-all">
|
||||
<span>ابزارهای هوشمند</span>
|
||||
<ChevronDown className="w-3.5 h-3.5" />
|
||||
</button>
|
||||
{activeDropdown === 'tools' && (
|
||||
<div className="absolute top-full right-0 w-56 bg-white border border-medical-gray-200 shadow-xl rounded-xl p-2 z-50 space-y-1 text-xs">
|
||||
<Link href="/profile" className="flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
<Dog className="w-4 h-4 text-canina-blue" />
|
||||
شناسنامه و سوابق سلامت پت
|
||||
</Link>
|
||||
<Link href="/dashboard" className="flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
<Activity className="w-4 h-4 text-canina-blue" />
|
||||
پایش هوشمند مصرف مکملها
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Dropdown 5: Company & B2B */}
|
||||
<div
|
||||
className="relative group py-2"
|
||||
onMouseEnter={() => setActiveDropdown('company')}
|
||||
onMouseLeave={() => setActiveDropdown(null)}
|
||||
>
|
||||
<button className="flex items-center gap-1.5 px-3 py-2 rounded-xl text-medical-gray-700 hover:bg-medical-gray-100 hover:text-canina-blue transition-all">
|
||||
<span>درباره کنینا و تماس</span>
|
||||
<ChevronDown className="w-3.5 h-3.5" />
|
||||
</button>
|
||||
{activeDropdown === 'company' && (
|
||||
<div className="absolute top-full right-0 w-60 bg-white border border-medical-gray-200 shadow-xl rounded-xl p-2 z-50 space-y-1 text-xs">
|
||||
<Link href="/about" className="flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
<Award className="w-4 h-4 text-canina-blue" />
|
||||
درباره کمپانی کنینا آلمان
|
||||
</Link>
|
||||
<Link href="/trust-seals" className="flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold text-emerald-600">
|
||||
<ShieldCheck className="w-4 h-4 text-emerald-600" />
|
||||
نمادهای اعتماد و مجوزهای رسمی
|
||||
</Link>
|
||||
{isB2BEnabled && (
|
||||
<Link
|
||||
href="/b2b"
|
||||
className="w-full text-right flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold cursor-pointer"
|
||||
href={navItem.href || '/shop?view=symptoms'}
|
||||
className={`flex items-center gap-1.5 px-3 py-2 rounded-xl transition-all ${
|
||||
isMegaMenuOpen
|
||||
? 'bg-canina-blue text-white'
|
||||
: 'text-medical-gray-700 hover:bg-medical-gray-100 hover:text-canina-blue'
|
||||
}`}
|
||||
>
|
||||
<Building2 className="w-4 h-4 text-canina-blue" />
|
||||
درخواست نمایندگی و خرید عمده (B2B)
|
||||
<Pill className="w-4 h-4" />
|
||||
<span>{navItem.label}</span>
|
||||
<ChevronDown className={`w-3.5 h-3.5 transition-transform ${isMegaMenuOpen ? 'rotate-180' : ''}`} />
|
||||
</Link>
|
||||
|
||||
<AnimatePresence>
|
||||
{isMegaMenuOpen && (
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 10 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
exit={{ opacity: 0, y: 10 }}
|
||||
className="absolute top-full right-0 w-[640px] bg-white border border-medical-gray-200 shadow-2xl rounded-2xl p-6 grid grid-cols-2 gap-6 z-50"
|
||||
>
|
||||
{menuItems.map((item, idx) => (
|
||||
<div key={idx} className="group/item">
|
||||
<Link
|
||||
href={`/shop?category=${item.id}`}
|
||||
onClick={() => setIsMegaMenuOpen(false)}
|
||||
className="flex items-center gap-3 mb-3 cursor-pointer"
|
||||
>
|
||||
<div className="p-2 bg-canina-blue/10 rounded-xl text-canina-blue group-hover/item:bg-canina-blue group-hover/item:text-white transition-all">
|
||||
{item.icon}
|
||||
</div>
|
||||
<h4 className="font-black text-medical-gray-900 text-sm">{item.title}</h4>
|
||||
</Link>
|
||||
<div className="flex flex-wrap gap-1 border-r-2 border-medical-gray-100 pr-2">
|
||||
{item.solutions.slice(0, 6).map((sol, sIdx) => (
|
||||
<Link
|
||||
key={sIdx}
|
||||
href={`/shop?category=${item.id}&symptom=${encodeURIComponent(sol)}`}
|
||||
className="inline-block px-2 py-0.5 rounded-md text-[10px] font-bold bg-medical-gray-50 hover:bg-canina-blue hover:text-white transition-all text-medical-gray-600"
|
||||
onClick={() => setIsMegaMenuOpen(false)}
|
||||
>
|
||||
{sol}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (hasChildren) {
|
||||
return (
|
||||
<div
|
||||
key={navItem.id}
|
||||
className="relative group py-2"
|
||||
onMouseEnter={() => setActiveDropdown(navItem.id)}
|
||||
onMouseLeave={() => setActiveDropdown(null)}
|
||||
>
|
||||
<Link
|
||||
href={navItem.href || '#'}
|
||||
className="flex items-center gap-1.5 px-3 py-2 rounded-xl text-medical-gray-700 hover:bg-medical-gray-100 hover:text-canina-blue transition-all"
|
||||
>
|
||||
<span>{navItem.label}</span>
|
||||
<ChevronDown className="w-3.5 h-3.5" />
|
||||
</Link>
|
||||
{activeDropdown === navItem.id && (
|
||||
<div className="absolute top-full right-0 w-60 bg-white border border-medical-gray-200 shadow-xl rounded-xl p-2 z-50 space-y-1 text-xs">
|
||||
{navItem.children!.map((child) => (
|
||||
<Link
|
||||
key={child.id || child.href}
|
||||
href={child.href}
|
||||
className="block px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold transition-colors"
|
||||
>
|
||||
{child.label}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<Link
|
||||
key={navItem.id}
|
||||
href={navItem.href}
|
||||
className="flex items-center gap-1.5 px-3 py-2 rounded-xl text-medical-gray-700 hover:bg-medical-gray-100 hover:text-canina-blue transition-all"
|
||||
>
|
||||
<span>{navItem.label}</span>
|
||||
{navItem.badge && (
|
||||
<span className="bg-rose-500 text-white text-[9px] font-black px-1.5 py-0.2 rounded-full font-mono">
|
||||
{navItem.badge}
|
||||
</span>
|
||||
)}
|
||||
<Link href="/contact" className="flex items-center gap-2 px-3 py-2 hover:bg-canina-blue/5 hover:text-canina-blue rounded-lg font-bold">
|
||||
<PhoneCall className="w-4 h-4 text-canina-blue" />
|
||||
تماس با مرکز پشتیبانی
|
||||
</Link>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</Link>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -570,120 +525,82 @@ export default function Header({
|
||||
<Search className="w-4 h-4 text-medical-gray-400 absolute right-3 top-1/2 -translate-y-1/2" />
|
||||
</form>
|
||||
|
||||
{/* Section: Shop & Catalog */}
|
||||
<div className="space-y-1">
|
||||
<div className="text-[11px] font-black text-medical-gray-400 px-2 py-1 uppercase tracking-wider">
|
||||
فروشگاه و محصولات
|
||||
</div>
|
||||
<Link
|
||||
href="/shop"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl bg-medical-gray-50 text-medical-gray-900 font-bold text-xs hover:bg-canina-blue/10 hover:text-canina-blue transition-all"
|
||||
>
|
||||
<ShoppingBag className="w-4 h-4 text-canina-blue" />
|
||||
<span>فروشگاه تخصصی محصولات کنینا</span>
|
||||
</Link>
|
||||
<Link
|
||||
href="/catalog"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<BookOpen className="w-4 h-4 text-medical-gray-500" />
|
||||
<span>کاتالوگ دیجیتال و راهنمای بالینی</span>
|
||||
</Link>
|
||||
</div>
|
||||
{/* Dynamic Menu Groups in Mobile Drawer */}
|
||||
{headerNavItems.map((navGroup) => {
|
||||
const hasChildren = Array.isArray(navGroup.children) && navGroup.children.length > 0;
|
||||
const isMega = navGroup.href?.includes('view=symptoms') || navGroup.id === 'category-mega' || navGroup.id === 'symptoms';
|
||||
|
||||
{/* Section: Categories */}
|
||||
<div className="space-y-1 border-t border-medical-gray-100 pt-3">
|
||||
<div className="text-[11px] font-black text-medical-gray-400 px-2 py-1 uppercase tracking-wider">
|
||||
دستهبندیهای درمانی
|
||||
</div>
|
||||
<div className="grid grid-cols-2 gap-2">
|
||||
{menuItems.map((item, idx) => (
|
||||
if (isMega) {
|
||||
return (
|
||||
<div key={navGroup.id} className="space-y-1 border-t border-medical-gray-100 pt-3">
|
||||
<div className="text-[11px] font-black text-medical-gray-400 px-2 py-1 uppercase tracking-wider">
|
||||
{navGroup.label}
|
||||
</div>
|
||||
<div className="grid grid-cols-2 gap-2">
|
||||
{menuItems.map((item, idx) => (
|
||||
<Link
|
||||
key={idx}
|
||||
href={`/shop?category=${item.id}`}
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-2 p-2.5 rounded-xl border border-medical-gray-100 bg-white hover:border-canina-blue/30 text-medical-gray-800 text-[11px] font-bold"
|
||||
>
|
||||
<span className="text-canina-blue">{item.icon}</span>
|
||||
<span className="truncate">{item.title}</span>
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (hasChildren) {
|
||||
return (
|
||||
<div key={navGroup.id} className="space-y-1 border-t border-medical-gray-100 pt-3">
|
||||
<div className="text-[11px] font-black text-medical-gray-400 px-2 py-1 uppercase tracking-wider">
|
||||
{navGroup.label}
|
||||
</div>
|
||||
{navGroup.children!.map((child) => (
|
||||
<Link
|
||||
key={child.id || child.href}
|
||||
href={child.href}
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-2.5 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-canina-blue" />
|
||||
<span>{child.label}</span>
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div key={navGroup.id} className="border-t border-medical-gray-100 pt-2">
|
||||
<Link
|
||||
key={idx}
|
||||
href={`/shop?category=${item.id}`}
|
||||
href={navGroup.href}
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-2 p-2.5 rounded-xl border border-medical-gray-100 bg-white hover:border-canina-blue/30 text-medical-gray-800 text-[11px] font-bold"
|
||||
className="flex items-center justify-between p-3 rounded-xl bg-medical-gray-50/70 hover:bg-canina-blue/10 hover:text-canina-blue text-medical-gray-900 font-black text-xs transition-all"
|
||||
>
|
||||
<span className="text-canina-blue">{item.icon}</span>
|
||||
<span className="truncate">{item.title}</span>
|
||||
<span>{navGroup.label}</span>
|
||||
{navGroup.badge && (
|
||||
<span className="bg-rose-500 text-white text-[9px] font-bold px-2 py-0.5 rounded-full">
|
||||
{navGroup.badge}
|
||||
</span>
|
||||
)}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
{/* Section: Academy & Science */}
|
||||
{/* Additional Company & Support links if needed */}
|
||||
<div className="space-y-1 border-t border-medical-gray-100 pt-3">
|
||||
<div className="text-[11px] font-black text-medical-gray-400 px-2 py-1 uppercase tracking-wider">
|
||||
دانشنامه و آموزش
|
||||
پشتیبانی و اطلاعات
|
||||
</div>
|
||||
<Link
|
||||
href="/wiki"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<BookOpen className="w-4 h-4 text-canina-blue" />
|
||||
<span>دانشنامه علمی کنینا</span>
|
||||
</Link>
|
||||
<Link
|
||||
href="/blog"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<FileText className="w-4 h-4 text-purple-600" />
|
||||
<span>مجله سلامت پت (وبلاگ)</span>
|
||||
</Link>
|
||||
<Link
|
||||
href="/videos"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<Video className="w-4 h-4 text-rose-500" />
|
||||
<span>آکادمی ویدئویی و مشاوره دامپزشک</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
{/* Section: Tools & Profile */}
|
||||
<div className="space-y-1 border-t border-medical-gray-100 pt-3">
|
||||
<div className="text-[11px] font-black text-medical-gray-400 px-2 py-1 uppercase tracking-wider">
|
||||
ابزارهای هوشمند
|
||||
</div>
|
||||
<Link
|
||||
href="/profile"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<Dog className="w-4 h-4 text-amber-500" />
|
||||
<span>شناسنامه و سوابق سلامت پت</span>
|
||||
</Link>
|
||||
<Link
|
||||
href="/dashboard"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<Activity className="w-4 h-4 text-emerald-500" />
|
||||
<span>پایش هوشمند مصرف مکملها</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
{/* Section: Company & Contact */}
|
||||
<div className="space-y-1 border-t border-medical-gray-100 pt-3">
|
||||
<div className="text-[11px] font-black text-medical-gray-400 px-2 py-1 uppercase tracking-wider">
|
||||
اطلاعات و تماس
|
||||
</div>
|
||||
<Link
|
||||
href="/about"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<Award className="w-4 h-4 text-canina-blue" />
|
||||
<span>درباره کمپانی کنینا آلمان</span>
|
||||
</Link>
|
||||
<Link
|
||||
href="/trust-seals"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-emerald-600 font-bold text-xs transition-all"
|
||||
className="flex items-center gap-3 p-2.5 rounded-xl hover:bg-medical-gray-50 text-emerald-600 font-bold text-xs transition-all"
|
||||
>
|
||||
<ShieldCheck className="w-4 h-4 text-emerald-600" />
|
||||
<span>نمادهای اعتماد و مجوزهای رسمی</span>
|
||||
@@ -692,7 +609,7 @@ export default function Header({
|
||||
<Link
|
||||
href="/b2b"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
className="flex items-center gap-3 p-2.5 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<Building2 className="w-4 h-4 text-canina-blue" />
|
||||
<span>درخواست نمایندگی و خرید عمده (B2B)</span>
|
||||
@@ -701,7 +618,7 @@ export default function Header({
|
||||
<Link
|
||||
href="/contact"
|
||||
onClick={() => setIsMobileMenuOpen(false)}
|
||||
className="flex items-center gap-3 p-3 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
className="flex items-center gap-3 p-2.5 rounded-xl hover:bg-medical-gray-50 text-medical-gray-800 font-bold text-xs transition-all"
|
||||
>
|
||||
<PhoneCall className="w-4 h-4 text-canina-blue" />
|
||||
<span>تماس با مرکز پشتیبانی</span>
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"0": "Roles",
|
||||
"1": "app.module.ts",
|
||||
"2": "SettingsController",
|
||||
"2": "SmsService",
|
||||
"3": "ProductService",
|
||||
"4": "useSettingsStore",
|
||||
"4": "toPersian",
|
||||
"5": "CmsController",
|
||||
"6": "TicketsService",
|
||||
"7": "Button.tsx",
|
||||
"8": "ReportsController",
|
||||
"8": "users.controller.ts",
|
||||
"9": "devDependencies",
|
||||
"10": "ReviewsController",
|
||||
"10": "reviews.controller.ts",
|
||||
"11": "MediaSelector.tsx",
|
||||
"12": "index.ts",
|
||||
"13": "main.ts",
|
||||
"13": "app-audit-verification.e2e-spec.js",
|
||||
"14": "BlogsService",
|
||||
"15": "src/services/api.ts",
|
||||
"16": "DoctorQueryDto",
|
||||
@@ -21,7 +21,7 @@
|
||||
"19": "ProductsService",
|
||||
"20": "CreateVideoDto",
|
||||
"21": "admin.module.ts",
|
||||
"22": "PetProfile.tsx",
|
||||
"22": "FeaturedProducts.tsx",
|
||||
"23": "MenuService",
|
||||
"24": "BE-001",
|
||||
"25": "FE-001",
|
||||
@@ -32,12 +32,12 @@
|
||||
"30": "DEVOPS-001",
|
||||
"31": "DOC-001",
|
||||
"32": "adminRoutes.tsx",
|
||||
"33": "WholesaleService",
|
||||
"33": "WholesaleApplyDto",
|
||||
"34": "B2BService",
|
||||
"35": "AuthController",
|
||||
"36": "FaqService",
|
||||
"37": "راهنمای تست سیستم (Software Testing)",
|
||||
"38": "Button",
|
||||
"38": "Transactions.tsx",
|
||||
"39": "CategoriesController",
|
||||
"40": "MediaController",
|
||||
"41": "What You Must Do When Invoked",
|
||||
@@ -47,27 +47,27 @@
|
||||
"45": "What You Must Do When Invoked",
|
||||
"46": "HomeController",
|
||||
"47": "IngredientsService",
|
||||
"48": "UsersService",
|
||||
"48": "UsersController",
|
||||
"49": "devDependencies",
|
||||
"50": "devDependencies",
|
||||
"51": "BlogsController",
|
||||
"52": "PrescriptionsService",
|
||||
"53": "SmartAdvisorService",
|
||||
"54": "RevalidationService",
|
||||
"54": "auth.module.ts",
|
||||
"55": "UITexts.tsx",
|
||||
"56": "Orders.tsx",
|
||||
"57": "Role & Core Objective",
|
||||
"58": "ContactService",
|
||||
"59": "compilerOptions",
|
||||
"60": "PaymentService",
|
||||
"61": "payment.service.ts",
|
||||
"61": "AdminTransactionFilterDto",
|
||||
"62": "ProductDto",
|
||||
"63": "dependencies",
|
||||
"64": "compilerOptions",
|
||||
"65": "app.e2e-spec.js",
|
||||
"66": "AdminQueryDto",
|
||||
"66": "ApiOperation",
|
||||
"67": "PetsController",
|
||||
"68": "UserDashboard.tsx",
|
||||
"68": "lib/services/api.ts",
|
||||
"69": "Required Review Group Closures",
|
||||
"70": "compilerOptions",
|
||||
"71": "getPageMetadata",
|
||||
@@ -75,7 +75,7 @@
|
||||
"73": "Operational Rules & Boundaries",
|
||||
"74": "WikiController",
|
||||
"75": "PetsController",
|
||||
"76": "ApiOperation",
|
||||
"76": "AdminService",
|
||||
"77": "seo.module.ts",
|
||||
"78": "rss.xml/route.ts",
|
||||
"79": "🏢 AI Software Agency — Master Orchestration Protocol v3",
|
||||
@@ -84,15 +84,15 @@
|
||||
"82": "scripts",
|
||||
"83": "dependencies",
|
||||
"84": "Role & Core Objective",
|
||||
"85": "HomeClient.tsx",
|
||||
"85": "useSettingsStore",
|
||||
"86": "zibal.service.ts",
|
||||
"87": "dependencies",
|
||||
"88": "CreateEBankCheckoutDto",
|
||||
"89": "seed-products.ts",
|
||||
"90": "ClientLayout.tsx",
|
||||
"90": "userStore.ts",
|
||||
"91": "Reconciled Audit Roles & Assignments",
|
||||
"92": "OrdersService",
|
||||
"93": "SettingsService",
|
||||
"93": "CheckoutPage.tsx",
|
||||
"94": "Phase 3.1 — Human Review Preparation and Master Backlog Critique",
|
||||
"95": "blog/[slug]/page.tsx",
|
||||
"96": "compilerOptions",
|
||||
@@ -105,8 +105,8 @@
|
||||
"103": "Comprehensive Change Log",
|
||||
"104": "Coupons.tsx",
|
||||
"105": "Operational Rules & Boundaries",
|
||||
"106": "Media.tsx",
|
||||
"107": "WikiController",
|
||||
"106": "UsersService",
|
||||
"107": "PaginationDto",
|
||||
"108": "PrismaService",
|
||||
"109": "1. Summary of Integrity Repairs Performed",
|
||||
"110": "Operational Rules & Boundaries",
|
||||
@@ -122,13 +122,13 @@
|
||||
"120": "compilerOptions",
|
||||
"121": "backend/README.md",
|
||||
"122": "AdminController",
|
||||
"123": "auth.service.ts",
|
||||
"123": "AuthService",
|
||||
"124": "Repository Map",
|
||||
"125": "validate_integrity.js",
|
||||
"126": "admin-panel/package.json",
|
||||
"127": "Sahel-Font",
|
||||
"128": "AdminService",
|
||||
"129": "auth.controller.ts",
|
||||
"128": "Body",
|
||||
"129": "auth.service.ts",
|
||||
"130": "Sahel-Font",
|
||||
"131": "Role & Core Objective",
|
||||
"132": "orchestrate.py",
|
||||
@@ -146,18 +146,18 @@
|
||||
"144": "@testing-library/react",
|
||||
"145": "admin.service.ts",
|
||||
"146": "System Discovery",
|
||||
"147": "SmsService",
|
||||
"148": "app-audit-verification.e2e-spec.js",
|
||||
"147": "PodcastPlayerModal.tsx",
|
||||
"148": "bcrypt",
|
||||
"149": "SmsSettingsPage.tsx",
|
||||
"150": "Product Requirement Document (PRD)",
|
||||
"151": "CreateOrderDto",
|
||||
"152": "lib/services/api.ts",
|
||||
"151": "class-transformer",
|
||||
"152": "useCartStore",
|
||||
"153": "exclude",
|
||||
"154": "Baseline Command Plan & Reconciled Command History",
|
||||
"155": "seo-backfill.ts",
|
||||
"156": "manual-test-scenarios.md",
|
||||
"157": "ErrorPages.tsx",
|
||||
"158": "CustomHttpExceptionFilter",
|
||||
"158": "js-yaml",
|
||||
"159": "with-vpn.sh",
|
||||
"160": "Architecture Specification",
|
||||
"161": "Project Health Audit Report",
|
||||
@@ -175,16 +175,16 @@
|
||||
"173": "Phase 3 Audit Traceability Matrix",
|
||||
"174": "rebuild_honest_ledger.js",
|
||||
"175": "validate_evidence_grade.js",
|
||||
"176": "settings.service.ts",
|
||||
"176": "@nestjs/core",
|
||||
"177": "@eslint/js",
|
||||
"178": "نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina",
|
||||
"179": "PaginationDto",
|
||||
"179": "@nestjs/jwt",
|
||||
"180": "API Contract Specification",
|
||||
"181": "⚙️ Backend Technical Review (05_dev_backend)",
|
||||
"182": "🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)",
|
||||
"183": "🚀 SEO & Content Strategy Review (12_seo_content)",
|
||||
"184": "RedisService",
|
||||
"185": "@types/node",
|
||||
"185": "@nestjs/swagger",
|
||||
"186": "seed-ui-texts.ts",
|
||||
"187": "seed-wiki.ts",
|
||||
"188": "update-blog.dto.ts",
|
||||
@@ -197,12 +197,13 @@
|
||||
"195": "React + TypeScript + Vite",
|
||||
"196": "Select.tsx",
|
||||
"197": "SmsLogQueryDto",
|
||||
"198": "eslint-config-next",
|
||||
"199": "VerifyOtpDto",
|
||||
"198": "@nestjs/throttler",
|
||||
"199": "passport",
|
||||
"200": "application/README.md",
|
||||
"201": "deploy.sh",
|
||||
"202": "🔒 Security & Performance Review (09_devops_security)",
|
||||
"203": "👁️ UX & Persona Interface Review (08_visual_qa)",
|
||||
"204": "reflect-metadata",
|
||||
"205": "prisma/scientificTerms.ts",
|
||||
"206": "seed-blogs.ts",
|
||||
"207": "seed-custom.ts",
|
||||
@@ -221,6 +222,7 @@
|
||||
"220": "Input.tsx",
|
||||
"221": "Textarea.tsx",
|
||||
"222": "admin-panel/tsconfig.json",
|
||||
"223": "swagger-ui-express",
|
||||
"224": "jest",
|
||||
"225": "next.config.ts",
|
||||
"226": "Shabnam Font README",
|
||||
@@ -228,7 +230,15 @@
|
||||
"228": "rules/graphify.md",
|
||||
"229": ".agents/workflows/graphify.md",
|
||||
"230": "instructions.md",
|
||||
"231": "eslint-config-prettier",
|
||||
"232": "@eslint/eslintrc",
|
||||
"233": "tailwindcss",
|
||||
"234": "@nestjs/schematics",
|
||||
"235": "@nestjs/testing",
|
||||
"236": "prisma",
|
||||
"237": "source-map-support",
|
||||
"238": "ts-jest",
|
||||
"239": "ts-loader",
|
||||
"240": "supertest",
|
||||
"241": "blog.entity.ts",
|
||||
"242": "home.entity.ts",
|
||||
@@ -253,7 +263,11 @@
|
||||
"261": "User Login API",
|
||||
"262": "User Logout API",
|
||||
"263": "generate-openapi.d.ts",
|
||||
"264": "ts-node",
|
||||
"265": "@testing-library/jest-dom",
|
||||
"266": "tsconfig-paths",
|
||||
"267": "@types/bcrypt",
|
||||
"268": "@types/compression",
|
||||
"269": "eslint-plugin-react-hooks",
|
||||
"270": "app-audit-verification.e2e-spec.d.ts",
|
||||
"271": "app.e2e-spec.d.ts",
|
||||
@@ -280,25 +294,31 @@
|
||||
"292": "Production Docker Compose",
|
||||
"293": "Staging Docker Compose",
|
||||
"294": "ZibalService",
|
||||
"295": "trust-seals/page.tsx",
|
||||
"295": "@types/express",
|
||||
"296": "eslint-plugin-prettier",
|
||||
"297": "ZibalEBankService",
|
||||
"298": ".initiateOrderPayment",
|
||||
"299": "@tailwindcss/postcss",
|
||||
"300": "typescript",
|
||||
"301": "@types/jest",
|
||||
"302": "typescript-eslint",
|
||||
"303": "@types/js-yaml",
|
||||
"304": "@types/multer",
|
||||
"305": "@types/react",
|
||||
"306": "globals",
|
||||
"307": "@nestjs/cli",
|
||||
"308": "vitest",
|
||||
"309": "axios",
|
||||
"310": "tailwindcss",
|
||||
"311": "@types/supertest",
|
||||
"312": "@types/passport-jwt",
|
||||
"313": "Modal.tsx",
|
||||
"314": "typescript-eslint",
|
||||
"315": "typescript",
|
||||
"316": "prettier",
|
||||
"317": "revalidate/route.ts",
|
||||
"318": "MaskableField.tsx",
|
||||
"319": "@types/react-dom",
|
||||
"324": "catalog/page.tsx",
|
||||
"327": "eslint-plugin-react-refresh"
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{"0": "b0118f68a3e7f0ad", "1": "6966e38a64633a31", "2": "f23e7a42f89bd101", "3": "04070ce691ed6169", "4": "895bacd26aa63c27", "5": "f34c872571e8a774", "6": "485f4eebcc9ce0a0", "7": "ca7f434e9ff71924", "8": "1a1f1cea37fa9f9f", "9": "15b0892fadb544bd", "10": "15ee90ab809dc6fc", "11": "7486b8792dd18a8e", "12": "0f987d4c17ae1a5e", "13": "cea76138b2d1e10e", "14": "1a4998084f448359", "15": "c503f61c132e0faa", "16": "bbaf7539ddd300b0", "17": "cf61e1532c01d2a4", "18": "9dc53119c04e2afd", "19": "ef34494246139a95", "20": "67ce5a498e6dcd5c", "21": "b8fdac6eaed0832f", "22": "9578ce915adb9566", "23": "493cda457ee900a1", "24": "4eda46a5b0695ef6", "25": "90b79d6027d60d30", "26": "6bd6f2633370820c", "27": "7664e56213a29331", "28": "942c4f9928c60a45", "29": "0614b98d9013b5f5", "30": "53ff49b3d54f0fba", "31": "2153ddcd7477dfb7", "32": "89fe2ef12db40871", "33": "5499104e9ca4fdad", "34": "e89579446dcd5c0b", "35": "22da5072d40567ac", "36": "f150a52ef5061868", "37": "1c9a1f4c72613346", "38": "58fe18c423dae025", "39": "f38c905c9af9edc0", "40": "cf43e144340a5383", "41": "7abb5bc6a0e4f65f", "42": "cbaa20536db72d3e", "43": "7478d6755ca2248a", "44": "b4c82af1f2f566f7", "45": "7dd5c61562c827a8", "46": "4ece6985263357c4", "47": "65e41c1c22dcd058", "48": "be3689094661c515", "49": "841013681f4e6e8c", "50": "6e280669736f661b", "51": "f72c06a6893d6e7d", "52": "73df605d6eec20d9", "53": "cb17af4eb831480f", "54": "311e4e928f52c8a8", "55": "93d836d575401c61", "56": "2a1dd74542bc4e00", "57": "0f62727f3b4907c0", "58": "533f2d32c60dd4b3", "59": "7369e85febb97f1a", "60": "dec37661e610ce3b", "61": "9b0eb2e9b68ff17d", "62": "610fb4de52790b25", "63": "2b0ee366d6136717", "64": "3b9521f7d7986eaa", "65": "c35e392f1594d14e", "66": "5f5d37a41fc312b2", "67": "e2bda4d8806cbe01", "68": "b934de9142464cf9", "69": "31a5a53f1fe77e46", "70": "01d4f9d6d9f3b08a", "71": "0e135a90ea003a94", "72": "69d0f8b228227690", "73": "22456307ff273d80", "74": "d9e74b032c5b8440", "75": "ca4d94b36734b0d0", "76": "b27014fce4a39917", "77": "62430df45afa65b5", "78": "0273bbf045eb1528", "79": "ba7bc17581366c9a", "80": "0727bb53199085fc", "81": "91393683c97d1773", "82": "36d253e9d0d7547b", "83": "71d2ce6fb684bc0e", "84": "70497658d0e0cea6", "85": "8273c57d0e504cca", "86": "e3d13e2060945d3f", "87": "f0f56796aaebb4f5", "88": "c4acedd7472cf7cb", "89": "656f816eb51f2ab1", "90": "f30c9d851092313e", "91": "25a6695f5783d2be", "92": "d3f2069ef5cc5878", "93": "9331200d3ec524d6", "94": "f7a706f5fcb260c3", "95": "3b8f30fa05a39967", "96": "3fef84a1b6832b0b", "97": "34581929891cefb2", "98": "5bbc8944b2ba2d8f", "99": "3c7478cc94918e63", "100": "3c1d9844d072bd2a", "101": "b3c5433df880f335", "102": "e036dbd1de0f8b38", "103": "ac7cb5ec7d5c0802", "104": "dbe2f8ccb8d5321a", "105": "622f83f2eb300a25", "106": "0e03a5b22c0f26de", "107": "6e67e4bc78994a71", "108": "f6320e17d805f686", "109": "6d16ccde1291c9d4", "110": "d228746e85ead3af", "111": "b55ba9125ffb5729", "112": "5f50a360f18a880b", "113": "d86deea433a6d69d", "114": "c6b57d78299a27b3", "115": "e34159e7e07678de", "116": "db70db08c00162df", "117": "9a1080686fc7c39b", "118": "77fd76193df9f573", "119": "28355f848c862b6e", "120": "25f77f5455bdc96a", "121": "9141a0ede9461fd5", "122": "fce05247ce9d02ea", "123": "eee74d2d9d89a5e1", "124": "3ceda88239910d9a", "125": "9409b3b8a334f51d", "126": "ac95a9f152e3d1c4", "127": "a7299f20633c0236", "128": "cd9ae2caed92d38a", "129": "642e51489ab39b63", "130": "7f405315686459b9", "131": "44c7924c829cc215", "132": "17ecb7325285cf7a", "133": "4487fd85ddc13c93", "134": "73382a9ef9d08673", "135": "c4abf0eb38ef740d", "136": "07d37aeefbe50e21", "137": "70b58e32c2890fdd", "138": "f2c7afb0c277c4b7", "139": "3ae63656c43c37a7", "140": "167643bcbbc26244", "141": "dcffd9ad7a1f7df6", "142": "f47469d48b3776b5", "143": "1b0ef1cf87b53de3", "144": "e195f425def606d0", "145": "7e7306b817687303", "146": "c7ddffce8605b65b", "147": "53d9915909e5cf9b", "148": "842eaa2a668240a3", "149": "39d16c91943d85e4", "150": "5910eeefe2f97a20", "151": "d13dd35a8c73fef2", "152": "bfb436bdedf49b59", "153": "6cfdd09a6fdd9ff9", "154": "66efafa1e86d8081", "155": "562a328c3cebc9b1", "156": "4a8bdc6821207fa3", "157": "dd5f624dc488c627", "158": "5112b9125ceafb57", "159": "a2fe690317aef2ee", "160": "e30004421d79ffeb", "161": "cd66a5f43cd3407d", "162": "fa2d7dcf52348095", "163": "75efc6457f7fce22", "164": "8375a4fbf0573a52", "165": "edb079558c6f3d59", "166": "1d80b74f885d6716", "167": "3cd15de82f23093a", "168": "7a77349497fcdf37", "169": "85cd9ca1246dc437", "170": "3e93071fc4a80e95", "171": "6114ccb7b9036e33", "172": "f3d92800d756dd79", "173": "2aa85a497fd142d7", "174": "35d3a2679371e9a4", "175": "b8f35a499b36a57a", "176": "c14f9b336f0c1bd8", "177": "b0b81cfb9e11502e", "178": "4a0995c91344bedb", "179": "221f483d0d08b766", "180": "4ac5f9965007617d", "181": "cff999497d56b512", "182": "06b38ffa6f58195d", "183": "ee705c178d6958bb", "184": "526c4c6125eaf48f", "185": "6ddbf62ac93920e1", "186": "867babdd40f0c3fc", "187": "298144d1548a7dee", "188": "00d275127a7e435e", "189"Line truncated
|
||||
{"0": "b0118f68a3e7f0ad", "1": "bb4e4143ce145b04", "2": "11b1d1eedead2f63", "3": "0b8df688649d5b6f", "4": "04bb1ef45e6b1241", "5": "f34c872571e8a774", "6": "a64c846800181915", "7": "c15437e0796ff0eb", "8": "89b52c751e6ff533", "9": "23ffcb2f5682d0bc", "10": "18ee9a3bf7ca1902", "11": "4b9eb7fcc08b54dd", "12": "0f987d4c17ae1a5e", "13": "85d482ba1c55c7df", "14": "9b1cde67d55746be", "15": "b8ffd9a0af4f1f20", "16": "bbaf7539ddd300b0", "17": "cf61e1532c01d2a4", "18": "e6e3d7cd262644a4", "19": "10c596403944b996", "20": "a9c8508883f21e7a", "21": "1bbbfacd50f53b85", "22": "6ba72d37b56f0d97", "23": "b64d81a71800bd4b", "24": "4eda46a5b0695ef6", "25": "90b79d6027d60d30", "26": "6bd6f2633370820c", "27": "7664e56213a29331", "28": "942c4f9928c60a45", "29": "0614b98d9013b5f5", "30": "53ff49b3d54f0fba", "31": "2153ddcd7477dfb7", "32": "b61a98d514d03537", "33": "8c213a62d97de6b1", "34": "e89579446dcd5c0b", "35": "22da5072d40567ac", "36": "b73994254301dd0e", "37": "1c9a1f4c72613346", "38": "10293ac010b6e439", "39": "f38c905c9af9edc0", "40": "cf43e144340a5383", "41": "7abb5bc6a0e4f65f", "42": "cbaa20536db72d3e", "43": "7478d6755ca2248a", "44": "b4c82af1f2f566f7", "45": "7dd5c61562c827a8", "46": "4ece6985263357c4", "47": "65e41c1c22dcd058", "48": "eeb7893340b2dc22", "49": "841013681f4e6e8c", "50": "b1c3283bd55a8fe9", "51": "f72c06a6893d6e7d", "52": "73df605d6eec20d9", "53": "cb17af4eb831480f", "54": "bf83938692ed2636", "55": "29ebd59bd1656ccc", "56": "ebe74c19555899b6", "57": "0f62727f3b4907c0", "58": "533f2d32c60dd4b3", "59": "7369e85febb97f1a", "60": "5287bf63026e555d", "61": "5404a2dafca5cc88", "62": "610fb4de52790b25", "63": "f10a320b4866ffb1", "64": "3b9521f7d7986eaa", "65": "c35e392f1594d14e", "66": "50591cb1739654fd", "67": "10d4f0bfa19dd52f", "68": "0e10a51744d74f1d", "69": "31a5a53f1fe77e46", "70": "01d4f9d6d9f3b08a", "71": "f58984f3dc37fcdd", "72": "69d0f8b228227690", "73": "22456307ff273d80", "74": "d9e74b032c5b8440", "75": "ca4d94b36734b0d0", "76": "05331539fcc59027", "77": "62430df45afa65b5", "78": "0273bbf045eb1528", "79": "ba7bc17581366c9a", "80": "0727bb53199085fc", "81": "91393683c97d1773", "82": "36d253e9d0d7547b", "83": "71d2ce6fb684bc0e", "84": "70497658d0e0cea6", "85": "4b887c1aa8e9aa05", "86": "e3d13e2060945d3f", "87": "f0f56796aaebb4f5", "88": "c4acedd7472cf7cb", "89": "656f816eb51f2ab1", "90": "683f934b6a38c7a1", "91": "25a6695f5783d2be", "92": "cd48ffe0da1c3aa1", "93": "c442ad8659d90a0d", "94": "f7a706f5fcb260c3", "95": "e15822c5a4043b09", "96": "3fef84a1b6832b0b", "97": "34581929891cefb2", "98": "5bbc8944b2ba2d8f", "99": "00f2fb63167e186c", "100": "3c1d9844d072bd2a", "101": "b3c5433df880f335", "102": "e036dbd1de0f8b38", "103": "ac7cb5ec7d5c0802", "104": "dbe2f8ccb8d5321a", "105": "622f83f2eb300a25", "106": "7ef836e15e8c1b76", "107": "78588198dbe372f0", "108": "d55e85de2245f652", "109": "6d16ccde1291c9d4", "110": "d228746e85ead3af", "111": "b55ba9125ffb5729", "112": "5f50a360f18a880b", "113": "d86deea433a6d69d", "114": "c6b57d78299a27b3", "115": "e34159e7e07678de", "116": "db70db08c00162df", "117": "9a1080686fc7c39b", "118": "77fd76193df9f573", "119": "28355f848c862b6e", "120": "25f77f5455bdc96a", "121": "9141a0ede9461fd5", "122": "895824251189f831", "123": "3ade3e2dd4f032ce", "124": "3ceda88239910d9a", "125": "9409b3b8a334f51d", "126": "ac95a9f152e3d1c4", "127": "a7299f20633c0236", "128": "6c8cc146211dfe24", "129": "f62b69ad83ebf5d8", "130": "7f405315686459b9", "131": "44c7924c829cc215", "132": "17ecb7325285cf7a", "133": "4487fd85ddc13c93", "134": "73382a9ef9d08673", "135": "c4abf0eb38ef740d", "136": "07d37aeefbe50e21", "137": "70b58e32c2890fdd", "138": "f2c7afb0c277c4b7", "139": "3ae63656c43c37a7", "140": "167643bcbbc26244", "141": "dcffd9ad7a1f7df6", "142": "f47469d48b3776b5", "143": "1b0ef1cf87b53de3", "144": "e195f425def606d0", "145": "308972713c9af54e", "146": "c7ddffce8605b65b", "147": "f74d29bd4f6b6043", "148": "5868455594581723", "149": "39d16c91943d85e4", "150": "5910eeefe2f97a20", "151": "959e76250dbacbad", "152": "796597bbf72d5b84", "153": "6cfdd09a6fdd9ff9", "154": "66efafa1e86d8081", "155": "562a328c3cebc9b1", "156": "4a8bdc6821207fa3", "157": "dd5f624dc488c627", "158": "ca950b47c628b81a", "159": "a2fe690317aef2ee", "160": "e30004421d79ffeb", "161": "cd66a5f43cd3407d", "162": "fa2d7dcf52348095", "163": "75efc6457f7fce22", "164": "8375a4fbf0573a52", "165": "edb079558c6f3d59", "166": "1d80b74f885d6716", "167": "3cd15de82f23093a", "168": "7a77349497fcdf37", "169": "85cd9ca1246dc437", "170": "3e93071fc4a80e95", "171": "6114ccb7b9036e33", "172": "f3d92800d756dd79", "173": "2aa85a497fd142d7", "174": "35d3a2679371e9a4", "175": "b8f35a499b36a57a", "176": "255a8a95e2a3df67", "177": "b0b81cfb9e11502e", "178": "4a0995c91344bedb", "179": "47e08912fd6cd296", "180": "4ac5f9965007617d", "181": "cff999497d56b512", "182": "06b38ffa6f58195d", "183": "ee705c178d6958bb", "184": "dcbc3562d6fe29fa", "185": "3528c4c8a0e2db61", "186": "867babdd40f0c3fc", "187": "298144d1548a7dee", "188": "00d275127a7e435e", "189"Line truncated
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"0": "Roles",
|
||||
"1": "app.module.ts",
|
||||
"2": "SmsService",
|
||||
"2": "SettingsController",
|
||||
"3": "ProductService",
|
||||
"4": "useSettingsStore",
|
||||
"5": "CmsController",
|
||||
@@ -12,7 +12,7 @@
|
||||
"10": "ReviewsController",
|
||||
"11": "MediaSelector.tsx",
|
||||
"12": "index.ts",
|
||||
"13": "app-audit-verification.e2e-spec.js",
|
||||
"13": "main.ts",
|
||||
"14": "BlogsService",
|
||||
"15": "src/services/api.ts",
|
||||
"16": "DoctorQueryDto",
|
||||
@@ -20,7 +20,7 @@
|
||||
"18": "JwtAuthGuard",
|
||||
"19": "ProductsService",
|
||||
"20": "CreateVideoDto",
|
||||
"21": "userStore.ts",
|
||||
"21": "admin.module.ts",
|
||||
"22": "PetProfile.tsx",
|
||||
"23": "MenuService",
|
||||
"24": "BE-001",
|
||||
@@ -53,7 +53,7 @@
|
||||
"51": "BlogsController",
|
||||
"52": "PrescriptionsService",
|
||||
"53": "SmartAdvisorService",
|
||||
"54": "CreateReviewDto",
|
||||
"54": "RevalidationService",
|
||||
"55": "UITexts.tsx",
|
||||
"56": "Orders.tsx",
|
||||
"57": "Role & Core Objective",
|
||||
@@ -89,10 +89,10 @@
|
||||
"87": "dependencies",
|
||||
"88": "CreateEBankCheckoutDto",
|
||||
"89": "seed-products.ts",
|
||||
"90": "useUserStore",
|
||||
"90": "ClientLayout.tsx",
|
||||
"91": "Reconciled Audit Roles & Assignments",
|
||||
"92": "OrdersService",
|
||||
"93": "@nestjs/schematics",
|
||||
"93": "SettingsService",
|
||||
"94": "Phase 3.1 — Human Review Preparation and Master Backlog Critique",
|
||||
"95": "blog/[slug]/page.tsx",
|
||||
"96": "compilerOptions",
|
||||
@@ -121,13 +121,13 @@
|
||||
"119": "compilerOptions",
|
||||
"120": "compilerOptions",
|
||||
"121": "backend/README.md",
|
||||
"122": "AdminService",
|
||||
"122": "AdminController",
|
||||
"123": "auth.service.ts",
|
||||
"124": "Repository Map",
|
||||
"125": "validate_integrity.js",
|
||||
"126": "admin-panel/package.json",
|
||||
"127": "Sahel-Font",
|
||||
"128": "AdminController",
|
||||
"128": "AdminService",
|
||||
"129": "auth.controller.ts",
|
||||
"130": "Sahel-Font",
|
||||
"131": "Role & Core Objective",
|
||||
@@ -146,18 +146,18 @@
|
||||
"144": "@testing-library/react",
|
||||
"145": "admin.service.ts",
|
||||
"146": "System Discovery",
|
||||
"147": "orders.service.ts",
|
||||
"148": "class-transformer",
|
||||
"147": "SmsService",
|
||||
"148": "app-audit-verification.e2e-spec.js",
|
||||
"149": "SmsSettingsPage.tsx",
|
||||
"150": "Product Requirement Document (PRD)",
|
||||
"151": "@types/react-dom",
|
||||
"152": "useCartStore",
|
||||
"151": "CreateOrderDto",
|
||||
"152": "lib/services/api.ts",
|
||||
"153": "exclude",
|
||||
"154": "Baseline Command Plan & Reconciled Command History",
|
||||
"155": "seo-backfill.ts",
|
||||
"156": "manual-test-scenarios.md",
|
||||
"157": "ErrorPages.tsx",
|
||||
"158": "helmet",
|
||||
"158": "CustomHttpExceptionFilter",
|
||||
"159": "with-vpn.sh",
|
||||
"160": "Architecture Specification",
|
||||
"161": "Project Health Audit Report",
|
||||
@@ -175,8 +175,8 @@
|
||||
"173": "Phase 3 Audit Traceability Matrix",
|
||||
"174": "rebuild_honest_ledger.js",
|
||||
"175": "validate_evidence_grade.js",
|
||||
"176": "videos.controller.ts",
|
||||
"177": "RegisterDto",
|
||||
"176": "settings.service.ts",
|
||||
"177": "@eslint/js",
|
||||
"178": "نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina",
|
||||
"179": "PaginationDto",
|
||||
"180": "API Contract Specification",
|
||||
@@ -184,7 +184,7 @@
|
||||
"182": "🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)",
|
||||
"183": "🚀 SEO & Content Strategy Review (12_seo_content)",
|
||||
"184": "RedisService",
|
||||
"185": "js-yaml",
|
||||
"185": "@types/node",
|
||||
"186": "seed-ui-texts.ts",
|
||||
"187": "seed-wiki.ts",
|
||||
"188": "update-blog.dto.ts",
|
||||
@@ -197,13 +197,12 @@
|
||||
"195": "React + TypeScript + Vite",
|
||||
"196": "Select.tsx",
|
||||
"197": "SmsLogQueryDto",
|
||||
"198": "@nestjs/core",
|
||||
"198": "eslint-config-next",
|
||||
"199": "VerifyOtpDto",
|
||||
"200": "application/README.md",
|
||||
"201": "deploy.sh",
|
||||
"202": "🔒 Security & Performance Review (09_devops_security)",
|
||||
"203": "👁️ UX & Persona Interface Review (08_visual_qa)",
|
||||
"204": "eslint-config-prettier",
|
||||
"205": "prisma/scientificTerms.ts",
|
||||
"206": "seed-blogs.ts",
|
||||
"207": "seed-custom.ts",
|
||||
@@ -222,7 +221,6 @@
|
||||
"220": "Input.tsx",
|
||||
"221": "Textarea.tsx",
|
||||
"222": "admin-panel/tsconfig.json",
|
||||
"223": "@nestjs/jwt",
|
||||
"224": "jest",
|
||||
"225": "next.config.ts",
|
||||
"226": "Shabnam Font README",
|
||||
@@ -230,15 +228,7 @@
|
||||
"228": "rules/graphify.md",
|
||||
"229": ".agents/workflows/graphify.md",
|
||||
"230": "instructions.md",
|
||||
"231": "@nestjs/throttler",
|
||||
"232": "SendOtpDto",
|
||||
"233": "tailwindcss",
|
||||
"234": "passport",
|
||||
"235": "reflect-metadata",
|
||||
"236": "swagger-ui-express",
|
||||
"237": "@eslint/eslintrc",
|
||||
"238": "prisma",
|
||||
"239": "source-map-support",
|
||||
"240": "supertest",
|
||||
"241": "blog.entity.ts",
|
||||
"242": "home.entity.ts",
|
||||
@@ -263,11 +253,7 @@
|
||||
"261": "User Login API",
|
||||
"262": "User Logout API",
|
||||
"263": "generate-openapi.d.ts",
|
||||
"264": "ts-loader",
|
||||
"265": "@testing-library/jest-dom",
|
||||
"266": "ts-node",
|
||||
"267": "tsconfig-paths",
|
||||
"268": "@types/bcrypt",
|
||||
"269": "eslint-plugin-react-hooks",
|
||||
"270": "app-audit-verification.e2e-spec.d.ts",
|
||||
"271": "app.e2e-spec.d.ts",
|
||||
@@ -300,31 +286,19 @@
|
||||
"298": ".initiateOrderPayment",
|
||||
"299": "@tailwindcss/postcss",
|
||||
"300": "typescript",
|
||||
"301": "@types/compression",
|
||||
"302": "typescript-eslint",
|
||||
"303": "@types/express",
|
||||
"304": "@types/jest",
|
||||
"305": "@types/react",
|
||||
"306": "globals",
|
||||
"307": "@nestjs/cli",
|
||||
"308": "vitest",
|
||||
"309": "axios",
|
||||
"310": "tailwindcss",
|
||||
"311": "@types/multer",
|
||||
"312": "@types/passport-jwt",
|
||||
"313": "Modal.tsx",
|
||||
"314": "@nestjs/testing",
|
||||
"315": "typescript",
|
||||
"316": "prettier",
|
||||
"317": "revalidate/route.ts",
|
||||
"318": "MaskableField.tsx",
|
||||
"319": "ts-jest",
|
||||
"320": "@types/js-yaml",
|
||||
"321": "@types/supertest",
|
||||
"322": "typescript-eslint",
|
||||
"323": "PodcastPlayerModal.tsx",
|
||||
"324": "catalog/page.tsx",
|
||||
"325": "bcrypt",
|
||||
"326": "eslint",
|
||||
"327": "eslint-plugin-react-refresh"
|
||||
}
|
||||
@@ -1,23 +1,23 @@
|
||||
# Graph Report - canina (2026-08-26)
|
||||
|
||||
## Corpus Check
|
||||
- 586 files · ~1,331,607 words
|
||||
- 586 files · ~1,332,142 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 4107 nodes · 7399 edges · 328 communities (211 shown, 117 thin omitted)
|
||||
- 4107 nodes · 7401 edges · 302 communities (209 shown, 93 thin omitted)
|
||||
- Extraction: 96% EXTRACTED · 4% INFERRED · 0% AMBIGUOUS · INFERRED: 281 edges (avg confidence: 0.79)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `aa0dde6a`
|
||||
- Built from commit: `41f7e98d`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
- Roles
|
||||
- app.module.ts
|
||||
- SmsService
|
||||
- SettingsController
|
||||
- ProductService
|
||||
- useSettingsStore
|
||||
- CmsController
|
||||
@@ -28,7 +28,7 @@
|
||||
- ReviewsController
|
||||
- MediaSelector.tsx
|
||||
- index.ts
|
||||
- app-audit-verification.e2e-spec.js
|
||||
- main.ts
|
||||
- BlogsService
|
||||
- src/services/api.ts
|
||||
- DoctorQueryDto
|
||||
@@ -36,7 +36,7 @@
|
||||
- JwtAuthGuard
|
||||
- ProductsService
|
||||
- CreateVideoDto
|
||||
- userStore.ts
|
||||
- admin.module.ts
|
||||
- PetProfile.tsx
|
||||
- MenuService
|
||||
- BE-001
|
||||
@@ -69,7 +69,7 @@
|
||||
- BlogsController
|
||||
- PrescriptionsService
|
||||
- SmartAdvisorService
|
||||
- CreateReviewDto
|
||||
- RevalidationService
|
||||
- UITexts.tsx
|
||||
- Orders.tsx
|
||||
- Role & Core Objective
|
||||
@@ -105,10 +105,10 @@
|
||||
- dependencies
|
||||
- CreateEBankCheckoutDto
|
||||
- seed-products.ts
|
||||
- useUserStore
|
||||
- ClientLayout.tsx
|
||||
- Reconciled Audit Roles & Assignments
|
||||
- OrdersService
|
||||
- @nestjs/schematics
|
||||
- SettingsService
|
||||
- Phase 3.1 — Human Review Preparation and Master Backlog Critique
|
||||
- blog/[slug]/page.tsx
|
||||
- compilerOptions
|
||||
@@ -137,13 +137,13 @@
|
||||
- compilerOptions
|
||||
- compilerOptions
|
||||
- backend/README.md
|
||||
- AdminService
|
||||
- AdminController
|
||||
- auth.service.ts
|
||||
- Repository Map
|
||||
- validate_integrity.js
|
||||
- admin-panel/package.json
|
||||
- Sahel-Font
|
||||
- AdminController
|
||||
- AdminService
|
||||
- auth.controller.ts
|
||||
- Sahel-Font
|
||||
- Role & Core Objective
|
||||
@@ -162,17 +162,17 @@
|
||||
- @testing-library/react
|
||||
- admin.service.ts
|
||||
- System Discovery
|
||||
- orders.service.ts
|
||||
- class-transformer
|
||||
- SmsService
|
||||
- app-audit-verification.e2e-spec.js
|
||||
- SmsSettingsPage.tsx
|
||||
- Product Requirement Document (PRD)
|
||||
- @types/react-dom
|
||||
- useCartStore
|
||||
- CreateOrderDto
|
||||
- lib/services/api.ts
|
||||
- exclude
|
||||
- Baseline Command Plan & Reconciled Command History
|
||||
- seo-backfill.ts
|
||||
- ErrorPages.tsx
|
||||
- helmet
|
||||
- CustomHttpExceptionFilter
|
||||
- with-vpn.sh
|
||||
- Architecture Specification
|
||||
- Project Health Audit Report
|
||||
@@ -190,8 +190,8 @@
|
||||
- Phase 3 Audit Traceability Matrix
|
||||
- rebuild_honest_ledger.js
|
||||
- validate_evidence_grade.js
|
||||
- videos.controller.ts
|
||||
- RegisterDto
|
||||
- settings.service.ts
|
||||
- @eslint/js
|
||||
- نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina
|
||||
- PaginationDto
|
||||
- API Contract Specification
|
||||
@@ -199,7 +199,7 @@
|
||||
- 🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)
|
||||
- 🚀 SEO & Content Strategy Review (12_seo_content)
|
||||
- RedisService
|
||||
- js-yaml
|
||||
- @types/node
|
||||
- seed-ui-texts.ts
|
||||
- seed-wiki.ts
|
||||
- update-blog.dto.ts
|
||||
@@ -212,13 +212,12 @@
|
||||
- React + TypeScript + Vite
|
||||
- Select.tsx
|
||||
- SmsLogQueryDto
|
||||
- @nestjs/core
|
||||
- eslint-config-next
|
||||
- VerifyOtpDto
|
||||
- application/README.md
|
||||
- deploy.sh
|
||||
- 🔒 Security & Performance Review (09_devops_security)
|
||||
- 👁️ UX & Persona Interface Review (08_visual_qa)
|
||||
- eslint-config-prettier
|
||||
- prisma/scientificTerms.ts
|
||||
- seed-blogs.ts
|
||||
- seed-custom.ts
|
||||
@@ -237,7 +236,6 @@
|
||||
- Input.tsx
|
||||
- Textarea.tsx
|
||||
- admin-panel/tsconfig.json
|
||||
- @nestjs/jwt
|
||||
- jest
|
||||
- next.config.ts
|
||||
- Shabnam Font README
|
||||
@@ -245,15 +243,7 @@
|
||||
- rules/graphify.md
|
||||
- .agents/workflows/graphify.md
|
||||
- instructions.md
|
||||
- @nestjs/throttler
|
||||
- SendOtpDto
|
||||
- tailwindcss
|
||||
- passport
|
||||
- reflect-metadata
|
||||
- swagger-ui-express
|
||||
- @eslint/eslintrc
|
||||
- prisma
|
||||
- source-map-support
|
||||
- supertest
|
||||
- blog.entity.ts
|
||||
- home.entity.ts
|
||||
@@ -274,11 +264,7 @@
|
||||
- start.sh
|
||||
- User Login API
|
||||
- User Logout API
|
||||
- ts-loader
|
||||
- @testing-library/jest-dom
|
||||
- ts-node
|
||||
- tsconfig-paths
|
||||
- @types/bcrypt
|
||||
- eslint-plugin-react-hooks
|
||||
- Canina Pharma GmbH
|
||||
- Pets Table
|
||||
@@ -300,30 +286,18 @@
|
||||
- .initiateOrderPayment
|
||||
- @tailwindcss/postcss
|
||||
- typescript
|
||||
- @types/compression
|
||||
- typescript-eslint
|
||||
- @types/express
|
||||
- @types/jest
|
||||
- @types/react
|
||||
- globals
|
||||
- @nestjs/cli
|
||||
- vitest
|
||||
- @types/multer
|
||||
- @types/passport-jwt
|
||||
- Modal.tsx
|
||||
- @nestjs/testing
|
||||
- typescript
|
||||
- prettier
|
||||
- revalidate/route.ts
|
||||
- MaskableField.tsx
|
||||
- ts-jest
|
||||
- @types/js-yaml
|
||||
- @types/supertest
|
||||
- typescript-eslint
|
||||
- PodcastPlayerModal.tsx
|
||||
- catalog/page.tsx
|
||||
- bcrypt
|
||||
- eslint
|
||||
- eslint-plugin-react-refresh
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
@@ -351,23 +325,23 @@
|
||||
backend/src/orders/orders.controller.ts → frontend/admin-panel/src/types/admin.ts
|
||||
|
||||
## Import Cycles
|
||||
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/services/authService.ts -> frontend/application/lib/services/api.ts`
|
||||
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/api.ts`
|
||||
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/services/authService.ts -> frontend/application/lib/services/api.ts`
|
||||
- 4-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/orderService.ts -> frontend/application/lib/services/api.ts`
|
||||
|
||||
## Communities (328 total, 117 thin omitted)
|
||||
## Communities (302 total, 93 thin omitted)
|
||||
|
||||
### Community 0 - "Roles"
|
||||
Cohesion: 0.23
|
||||
Cohesion: 0.24
|
||||
Nodes (13): Roles(), PaymentController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get (+5 more)
|
||||
|
||||
### Community 1 - "app.module.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (34): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+26 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (36): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+28 more)
|
||||
|
||||
### Community 2 - "SmsService"
|
||||
Cohesion: 0.06
|
||||
Nodes (23): SmsLogQuery, SmsService, Injectable, DEFAULT_UI_TEXTS, SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation (+15 more)
|
||||
### Community 2 - "SettingsController"
|
||||
Cohesion: 0.17
|
||||
Nodes (15): SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller, Delete (+7 more)
|
||||
|
||||
### Community 3 - "ProductService"
|
||||
Cohesion: 0.06
|
||||
@@ -375,7 +349,7 @@ Nodes (34): dynamic, revalidate, DEFAULT_CATEGORIES, dynamic, revalidate, dynami
|
||||
|
||||
### Community 4 - "useSettingsStore"
|
||||
Cohesion: 0.07
|
||||
Nodes (34): B2BLandingClient(), BlogPost, BlogPreviewSection(), ContactInfoItem, FAQItem, FAQSection(), OrderDetailsModalProps, PLAYBACK_RATES (+26 more)
|
||||
Nodes (31): B2BLandingClient(), BlogPost, BlogPreviewSection(), ContactInfoItem, FAQItem, FAQSection(), OrderDetailsModalProps, PLAYBACK_RATES (+23 more)
|
||||
|
||||
### Community 5 - "CmsController"
|
||||
Cohesion: 0.09
|
||||
@@ -394,8 +368,8 @@ Cohesion: 0.14
|
||||
Nodes (11): ReportsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller, Get, Query (+3 more)
|
||||
|
||||
### Community 9 - "devDependencies"
|
||||
Cohesion: 0.22
|
||||
Nodes (9): devDependencies, @eslint/js, @types/bcryptjs, @types/node, typescript, @eslint/js, @types/node, typescript (+1 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (43): devDependencies, eslint, eslint-config-prettier, @eslint/eslintrc, @nestjs/schematics, @nestjs/testing, prisma, source-map-support (+35 more)
|
||||
|
||||
### Community 10 - "ReviewsController"
|
||||
Cohesion: 0.14
|
||||
@@ -409,13 +383,9 @@ Nodes (33): ConfirmModal(), ConfirmModalProps, getFileType(), Media, MediaSelect
|
||||
Cohesion: 0.06
|
||||
Nodes (24): backend, frontend, playwright.config.ts, @playwright/test, tests/**/*.ts, authFile, test, compilerOptions (+16 more)
|
||||
|
||||
### Community 13 - "app-audit-verification.e2e-spec.js"
|
||||
Cohesion: 0.06
|
||||
Nodes (28): AppModule, Module, EnvironmentVariables, IsNotEmpty, IsOptional, IsString, validateEnv(), CustomHttpExceptionFilter (+20 more)
|
||||
|
||||
### Community 14 - "BlogsService"
|
||||
Cohesion: 0.07
|
||||
Nodes (7): BlogsService, Injectable, RevalidationModule, Global, Module, RevalidationService, Injectable
|
||||
### Community 13 - "main.ts"
|
||||
Cohesion: 0.11
|
||||
Nodes (12): AppModule, Module, EnvironmentVariables, IsNotEmpty, IsOptional, IsString, validateEnv(), PrismaExceptionFilter (+4 more)
|
||||
|
||||
### Community 15 - "src/services/api.ts"
|
||||
Cohesion: 0.08
|
||||
@@ -434,20 +404,20 @@ Cohesion: 0.19
|
||||
Nodes (7): JwtAuthGuard, Injectable, ROLES_KEY, RequestWithUser, RolesGuard, Injectable, UserReqPayload
|
||||
|
||||
### Community 19 - "ProductsService"
|
||||
Cohesion: 0.10
|
||||
Nodes (19): GetProductsDto, ApiPropertyOptional, IsEnum, IsOptional, IsString, ProductsController, ApiOperation, ApiTags (+11 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (14): ProductsController, ApiOperation, ApiTags, Body, Controller, Get, Param, Patch (+6 more)
|
||||
|
||||
### Community 20 - "CreateVideoDto"
|
||||
Cohesion: 0.09
|
||||
Nodes (24): CreateVideoDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNotEmpty, IsOptional, IsString, UpdateVideoDto (+16 more)
|
||||
|
||||
### Community 21 - "userStore.ts"
|
||||
Cohesion: 0.12
|
||||
Nodes (8): ApiErr, AuthResponse, AuthService, User, Transaction, UserProfile, UserRole, UserStore
|
||||
### Community 21 - "admin.module.ts"
|
||||
Cohesion: 0.10
|
||||
Nodes (9): AdminModule, Module, PetQuery, PetsService, Injectable, SslCertInfo, Injectable, WikiQuery (+1 more)
|
||||
|
||||
### Community 22 - "PetProfile.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (20): FeaturedProducts(), ProductCard(), OrderSuccess(), PetProfile(), PrescriptionUploadModal(), PrescriptionUploadModalProps, SearchResultsPage(), OrderRowSkeleton() (+12 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (25): ClientLayout(), FeaturedProducts(), ProductCard(), OrderSuccess(), PetProfile(), SearchResultsPage(), OrderRowSkeleton(), PetProfileSkeleton() (+17 more)
|
||||
|
||||
### Community 23 - "MenuService"
|
||||
Cohesion: 0.11
|
||||
@@ -498,7 +468,7 @@ Cohesion: 0.12
|
||||
Nodes (16): B2BController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get, Param (+8 more)
|
||||
|
||||
### Community 35 - "AuthController"
|
||||
Cohesion: 0.23
|
||||
Cohesion: 0.25
|
||||
Nodes (13): AuthController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+5 more)
|
||||
|
||||
### Community 36 - "FaqService"
|
||||
@@ -559,7 +529,7 @@ Nodes (19): autoprefixer, devDependencies, autoprefixer, eslint, @eslint/js, glo
|
||||
|
||||
### Community 50 - "devDependencies"
|
||||
Cohesion: 0.13
|
||||
Nodes (15): eslint-config-next, devDependencies, eslint, eslint-config-next, jsdom, tailwindcss, @tailwindcss/postcss, @types/node (+7 more)
|
||||
Nodes (15): devDependencies, eslint, jsdom, tailwindcss, @tailwindcss/postcss, @types/node, @types/react-dom, @vitejs/plugin-react (+7 more)
|
||||
|
||||
### Community 51 - "BlogsController"
|
||||
Cohesion: 0.14
|
||||
@@ -573,9 +543,9 @@ Nodes (14): PrescriptionsController, ApiBearerAuth, ApiOperation, ApiTags, Body,
|
||||
Cohesion: 0.13
|
||||
Nodes (14): SmartAdvisorController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+6 more)
|
||||
|
||||
### Community 54 - "CreateReviewDto"
|
||||
Cohesion: 0.11
|
||||
Nodes (15): CreateReviewDto, ApiProperty, IsInt, IsNotEmpty, IsOptional, IsString, Min, ApiProperty (+7 more)
|
||||
### Community 54 - "RevalidationService"
|
||||
Cohesion: 0.07
|
||||
Nodes (25): RevalidationModule, Global, Module, RevalidationService, Injectable, GetProductsDto, ApiPropertyOptional, IsEnum (+17 more)
|
||||
|
||||
### Community 55 - "UITexts.tsx"
|
||||
Cohesion: 0.09
|
||||
@@ -606,8 +576,8 @@ Cohesion: 0.22
|
||||
Nodes (7): ProductDto, ApiPropertyOptional, IsArray, IsBoolean, IsNumber, IsOptional, IsString
|
||||
|
||||
### Community 63 - "dependencies"
|
||||
Cohesion: 0.09
|
||||
Nodes (23): dependencies, bcryptjs, class-validator, compression, ioredis, @nestjs/common, @nestjs/passport, @nestjs/platform-express (+15 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (43): dependencies, bcrypt, bcryptjs, class-transformer, class-validator, compression, helmet, ioredis (+35 more)
|
||||
|
||||
### Community 64 - "compilerOptions"
|
||||
Cohesion: 0.10
|
||||
@@ -622,12 +592,12 @@ Cohesion: 0.19
|
||||
Nodes (6): ApiQuery, Query, AdminQueryDto, ApiPropertyOptional, IsOptional, IsString
|
||||
|
||||
### Community 67 - "PetsController"
|
||||
Cohesion: 0.17
|
||||
Cohesion: 0.15
|
||||
Nodes (11): PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller, Delete, Get (+3 more)
|
||||
|
||||
### Community 68 - "UserDashboard.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (30): AuthModal, VerifyContent(), AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), AuthModal() (+22 more)
|
||||
Nodes (32): AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), AuthModal(), AuthModalProps, extractOtpFromText() (+24 more)
|
||||
|
||||
### Community 69 - "Required Review Group Closures"
|
||||
Cohesion: 0.10
|
||||
@@ -709,17 +679,17 @@ Nodes (8): CreateEBankCheckoutDto, ApiProperty, ApiPropertyOptional, IsNotEmpty,
|
||||
Cohesion: 0.17
|
||||
Nodes (12): prisma, main(), prisma, determineSuitableFor(), findOrCreateCategory(), getProductImageUrl(), main(), parseSize() (+4 more)
|
||||
|
||||
### Community 90 - "useUserStore"
|
||||
Cohesion: 0.12
|
||||
Nodes (20): B2BPortal, ClientLayout(), LoginModal, BrandLogo(), BrandLogoProps, Footer(), MENU_ICONS, LoginModal() (+12 more)
|
||||
### Community 90 - "ClientLayout.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (13): AuthModal, B2BPortal, LoginModal, BrandLogo(), BrandLogoProps, Footer(), LoginModal(), LoginModalProps (+5 more)
|
||||
|
||||
### Community 91 - "Reconciled Audit Roles & Assignments"
|
||||
Cohesion: 0.12
|
||||
Nodes (15): 10. Documentation Engineer, 1. Lead Architect / Orchestrator, 2. React / Vite Storefront Auditor, 3. NestJS Backend Auditor, 4. Admin Features Auditor, 5. Database & Data Integrity Auditor, 6. Security Auditor, 7. TypeScript & Code Quality Auditor (+7 more)
|
||||
|
||||
### Community 92 - "OrdersService"
|
||||
Cohesion: 0.08
|
||||
Nodes (29): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+21 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (18): OrdersController, ApiBadRequestResponse, ApiBearerAuth, ApiCreatedResponse, ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags (+10 more)
|
||||
|
||||
### Community 94 - "Phase 3.1 — Human Review Preparation and Master Backlog Critique"
|
||||
Cohesion: 0.13
|
||||
@@ -779,7 +749,7 @@ Nodes (13): ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags, Controlle
|
||||
|
||||
### Community 108 - "PrismaService"
|
||||
Cohesion: 0.06
|
||||
Nodes (25): ApiExcludeController, MetricsController, Controller, Get, Res, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions (+17 more)
|
||||
Nodes (27): ApiExcludeController, CategoryQuery, MetricsController, Controller, Get, Res, MeliPayamakPattern, MeliPayamakResponse (+19 more)
|
||||
|
||||
### Community 109 - "1. Summary of Integrity Repairs Performed"
|
||||
Cohesion: 0.17
|
||||
@@ -833,13 +803,13 @@ Nodes (9): compilerOptions, esModuleInterop, module, moduleResolution, skipLibCh
|
||||
Cohesion: 0.20
|
||||
Nodes (9): Compile and run the project, Deployment, Description, License, Project setup, Resources, Run tests, Stay in touch (+1 more)
|
||||
|
||||
### Community 122 - "AdminService"
|
||||
Cohesion: 0.13
|
||||
Nodes (5): Delete, Param, Put, AdminService, Injectable
|
||||
### Community 122 - "AdminController"
|
||||
Cohesion: 0.12
|
||||
Nodes (8): AdminController, ApiBearerAuth, ApiTags, Controller, Delete, Param, Put, UseGuards
|
||||
|
||||
### Community 123 - "auth.service.ts"
|
||||
Cohesion: 0.17
|
||||
Nodes (6): AdminLoginInput, AuthService, LoginInput, RegisterInput, Injectable, normalizeMobile()
|
||||
Cohesion: 0.12
|
||||
Nodes (11): AdminLoginInput, AuthService, LoginInput, RegisterInput, Injectable, SendOtpDto, ApiProperty, IsNotEmpty (+3 more)
|
||||
|
||||
### Community 124 - "Repository Map"
|
||||
Cohesion: 0.20
|
||||
@@ -857,13 +827,13 @@ Nodes (9): name, private, scripts, build, dev, lint, preview, type (+1 more)
|
||||
Cohesion: 0.20
|
||||
Nodes (9): Arch Linux, Contributors, Install, Known problems for variable version, License, Sahel-Font, To Do (variable), طریقه استفاده از نسخه متغیر variable (+1 more)
|
||||
|
||||
### Community 128 - "AdminController"
|
||||
Cohesion: 0.18
|
||||
Nodes (7): AdminController, ApiBearerAuth, ApiTags, Body, Controller, Post, UseGuards
|
||||
### Community 128 - "AdminService"
|
||||
Cohesion: 0.19
|
||||
Nodes (4): Body, Post, AdminService, Injectable
|
||||
|
||||
### Community 129 - "auth.controller.ts"
|
||||
Cohesion: 0.16
|
||||
Nodes (11): AdminLoginDto, ApiProperty, IsEmail, IsNotEmpty, IsString, MinLength, LoginDto, ApiProperty (+3 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (19): AdminLoginDto, ApiProperty, IsEmail, IsNotEmpty, IsString, MinLength, LoginDto, ApiProperty (+11 more)
|
||||
|
||||
### Community 130 - "Sahel-Font"
|
||||
Cohesion: 0.20
|
||||
@@ -929,9 +899,9 @@ Nodes (13): CouponInput, CouponTargetInput, PaginationQuery, CreateUserDto, ApiP
|
||||
Cohesion: 0.25
|
||||
Nodes (7): Active Core Applications, Current Architecture, Evidence-Based Status Matrix, Excluded / Non-Auditable Artifacts, Major Business Domains Discovered, System Discovery, Technical Architecture Summary
|
||||
|
||||
### Community 147 - "orders.service.ts"
|
||||
Cohesion: 0.24
|
||||
Nodes (6): IsNotEmpty, IsNumber, IsString, ValidateCouponDto, OrdersModule, Module
|
||||
### Community 148 - "app-audit-verification.e2e-spec.js"
|
||||
Cohesion: 0.17
|
||||
Nodes (11): app_module_1, client_1, common_1, decimal_interceptor_1, fs, http_exception_filter_1, jwt_1, path (+3 more)
|
||||
|
||||
### Community 149 - "SmsSettingsPage.tsx"
|
||||
Cohesion: 0.29
|
||||
@@ -941,9 +911,13 @@ Nodes (7): PatternItem, SmsConfigState, SmsLogItem, SmsLogStats, SmsSettingsPage
|
||||
Cohesion: 0.29
|
||||
Nodes (6): 1. Executive Vision, 2. Target Audience, 3. Functional Requirements, 4. Non-Functional Requirements (Performance, Security), 5. Epic / Feature Breakdown, Product Requirement Document (PRD)
|
||||
|
||||
### Community 152 - "useCartStore"
|
||||
Cohesion: 0.10
|
||||
Nodes (15): CartDrawer, B2BPortal(), CartDrawer(), DeleteConfirmModal(), DeleteConfirmModalProps, Header(), OrderTracking(), mockProduct (+7 more)
|
||||
### Community 151 - "CreateOrderDto"
|
||||
Cohesion: 0.22
|
||||
Nodes (11): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+3 more)
|
||||
|
||||
### Community 152 - "lib/services/api.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (29): CartDrawer, VerifyContent(), B2BPortal(), CartDrawer(), DeleteConfirmModal(), DeleteConfirmModalProps, Header(), MENU_ICONS (+21 more)
|
||||
|
||||
### Community 153 - "exclude"
|
||||
Cohesion: 0.22
|
||||
@@ -957,6 +931,10 @@ Nodes (6): Attempted Command Execution Log, Backend `backend/package.json` Scrip
|
||||
Cohesion: 0.67
|
||||
Nodes (3): prisma, runSeoBackfill(), stripHtml()
|
||||
|
||||
### Community 158 - "CustomHttpExceptionFilter"
|
||||
Cohesion: 0.29
|
||||
Nodes (5): CustomHttpExceptionFilter, Catch, ApiErrorResponse, ErrorDetailField, ApiProperty
|
||||
|
||||
### Community 159 - "with-vpn.sh"
|
||||
Cohesion: 0.62
|
||||
Nodes (6): cleanup(), log(), with-vpn.sh script, start_vpn(), stop_vpn(), vpn_is_up()
|
||||
@@ -1025,21 +1003,17 @@ Nodes (4): evidenceList, ledger, mandatoryMap, mandatoryScope
|
||||
Cohesion: 0.40
|
||||
Nodes (4): activeFiles, errors, validationOutput, warnings
|
||||
|
||||
### Community 176 - "videos.controller.ts"
|
||||
Cohesion: 0.20
|
||||
Nodes (8): GetVideosQueryDto, ApiPropertyOptional, IsBoolean, IsOptional, Transform, Module, VideosModule, VideoQuery
|
||||
|
||||
### Community 177 - "RegisterDto"
|
||||
Cohesion: 0.22
|
||||
Nodes (8): RegisterDto, ApiProperty, ApiPropertyOptional, IsEmail, IsNotEmpty, IsOptional, IsString, MinLength
|
||||
### Community 176 - "settings.service.ts"
|
||||
Cohesion: 0.25
|
||||
Nodes (4): SmsLogQuery, DEFAULT_UI_TEXTS, CANONICAL_ALIASES, ScientificTermData
|
||||
|
||||
### Community 178 - "نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina"
|
||||
Cohesion: 0.33
|
||||
Nodes (5): نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina, ۱. معماری و نقشهای کاربری (User Roles), ۲. ماتریس جریانها و قابلیتهای کاربرمحور (Feature & Flow Matrix), ۳. وضعیت پوشش نهایی سوئیت ۱۱گانه (Final 11 Test Suites Status), ۴. راهنمای نگهداری و افزودن فیچرهای جدید بدون شکستن تستها (Developer Maintenance Guide)
|
||||
|
||||
### Community 179 - "PaginationDto"
|
||||
Cohesion: 0.05
|
||||
Nodes (24): AdminModule, Module, CategoryQuery, PetQuery, PetsService, Injectable, SslCertInfo, Injectable (+16 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (25): BlogsModule, Module, BlogFilterDto, BlogsService, Injectable, PaginationDto, SortOrder, ApiPropertyOptional (+17 more)
|
||||
|
||||
### Community 180 - "API Contract Specification"
|
||||
Cohesion: 0.50
|
||||
@@ -1109,10 +1083,6 @@ Nodes (3): ADR-AUTH-001: Admin Panel Authentication Architecture & Token Managem
|
||||
Cohesion: 0.67
|
||||
Nodes (3): Shabnam Font README, Shabnam Font Sample, Vazir Font
|
||||
|
||||
### Community 232 - "SendOtpDto"
|
||||
Cohesion: 0.33
|
||||
Nodes (5): SendOtpDto, ApiProperty, IsNotEmpty, IsString, Matches
|
||||
|
||||
### Community 298 - ".initiateOrderPayment"
|
||||
Cohesion: 0.18
|
||||
Nodes (10): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto, ApiBadRequestResponse, ApiOkResponse, Req, Res (+2 more)
|
||||
@@ -1125,29 +1095,25 @@ Nodes (17): maxWidthClasses, Modal(), ModalProps, ContactInfoItem, ContactSubmis
|
||||
Cohesion: 0.83
|
||||
Nodes (3): GET(), handleRevalidate(), POST()
|
||||
|
||||
### Community 323 - "PodcastPlayerModal.tsx"
|
||||
Cohesion: 0.40
|
||||
Nodes (3): PLAYBACK_RATES, PodcastPlayerModal(), PodcastPlayerModalProps
|
||||
|
||||
## Knowledge Gaps
|
||||
- **1335 isolated node(s):** `$schema`, `collection`, `sourceRoot`, `deleteOutDir`, `name` (+1330 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **117 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
- **93 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `ApiResponse` connect `src/services/api.ts` to `BlogsController`, `AuthController`, `PetsController`, `WikiController`, `HomeController`, `UsersService`, `ProductsService`, `OrdersService`?**
|
||||
_High betweenness centrality (0.086) - this node is a cross-community bridge._
|
||||
- **Why does `Roles()` connect `Roles` to `WholesaleService`, `B2BService`, `SmsService`, `FaqService`, `CmsController`, `TicketsService`, `SslController`, `BannersService`, `ReviewsController`, `TestimonialsService`, `IngredientsService`, `JwtAuthGuard`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `MenuService`, `ContactService`, `PaymentService`?**
|
||||
- **Why does `Roles()` connect `Roles` to `WholesaleService`, `B2BService`, `SettingsController`, `FaqService`, `CmsController`, `TicketsService`, `SslController`, `BannersService`, `ReviewsController`, `TestimonialsService`, `IngredientsService`, `JwtAuthGuard`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `RevalidationService`, `MenuService`, `ContactService`?**
|
||||
_High betweenness centrality (0.067) - this node is a cross-community bridge._
|
||||
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `auth.controller.ts`, `CmsController`, `ReportsController`, `PetsController`, `DoctorQueryDto`, `admin.service.ts`, `UsersService`, `PaginationDto`, `orders.service.ts`, `ProductsService`, `videos.controller.ts`?**
|
||||
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `auth.controller.ts`, `CmsController`, `PetsController`, `DoctorQueryDto`, `admin.service.ts`, `UsersService`, `PaginationDto`, `admin.module.ts`, `RevalidationService`?**
|
||||
_High betweenness centrality (0.034) - this node is a cross-community bridge._
|
||||
- **What connects `$schema`, `collection`, `sourceRoot` to the rest of the system?**
|
||||
_1335 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `app.module.ts` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.07529411764705882 - nodes in this community are weakly interconnected._
|
||||
- **Should `SmsService` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.05586477015048444 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.06988120195667366 - nodes in this community are weakly interconnected._
|
||||
- **Should `ProductService` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.06229508196721312 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.06229508196721312 - nodes in this community are weakly interconnected._
|
||||
- **Should `useSettingsStore` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.07390648567119155 - nodes in this community are weakly interconnected._
|
||||
+3550
-3526
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+192
-188
@@ -1,34 +1,34 @@
|
||||
# Graph Report - canina (2026-08-26)
|
||||
|
||||
## Corpus Check
|
||||
- 586 files · ~1,332,142 words
|
||||
- 587 files · ~1,333,406 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 4107 nodes · 7401 edges · 302 communities (209 shown, 93 thin omitted)
|
||||
- 4110 nodes · 7412 edges · 322 communities (205 shown, 117 thin omitted)
|
||||
- Extraction: 96% EXTRACTED · 4% INFERRED · 0% AMBIGUOUS · INFERRED: 281 edges (avg confidence: 0.79)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `41f7e98d`
|
||||
- Built from commit: `9294e897`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
- Roles
|
||||
- app.module.ts
|
||||
- SettingsController
|
||||
- SmsService
|
||||
- ProductService
|
||||
- useSettingsStore
|
||||
- toPersian
|
||||
- CmsController
|
||||
- TicketsService
|
||||
- Button.tsx
|
||||
- ReportsController
|
||||
- users.controller.ts
|
||||
- devDependencies
|
||||
- ReviewsController
|
||||
- reviews.controller.ts
|
||||
- MediaSelector.tsx
|
||||
- index.ts
|
||||
- main.ts
|
||||
- app-audit-verification.e2e-spec.js
|
||||
- BlogsService
|
||||
- src/services/api.ts
|
||||
- DoctorQueryDto
|
||||
@@ -37,7 +37,7 @@
|
||||
- ProductsService
|
||||
- CreateVideoDto
|
||||
- admin.module.ts
|
||||
- PetProfile.tsx
|
||||
- FeaturedProducts.tsx
|
||||
- MenuService
|
||||
- BE-001
|
||||
- FE-001
|
||||
@@ -48,12 +48,12 @@
|
||||
- DEVOPS-001
|
||||
- DOC-001
|
||||
- adminRoutes.tsx
|
||||
- WholesaleService
|
||||
- WholesaleApplyDto
|
||||
- B2BService
|
||||
- AuthController
|
||||
- FaqService
|
||||
- راهنمای تست سیستم (Software Testing)
|
||||
- Button
|
||||
- Transactions.tsx
|
||||
- CategoriesController
|
||||
- MediaController
|
||||
- What You Must Do When Invoked
|
||||
@@ -63,27 +63,27 @@
|
||||
- What You Must Do When Invoked
|
||||
- HomeController
|
||||
- IngredientsService
|
||||
- UsersService
|
||||
- UsersController
|
||||
- devDependencies
|
||||
- devDependencies
|
||||
- BlogsController
|
||||
- PrescriptionsService
|
||||
- SmartAdvisorService
|
||||
- RevalidationService
|
||||
- auth.module.ts
|
||||
- UITexts.tsx
|
||||
- Orders.tsx
|
||||
- Role & Core Objective
|
||||
- ContactService
|
||||
- compilerOptions
|
||||
- PaymentService
|
||||
- payment.service.ts
|
||||
- AdminTransactionFilterDto
|
||||
- ProductDto
|
||||
- dependencies
|
||||
- compilerOptions
|
||||
- app.e2e-spec.js
|
||||
- AdminQueryDto
|
||||
- ApiOperation
|
||||
- PetsController
|
||||
- UserDashboard.tsx
|
||||
- lib/services/api.ts
|
||||
- Required Review Group Closures
|
||||
- compilerOptions
|
||||
- getPageMetadata
|
||||
@@ -91,7 +91,7 @@
|
||||
- Operational Rules & Boundaries
|
||||
- WikiController
|
||||
- PetsController
|
||||
- ApiOperation
|
||||
- AdminService
|
||||
- seo.module.ts
|
||||
- rss.xml/route.ts
|
||||
- 🏢 AI Software Agency — Master Orchestration Protocol v3
|
||||
@@ -100,15 +100,15 @@
|
||||
- scripts
|
||||
- dependencies
|
||||
- Role & Core Objective
|
||||
- HomeClient.tsx
|
||||
- useSettingsStore
|
||||
- zibal.service.ts
|
||||
- dependencies
|
||||
- CreateEBankCheckoutDto
|
||||
- seed-products.ts
|
||||
- ClientLayout.tsx
|
||||
- userStore.ts
|
||||
- Reconciled Audit Roles & Assignments
|
||||
- OrdersService
|
||||
- SettingsService
|
||||
- CheckoutPage.tsx
|
||||
- Phase 3.1 — Human Review Preparation and Master Backlog Critique
|
||||
- blog/[slug]/page.tsx
|
||||
- compilerOptions
|
||||
@@ -121,8 +121,8 @@
|
||||
- Comprehensive Change Log
|
||||
- Coupons.tsx
|
||||
- Operational Rules & Boundaries
|
||||
- Media.tsx
|
||||
- WikiController
|
||||
- UsersService
|
||||
- PaginationDto
|
||||
- PrismaService
|
||||
- 1. Summary of Integrity Repairs Performed
|
||||
- Operational Rules & Boundaries
|
||||
@@ -138,13 +138,13 @@
|
||||
- compilerOptions
|
||||
- backend/README.md
|
||||
- AdminController
|
||||
- auth.service.ts
|
||||
- AuthService
|
||||
- Repository Map
|
||||
- validate_integrity.js
|
||||
- admin-panel/package.json
|
||||
- Sahel-Font
|
||||
- AdminService
|
||||
- auth.controller.ts
|
||||
- Body
|
||||
- auth.service.ts
|
||||
- Sahel-Font
|
||||
- Role & Core Objective
|
||||
- orchestrate.py
|
||||
@@ -162,17 +162,17 @@
|
||||
- @testing-library/react
|
||||
- admin.service.ts
|
||||
- System Discovery
|
||||
- SmsService
|
||||
- app-audit-verification.e2e-spec.js
|
||||
- PodcastPlayerModal.tsx
|
||||
- bcrypt
|
||||
- SmsSettingsPage.tsx
|
||||
- Product Requirement Document (PRD)
|
||||
- CreateOrderDto
|
||||
- lib/services/api.ts
|
||||
- class-transformer
|
||||
- useCartStore
|
||||
- exclude
|
||||
- Baseline Command Plan & Reconciled Command History
|
||||
- seo-backfill.ts
|
||||
- ErrorPages.tsx
|
||||
- CustomHttpExceptionFilter
|
||||
- js-yaml
|
||||
- with-vpn.sh
|
||||
- Architecture Specification
|
||||
- Project Health Audit Report
|
||||
@@ -190,16 +190,16 @@
|
||||
- Phase 3 Audit Traceability Matrix
|
||||
- rebuild_honest_ledger.js
|
||||
- validate_evidence_grade.js
|
||||
- settings.service.ts
|
||||
- @nestjs/core
|
||||
- @eslint/js
|
||||
- نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina
|
||||
- PaginationDto
|
||||
- @nestjs/jwt
|
||||
- API Contract Specification
|
||||
- ⚙️ Backend Technical Review (05_dev_backend)
|
||||
- 🎨 Frontend & Admin Panel Technical Review (06_dev_frontend)
|
||||
- 🚀 SEO & Content Strategy Review (12_seo_content)
|
||||
- RedisService
|
||||
- @types/node
|
||||
- @nestjs/swagger
|
||||
- seed-ui-texts.ts
|
||||
- seed-wiki.ts
|
||||
- update-blog.dto.ts
|
||||
@@ -212,12 +212,13 @@
|
||||
- React + TypeScript + Vite
|
||||
- Select.tsx
|
||||
- SmsLogQueryDto
|
||||
- eslint-config-next
|
||||
- VerifyOtpDto
|
||||
- @nestjs/throttler
|
||||
- passport
|
||||
- application/README.md
|
||||
- deploy.sh
|
||||
- 🔒 Security & Performance Review (09_devops_security)
|
||||
- 👁️ UX & Persona Interface Review (08_visual_qa)
|
||||
- reflect-metadata
|
||||
- prisma/scientificTerms.ts
|
||||
- seed-blogs.ts
|
||||
- seed-custom.ts
|
||||
@@ -236,6 +237,7 @@
|
||||
- Input.tsx
|
||||
- Textarea.tsx
|
||||
- admin-panel/tsconfig.json
|
||||
- swagger-ui-express
|
||||
- jest
|
||||
- next.config.ts
|
||||
- Shabnam Font README
|
||||
@@ -243,7 +245,15 @@
|
||||
- rules/graphify.md
|
||||
- .agents/workflows/graphify.md
|
||||
- instructions.md
|
||||
- eslint-config-prettier
|
||||
- @eslint/eslintrc
|
||||
- tailwindcss
|
||||
- @nestjs/schematics
|
||||
- @nestjs/testing
|
||||
- prisma
|
||||
- source-map-support
|
||||
- ts-jest
|
||||
- ts-loader
|
||||
- supertest
|
||||
- blog.entity.ts
|
||||
- home.entity.ts
|
||||
@@ -264,7 +274,11 @@
|
||||
- start.sh
|
||||
- User Login API
|
||||
- User Logout API
|
||||
- ts-node
|
||||
- @testing-library/jest-dom
|
||||
- tsconfig-paths
|
||||
- @types/bcrypt
|
||||
- @types/compression
|
||||
- eslint-plugin-react-hooks
|
||||
- Canina Pharma GmbH
|
||||
- Pets Table
|
||||
@@ -280,23 +294,29 @@
|
||||
- Production Docker Compose
|
||||
- Staging Docker Compose
|
||||
- ZibalService
|
||||
- trust-seals/page.tsx
|
||||
- @types/express
|
||||
- eslint-plugin-prettier
|
||||
- ZibalEBankService
|
||||
- .initiateOrderPayment
|
||||
- @tailwindcss/postcss
|
||||
- typescript
|
||||
- @types/jest
|
||||
- typescript-eslint
|
||||
- @types/js-yaml
|
||||
- @types/multer
|
||||
- @types/react
|
||||
- globals
|
||||
- @nestjs/cli
|
||||
- vitest
|
||||
- @types/supertest
|
||||
- @types/passport-jwt
|
||||
- Modal.tsx
|
||||
- typescript-eslint
|
||||
- typescript
|
||||
- prettier
|
||||
- revalidate/route.ts
|
||||
- MaskableField.tsx
|
||||
- @types/react-dom
|
||||
- catalog/page.tsx
|
||||
- eslint-plugin-react-refresh
|
||||
|
||||
@@ -325,11 +345,11 @@
|
||||
backend/src/orders/orders.controller.ts → frontend/admin-panel/src/types/admin.ts
|
||||
|
||||
## Import Cycles
|
||||
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/api.ts`
|
||||
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/services/authService.ts -> frontend/application/lib/services/api.ts`
|
||||
- 3-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/api.ts`
|
||||
- 4-file cycle: `frontend/application/lib/services/api.ts -> frontend/application/lib/store/userStore.ts -> frontend/application/lib/store/cartStore.ts -> frontend/application/lib/services/orderService.ts -> frontend/application/lib/services/api.ts`
|
||||
|
||||
## Communities (302 total, 93 thin omitted)
|
||||
## Communities (322 total, 117 thin omitted)
|
||||
|
||||
### Community 0 - "Roles"
|
||||
Cohesion: 0.24
|
||||
@@ -339,17 +359,17 @@ Nodes (13): Roles(), PaymentController, ApiBearerAuth, ApiOperation, ApiTags, Bo
|
||||
Cohesion: 0.07
|
||||
Nodes (36): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+28 more)
|
||||
|
||||
### Community 2 - "SettingsController"
|
||||
Cohesion: 0.17
|
||||
Nodes (15): SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller, Delete (+7 more)
|
||||
### Community 2 - "SmsService"
|
||||
Cohesion: 0.06
|
||||
Nodes (20): SmsService, Injectable, SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body (+12 more)
|
||||
|
||||
### Community 3 - "ProductService"
|
||||
Cohesion: 0.06
|
||||
Nodes (34): dynamic, revalidate, DEFAULT_CATEGORIES, dynamic, revalidate, dynamic, revalidate, BlogCategory (+26 more)
|
||||
Nodes (36): dynamic, revalidate, DEFAULT_CATEGORIES, dynamic, revalidate, dynamic, revalidate, BlogCategory (+28 more)
|
||||
|
||||
### Community 4 - "useSettingsStore"
|
||||
Cohesion: 0.07
|
||||
Nodes (31): B2BLandingClient(), BlogPost, BlogPreviewSection(), ContactInfoItem, FAQItem, FAQSection(), OrderDetailsModalProps, PLAYBACK_RATES (+23 more)
|
||||
### Community 4 - "toPersian"
|
||||
Cohesion: 0.11
|
||||
Nodes (17): BlogPreviewSection(), HeaderButton(), HeaderButtonProps, PLAYBACK_RATES, PodcastInlinePlayer(), PodcastInlinePlayerProps, CalculatorState, ICON_MAP (+9 more)
|
||||
|
||||
### Community 5 - "CmsController"
|
||||
Cohesion: 0.09
|
||||
@@ -360,36 +380,40 @@ Cohesion: 0.09
|
||||
Nodes (29): AdminUpdateTicketDto, CreateTicketDto, ReplyTicketDto, ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString (+21 more)
|
||||
|
||||
### Community 7 - "Button.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (14): ButtonProps, ButtonSize, ButtonVariant, Spinner(), Doctor, FAQ, ProductReview, Reviews() (+6 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (14): Button(), ButtonProps, ButtonSize, ButtonVariant, Spinner(), FAQ, BlogCommentItem, ProductReview (+6 more)
|
||||
|
||||
### Community 8 - "ReportsController"
|
||||
Cohesion: 0.14
|
||||
Nodes (11): ReportsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller, Get, Query (+3 more)
|
||||
### Community 8 - "users.controller.ts"
|
||||
Cohesion: 0.13
|
||||
Nodes (13): AddressDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNotEmpty, IsOptional, IsString, ApiPropertyOptional (+5 more)
|
||||
|
||||
### Community 9 - "devDependencies"
|
||||
Cohesion: 0.05
|
||||
Nodes (43): devDependencies, eslint, eslint-config-prettier, @eslint/eslintrc, @nestjs/schematics, @nestjs/testing, prisma, source-map-support (+35 more)
|
||||
Cohesion: 0.22
|
||||
Nodes (9): devDependencies, eslint, @types/bcryptjs, @types/node, typescript, eslint, @types/node, typescript (+1 more)
|
||||
|
||||
### Community 10 - "ReviewsController"
|
||||
Cohesion: 0.14
|
||||
Nodes (15): ReviewsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+7 more)
|
||||
### Community 10 - "reviews.controller.ts"
|
||||
Cohesion: 0.07
|
||||
Nodes (32): CreateReviewDto, ApiProperty, IsInt, IsNotEmpty, IsOptional, IsString, Min, ApiProperty (+24 more)
|
||||
|
||||
### Community 11 - "MediaSelector.tsx"
|
||||
Cohesion: 0.07
|
||||
Nodes (33): ConfirmModal(), ConfirmModalProps, getFileType(), Media, MediaSelector(), MediaSelectorProps, Pagination(), PaginationProps (+25 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (38): ConfirmModal(), ConfirmModalProps, ImagePreviewModal(), ImagePreviewModalProps, getFileType(), Media, MediaSelector(), MediaSelectorProps (+30 more)
|
||||
|
||||
### Community 12 - "index.ts"
|
||||
Cohesion: 0.06
|
||||
Nodes (24): backend, frontend, playwright.config.ts, @playwright/test, tests/**/*.ts, authFile, test, compilerOptions (+16 more)
|
||||
|
||||
### Community 13 - "main.ts"
|
||||
Cohesion: 0.11
|
||||
Nodes (12): AppModule, Module, EnvironmentVariables, IsNotEmpty, IsOptional, IsString, validateEnv(), PrismaExceptionFilter (+4 more)
|
||||
### Community 13 - "app-audit-verification.e2e-spec.js"
|
||||
Cohesion: 0.07
|
||||
Nodes (26): EnvironmentVariables, IsNotEmpty, IsOptional, IsString, validateEnv(), CustomHttpExceptionFilter, Catch, PrismaExceptionFilter (+18 more)
|
||||
|
||||
### Community 14 - "BlogsService"
|
||||
Cohesion: 0.07
|
||||
Nodes (7): BlogsService, Injectable, RevalidationModule, Global, Module, RevalidationService, Injectable
|
||||
|
||||
### Community 15 - "src/services/api.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (32): Layout(), ProtectedRoute(), MenuGroup, Sidebar(), SidebarProps, SubMenuItem, LiveMonitoringSummary, SEARCHABLE_PAGES (+24 more)
|
||||
Nodes (31): Layout(), ProtectedRoute(), MenuGroup, Sidebar(), SidebarProps, SubMenuItem, LiveMonitoringSummary, SEARCHABLE_PAGES (+23 more)
|
||||
|
||||
### Community 16 - "DoctorQueryDto"
|
||||
Cohesion: 0.09
|
||||
@@ -400,28 +424,28 @@ Cohesion: 0.15
|
||||
Nodes (18): B2BPage(), generateMetadata(), ContactPage(), generateMetadata(), generateMetadata(), getRelatedProducts(), getWikiTerm(), WikiTermPage() (+10 more)
|
||||
|
||||
### Community 18 - "JwtAuthGuard"
|
||||
Cohesion: 0.19
|
||||
Nodes (7): JwtAuthGuard, Injectable, ROLES_KEY, RequestWithUser, RolesGuard, Injectable, UserReqPayload
|
||||
Cohesion: 0.15
|
||||
Nodes (11): JwtAuthGuard, Injectable, ROLES_KEY, RequestWithUser, RolesGuard, Injectable, ApiPropertyOptional, IsOptional (+3 more)
|
||||
|
||||
### Community 19 - "ProductsService"
|
||||
Cohesion: 0.11
|
||||
Nodes (14): ProductsController, ApiOperation, ApiTags, Body, Controller, Get, Param, Patch (+6 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (19): GetProductsDto, ApiPropertyOptional, IsEnum, IsOptional, IsString, ProductsController, ApiOperation, ApiTags (+11 more)
|
||||
|
||||
### Community 20 - "CreateVideoDto"
|
||||
Cohesion: 0.09
|
||||
Nodes (24): CreateVideoDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNotEmpty, IsOptional, IsString, UpdateVideoDto (+16 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (32): CreateVideoDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNotEmpty, IsOptional, IsString, UpdateVideoDto (+24 more)
|
||||
|
||||
### Community 21 - "admin.module.ts"
|
||||
Cohesion: 0.10
|
||||
Nodes (9): AdminModule, Module, PetQuery, PetsService, Injectable, SslCertInfo, Injectable, WikiQuery (+1 more)
|
||||
|
||||
### Community 22 - "PetProfile.tsx"
|
||||
Cohesion: 0.08
|
||||
Nodes (25): ClientLayout(), FeaturedProducts(), ProductCard(), OrderSuccess(), PetProfile(), SearchResultsPage(), OrderRowSkeleton(), PetProfileSkeleton() (+17 more)
|
||||
Nodes (17): AdminModule, Module, ReportsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller (+9 more)
|
||||
|
||||
### Community 22 - "FeaturedProducts.tsx"
|
||||
Cohesion: 0.14
|
||||
Nodes (9): FeaturedProducts(), ProductCard(), OrderRowSkeleton(), PetProfileSkeleton(), ProductCardSkeleton(), Skeleton(), SkeletonProps, mockProducts (+1 more)
|
||||
|
||||
### Community 23 - "MenuService"
|
||||
Cohesion: 0.11
|
||||
Nodes (18): MenuController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Body, Controller, Delete (+10 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (16): MenuController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Body, Controller, Delete (+8 more)
|
||||
|
||||
### Community 24 - "BE-001"
|
||||
Cohesion: 0.06
|
||||
@@ -457,11 +481,11 @@ Nodes (31): Acceptance Criteria, Affected Application, Affected Files, Alternati
|
||||
|
||||
### Community 32 - "adminRoutes.tsx"
|
||||
Cohesion: 0.06
|
||||
Nodes (23): App(), Props, RouteErrorBoundary, State, HeroBanner, VetTestimonial, CategoryDist, DashboardData (+15 more)
|
||||
Nodes (24): App(), Props, RouteErrorBoundary, State, HeroBanner, VetTestimonial, BestSellerItem, CategoryDistItem (+16 more)
|
||||
|
||||
### Community 33 - "WholesaleService"
|
||||
Cohesion: 0.14
|
||||
Nodes (14): ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get, Param, Post (+6 more)
|
||||
### Community 33 - "WholesaleApplyDto"
|
||||
Cohesion: 0.10
|
||||
Nodes (20): ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString, WholesaleApplyDto, ApiBearerAuth, ApiOperation (+12 more)
|
||||
|
||||
### Community 34 - "B2BService"
|
||||
Cohesion: 0.12
|
||||
@@ -472,16 +496,16 @@ Cohesion: 0.25
|
||||
Nodes (13): AuthController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+5 more)
|
||||
|
||||
### Community 36 - "FaqService"
|
||||
Cohesion: 0.12
|
||||
Nodes (16): FaqController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+8 more)
|
||||
Cohesion: 0.14
|
||||
Nodes (14): FaqController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+6 more)
|
||||
|
||||
### Community 37 - "راهنمای تست سیستم (Software Testing)"
|
||||
Cohesion: 0.07
|
||||
Nodes (25): اجرای بکاند, اجرای فرانتاند, اجرای پروژه در سرور با PM2, برای راهاندازی بکاند:, برای راهاندازی فرانتاند Next.js:, بیلد کردن پروژه (Building), ذخیره پروسهها تا پس از ریاستارت سرور قطع نشوند:, راهاندازی و انتشار سیستم (Setup & Deployment) (+17 more)
|
||||
|
||||
### Community 38 - "Button"
|
||||
Cohesion: 0.16
|
||||
Nodes (13): TransactionReceiptData, TransactionReceiptModal(), TransactionReceiptModalProps, Button(), ThSort(), ThSortProps, GatewayHealth, Stats (+5 more)
|
||||
### Community 38 - "Transactions.tsx"
|
||||
Cohesion: 0.10
|
||||
Nodes (19): TransactionReceiptData, TransactionReceiptModal(), TransactionReceiptModalProps, Badge(), BadgeProps, BadgeVariant, variantStyles, ThSort() (+11 more)
|
||||
|
||||
### Community 39 - "CategoriesController"
|
||||
Cohesion: 0.10
|
||||
@@ -519,9 +543,9 @@ Nodes (10): HomeController, ApiOkResponse, ApiOperation, ApiTags, Controller, Ge
|
||||
Cohesion: 0.13
|
||||
Nodes (14): IngredientsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+6 more)
|
||||
|
||||
### Community 48 - "UsersService"
|
||||
Cohesion: 0.06
|
||||
Nodes (41): DEFAULT_JWT_REFRESH_SECRET, DEFAULT_JWT_SECRET, getJwtSecret(), AuthModule, Module, JwtPayload, JwtStrategy, Injectable (+33 more)
|
||||
### Community 48 - "UsersController"
|
||||
Cohesion: 0.20
|
||||
Nodes (16): ApiBadRequestResponse, ApiBearerAuth, ApiCreatedResponse, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+8 more)
|
||||
|
||||
### Community 49 - "devDependencies"
|
||||
Cohesion: 0.11
|
||||
@@ -529,7 +553,7 @@ Nodes (19): autoprefixer, devDependencies, autoprefixer, eslint, @eslint/js, glo
|
||||
|
||||
### Community 50 - "devDependencies"
|
||||
Cohesion: 0.13
|
||||
Nodes (15): devDependencies, eslint, jsdom, tailwindcss, @tailwindcss/postcss, @types/node, @types/react-dom, @vitejs/plugin-react (+7 more)
|
||||
Nodes (15): eslint-config-next, devDependencies, eslint, eslint-config-next, jsdom, tailwindcss, @tailwindcss/postcss, @types/node (+7 more)
|
||||
|
||||
### Community 51 - "BlogsController"
|
||||
Cohesion: 0.14
|
||||
@@ -543,17 +567,17 @@ Nodes (14): PrescriptionsController, ApiBearerAuth, ApiOperation, ApiTags, Body,
|
||||
Cohesion: 0.13
|
||||
Nodes (14): SmartAdvisorController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+6 more)
|
||||
|
||||
### Community 54 - "RevalidationService"
|
||||
Cohesion: 0.07
|
||||
Nodes (25): RevalidationModule, Global, Module, RevalidationService, Injectable, GetProductsDto, ApiPropertyOptional, IsEnum (+17 more)
|
||||
### Community 54 - "auth.module.ts"
|
||||
Cohesion: 0.17
|
||||
Nodes (10): DEFAULT_JWT_REFRESH_SECRET, DEFAULT_JWT_SECRET, getJwtSecret(), AuthModule, Module, JwtPayload, JwtStrategy, Injectable (+2 more)
|
||||
|
||||
### Community 55 - "UITexts.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (20): ICON_REGISTRY, IconPickerModal(), IconPickerModalProps, ActiveStates, PRESET_BG_COLORS, PRESET_COLORS, RichTextEditor(), RichTextEditorProps (+12 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (26): ICON_REGISTRY, IconPickerModal(), IconPickerModalProps, ActiveStates, PRESET_BG_COLORS, PRESET_COLORS, RichTextEditor(), RichTextEditorProps (+18 more)
|
||||
|
||||
### Community 56 - "Orders.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (19): Badge(), BadgeProps, BadgeVariant, variantStyles, Skeleton(), MonitoringStats, getPaymentMethodLabel(), Order (+11 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (15): Skeleton(), MonitoringStats, getPaymentMethodLabel(), Order, ORDER_STATUS_MAP, OrderItem, Orders(), PaymentTx (+7 more)
|
||||
|
||||
### Community 57 - "Role & Core Objective"
|
||||
Cohesion: 0.09
|
||||
@@ -567,17 +591,17 @@ Nodes (12): ContactController, Body, Controller, Get, Param, Post, Put, Query (+
|
||||
Cohesion: 0.06
|
||||
Nodes (30): compilerOptions, allowSyntheticDefaultImports, baseUrl, declaration, emitDecoratorMetadata, esModuleInterop, experimentalDecorators, forceConsistentCasingInFileNames (+22 more)
|
||||
|
||||
### Community 61 - "payment.service.ts"
|
||||
Cohesion: 0.20
|
||||
Nodes (8): AdminTransactionFilterDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type, ClientMetadata
|
||||
### Community 61 - "AdminTransactionFilterDto"
|
||||
Cohesion: 0.22
|
||||
Nodes (7): AdminTransactionFilterDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type
|
||||
|
||||
### Community 62 - "ProductDto"
|
||||
Cohesion: 0.22
|
||||
Nodes (7): ProductDto, ApiPropertyOptional, IsArray, IsBoolean, IsNumber, IsOptional, IsString
|
||||
|
||||
### Community 63 - "dependencies"
|
||||
Cohesion: 0.05
|
||||
Nodes (43): dependencies, bcrypt, bcryptjs, class-transformer, class-validator, compression, helmet, ioredis (+35 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (23): dependencies, bcryptjs, class-validator, compression, helmet, ioredis, @nestjs/common, @nestjs/passport (+15 more)
|
||||
|
||||
### Community 64 - "compilerOptions"
|
||||
Cohesion: 0.10
|
||||
@@ -587,17 +611,17 @@ Nodes (20): compilerOptions, allowImportingTsExtensions, erasableSyntaxOnly, lib
|
||||
Cohesion: 0.50
|
||||
Nodes (3): app_module_1, supertest_1, testing_1
|
||||
|
||||
### Community 66 - "AdminQueryDto"
|
||||
Cohesion: 0.19
|
||||
Nodes (6): ApiQuery, Query, AdminQueryDto, ApiPropertyOptional, IsOptional, IsString
|
||||
### Community 66 - "ApiOperation"
|
||||
Cohesion: 0.12
|
||||
Nodes (8): ApiOperation, ApiQuery, Get, Query, AdminQueryDto, ApiPropertyOptional, IsOptional, IsString
|
||||
|
||||
### Community 67 - "PetsController"
|
||||
Cohesion: 0.15
|
||||
Nodes (11): PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller, Delete, Get (+3 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (14): PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller, Delete, Get (+6 more)
|
||||
|
||||
### Community 68 - "UserDashboard.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (32): AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), AuthModal(), AuthModalProps, extractOtpFromText() (+24 more)
|
||||
### Community 68 - "lib/services/api.ts"
|
||||
Cohesion: 0.09
|
||||
Nodes (29): VerifyContent(), metadata, BlogPostClientProps, BlogPost, ContactInfoItem, OrderDetailsModal(), OrderDetailsModalProps, PetProfile() (+21 more)
|
||||
|
||||
### Community 69 - "Required Review Group Closures"
|
||||
Cohesion: 0.10
|
||||
@@ -608,8 +632,8 @@ Cohesion: 0.08
|
||||
Nodes (23): compilerOptions, allowImportingTsExtensions, erasableSyntaxOnly, jsx, lib, module, moduleDetection, moduleResolution (+15 more)
|
||||
|
||||
### Community 71 - "getPageMetadata"
|
||||
Cohesion: 0.09
|
||||
Nodes (14): generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata() (+6 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (17): generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), getHomeData(), Home(), generateMetadata(), generateMetadata() (+9 more)
|
||||
|
||||
### Community 72 - "Operational Rules & Boundaries"
|
||||
Cohesion: 0.11
|
||||
@@ -627,6 +651,10 @@ Nodes (14): ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Body, Controller, De
|
||||
Cohesion: 0.05
|
||||
Nodes (47): CreateHealthLogDto, ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString, CreatePetDto, ApiProperty (+39 more)
|
||||
|
||||
### Community 76 - "AdminService"
|
||||
Cohesion: 0.20
|
||||
Nodes (4): Delete, Param, AdminService, Injectable
|
||||
|
||||
### Community 77 - "seo.module.ts"
|
||||
Cohesion: 0.16
|
||||
Nodes (10): SeoController, ApiOperation, ApiTags, Controller, Get, Param, SeoModule, Module (+2 more)
|
||||
@@ -659,9 +687,9 @@ Nodes (21): dependencies, axios, lucide-react, react, react-dom, react-hot-toast
|
||||
Cohesion: 0.12
|
||||
Nodes (16): 1. Active Secret Scanning (All Modified Files), 2. Docker Container Verification (if Dockerfile exists), 3. CI/CD Basic Check (if `.github/workflows/` exists), 4. Failure Routing Protocol, 5. Forbidden Actions, ENFORCE MODE — Normal Operation, Expected JSON Output Schema, Operational Rules & Boundaries (+8 more)
|
||||
|
||||
### Community 85 - "HomeClient.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (22): HomeClient(), HomeClientProps, getHomeData(), Home(), ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP (+14 more)
|
||||
### Community 85 - "useSettingsStore"
|
||||
Cohesion: 0.08
|
||||
Nodes (34): HomeClient(), HomeClientProps, ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP, B2BLandingClient(), BannerPlacement() (+26 more)
|
||||
|
||||
### Community 86 - "zibal.service.ts"
|
||||
Cohesion: 0.16
|
||||
@@ -679,25 +707,29 @@ Nodes (8): CreateEBankCheckoutDto, ApiProperty, ApiPropertyOptional, IsNotEmpty,
|
||||
Cohesion: 0.17
|
||||
Nodes (12): prisma, main(), prisma, determineSuitableFor(), findOrCreateCategory(), getProductImageUrl(), main(), parseSize() (+4 more)
|
||||
|
||||
### Community 90 - "ClientLayout.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (13): AuthModal, B2BPortal, LoginModal, BrandLogo(), BrandLogoProps, Footer(), LoginModal(), LoginModalProps (+5 more)
|
||||
### Community 90 - "userStore.ts"
|
||||
Cohesion: 0.07
|
||||
Nodes (33): AuthModal, CartDrawer, ClientLayout(), LoginModal, AuthModal(), AuthModalProps, extractOtpFromText(), Header() (+25 more)
|
||||
|
||||
### Community 91 - "Reconciled Audit Roles & Assignments"
|
||||
Cohesion: 0.12
|
||||
Nodes (15): 10. Documentation Engineer, 1. Lead Architect / Orchestrator, 2. React / Vite Storefront Auditor, 3. NestJS Backend Auditor, 4. Admin Features Auditor, 5. Database & Data Integrity Auditor, 6. Security Auditor, 7. TypeScript & Code Quality Auditor (+7 more)
|
||||
|
||||
### Community 92 - "OrdersService"
|
||||
Cohesion: 0.10
|
||||
Nodes (18): OrdersController, ApiBadRequestResponse, ApiBearerAuth, ApiCreatedResponse, ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags (+10 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (35): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+27 more)
|
||||
|
||||
### Community 93 - "CheckoutPage.tsx"
|
||||
Cohesion: 0.30
|
||||
Nodes (11): AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), CheckoutPage(), SearchableSelect(), SearchableSelectProps (+3 more)
|
||||
|
||||
### Community 94 - "Phase 3.1 — Human Review Preparation and Master Backlog Critique"
|
||||
Cohesion: 0.13
|
||||
Nodes (14): 10. Dependency & Wave Adjustments, 11. Acceptance Criteria Refinements, 12. Business and Product Decision Classification, 13. Final Recommended Backlog Summary, 1. Executive Assessment, 2. Findings That Require No Change, 3. Findings Requiring Task Refinements, 4. Tasks Requiring Splitting (+6 more)
|
||||
|
||||
### Community 95 - "blog/[slug]/page.tsx"
|
||||
Cohesion: 0.23
|
||||
Nodes (12): BlogPostPage(), generateMetadata(), getBlog(), revalidate, safeIso(), safeLocalDate(), generateMetadata(), revalidate (+4 more)
|
||||
Cohesion: 0.26
|
||||
Nodes (11): BlogPostPage(), generateMetadata(), getBlog(), revalidate, safeIso(), safeLocalDate(), generateMetadata(), revalidate (+3 more)
|
||||
|
||||
### Community 96 - "compilerOptions"
|
||||
Cohesion: 0.06
|
||||
@@ -712,8 +744,8 @@ Cohesion: 0.13
|
||||
Nodes (15): scripts, build, build:nest, docs:generate, lint, seo:backfill, start, start:debug (+7 more)
|
||||
|
||||
### Community 99 - "BlogsController"
|
||||
Cohesion: 0.15
|
||||
Nodes (15): BlogsController, ApiBearerAuth, ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+7 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (16): BlogsController, ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags, Body, Controller, Get (+8 more)
|
||||
|
||||
### Community 100 - "Deep Audit Summary Report"
|
||||
Cohesion: 0.14
|
||||
@@ -739,17 +771,13 @@ Nodes (11): formatPriceWithCommas(), PriceInput(), PriceInputProps, toEnglishDig
|
||||
Cohesion: 0.17
|
||||
Nodes (11): 1. Detect Test Runner from Tech Stack, 2. Execution Output Capture (Mandatory), 3. Acceptance Criteria Verification, 4. Failure Routing Protocol, 5. Success Routing Protocol, 6. Forbidden Actions, Expected JSON Output Schema, Operational Rules & Boundaries (+3 more)
|
||||
|
||||
### Community 106 - "Media.tsx"
|
||||
Cohesion: 0.19
|
||||
Nodes (9): ImagePreviewModal(), ImagePreviewModalProps, getFileType(), Media, MediaManager(), ProductItem, Media, PrescriptionsManager (+1 more)
|
||||
|
||||
### Community 107 - "WikiController"
|
||||
Cohesion: 0.13
|
||||
Nodes (13): ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags, Controller, Get, Param, Query (+5 more)
|
||||
### Community 107 - "PaginationDto"
|
||||
Cohesion: 0.08
|
||||
Nodes (23): BlogFilterDto, PaginationDto, SortOrder, ApiPropertyOptional, IsEnum, IsInt, IsOptional, IsString (+15 more)
|
||||
|
||||
### Community 108 - "PrismaService"
|
||||
Cohesion: 0.06
|
||||
Nodes (27): ApiExcludeController, CategoryQuery, MetricsController, Controller, Get, Res, MeliPayamakPattern, MeliPayamakResponse (+19 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (17): CategoryQuery, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions, SmsConfig, SmsLogQuery, CreateContactSubmissionDto, UpdateContactInfoItemDto (+9 more)
|
||||
|
||||
### Community 109 - "1. Summary of Integrity Repairs Performed"
|
||||
Cohesion: 0.17
|
||||
@@ -804,12 +832,12 @@ Cohesion: 0.20
|
||||
Nodes (9): Compile and run the project, Deployment, Description, License, Project setup, Resources, Run tests, Stay in touch (+1 more)
|
||||
|
||||
### Community 122 - "AdminController"
|
||||
Cohesion: 0.12
|
||||
Nodes (8): AdminController, ApiBearerAuth, ApiTags, Controller, Delete, Param, Put, UseGuards
|
||||
Cohesion: 0.14
|
||||
Nodes (6): AdminController, ApiBearerAuth, ApiTags, Controller, Put, UseGuards
|
||||
|
||||
### Community 123 - "auth.service.ts"
|
||||
Cohesion: 0.12
|
||||
Nodes (11): AdminLoginInput, AuthService, LoginInput, RegisterInput, Injectable, SendOtpDto, ApiProperty, IsNotEmpty (+3 more)
|
||||
### Community 123 - "AuthService"
|
||||
Cohesion: 0.18
|
||||
Nodes (4): AuthService, Injectable, normalizeMobile(), UserAddressInput
|
||||
|
||||
### Community 124 - "Repository Map"
|
||||
Cohesion: 0.20
|
||||
@@ -827,13 +855,9 @@ Nodes (9): name, private, scripts, build, dev, lint, preview, type (+1 more)
|
||||
Cohesion: 0.20
|
||||
Nodes (9): Arch Linux, Contributors, Install, Known problems for variable version, License, Sahel-Font, To Do (variable), طریقه استفاده از نسخه متغیر variable (+1 more)
|
||||
|
||||
### Community 128 - "AdminService"
|
||||
Cohesion: 0.19
|
||||
Nodes (4): Body, Post, AdminService, Injectable
|
||||
|
||||
### Community 129 - "auth.controller.ts"
|
||||
Cohesion: 0.10
|
||||
Nodes (19): AdminLoginDto, ApiProperty, IsEmail, IsNotEmpty, IsString, MinLength, LoginDto, ApiProperty (+11 more)
|
||||
### Community 129 - "auth.service.ts"
|
||||
Cohesion: 0.06
|
||||
Nodes (33): AdminLoginInput, LoginInput, RegisterInput, AdminLoginDto, ApiProperty, IsEmail, IsNotEmpty, IsString (+25 more)
|
||||
|
||||
### Community 130 - "Sahel-Font"
|
||||
Cohesion: 0.20
|
||||
@@ -892,16 +916,16 @@ Cohesion: 0.25
|
||||
Nodes (6): app_module_1, core_1, fs, path, swagger_1, yaml
|
||||
|
||||
### Community 145 - "admin.service.ts"
|
||||
Cohesion: 0.18
|
||||
Nodes (13): CouponInput, CouponTargetInput, PaginationQuery, CreateUserDto, ApiProperty, ApiPropertyOptional, IsEmail, IsNotEmpty (+5 more)
|
||||
Cohesion: 0.17
|
||||
Nodes (14): CouponInput, CouponTargetInput, PaginationQuery, CreateUserDto, ApiProperty, ApiPropertyOptional, IsEmail, IsNotEmpty (+6 more)
|
||||
|
||||
### Community 146 - "System Discovery"
|
||||
Cohesion: 0.25
|
||||
Nodes (7): Active Core Applications, Current Architecture, Evidence-Based Status Matrix, Excluded / Non-Auditable Artifacts, Major Business Domains Discovered, System Discovery, Technical Architecture Summary
|
||||
|
||||
### Community 148 - "app-audit-verification.e2e-spec.js"
|
||||
Cohesion: 0.17
|
||||
Nodes (11): app_module_1, client_1, common_1, decimal_interceptor_1, fs, http_exception_filter_1, jwt_1, path (+3 more)
|
||||
### Community 147 - "PodcastPlayerModal.tsx"
|
||||
Cohesion: 0.40
|
||||
Nodes (3): PLAYBACK_RATES, PodcastPlayerModal(), PodcastPlayerModalProps
|
||||
|
||||
### Community 149 - "SmsSettingsPage.tsx"
|
||||
Cohesion: 0.29
|
||||
@@ -911,13 +935,9 @@ Nodes (7): PatternItem, SmsConfigState, SmsLogItem, SmsLogStats, SmsSettingsPage
|
||||
Cohesion: 0.29
|
||||
Nodes (6): 1. Executive Vision, 2. Target Audience, 3. Functional Requirements, 4. Non-Functional Requirements (Performance, Security), 5. Epic / Feature Breakdown, Product Requirement Document (PRD)
|
||||
|
||||
### Community 151 - "CreateOrderDto"
|
||||
Cohesion: 0.22
|
||||
Nodes (11): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+3 more)
|
||||
|
||||
### Community 152 - "lib/services/api.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (29): CartDrawer, VerifyContent(), B2BPortal(), CartDrawer(), DeleteConfirmModal(), DeleteConfirmModalProps, Header(), MENU_ICONS (+21 more)
|
||||
### Community 152 - "useCartStore"
|
||||
Cohesion: 0.10
|
||||
Nodes (15): B2BPortal, B2BPortal(), CartDrawer(), DeleteConfirmModal(), DeleteConfirmModalProps, OrderSuccess(), OrderTracking(), mockProduct (+7 more)
|
||||
|
||||
### Community 153 - "exclude"
|
||||
Cohesion: 0.22
|
||||
@@ -931,10 +951,6 @@ Nodes (6): Attempted Command Execution Log, Backend `backend/package.json` Scrip
|
||||
Cohesion: 0.67
|
||||
Nodes (3): prisma, runSeoBackfill(), stripHtml()
|
||||
|
||||
### Community 158 - "CustomHttpExceptionFilter"
|
||||
Cohesion: 0.29
|
||||
Nodes (5): CustomHttpExceptionFilter, Catch, ApiErrorResponse, ErrorDetailField, ApiProperty
|
||||
|
||||
### Community 159 - "with-vpn.sh"
|
||||
Cohesion: 0.62
|
||||
Nodes (6): cleanup(), log(), with-vpn.sh script, start_vpn(), stop_vpn(), vpn_is_up()
|
||||
@@ -1003,18 +1019,10 @@ Nodes (4): evidenceList, ledger, mandatoryMap, mandatoryScope
|
||||
Cohesion: 0.40
|
||||
Nodes (4): activeFiles, errors, validationOutput, warnings
|
||||
|
||||
### Community 176 - "settings.service.ts"
|
||||
Cohesion: 0.25
|
||||
Nodes (4): SmsLogQuery, DEFAULT_UI_TEXTS, CANONICAL_ALIASES, ScientificTermData
|
||||
|
||||
### Community 178 - "نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina"
|
||||
Cohesion: 0.33
|
||||
Nodes (5): نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina, ۱. معماری و نقشهای کاربری (User Roles), ۲. ماتریس جریانها و قابلیتهای کاربرمحور (Feature & Flow Matrix), ۳. وضعیت پوشش نهایی سوئیت ۱۱گانه (Final 11 Test Suites Status), ۴. راهنمای نگهداری و افزودن فیچرهای جدید بدون شکستن تستها (Developer Maintenance Guide)
|
||||
|
||||
### Community 179 - "PaginationDto"
|
||||
Cohesion: 0.06
|
||||
Nodes (25): BlogsModule, Module, BlogFilterDto, BlogsService, Injectable, PaginationDto, SortOrder, ApiPropertyOptional (+17 more)
|
||||
|
||||
### Community 180 - "API Contract Specification"
|
||||
Cohesion: 0.50
|
||||
Nodes (3): 1. OpenAPI 3.0 (Swagger) Specification, 2. Endpoint Definitions & Data Types, API Contract Specification
|
||||
@@ -1032,8 +1040,8 @@ Cohesion: 0.50
|
||||
Nodes (3): Overview & Content Foundation, SEO & Content Requirements, 🚀 SEO & Content Strategy Review (12_seo_content)
|
||||
|
||||
### Community 184 - "RedisService"
|
||||
Cohesion: 0.15
|
||||
Nodes (5): RedisModule, Global, Module, RedisService, Injectable
|
||||
Cohesion: 0.08
|
||||
Nodes (12): ApiExcludeController, AppModule, Module, MetricsController, Controller, Get, Res, RedisModule (+4 more)
|
||||
|
||||
### Community 191 - "graphify reference: add a URL and watch a folder"
|
||||
Cohesion: 0.50
|
||||
@@ -1063,10 +1071,6 @@ Nodes (3): Select, SelectOption, SelectProps
|
||||
Cohesion: 0.25
|
||||
Nodes (7): SmsLogQueryDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type
|
||||
|
||||
### Community 199 - "VerifyOtpDto"
|
||||
Cohesion: 0.29
|
||||
Nodes (6): ApiProperty, IsNotEmpty, IsString, Matches, VerifyOtpDto, Length
|
||||
|
||||
### Community 200 - "application/README.md"
|
||||
Cohesion: 0.50
|
||||
Nodes (3): Deploy on Vercel, Getting Started, Learn More
|
||||
@@ -1084,36 +1088,36 @@ Cohesion: 0.67
|
||||
Nodes (3): Shabnam Font README, Shabnam Font Sample, Vazir Font
|
||||
|
||||
### Community 298 - ".initiateOrderPayment"
|
||||
Cohesion: 0.18
|
||||
Nodes (10): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto, ApiBadRequestResponse, ApiOkResponse, Req, Res (+2 more)
|
||||
Cohesion: 0.32
|
||||
Nodes (6): ApiBadRequestResponse, ApiOkResponse, Req, Res, Headers, Ip
|
||||
|
||||
### Community 313 - "Modal.tsx"
|
||||
Cohesion: 0.08
|
||||
Nodes (17): maxWidthClasses, Modal(), ModalProps, ContactInfoItem, ContactSubmission, MENU_TABS, MenuItem, MenuType (+9 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (14): maxWidthClasses, Modal(), ModalProps, ContactInfoItem, ContactSubmission, MENU_TABS, MenuItem, MenuType (+6 more)
|
||||
|
||||
### Community 317 - "revalidate/route.ts"
|
||||
Cohesion: 0.83
|
||||
Nodes (3): GET(), handleRevalidate(), POST()
|
||||
|
||||
## Knowledge Gaps
|
||||
- **1335 isolated node(s):** `$schema`, `collection`, `sourceRoot`, `deleteOutDir`, `name` (+1330 more)
|
||||
- **1337 isolated node(s):** `$schema`, `collection`, `sourceRoot`, `deleteOutDir`, `name` (+1332 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **93 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
- **117 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
|
||||
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `ApiResponse` connect `src/services/api.ts` to `BlogsController`, `AuthController`, `PetsController`, `WikiController`, `HomeController`, `UsersService`, `ProductsService`, `OrdersService`?**
|
||||
_High betweenness centrality (0.086) - this node is a cross-community bridge._
|
||||
- **Why does `Roles()` connect `Roles` to `WholesaleService`, `B2BService`, `SettingsController`, `FaqService`, `CmsController`, `TicketsService`, `SslController`, `BannersService`, `ReviewsController`, `TestimonialsService`, `IngredientsService`, `JwtAuthGuard`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `RevalidationService`, `MenuService`, `ContactService`?**
|
||||
- **Why does `ApiResponse` connect `src/services/api.ts` to `BlogsController`, `AuthController`, `PetsController`, `PaginationDto`, `HomeController`, `UsersController`, `ProductsService`, `OrdersService`?**
|
||||
_High betweenness centrality (0.085) - this node is a cross-community bridge._
|
||||
- **Why does `Roles()` connect `Roles` to `WholesaleApplyDto`, `B2BService`, `SmsService`, `FaqService`, `CmsController`, `TicketsService`, `SslController`, `BannersService`, `reviews.controller.ts`, `TestimonialsService`, `IngredientsService`, `JwtAuthGuard`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `MenuService`, `ContactService`?**
|
||||
_High betweenness centrality (0.067) - this node is a cross-community bridge._
|
||||
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `auth.controller.ts`, `CmsController`, `PetsController`, `DoctorQueryDto`, `admin.service.ts`, `UsersService`, `PaginationDto`, `admin.module.ts`, `RevalidationService`?**
|
||||
_High betweenness centrality (0.034) - this node is a cross-community bridge._
|
||||
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `auth.service.ts`, `PetsController`, `CmsController`, `users.controller.ts`, `reviews.controller.ts`, `PaginationDto`, `PetsController`, `DoctorQueryDto`, `admin.service.ts`, `ProductsService`, `CreateVideoDto`, `admin.module.ts`, `OrdersService`?**
|
||||
_High betweenness centrality (0.033) - this node is a cross-community bridge._
|
||||
- **What connects `$schema`, `collection`, `sourceRoot` to the rest of the system?**
|
||||
_1335 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
_1337 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
- **Should `app.module.ts` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.06988120195667366 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.06848357791754019 - nodes in this community are weakly interconnected._
|
||||
- **Should `SmsService` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.06324786324786325 - nodes in this community are weakly interconnected._
|
||||
- **Should `ProductService` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.06229508196721312 - nodes in this community are weakly interconnected._
|
||||
- **Should `useSettingsStore` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.07390648567119155 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.05952380952380952 - nodes in this community are weakly interconnected._
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{".agents/rules/graphify.md":{"size":933,"mtime_ns":1786870552830271100,"indexed_at_ns":1787726739808807000,"word_count":127,"hashes":{".agents/rules/graphify.md":"26f2577a68d808f7f33ec3e418b95b635aec180d93b22b975e9ae67c47e361c8"}},".agents/workflows/graphify.md":{"size":229,"mtime_ns":1786870552832398300,"indexed_at_ns":1787726739809809700,"word_count":37,"hashes":{".agents/workflows/graphify.md":"a81e2d017e0669c71099362b20854e4d9ed68753f1c240d0682120bdb9aa3c72"}},".ai_agency/AGENCY.md":{"size":8757,"mtime_ns":1785148021979607300,"indexed_at_ns":1787726739810808600,"word_count":1161,"hashes":{".ai_agency/agency.md":"88c7c13583a91fc7e41ce055fede9dce20f181e8d264557808989965e83a9030"}},".ai_agency/agents/00_intake.md":{"size":3819,"mtime_ns":1785148021984319000,"indexed_at_ns":1787726739811809900,"word_count":500,"hashes":{".ai_agency/agents/00_intake.md":"9dc8d7eeda0655717dc5b9d2f8572c47567b88ca88de7e4e5bf59869077ff407"}},".ai_agency/agents/01_auditor.md":{"size":3643,"mtime_ns":1785148021987782800,"indexed_at_ns":1787726739813809800,"word_count":467,"hashes":{".ai_agency/agents/01_auditor.md":"37ae09614034d9b5c855e0132b59a5e3cfd2fc38c54d1a5386fa43ba488c4d4d"}},".ai_agency/agents/02_ceo.md":{"size":2341,"mtime_ns":1785148021998374800,"indexed_at_ns":1787726739814809500,"word_count":294,"hashes":{".ai_agency/agents/02_ceo.md":"b4a76df6483fd52e1b9f1e70765b3f7b6d134dc003ef2ad0cb86b952c869c4a5"}},".ai_agency/agents/03_product_manager.md":{"size":8422,"mtime_ns":1785148022001968200,"indexed_at_ns":1787726739815810200,"word_count":1076,"hashes":{".ai_agency/agents/03_product_manager.md":"1927827474b1dd6fd4976af45b51f1ad3128fe3305c3af22639ab2584e8f0b55"}},".ai_agency/agents/04_architect.md":{"size":3603,"mtime_ns":1785148022004966000,"indexed_at_ns":1787726739816809500,"word_count":448,"hashes":{".ai_agency/agents/04_architect.md":"c96b04d5af093f455fa3c64ae177a69421e8150eb38c70bb8587b5a14e7d3ca8"}},".ai_agency/agents/05_dev_backend.md":{"size":7142,"mtime_ns":1785148022012481200,"indexed_at_ns":1787726739817810300,"word_count":953,"hashes":{".ai_agency/agents/05_dev_backend.md":"143a7c8a6fbedcd837d647efddb9f6b49074583502bd77f24c955bd86a6f3df8"}},".ai_agency/agents/06_dev_frontend.md":{"size":7518,"mtime_ns":1785148022017020100,"indexed_at_ns":1787726739819343800,"word_count":1011,"hashes":{".ai_agency/agents/06_dev_frontend.md":"e69679636d42dd626c7c76ddc96e1ddb656ab5b9ee912b89adcc7a9338f34a0b"}},".ai_agency/agents/07_qa_engineer.md":{"size":3764,"mtime_ns":1785148022020044600,"indexed_at_ns":1787726739820379800,"word_count":507,"hashes":{".ai_agency/agents/07_qa_engineer.md":"2616ef2b3ac39ded45fc669d5b5b140e72953fe61a819966fb040382e9b47d45"}},".ai_agency/agents/08_visual_qa.md":{"size":7910,"mtime_ns":1785148022030083200,"indexed_at_ns":1787726739821353800,"word_count":1121,"hashes":{".ai_agency/agents/08_visual_qa.md":"17a5a74039e8a9d7cb40c5bc3c616c7c92d53401efd92d0675d4bbe5e90572a8"}},".ai_agency/agents/09_devops_security.md":{"size":6825,"mtime_ns":1785148022034087400,"indexed_at_ns":1787726739822379900,"word_count":908,"hashes":{".ai_agency/agents/09_devops_security.md":"315bd3cee954ac3496da8db1b1718b75ab3822ec3a90f99bc77767ca99482edf"}},".ai_agency/agents/10_tech_writer.md":{"size":3119,"mtime_ns":1785148022037082600,"indexed_at_ns":1787726739824378500,"word_count":408,"hashes":{".ai_agency/agents/10_tech_writer.md":"3527b44265fec2472cc20ca4641667e1fa3d38cbc9b2fbf9a946ee1e531e9e37"}},".ai_agency/agents/11_deploy.md":{"size":3956,"mtime_ns":1785148022040602600,"indexed_at_ns":1787726739825379700,"word_count":537,"hashes":{".ai_agency/agents/11_deploy.md":"8169bc98b249cd83ba21551dea082f69dfa6deca5f5e4a7f2739a28746c143f9"}},".ai_agency/agents/12_seo_content.md":{"size":10963,"mtime_ns":1785148022048603900,"indexed_at_ns":1787726739826379900,"word_count":1539,"hashes":{".ai_agency/agents/12_seo_content.md":"2f50eb9db8bf1ad7bc23c7d8c3a4f167a2daafb73f095db9237c5bdb20e7a5f4"}},".ai_agency/memory/agent_outputs/README.txt":{"size":290,"mtime_ns":1785148022052150400,"indexed_at_ns":1787726728366347600,"word_count":34},".ai_agency/memory/backlog.json":{"size":10711,"mtime_ns":1785330750958890900,"indexed_at_ns":1787726739730126300,"word_count":981,"hashes":{".ai_agency/memory/backlog.json":"6bf3150a1877d03d03b368df21b84071381b1bb8cd03e3721fa9f8e6c38355be"}},".ai_agency/memory/scratchpad.md":{"size":1879,"mtime_ns":1785148022065114400,"indexed_at_ns":1787726739827380200,"word_count":249,"hashes":{".ai_agency/memory/scratchpad.md":"9d0f687cf8e95c6335f1efb070da8029878417c28117e3b89aa8536ad70a5b95"}},".ai_agency/memory/state.json":{"size":3654,"mtime_ns":1785330750963913800,"indexed_at_ns":1787726739754651600,"word_count":254,"hashes":{".ai_agency/memory/state.json":"1204676f8f295d89733888bb87936061b7a700df0cc936fbf08fd5269b534e8d"}},".ai_agency/orchestrate.py":{"size":6800,"mtime_ns":1785148022072662500,"indexed_at_ns":1787726739755649500,"word_count":644,"hashes":{".ai_agency/orchestrate.py":"90ec787fdd4c71f5203c56b6899aaLine truncated
|
||||
{".agents/rules/graphify.md":{"size":933,"mtime_ns":1786870552830271100,"indexed_at_ns":1787726739808807000,"word_count":127,"hashes":{".agents/rules/graphify.md":"26f2577a68d808f7f33ec3e418b95b635aec180d93b22b975e9ae67c47e361c8"}},".agents/workflows/graphify.md":{"size":229,"mtime_ns":1786870552832398300,"indexed_at_ns":1787726739809809700,"word_count":37,"hashes":{".agents/workflows/graphify.md":"a81e2d017e0669c71099362b20854e4d9ed68753f1c240d0682120bdb9aa3c72"}},".ai_agency/AGENCY.md":{"size":8757,"mtime_ns":1785148021979607300,"indexed_at_ns":1787726739810808600,"word_count":1161,"hashes":{".ai_agency/agency.md":"88c7c13583a91fc7e41ce055fede9dce20f181e8d264557808989965e83a9030"}},".ai_agency/agents/00_intake.md":{"size":3819,"mtime_ns":1785148021984319000,"indexed_at_ns":1787726739811809900,"word_count":500,"hashes":{".ai_agency/agents/00_intake.md":"9dc8d7eeda0655717dc5b9d2f8572c47567b88ca88de7e4e5bf59869077ff407"}},".ai_agency/agents/01_auditor.md":{"size":3643,"mtime_ns":1785148021987782800,"indexed_at_ns":1787726739813809800,"word_count":467,"hashes":{".ai_agency/agents/01_auditor.md":"37ae09614034d9b5c855e0132b59a5e3cfd2fc38c54d1a5386fa43ba488c4d4d"}},".ai_agency/agents/02_ceo.md":{"size":2341,"mtime_ns":1785148021998374800,"indexed_at_ns":1787726739814809500,"word_count":294,"hashes":{".ai_agency/agents/02_ceo.md":"b4a76df6483fd52e1b9f1e70765b3f7b6d134dc003ef2ad0cb86b952c869c4a5"}},".ai_agency/agents/03_product_manager.md":{"size":8422,"mtime_ns":1785148022001968200,"indexed_at_ns":1787726739815810200,"word_count":1076,"hashes":{".ai_agency/agents/03_product_manager.md":"1927827474b1dd6fd4976af45b51f1ad3128fe3305c3af22639ab2584e8f0b55"}},".ai_agency/agents/04_architect.md":{"size":3603,"mtime_ns":1785148022004966000,"indexed_at_ns":1787726739816809500,"word_count":448,"hashes":{".ai_agency/agents/04_architect.md":"c96b04d5af093f455fa3c64ae177a69421e8150eb38c70bb8587b5a14e7d3ca8"}},".ai_agency/agents/05_dev_backend.md":{"size":7142,"mtime_ns":1785148022012481200,"indexed_at_ns":1787726739817810300,"word_count":953,"hashes":{".ai_agency/agents/05_dev_backend.md":"143a7c8a6fbedcd837d647efddb9f6b49074583502bd77f24c955bd86a6f3df8"}},".ai_agency/agents/06_dev_frontend.md":{"size":7518,"mtime_ns":1785148022017020100,"indexed_at_ns":1787726739819343800,"word_count":1011,"hashes":{".ai_agency/agents/06_dev_frontend.md":"e69679636d42dd626c7c76ddc96e1ddb656ab5b9ee912b89adcc7a9338f34a0b"}},".ai_agency/agents/07_qa_engineer.md":{"size":3764,"mtime_ns":1785148022020044600,"indexed_at_ns":1787726739820379800,"word_count":507,"hashes":{".ai_agency/agents/07_qa_engineer.md":"2616ef2b3ac39ded45fc669d5b5b140e72953fe61a819966fb040382e9b47d45"}},".ai_agency/agents/08_visual_qa.md":{"size":7910,"mtime_ns":1785148022030083200,"indexed_at_ns":1787726739821353800,"word_count":1121,"hashes":{".ai_agency/agents/08_visual_qa.md":"17a5a74039e8a9d7cb40c5bc3c616c7c92d53401efd92d0675d4bbe5e90572a8"}},".ai_agency/agents/09_devops_security.md":{"size":6825,"mtime_ns":1785148022034087400,"indexed_at_ns":1787726739822379900,"word_count":908,"hashes":{".ai_agency/agents/09_devops_security.md":"315bd3cee954ac3496da8db1b1718b75ab3822ec3a90f99bc77767ca99482edf"}},".ai_agency/agents/10_tech_writer.md":{"size":3119,"mtime_ns":1785148022037082600,"indexed_at_ns":1787726739824378500,"word_count":408,"hashes":{".ai_agency/agents/10_tech_writer.md":"3527b44265fec2472cc20ca4641667e1fa3d38cbc9b2fbf9a946ee1e531e9e37"}},".ai_agency/agents/11_deploy.md":{"size":3956,"mtime_ns":1785148022040602600,"indexed_at_ns":1787726739825379700,"word_count":537,"hashes":{".ai_agency/agents/11_deploy.md":"8169bc98b249cd83ba21551dea082f69dfa6deca5f5e4a7f2739a28746c143f9"}},".ai_agency/agents/12_seo_content.md":{"size":10963,"mtime_ns":1785148022048603900,"indexed_at_ns":1787726739826379900,"word_count":1539,"hashes":{".ai_agency/agents/12_seo_content.md":"2f50eb9db8bf1ad7bc23c7d8c3a4f167a2daafb73f095db9237c5bdb20e7a5f4"}},".ai_agency/memory/agent_outputs/README.txt":{"size":290,"mtime_ns":1785148022052150400,"indexed_at_ns":1787726728366347600,"word_count":34},".ai_agency/memory/backlog.json":{"size":10711,"mtime_ns":1785330750958890900,"indexed_at_ns":1787726739730126300,"word_count":981,"hashes":{".ai_agency/memory/backlog.json":"6bf3150a1877d03d03b368df21b84071381b1bb8cd03e3721fa9f8e6c38355be"}},".ai_agency/memory/scratchpad.md":{"size":1879,"mtime_ns":1785148022065114400,"indexed_at_ns":1787726739827380200,"word_count":249,"hashes":{".ai_agency/memory/scratchpad.md":"9d0f687cf8e95c6335f1efb070da8029878417c28117e3b89aa8536ad70a5b95"}},".ai_agency/memory/state.json":{"size":3654,"mtime_ns":1785330750963913800,"indexed_at_ns":1787726739754651600,"word_count":254,"hashes":{".ai_agency/memory/state.json":"1204676f8f295d89733888bb87936061b7a700df0cc936fbf08fd5269b534e8d"}},".ai_agency/orchestrate.py":{"size":6800,"mtime_ns":1785148022072662500,"indexed_at_ns":1787726739755649500,"word_count":644,"hashes":{".ai_agency/orchestrate.py":"90ec787fdd4c71f5203c56b6899aaLine truncated
|
||||
@@ -63,12 +63,12 @@
|
||||
</div>
|
||||
<div id="legend"></div>
|
||||
</div>
|
||||
<div id="stats">4107 nodes · 7401 edges · 302 communities</div>
|
||||
<div id="stats">4110 nodes · 7412 edges · 322 communities</div>
|
||||
</div>
|
||||
<script>
|
||||
const RAW_NODES = [{"id": "ai_agency_orchestrate", "label": "orchestrate.py", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "orchestrate.py", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 8}, {"id": "ai_agency_orchestrate_load_json", "label": "load_json()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "load_json()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 5}, {"id": "ai_agency_orchestrate_save_json", "label": "save_json()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "save_json()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_status", "label": "cmd_status()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_status()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_progress", "label": "cmd_progress()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_progress()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_next_task", "label": "cmd_next_task()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_next_task()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_unblock", "label": "cmd_unblock()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_unblock()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 4}, {"id": "ai_agency_orchestrate_cmd_reset", "label": "cmd_reset()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_reset()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_main", "label": "main()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "main()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 6}, {"id": "gitea_scripts_with_vpn", "label": "with-vpn.sh", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "with-vpn.sh", "community": 159, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 6}, {"id": "gitea_scripts_with_vpn_sh__entry", "label": "with-vpn.sh script", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "with-vpn.sh script", "community": 159, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 3}, {"id": "gitea_scripts_with_vpn_log", "label": "log()", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "log()", "community": 159, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 5}, {"id": "gitea_scripts_with_vpn_vpn_is_up", "label": "vpn_is_up()", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffLine truncated
|
||||
const RAW_EDGES = [{"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_next_task", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_progress", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_reset", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_status", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_unblock", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_load_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_main", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_save_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_next_task", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_progress", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_status", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_unblock", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_reset", "to": "ai_agency_orchestrate_save_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_unblock", "to": "ai_agency_orchestrate_save_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_status", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_progress", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_next_task", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_unblock", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_reset", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_cleanup", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_log", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_sh__entry", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_start_vpn", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7},Line truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Roles", "count": 40}, {"cid": 1, "color": "#F28E2B", "label": "app.module.ts", "count": 54}, {"cid": 2, "color": "#E15759", "label": "SettingsController", "count": 42}, {"cid": 3, "color": "#76B7B2", "label": "ProductService", "count": 61}, {"cid": 4, "color": "#59A14F", "label": "useSettingsStore", "count": 52}, {"cid": 5, "color": "#EDC948", "label": "CmsController", "count": 53}, {"cid": 6, "color": "#B07AA1", "label": "TicketsService", "count": 47}, {"cid": 7, "color": "#FF9DA7", "label": "Button.tsx", "count": 29}, {"cid": 8, "color": "#9C755F", "label": "ReportsController", "count": 15}, {"cid": 9, "color": "#BAB0AC", "label": "devDependencies", "count": 43}, {"cid": 10, "color": "#4E79A7", "label": "ReviewsController", "count": 23}, {"cid": 11, "color": "#F28E2B", "label": "MediaSelector.tsx", "count": 54}, {"cid": 12, "color": "#E15759", "label": "index.ts", "count": 45}, {"cid": 13, "color": "#76B7B2", "label": "main.ts", "count": 25}, {"cid": 14, "color": "#59A14F", "label": "BlogsService", "count": 20}, {"cid": 15, "color": "#EDC948", "label": "src/services/api.ts", "count": 49}, {"cid": 16, "color": "#B07AA1", "label": "DoctorQueryDto", "count": 39}, {"cid": 17, "color": "#FF9DA7", "label": "schema.ts", "count": 23}, {"cid": 18, "color": "#9C755F", "label": "JwtAuthGuard", "count": 34}, {"cid": 19, "color": "#BAB0AC", "label": "ProductsService", "count": 30}, {"cid": 20, "color": "#4E79A7", "label": "CreateVideoDto", "count": 37}, {"cid": 21, "color": "#F28E2B", "label": "admin.module.ts", "count": 25}, {"cid": 22, "color": "#E15759", "label": "PetProfile.tsx", "count": 42}, {"cid": 23, "color": "#76B7B2", "label": "MenuService", "count": 36}, {"cid": 24, "color": "#59A14F", "label": "BE-001", "count": 33}, {"cid": 25, "color": "#EDC948", "label": "FE-001", "count": 32}, {"cid": 26, "color": "#B07AA1", "label": "ADM-001", "count": 32}, {"cid": 27, "color": "#FF9DA7", "label": "DB-001", "count": 32}, {"cid": 28, "color": "#9C755F", "label": "TS-001", "count": 32}, {"cid": 29, "color": "#BAB0AC", "label": "TEST-001", "count": 32}, {"cid": 30, "color": "#4E79A7", "label": "DEVOPS-001", "count": 32}, {"cid": 31, "color": "#F28E2B", "label": "DOC-001", "count": 32}, {"cid": 32, "color": "#E15759", "label": "adminRoutes.tsx", "count": 41}, {"cid": 33, "color": "#76B7B2", "label": "WholesaleService", "count": 24}, {"cid": 34, "color": "#59A14F", "label": "B2BService", "count": 30}, {"cid": 35, "color": "#EDC948", "label": "AuthController", "count": 21}, {"cid": 36, "color": "#B07AA1", "label": "FaqService", "count": 32}, {"cid": 37, "color": "#FF9DA7", "label": "\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u062a\u0633\u062a \u0633\u06cc\u0633\u062a\u0645 (Software Testing)", "count": 29}, {"cid": 38, "color": "#9C755F", "label": "Button", "count": 17}, {"cid": 39, "color": "#BAB0AC", "label": "CategoriesController", "count": 28}, {"cid": 40, "color": "#4E79A7", "label": "MediaController", "count": 28}, {"cid": 41, "color": "#F28E2B", "label": "What You Must Do When Invoked", "count": 27}, {"cid": 42, "color": "#E15759", "label": "SslController", "count": 26}, {"cid": 43, "color": "#76B7B2", "label": "BannersService", "count": 27}, {"cid": 44, "color": "#59A14F", "label": "TestimonialsService", "count": 26}, {"cid": 45, "color": "#EDC948", "label": "What You Must Do When Invoked", "count": 27}, {"cid": 46, "color": "#B07AA1", "label": "HomeController", "count": 17}, {"cid": 47, "color": "#FF9DA7", "label": "IngredientsService", "count": 26}, {"cid": 48, "color": "#9C755F", "label": "UsersService", "count": 69}, {"cid": 49, "color": "#BAB0AC", "label": "devDependencies", "count": 19}, {"cid": 50, "color": "#4E79A7", "label": "devDependencies", "count": 15}, {"cid": 51, "color": "#F28E2B", "label": "BlogsController", "count": 32}, {"cid": 52, "color": "#E15759", "label": "PrescriptionsService", "count": 24}, {"cid": 53, "color": "#76B7B2", "label": "SmartAdvisorService", "count": 24}, {"cid": 54, "color": "#59A14F", "label": "RevalidationService", "count": 46}, {"cid": 55, "color": "#EDC948", "label": "UITexts.tsx", "count": 26}, {"cid": 56, "color": "#B07AA1", "label": "Orders.tsx", "count": 28}, {"cid": 57, "color": "#FF9DA7", "label": "Role & Core Objective", "count": 23}, {"cid": 58, "color": "#9C755F", "label": "ContactService", "count": 24}, {"cid": 59, "color": "#BAB0AC", "label": "compilerOptions", "count": 31}, {"cid": 60, "color": "#4E79A7", "label": "PaymentService", "count": 20}, {"cid": 61, "color": "#F28E2B", "label": "payment.service.ts", "count": 11}, {"cid": 62, "color": "#E15759", "label": "ProductDto", "count": 11}, {"cid": 63, "color": "#76B7B2", "label": "dependencies", "count": 43}, {"cid": 64, "color": "#59A14F", "label": "compilerOptions", "count": 21}, {"cid": 65, "color": "#EDC948", "label": "app.e2e-spec.js", "count": 4}, {"cid": 66, "color": "#B07AA1", "label": "AdminQueryDto", "count": 15}, {"cid": 67, "color": "#FF9Line truncated
|
||||
const RAW_NODES = [{"id": "ai_agency_orchestrate", "label": "orchestrate.py", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 12.3, "font": {"size": 0, "color": "#ffffff"}, "title": "orchestrate.py", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 8}, {"id": "ai_agency_orchestrate_load_json", "label": "load_json()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "load_json()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 5}, {"id": "ai_agency_orchestrate_save_json", "label": "save_json()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "save_json()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_status", "label": "cmd_status()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_status()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_progress", "label": "cmd_progress()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_progress()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_next_task", "label": "cmd_next_task()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_next_task()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_cmd_unblock", "label": "cmd_unblock()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_unblock()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 4}, {"id": "ai_agency_orchestrate_cmd_reset", "label": "cmd_reset()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "cmd_reset()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 3}, {"id": "ai_agency_orchestrate_main", "label": "main()", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "main()", "community": 132, "community_name": "orchestrate.py", "source_file": ".ai_agency/orchestrate.py", "file_type": "code", "degree": 6}, {"id": "gitea_scripts_with_vpn", "label": "with-vpn.sh", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 11.7, "font": {"size": 0, "color": "#ffffff"}, "title": "with-vpn.sh", "community": 159, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 6}, {"id": "gitea_scripts_with_vpn_sh__entry", "label": "with-vpn.sh script", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "with-vpn.sh script", "community": 159, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 3}, {"id": "gitea_scripts_with_vpn_log", "label": "log()", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 11.4, "font": {"size": 0, "color": "#ffffff"}, "title": "log()", "community": 159, "community_name": "with-vpn.sh", "source_file": ".gitea/scripts/with-vpn.sh", "file_type": "code", "degree": 5}, {"id": "gitea_scripts_with_vpn_vpn_is_up", "label": "vpn_is_up()", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffLine truncated
|
||||
const RAW_EDGES = [{"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_next_task", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_progress", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_reset", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_status", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_cmd_unblock", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_load_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_main", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate", "to": "ai_agency_orchestrate_save_json", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_next_task", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_progress", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_status", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_unblock", "to": "ai_agency_orchestrate_load_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_reset", "to": "ai_agency_orchestrate_save_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_cmd_unblock", "to": "ai_agency_orchestrate_save_json", "label": "calls", "title": "calls [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_status", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_progress", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_next_task", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_unblock", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "ai_agency_orchestrate_main", "to": "ai_agency_orchestrate_cmd_reset", "label": "indirect_call", "title": "indirect_call [INFERRED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "INFERRED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_cleanup", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_log", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_sh__entry", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "gitea_scripts_with_vpn", "to": "gitea_scripts_with_vpn_start_vpn", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7},Line truncated
|
||||
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "Roles", "count": 40}, {"cid": 1, "color": "#F28E2B", "label": "app.module.ts", "count": 54}, {"cid": 2, "color": "#E15759", "label": "SmsService", "count": 91}, {"cid": 3, "color": "#76B7B2", "label": "ProductService", "count": 64}, {"cid": 4, "color": "#59A14F", "label": "toPersian", "count": 24}, {"cid": 5, "color": "#EDC948", "label": "CmsController", "count": 53}, {"cid": 6, "color": "#B07AA1", "label": "TicketsService", "count": 46}, {"cid": 7, "color": "#FF9DA7", "label": "Button.tsx", "count": 33}, {"cid": 8, "color": "#9C755F", "label": "users.controller.ts", "count": 17}, {"cid": 9, "color": "#BAB0AC", "label": "devDependencies", "count": 9}, {"cid": 10, "color": "#4E79A7", "label": "reviews.controller.ts", "count": 49}, {"cid": 11, "color": "#F28E2B", "label": "MediaSelector.tsx", "count": 63}, {"cid": 12, "color": "#E15759", "label": "index.ts", "count": 45}, {"cid": 13, "color": "#76B7B2", "label": "app-audit-verification.e2e-spec.js", "count": 41}, {"cid": 14, "color": "#59A14F", "label": "BlogsService", "count": 34}, {"cid": 15, "color": "#EDC948", "label": "src/services/api.ts", "count": 44}, {"cid": 16, "color": "#B07AA1", "label": "DoctorQueryDto", "count": 39}, {"cid": 17, "color": "#FF9DA7", "label": "schema.ts", "count": 23}, {"cid": 18, "color": "#9C755F", "label": "JwtAuthGuard", "count": 37}, {"cid": 19, "color": "#BAB0AC", "label": "ProductsService", "count": 37}, {"cid": 20, "color": "#4E79A7", "label": "CreateVideoDto", "count": 49}, {"cid": 21, "color": "#F28E2B", "label": "admin.module.ts", "count": 34}, {"cid": 22, "color": "#E15759", "label": "FeaturedProducts.tsx", "count": 18}, {"cid": 23, "color": "#76B7B2", "label": "MenuService", "count": 33}, {"cid": 24, "color": "#59A14F", "label": "BE-001", "count": 33}, {"cid": 25, "color": "#EDC948", "label": "FE-001", "count": 32}, {"cid": 26, "color": "#B07AA1", "label": "ADM-001", "count": 32}, {"cid": 27, "color": "#FF9DA7", "label": "DB-001", "count": 32}, {"cid": 28, "color": "#9C755F", "label": "TS-001", "count": 32}, {"cid": 29, "color": "#BAB0AC", "label": "TEST-001", "count": 32}, {"cid": 30, "color": "#4E79A7", "label": "DEVOPS-001", "count": 32}, {"cid": 31, "color": "#F28E2B", "label": "DOC-001", "count": 32}, {"cid": 32, "color": "#E15759", "label": "adminRoutes.tsx", "count": 40}, {"cid": 33, "color": "#76B7B2", "label": "WholesaleApplyDto", "count": 31}, {"cid": 34, "color": "#59A14F", "label": "B2BService", "count": 30}, {"cid": 35, "color": "#EDC948", "label": "AuthController", "count": 21}, {"cid": 36, "color": "#B07AA1", "label": "FaqService", "count": 28}, {"cid": 37, "color": "#FF9DA7", "label": "\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u062a\u0633\u062a \u0633\u06cc\u0633\u062a\u0645 (Software Testing)", "count": 29}, {"cid": 38, "color": "#9C755F", "label": "Transactions.tsx", "count": 26}, {"cid": 39, "color": "#BAB0AC", "label": "CategoriesController", "count": 28}, {"cid": 40, "color": "#4E79A7", "label": "MediaController", "count": 28}, {"cid": 41, "color": "#F28E2B", "label": "What You Must Do When Invoked", "count": 27}, {"cid": 42, "color": "#E15759", "label": "SslController", "count": 26}, {"cid": 43, "color": "#76B7B2", "label": "BannersService", "count": 27}, {"cid": 44, "color": "#59A14F", "label": "TestimonialsService", "count": 26}, {"cid": 45, "color": "#EDC948", "label": "What You Must Do When Invoked", "count": 27}, {"cid": 46, "color": "#B07AA1", "label": "HomeController", "count": 17}, {"cid": 47, "color": "#FF9DA7", "label": "IngredientsService", "count": 26}, {"cid": 48, "color": "#9C755F", "label": "UsersController", "count": 24}, {"cid": 49, "color": "#BAB0AC", "label": "devDependencies", "count": 19}, {"cid": 50, "color": "#4E79A7", "label": "devDependencies", "count": 15}, {"cid": 51, "color": "#F28E2B", "label": "BlogsController", "count": 32}, {"cid": 52, "color": "#E15759", "label": "PrescriptionsService", "count": 24}, {"cid": 53, "color": "#76B7B2", "label": "SmartAdvisorService", "count": 24}, {"cid": 54, "color": "#59A14F", "label": "auth.module.ts", "count": 16}, {"cid": 55, "color": "#EDC948", "label": "UITexts.tsx", "count": 34}, {"cid": 56, "color": "#B07AA1", "label": "Orders.tsx", "count": 23}, {"cid": 57, "color": "#FF9DA7", "label": "Role & Core Objective", "count": 23}, {"cid": 58, "color": "#9C755F", "label": "ContactService", "count": 24}, {"cid": 59, "color": "#BAB0AC", "label": "compilerOptions", "count": 31}, {"cid": 60, "color": "#4E79A7", "label": "PaymentService", "count": 17}, {"cid": 61, "color": "#F28E2B", "label": "AdminTransactionFilterDto", "count": 9}, {"cid": 62, "color": "#E15759", "label": "ProductDto", "count": 11}, {"cid": 63, "color": "#76B7B2", "label": "dependencies", "count": 23}, {"cid": 64, "color": "#59A14F", "label": "compilerOptions", "count": 21}, {"cid": 65, "color": "#EDC948", "label": "app.e2e-spec.js", "count": 4}, {"cid": 66, "color": "#B07AA1", "label": "ApiOperation", "coLine truncated
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
|
||||
+6874
-6709
File diff suppressed because it is too large.
Load diff
+636
-630
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user