feat(checkout): unify manual address form with AddressModal, auto-save address and sync user profile on order
This commit is contained in:
1 parent
aa0dde6a35
commit
41f7e98d97
13 files changed
+9829
-9439
No files matched your search
@@ -8,6 +8,53 @@ import { IRAN_PROVINCES, PROVINCE_CITIES } from "../lib/data/provinces";
|
||||
import SearchableSelect from "./SearchableSelect";
|
||||
import { toast } from "sonner";
|
||||
|
||||
export interface AddressFormData {
|
||||
title: string;
|
||||
receptorName: string;
|
||||
phone: string;
|
||||
province: string;
|
||||
city: string;
|
||||
detail: string;
|
||||
zipCode: string;
|
||||
isDefault: boolean;
|
||||
}
|
||||
|
||||
export const normalizeDigits = (str: string) => {
|
||||
if (!str) return "";
|
||||
const persianDigits = [/۰/g, /۱/g, /۲/g, /۳/g, /۴/g, /۵/g, /۶/g, /۷/g, /۸/g, /۹/g];
|
||||
const arabicDigits = [/٠/g, /١/g, /٢/g, /٣/g, /٤/g, /٥/g, /٦/g, /٧/g, /٨/g, /٩/g];
|
||||
for (let i = 0; i < 10; i++) {
|
||||
str = str.replace(persianDigits[i], i.toString()).replace(arabicDigits[i], i.toString());
|
||||
}
|
||||
return str;
|
||||
};
|
||||
|
||||
export const validateAddressForm = (formData: AddressFormData): Record<string, string> => {
|
||||
const newErrors: Record<string, string> = {};
|
||||
if (!formData.title?.trim()) newErrors.title = "لطفاً عنوان آدرس را وارد کنید";
|
||||
if (!formData.receptorName?.trim()) newErrors.receptorName = "نام گیرنده را وارد کنید";
|
||||
|
||||
const normalizedPhone = normalizeDigits(formData.phone || "");
|
||||
if (!normalizedPhone) {
|
||||
newErrors.phone = "شماره تماس الزامی است";
|
||||
} else if (!/^09\d{9}$/.test(normalizedPhone)) {
|
||||
newErrors.phone = "شماره موبایل وارد شده معتبر نیست";
|
||||
}
|
||||
|
||||
if (!formData.province?.trim()) newErrors.province = "استان را مشخص کنید";
|
||||
if (!formData.city?.trim()) newErrors.city = "شهر را مشخص کنید";
|
||||
if (!formData.detail?.trim()) newErrors.detail = "آدرس دقیق پستی را وارد کنید";
|
||||
|
||||
const normalizedZip = normalizeDigits(formData.zipCode || "");
|
||||
if (!normalizedZip) {
|
||||
newErrors.zipCode = "کد پستی الزامی است";
|
||||
} else if (!/^\d{10}$/.test(normalizedZip)) {
|
||||
newErrors.zipCode = "کد پستی باید ۱۰ رقم باشد";
|
||||
}
|
||||
|
||||
return newErrors;
|
||||
};
|
||||
|
||||
interface AddressModalProps {
|
||||
isOpen: boolean;
|
||||
onClose: () => void;
|
||||
@@ -16,7 +63,7 @@ interface AddressModalProps {
|
||||
}
|
||||
|
||||
export default function AddressModal({ isOpen, onClose, onSave, editingAddress }: AddressModalProps) {
|
||||
const [formData, setFormData] = useState<Omit<Address, "id">>({
|
||||
const [formData, setFormData] = useState<AddressFormData>({
|
||||
title: "",
|
||||
receptorName: "",
|
||||
phone: "",
|
||||
@@ -60,45 +107,11 @@ export default function AddressModal({ isOpen, onClose, onSave, editingAddress }
|
||||
});
|
||||
}, [editingAddress, isOpen]);
|
||||
|
||||
const normalizeDigits = (str: string) => {
|
||||
const persianDigits = [/۰/g, /۱/g, /۲/g, /۳/g, /۴/g, /۵/g, /۶/g, /۷/g, /۸/g, /۹/g];
|
||||
const arabicDigits = [/٠/g, /١/g, /٢/g, /٣/g, /٤/g, /٥/g, /٦/g, /٧/g, /٨/g, /٩/g];
|
||||
for (let i = 0; i < 10; i++) {
|
||||
str = str.replace(persianDigits[i], i.toString()).replace(arabicDigits[i], i.toString());
|
||||
}
|
||||
return str;
|
||||
};
|
||||
|
||||
const validate = () => {
|
||||
const newErrors: Record<string, string> = {};
|
||||
if (!formData.title) newErrors.title = "لطفاً عنوان آدرس را وارد کنید";
|
||||
if (!formData.receptorName) newErrors.receptorName = "نام گیرنده را وارد کنید";
|
||||
|
||||
const normalizedPhone = normalizeDigits(formData.phone);
|
||||
if (!normalizedPhone) {
|
||||
newErrors.phone = "شماره تماس الزامی است";
|
||||
} else if (!/^09\d{9}$/.test(normalizedPhone)) {
|
||||
newErrors.phone = "شماره موبایل وارد شده معتبر نیست";
|
||||
}
|
||||
|
||||
if (!formData.province) newErrors.province = "استان را مشخص کنید";
|
||||
if (!formData.city) newErrors.city = "شهر را مشخص کنید";
|
||||
if (!formData.detail) newErrors.detail = "آدرس دقیق پستی را وارد کنید";
|
||||
|
||||
const normalizedZip = normalizeDigits(formData.zipCode);
|
||||
if (!normalizedZip) {
|
||||
newErrors.zipCode = "کد پستی الزامی است";
|
||||
} else if (!/^\d{10}$/.test(normalizedZip)) {
|
||||
newErrors.zipCode = "کد پستی باید ۱۰ رقم باشد";
|
||||
}
|
||||
|
||||
setErrors(newErrors);
|
||||
return Object.keys(newErrors).length === 0;
|
||||
};
|
||||
|
||||
const handleSubmit = (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
if (validate()) {
|
||||
const newErrors = validateAddressForm(formData);
|
||||
setErrors(newErrors);
|
||||
if (Object.keys(newErrors).length === 0) {
|
||||
setIsSubmitting(true);
|
||||
// Simulate small delay for UX
|
||||
setTimeout(() => {
|
||||
@@ -112,7 +125,7 @@ export default function AddressModal({ isOpen, onClose, onSave, editingAddress }
|
||||
toast.success(editingAddress ? "تغییرات آدرس با موفقیت ذخیره شد" : "آدرس جدید با موفقیت اضافه شد");
|
||||
setIsSubmitting(false);
|
||||
onClose();
|
||||
}, 600);
|
||||
}, 300);
|
||||
} else {
|
||||
toast.error("لطفاً موارد خطای فرم را اصلاح کنید");
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ import { usePetStore } from "../lib/store/usePetStore";
|
||||
import { useUserStore } from "../lib/store/userStore";
|
||||
import { useSettingsStore } from "../lib/store/settingsStore";
|
||||
import TopUpModal from "./TopUpModal";
|
||||
import AddressModal from "./AddressModal";
|
||||
import AddressModal, { AddressFormData, validateAddressForm, normalizeDigits } from "./AddressModal";
|
||||
import SearchableSelect from "./SearchableSelect";
|
||||
import { IRAN_PROVINCES, PROVINCE_CITIES } from "../lib/data/provinces";
|
||||
import { toast } from "sonner";
|
||||
@@ -52,13 +52,18 @@ export default function CheckoutPage() {
|
||||
const [selectedPetId, setSelectedPetId] = useState<string | null>(activePetId || (pets[0]?.id ?? null));
|
||||
const [selectedAddressId, setSelectedAddressId] = useState<string>('');
|
||||
|
||||
// Custom manual address state if guest or not using stored addresses
|
||||
const [manualName, setManualName] = useState('');
|
||||
const [manualPhone, setManualPhone] = useState('');
|
||||
const [manualProvince, setManualProvince] = useState('');
|
||||
const [manualCity, setManualCity] = useState('');
|
||||
const [manualZipCode, setManualZipCode] = useState('');
|
||||
const [manualAddress, setManualAddress] = useState('');
|
||||
// Custom manual address state matching AddressModal if guest or not using stored addresses
|
||||
const [manualAddressData, setManualAddressData] = useState<AddressFormData>({
|
||||
title: 'منزل اصلی',
|
||||
receptorName: '',
|
||||
phone: '',
|
||||
province: '',
|
||||
city: '',
|
||||
detail: '',
|
||||
zipCode: '',
|
||||
isDefault: true
|
||||
});
|
||||
const [manualErrors, setManualErrors] = useState<Record<string, string>>({});
|
||||
|
||||
const handleCopy = (text: string, title: string) => {
|
||||
navigator.clipboard.writeText(text);
|
||||
@@ -71,10 +76,13 @@ export default function CheckoutPage() {
|
||||
if (isLoggedIn && profile.addresses && profile.addresses.length > 0) {
|
||||
const def = profile.addresses.find(a => a.isDefault) || profile.addresses[0];
|
||||
setSelectedAddressId(def.id);
|
||||
} else if (isLoggedIn && profile.firstName) {
|
||||
} else if (isLoggedIn && (profile.firstName || profile.mobile)) {
|
||||
// Pre-fill profile info for manual fields
|
||||
setManualName(`${profile.firstName} ${profile.lastName}`.trim());
|
||||
setManualPhone(profile.mobile || '');
|
||||
setManualAddressData(prev => ({
|
||||
...prev,
|
||||
receptorName: prev.receptorName || `${profile.firstName || ''} ${profile.lastName || ''}`.trim(),
|
||||
phone: prev.phone || profile.mobile || ''
|
||||
}));
|
||||
}
|
||||
});
|
||||
}, [isLoggedIn, profile]);
|
||||
@@ -109,19 +117,65 @@ export default function CheckoutPage() {
|
||||
const totalAmount = getTotal() + shippingFee;
|
||||
const activePet = getActivePet();
|
||||
|
||||
// 1. Validate shipping address
|
||||
const selectedAddr = profile.addresses?.find(a => a.id === selectedAddressId);
|
||||
let shippingAddressStr = '';
|
||||
if (selectedAddr) {
|
||||
shippingAddressStr = `${selectedAddr.province}، ${selectedAddr.city}، ${selectedAddr.detail}${selectedAddr.zipCode ? ` (کد پستی: ${selectedAddr.zipCode})` : ''} (گیرنده: ${selectedAddr.receptorName} - ${toPersian(selectedAddr.phone)})`;
|
||||
} else if (manualAddress) {
|
||||
const provCity = [manualProvince, manualCity].filter(Boolean).join('، ');
|
||||
shippingAddressStr = `${provCity ? provCity + '، ' : ''}${manualAddress}${manualZipCode ? ` (کد پستی: ${manualZipCode})` : ''}${manualName ? ` (گیرنده: ${manualName}${manualPhone ? ` - ${toPersian(manualPhone)}` : ''})` : ''}`;
|
||||
// 0. Ensure user is logged in before placing order
|
||||
if (!isLoggedIn) {
|
||||
toast.error("جهت تکمیل خرید و ثبت سفارش، لطفاً ابتدا وارد حساب کاربری خود شوید.");
|
||||
useUserStore.getState().setAuthModalOpen(true);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!selectedAddressId && !manualAddress) {
|
||||
toast.error("لطفاً یک آدرس برای ارسال سفارش انتخاب کرده یا آدرس جدید وارد کنید.");
|
||||
return;
|
||||
// 1. Validate and resolve shipping address
|
||||
const selectedAddr = profile.addresses?.find(a => a.id === selectedAddressId);
|
||||
let shippingAddressStr = '';
|
||||
|
||||
if (selectedAddr) {
|
||||
shippingAddressStr = `${selectedAddr.province}، ${selectedAddr.city}، ${selectedAddr.detail}${selectedAddr.zipCode ? ` (کد پستی: ${selectedAddr.zipCode})` : ''} (گیرنده: ${selectedAddr.receptorName} - ${toPersian(selectedAddr.phone)})`;
|
||||
} else {
|
||||
const addrErrors = validateAddressForm(manualAddressData);
|
||||
setManualErrors(addrErrors);
|
||||
if (Object.keys(addrErrors).length > 0) {
|
||||
toast.error("لطفاً اطلاعات آدرس و گیرنده را به صورت کامل و صحیح تکمیل کنید.");
|
||||
return;
|
||||
}
|
||||
|
||||
const cleanPhone = normalizeDigits(manualAddressData.phone);
|
||||
const cleanZip = normalizeDigits(manualAddressData.zipCode);
|
||||
|
||||
shippingAddressStr = `${manualAddressData.province}، ${manualAddressData.city}، ${manualAddressData.detail}${cleanZip ? ` (کد پستی: ${cleanZip})` : ''} (گیرنده: ${manualAddressData.receptorName} - ${toPersian(cleanPhone)})`;
|
||||
|
||||
// Auto-save the new manual address to user's permanent address list
|
||||
try {
|
||||
await useUserStore.getState().addAddress({
|
||||
id: Math.random().toString(36).substring(2, 9),
|
||||
title: manualAddressData.title || 'منزل اصلی',
|
||||
receptorName: manualAddressData.receptorName,
|
||||
phone: cleanPhone,
|
||||
province: manualAddressData.province,
|
||||
city: manualAddressData.city,
|
||||
detail: manualAddressData.detail,
|
||||
zipCode: cleanZip,
|
||||
isDefault: manualAddressData.isDefault
|
||||
});
|
||||
} catch (e) {
|
||||
console.error('Failed to save manual address to user account:', e);
|
||||
}
|
||||
|
||||
// Auto-sync user's first and last name if not set or default
|
||||
const currentFirst = profile.firstName?.trim() || '';
|
||||
const currentLast = profile.lastName?.trim() || '';
|
||||
if (!currentFirst || currentFirst === 'کاربر' || !currentLast || currentLast === 'جدید') {
|
||||
const nameParts = manualAddressData.receptorName.trim().split(/\s+/);
|
||||
const newFirst = nameParts[0] || 'کاربر';
|
||||
const newLast = nameParts.slice(1).join(' ') || 'گرامی';
|
||||
try {
|
||||
await useUserStore.getState().updateProfile({
|
||||
firstName: newFirst,
|
||||
lastName: newLast
|
||||
});
|
||||
} catch (e) {
|
||||
console.error('Failed to update profile names:', e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 2. Validate wallet balance if payment method is wallet
|
||||
@@ -347,95 +401,138 @@ export default function CheckoutPage() {
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-3">
|
||||
<div>
|
||||
<label htmlFor="chk-fullname" className="text-[11px] font-bold text-medical-gray-700 block mb-1">نام و نام خانوادگی *</label>
|
||||
<input
|
||||
id="chk-fullname"
|
||||
name="name"
|
||||
type="text"
|
||||
autoComplete="name"
|
||||
value={manualName}
|
||||
onChange={(e) => setManualName(e.target.value)}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none"
|
||||
placeholder="مثلاً: پارسا آقایی"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="chk-tel" className="text-[11px] font-bold text-medical-gray-700 block mb-1">شماره همراه *</label>
|
||||
<input
|
||||
id="chk-tel"
|
||||
name="tel"
|
||||
type="tel"
|
||||
autoComplete="tel"
|
||||
value={manualPhone}
|
||||
onChange={(e) => setManualPhone(e.target.value.replace(/[^0-9]/g, ''))}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none dir-ltr text-right"
|
||||
placeholder="۰۹۱۲XXXXXXX"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="chk-province" className="text-[11px] font-bold text-medical-gray-700 block mb-1">استان *</label>
|
||||
<SearchableSelect
|
||||
id="chk-province"
|
||||
options={IRAN_PROVINCES}
|
||||
value={manualProvince}
|
||||
placeholder="انتخاب استان..."
|
||||
searchPlaceholder="جستجوی استان..."
|
||||
onChange={(prov) => {
|
||||
const cities = PROVINCE_CITIES[prov] || [];
|
||||
setManualProvince(prov);
|
||||
setManualCity(cities[0] || '');
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="chk-city" className="text-[11px] font-bold text-medical-gray-700 block mb-1">شهر *</label>
|
||||
{manualProvince && PROVINCE_CITIES[manualProvince] ? (
|
||||
<SearchableSelect
|
||||
id="chk-city"
|
||||
options={PROVINCE_CITIES[manualProvince]}
|
||||
value={manualCity}
|
||||
placeholder="انتخاب شهر..."
|
||||
searchPlaceholder="جستجوی شهر..."
|
||||
onChange={(c) => setManualCity(c)}
|
||||
/>
|
||||
) : (
|
||||
<input
|
||||
id="chk-city"
|
||||
type="text"
|
||||
value={manualCity}
|
||||
onChange={(e) => setManualCity(e.target.value)}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none"
|
||||
placeholder="نام شهر..."
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<div className="sm:col-span-2 md:col-span-3">
|
||||
<label htmlFor="chk-street" className="text-[11px] font-bold text-medical-gray-700 block mb-1">آدرس دقیق پستی *</label>
|
||||
<input
|
||||
id="chk-street"
|
||||
name="street-address"
|
||||
autoComplete="street-address"
|
||||
value={manualAddress}
|
||||
onChange={(e) => setManualAddress(e.target.value)}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none"
|
||||
placeholder="خیابان، کوچه، پلاک، واحد..."
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="chk-zipcode" className="text-[11px] font-bold text-medical-gray-700 block mb-1">کد پستی (۱۰ رقمی)</label>
|
||||
<input
|
||||
id="chk-zipcode"
|
||||
type="text"
|
||||
maxLength={10}
|
||||
value={manualZipCode}
|
||||
onChange={(e) => setManualZipCode(e.target.value.replace(/[^0-9]/g, ''))}
|
||||
className="w-full bg-medical-gray-50/70 border border-medical-gray-200 rounded-xl py-2 px-3 text-xs focus:ring-1 focus:ring-canina-blue outline-none dir-ltr text-right"
|
||||
placeholder="۱۲۳۴۵۶۷۸۹۰"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-y-4">
|
||||
{/* Row 1: Title */}
|
||||
<div className="space-y-1">
|
||||
<label htmlFor="chk-title" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block pr-2">عنوان آدرس (مثلاً: خانه، محل کار)</label>
|
||||
<input
|
||||
id="chk-title"
|
||||
name="address-line1"
|
||||
autoComplete="address-line1"
|
||||
type="text"
|
||||
value={manualAddressData.title}
|
||||
onChange={e => setManualAddressData({...manualAddressData, title: e.target.value})}
|
||||
className={cn("w-full bg-medical-gray-50 border rounded-2xl py-3 px-5 outline-none font-bold transition-all focus:ring-2 focus:ring-canina-blue/20 text-xs", manualErrors.title ? "border-red-300" : "border-medical-gray-100")}
|
||||
placeholder="مثال: منزل اصلی"
|
||||
/>
|
||||
{manualErrors.title && <p className="text-[10px] text-red-500 font-bold pr-2">{manualErrors.title}</p>}
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
{/* Row 2: Name & Phone */}
|
||||
<div className="space-y-1">
|
||||
<label htmlFor="chk-name" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block pr-2">نام و نام خانوادگی گیرنده *</label>
|
||||
<input
|
||||
id="chk-name"
|
||||
name="name"
|
||||
autoComplete="name"
|
||||
type="text"
|
||||
value={manualAddressData.receptorName}
|
||||
onChange={e => setManualAddressData({...manualAddressData, receptorName: e.target.value})}
|
||||
className={cn("w-full bg-medical-gray-50 border rounded-2xl py-3 px-5 outline-none font-bold transition-all focus:ring-2 focus:ring-canina-blue/20 text-xs", manualErrors.receptorName ? "border-red-300" : "border-medical-gray-100")}
|
||||
placeholder="نام و نام خانوادگی..."
|
||||
/>
|
||||
{manualErrors.receptorName && <p className="text-[10px] text-red-500 font-bold pr-2">{manualErrors.receptorName}</p>}
|
||||
</div>
|
||||
<div className="space-y-1">
|
||||
<label htmlFor="chk-tel" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block pr-2">شماره همراه گیرنده *</label>
|
||||
<input
|
||||
id="chk-tel"
|
||||
name="tel"
|
||||
autoComplete="tel"
|
||||
type="text"
|
||||
value={manualAddressData.phone}
|
||||
onChange={e => setManualAddressData({...manualAddressData, phone: e.target.value})}
|
||||
className={cn("w-full bg-medical-gray-50 border rounded-2xl py-3 px-5 outline-none font-bold transition-all focus:ring-2 focus:ring-canina-blue/20 text-left text-xs", manualErrors.phone ? "border-red-300" : "border-medical-gray-100")}
|
||||
placeholder="09120000000"
|
||||
dir="ltr"
|
||||
/>
|
||||
{manualErrors.phone && <p className="text-[10px] text-red-500 font-bold pr-2">{manualErrors.phone}</p>}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
{/* Row 3: Province & City */}
|
||||
<div className="space-y-1">
|
||||
<label htmlFor="chk-province" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block pr-2">استان *</label>
|
||||
<SearchableSelect
|
||||
id="chk-province"
|
||||
options={IRAN_PROVINCES}
|
||||
value={manualAddressData.province}
|
||||
placeholder="انتخاب استان..."
|
||||
searchPlaceholder="جستجوی استان..."
|
||||
onChange={(newProv) => {
|
||||
const cities = PROVINCE_CITIES[newProv] || [];
|
||||
setManualAddressData({
|
||||
...manualAddressData,
|
||||
province: newProv,
|
||||
city: cities[0] || ""
|
||||
});
|
||||
}}
|
||||
/>
|
||||
{manualErrors.province && <p className="text-[10px] text-red-500 font-bold pr-2">{manualErrors.province}</p>}
|
||||
</div>
|
||||
|
||||
<div className="space-y-1">
|
||||
<label htmlFor="chk-city" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block pr-2">شهر *</label>
|
||||
{manualAddressData.province && PROVINCE_CITIES[manualAddressData.province] ? (
|
||||
<SearchableSelect
|
||||
id="chk-city"
|
||||
options={PROVINCE_CITIES[manualAddressData.province]}
|
||||
value={manualAddressData.city}
|
||||
placeholder="انتخاب شهر..."
|
||||
searchPlaceholder="جستجوی شهر..."
|
||||
onChange={(c) => setManualAddressData({...manualAddressData, city: c})}
|
||||
/>
|
||||
) : (
|
||||
<input
|
||||
id="chk-city"
|
||||
name="address-level2"
|
||||
type="text"
|
||||
value={manualAddressData.city}
|
||||
onChange={e => setManualAddressData({...manualAddressData, city: e.target.value})}
|
||||
className={cn("w-full bg-medical-gray-50 border rounded-2xl py-3 px-5 outline-none font-bold transition-all focus:ring-2 focus:ring-canina-blue/20 text-xs", manualErrors.city ? "border-red-300" : "border-medical-gray-100")}
|
||||
placeholder="نام شهر..."
|
||||
/>
|
||||
)}
|
||||
{manualErrors.city && <p className="text-[10px] text-red-500 font-bold pr-2">{manualErrors.city}</p>}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Row 4: Detail Address */}
|
||||
<div className="space-y-1">
|
||||
<label htmlFor="chk-street" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block pr-2">آدرس دقیق پستی *</label>
|
||||
<textarea
|
||||
id="chk-street"
|
||||
name="street-address"
|
||||
autoComplete="street-address"
|
||||
rows={2}
|
||||
value={manualAddressData.detail}
|
||||
onChange={e => setManualAddressData({...manualAddressData, detail: e.target.value})}
|
||||
className={cn("w-full bg-medical-gray-50 border rounded-2xl py-3 px-5 outline-none font-bold transition-all focus:ring-2 focus:ring-canina-blue/20 resize-none text-xs", manualErrors.detail ? "border-red-300" : "border-medical-gray-100")}
|
||||
placeholder="خیابان، کوچه، پلاک، واحد..."
|
||||
/>
|
||||
{manualErrors.detail && <p className="text-[10px] text-red-500 font-bold pr-2">{manualErrors.detail}</p>}
|
||||
</div>
|
||||
|
||||
{/* Row 5: Zip Code */}
|
||||
<div className="space-y-1">
|
||||
<label htmlFor="chk-zip" className="text-[10px] font-black text-medical-gray-400 uppercase tracking-widest block pr-2">کد پستی (۱۰ رقمی) *</label>
|
||||
<input
|
||||
id="chk-zip"
|
||||
name="postal-code"
|
||||
autoComplete="postal-code"
|
||||
type="text"
|
||||
maxLength={10}
|
||||
value={manualAddressData.zipCode}
|
||||
onChange={e => setManualAddressData({...manualAddressData, zipCode: e.target.value.replace(/[^0-9]/g, '')})}
|
||||
className={cn("w-full bg-medical-gray-50 border rounded-2xl py-3 px-5 outline-none font-bold transition-all focus:ring-2 focus:ring-canina-blue/20 text-left text-xs", manualErrors.zipCode ? "border-red-300" : "border-medical-gray-100")}
|
||||
placeholder="1234567890"
|
||||
dir="ltr"
|
||||
/>
|
||||
{manualErrors.zipCode && <p className="text-[10px] text-red-500 font-bold pr-2">{manualErrors.zipCode}</p>}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
|
||||
@@ -752,6 +849,7 @@ export default function CheckoutPage() {
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
<AddressModal
|
||||
isOpen={showAddressModal}
|
||||
onClose={() => setShowAddressModal(false)}
|
||||
|
||||
@@ -3,25 +3,25 @@
|
||||
"1": "app.module.ts",
|
||||
"2": "SmsService",
|
||||
"3": "ProductService",
|
||||
"4": "ProductPage.tsx",
|
||||
"4": "useSettingsStore",
|
||||
"5": "CmsController",
|
||||
"6": "tickets.controller.ts",
|
||||
"6": "TicketsService",
|
||||
"7": "Button.tsx",
|
||||
"8": "ReportsController",
|
||||
"9": "devDependencies",
|
||||
"10": "ReviewsService",
|
||||
"10": "ReviewsController",
|
||||
"11": "MediaSelector.tsx",
|
||||
"12": "index.ts",
|
||||
"13": "app-audit-verification.e2e-spec.js",
|
||||
"14": "toPersian",
|
||||
"14": "BlogsService",
|
||||
"15": "src/services/api.ts",
|
||||
"16": "DoctorQueryDto",
|
||||
"17": "schema.ts",
|
||||
"18": "JwtAuthGuard",
|
||||
"19": "RevalidationService",
|
||||
"19": "ProductsService",
|
||||
"20": "CreateVideoDto",
|
||||
"21": "userStore.ts",
|
||||
"22": "useCartStore",
|
||||
"22": "PetProfile.tsx",
|
||||
"23": "MenuService",
|
||||
"24": "BE-001",
|
||||
"25": "FE-001",
|
||||
@@ -34,7 +34,7 @@
|
||||
"32": "adminRoutes.tsx",
|
||||
"33": "WholesaleService",
|
||||
"34": "B2BService",
|
||||
"35": "auth.service.ts",
|
||||
"35": "AuthController",
|
||||
"36": "FaqService",
|
||||
"37": "راهنمای تست سیستم (Software Testing)",
|
||||
"38": "Button",
|
||||
@@ -66,8 +66,8 @@
|
||||
"64": "compilerOptions",
|
||||
"65": "app.e2e-spec.js",
|
||||
"66": "AdminQueryDto",
|
||||
"67": "admin.module.ts",
|
||||
"68": "CheckoutPage.tsx",
|
||||
"67": "PetsController",
|
||||
"68": "UserDashboard.tsx",
|
||||
"69": "Required Review Group Closures",
|
||||
"70": "compilerOptions",
|
||||
"71": "getPageMetadata",
|
||||
@@ -75,7 +75,7 @@
|
||||
"73": "Operational Rules & Boundaries",
|
||||
"74": "WikiController",
|
||||
"75": "PetsController",
|
||||
"76": ".getDashboardStats",
|
||||
"76": "ApiOperation",
|
||||
"77": "seo.module.ts",
|
||||
"78": "rss.xml/route.ts",
|
||||
"79": "🏢 AI Software Agency — Master Orchestration Protocol v3",
|
||||
@@ -89,7 +89,7 @@
|
||||
"87": "dependencies",
|
||||
"88": "CreateEBankCheckoutDto",
|
||||
"89": "seed-products.ts",
|
||||
"90": "useSettingsStore",
|
||||
"90": "useUserStore",
|
||||
"91": "Reconciled Audit Roles & Assignments",
|
||||
"92": "OrdersService",
|
||||
"93": "@nestjs/schematics",
|
||||
@@ -106,7 +106,7 @@
|
||||
"104": "Coupons.tsx",
|
||||
"105": "Operational Rules & Boundaries",
|
||||
"106": "Media.tsx",
|
||||
"107": "WholesaleApplyDto",
|
||||
"107": "WikiController",
|
||||
"108": "PrismaService",
|
||||
"109": "1. Summary of Integrity Repairs Performed",
|
||||
"110": "Operational Rules & Boundaries",
|
||||
@@ -114,7 +114,7 @@
|
||||
"112": "Operational Rules & Boundaries",
|
||||
"113": "videos/page.tsx",
|
||||
"114": "AppService",
|
||||
"115": "@nestjs/swagger",
|
||||
"115": "VetGallery.tsx",
|
||||
"116": "Vazirmatn Changelog",
|
||||
"117": "Vazirmatn Font فونت وزیرمتن",
|
||||
"118": "Operational Rules & Boundaries",
|
||||
@@ -122,13 +122,13 @@
|
||||
"120": "compilerOptions",
|
||||
"121": "backend/README.md",
|
||||
"122": "AdminService",
|
||||
"123": "app/page.tsx",
|
||||
"123": "auth.service.ts",
|
||||
"124": "Repository Map",
|
||||
"125": "validate_integrity.js",
|
||||
"126": "admin-panel/package.json",
|
||||
"127": "Sahel-Font",
|
||||
"128": "AdminController",
|
||||
"129": "globals",
|
||||
"129": "auth.controller.ts",
|
||||
"130": "Sahel-Font",
|
||||
"131": "Role & Core Objective",
|
||||
"132": "orchestrate.py",
|
||||
@@ -146,12 +146,12 @@
|
||||
"144": "@testing-library/react",
|
||||
"145": "admin.service.ts",
|
||||
"146": "System Discovery",
|
||||
"147": "components/Skeleton.tsx",
|
||||
"147": "orders.service.ts",
|
||||
"148": "class-transformer",
|
||||
"149": "SmsSettingsPage.tsx",
|
||||
"150": "Product Requirement Document (PRD)",
|
||||
"151": "@types/react-dom",
|
||||
"152": "lib/services/api.ts",
|
||||
"152": "useCartStore",
|
||||
"153": "exclude",
|
||||
"154": "Baseline Command Plan & Reconciled Command History",
|
||||
"155": "seo-backfill.ts",
|
||||
@@ -175,6 +175,8 @@
|
||||
"173": "Phase 3 Audit Traceability Matrix",
|
||||
"174": "rebuild_honest_ledger.js",
|
||||
"175": "validate_evidence_grade.js",
|
||||
"176": "videos.controller.ts",
|
||||
"177": "RegisterDto",
|
||||
"178": "نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina",
|
||||
"179": "PaginationDto",
|
||||
"180": "API Contract Specification",
|
||||
@@ -194,8 +196,9 @@
|
||||
"194": "Raw Finding Verification & Disposition Report",
|
||||
"195": "React + TypeScript + Vite",
|
||||
"196": "Select.tsx",
|
||||
"197": "wiki/page.tsx",
|
||||
"197": "SmsLogQueryDto",
|
||||
"198": "@nestjs/core",
|
||||
"199": "VerifyOtpDto",
|
||||
"200": "application/README.md",
|
||||
"201": "deploy.sh",
|
||||
"202": "🔒 Security & Performance Review (09_devops_security)",
|
||||
@@ -228,7 +231,7 @@
|
||||
"229": ".agents/workflows/graphify.md",
|
||||
"230": "instructions.md",
|
||||
"231": "@nestjs/throttler",
|
||||
"232": "@eslint/js",
|
||||
"232": "SendOtpDto",
|
||||
"233": "tailwindcss",
|
||||
"234": "passport",
|
||||
"235": "reflect-metadata",
|
||||
@@ -291,6 +294,7 @@
|
||||
"292": "Production Docker Compose",
|
||||
"293": "Staging Docker Compose",
|
||||
"294": "ZibalService",
|
||||
"295": "trust-seals/page.tsx",
|
||||
"296": "eslint-plugin-prettier",
|
||||
"297": "ZibalEBankService",
|
||||
"298": ".initiateOrderPayment",
|
||||
@@ -317,5 +321,10 @@
|
||||
"319": "ts-jest",
|
||||
"320": "@types/js-yaml",
|
||||
"321": "@types/supertest",
|
||||
"322": "typescript-eslint"
|
||||
"322": "typescript-eslint",
|
||||
"323": "PodcastPlayerModal.tsx",
|
||||
"324": "catalog/page.tsx",
|
||||
"325": "bcrypt",
|
||||
"326": "eslint",
|
||||
"327": "eslint-plugin-react-refresh"
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{"0": "6aae5ffc0c93e701", "1": "af2d2c3633c601a3", "2": "9a931bfdbb0cc2af", "3": "5ee8315fa2b7eb16", "4": "718edfb541591db6", "5": "f34c872571e8a774", "6": "81b67391b0b87cab", "7": "ca7f434e9ff71924", "8": "1a1f1cea37fa9f9f", "9": "23ffcb2f5682d0bc", "10": "752e0fd82db2f266", "11": "7486b8792dd18a8e", "12": "0f987d4c17ae1a5e", "13": "3a0d379c05c48643", "14": "8b6300b3f1c02f0c", "15": "c503f61c132e0faa", "16": "bbaf7539ddd300b0", "17": "cf61e1532c01d2a4", "18": "41afe6103f21bf26", "19": "9601ccba09049fa2", "20": "b8abf3d4ac15fc65", "21": "306edca511a90891", "22": "d385d93785fe4931", "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": "da43d20763304bbc", "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": "94629102552a14b3", "50": "b1c3283bd55a8fe9", "51": "91d7f3d12813e4ff", "52": "9924f91d5ca70505", "53": "cb17af4eb831480f", "54": "ee186e3bf8b91965", "55": "93d836d575401c61", "56": "2a1dd74542bc4e00", "57": "0f62727f3b4907c0", "58": "533f2d32c60dd4b3", "59": "7369e85febb97f1a", "60": "42329477fdece8c1", "61": "9b0eb2e9b68ff17d", "62": "0b0de6846736eb6d", "63": "0b962a47d1b049e5", "64": "3b9521f7d7986eaa", "65": "c35e392f1594d14e", "66": "9ec01105c2764708", "67": "225145cea3c8cfd6", "68": "91e991d6233e2ff2", "69": "31a5a53f1fe77e46", "70": "01d4f9d6d9f3b08a", "71": "c921286dfaeaa2f2", "72": "69d0f8b228227690", "73": "22456307ff273d80", "74": "d9e74b032c5b8440", "75": "ca4d94b36734b0d0", "76": "9bc7b5e8ac4c9709", "77": "62430df45afa65b5", "78": "0273bbf045eb1528", "79": "ba7bc17581366c9a", "80": "0727bb53199085fc", "81": "91393683c97d1773", "82": "36d253e9d0d7547b", "83": "71d2ce6fb684bc0e", "84": "70497658d0e0cea6", "85": "9c6209c41df32e48", "86": "e3d13e2060945d3f", "87": "f0f56796aaebb4f5", "88": "c4acedd7472cf7cb", "89": "656f816eb51f2ab1", "90": "331dba838fb8dc8e", "91": "25a6695f5783d2be", "92": "8b224f15bf858819", "93": "b796283dc9729998", "94": "f7a706f5fcb260c3", "95": "b5aa6b2d87587c7f", "96": "3fef84a1b6832b0b", "97": "34581929891cefb2", "98": "5bbc8944b2ba2d8f", "99": "3c7478cc94918e63", "100": "3c1d9844d072bd2a", "101": "b3c5433df880f335", "102": "e036dbd1de0f8b38", "103": "ac7cb5ec7d5c0802", "104": "dbe2f8ccb8d5321a", "105": "622f83f2eb300a25", "106": "0e03a5b22c0f26de", "107": "69c8cbfb6992b123", "108": "4efb86e48c5b1798", "109": "6d16ccde1291c9d4", "110": "d228746e85ead3af", "111": "b55ba9125ffb5729", "112": "5f50a360f18a880b", "113": "d86deea433a6d69d", "114": "c6b57d78299a27b3", "115": "3528c4c8a0e2db61", "116": "db70db08c00162df", "117": "9a1080686fc7c39b", "118": "77fd76193df9f573", "119": "28355f848c862b6e", "120": "25f77f5455bdc96a", "121": "9141a0ede9461fd5", "122": "404126b9e834a3ab", "123": "0dd5439f11354ec2", "124": "3ceda88239910d9a", "125": "9409b3b8a334f51d", "126": "ac95a9f152e3d1c4", "127": "a7299f20633c0236", "128": "c67d0f6b95947347", "129": "490b465cf48c7efa", "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": "d1392d8ad5d97af2", "146": "c7ddffce8605b65b", "147": "a784f5463c1764eb", "148": "959e76250dbacbad", "149": "39d16c91943d85e4", "150": "5910eeefe2f97a20", "151": "4ab8ffab1d51ca61", "152": "98eb48b1f38e5e3d", "153": "6cfdd09a6fdd9ff9", "154": "66efafa1e86d8081", "155": "562a328c3cebc9b1", "156": "4a8bdc6821207fa3", "157": "dd5f624dc488c627", "158": "3a6753a80123a0f4", "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", "178": "4a0995c91344bedb", "179": "563bc79aaca0088a", "180": "4ac5f9965007617d", "181": "cff999497d56b512", "182": "06b38ffa6f58195d", "183": "ee705c178d6958bb", "184": "b6f7d567fd2f68ab", "185": "ca950b47c628b81a", "186": "867babdd40f0c3fc", "187": "298144d1548a7dee", "188": "00d275127a7e435e", "189": "2942a9d30dae4a29", "190": "3e21e2fb50e12670", "191"Line truncated
|
||||
{"0": "6aae5ffc0c93e701", "1": "af2d2c3633c601a3", "2": "0eb0b27c1de3fe62", "3": "04070ce691ed6169", "4": "2e1dfbc50eb7f7fb", "5": "f34c872571e8a774", "6": "485f4eebcc9ce0a0", "7": "ca7f434e9ff71924", "8": "6ca593a2a9a11f13", "9": "ca238f4679f59316", "10": "15ee90ab809dc6fc", "11": "7486b8792dd18a8e", "12": "0f987d4c17ae1a5e", "13": "3a0d379c05c48643", "14": "113ff1af64fce605", "15": "c503f61c132e0faa", "16": "bbaf7539ddd300b0", "17": "cf61e1532c01d2a4", "18": "29d0b79aa345696b", "19": "10c596403944b996", "20": "67ce5a498e6dcd5c", "21": "7514ff09a106d9fd", "22": "00b5a1c173bcf797", "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": "fd95f1a2ef32b0b2", "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": "b1c3283bd55a8fe9", "51": "f72c06a6893d6e7d", "52": "9924f91d5ca70505", "53": "cb17af4eb831480f", "54": "ae25d734160a4e2f", "55": "93d836d575401c61", "56": "2a1dd74542bc4e00", "57": "0f62727f3b4907c0", "58": "533f2d32c60dd4b3", "59": "7369e85febb97f1a", "60": "42329477fdece8c1", "61": "9b0eb2e9b68ff17d", "62": "610fb4de52790b25", "63": "4be5c81976312539", "64": "3b9521f7d7986eaa", "65": "c35e392f1594d14e", "66": "5f5d37a41fc312b2", "67": "36260a24d0ef69a3", "68": "b2b62458627face8", "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": "81c80de0d8b7675c", "91": "25a6695f5783d2be", "92": "2450b45f1f62fece", "93": "b796283dc9729998", "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": "b48fd49c0afc54cf", "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": "a8ba660394c3b001", "123": "0840b43815f12d08", "124": "3ceda88239910d9a", "125": "9409b3b8a334f51d", "126": "ac95a9f152e3d1c4", "127": "a7299f20633c0236", "128": "e6b0958b6b946a84", "129": "50413a4ac6293636", "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": "b058dd6c78285966", "148": "959e76250dbacbad", "149": "39d16c91943d85e4", "150": "5910eeefe2f97a20", "151": "4ab8ffab1d51ca61", "152": "9a0cea83ce07873f", "153": "6cfdd09a6fdd9ff9", "154": "66efafa1e86d8081", "155": "562a328c3cebc9b1", "156": "4a8bdc6821207fa3", "157": "dd5f624dc488c627", "158": "3a6753a80123a0f4", "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": "4d3ee2a708a99279", "177": "acfe5a84eaab81d7", "178": "4a0995c91344bedb", "179": "1f7f906dddf5b0bc", "180": "4ac5f9965007617d", "181": "cff999497d56b512", "182": "06b38ffa6f58195d", "183": "ee705c178d6958bb", "184": "526c4c6125eaf48f", "185": "ca950b47c628b81a", "186": "867babdd40f0c3fc", "187": "298144d1548a7dee", "188": "00d275127a7e435e", "189"Line truncated
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"0": "Roles",
|
||||
"1": "app.module.ts",
|
||||
"2": "SettingsController",
|
||||
"2": "SmsService",
|
||||
"3": "ProductService",
|
||||
"4": "SafeImage.tsx",
|
||||
"4": "ProductPage.tsx",
|
||||
"5": "CmsController",
|
||||
"6": "tickets.controller.ts",
|
||||
"7": "Button.tsx",
|
||||
@@ -13,15 +13,15 @@
|
||||
"11": "MediaSelector.tsx",
|
||||
"12": "index.ts",
|
||||
"13": "app-audit-verification.e2e-spec.js",
|
||||
"14": "UserDashboard.tsx",
|
||||
"14": "toPersian",
|
||||
"15": "src/services/api.ts",
|
||||
"16": "DoctorQueryDto",
|
||||
"17": "schema.ts",
|
||||
"18": "JwtAuthGuard",
|
||||
"19": "ProductsService",
|
||||
"19": "RevalidationService",
|
||||
"20": "CreateVideoDto",
|
||||
"21": "ProductPage.tsx",
|
||||
"22": "PetProfile.tsx",
|
||||
"21": "userStore.ts",
|
||||
"22": "useCartStore",
|
||||
"23": "MenuService",
|
||||
"24": "BE-001",
|
||||
"25": "FE-001",
|
||||
@@ -34,7 +34,7 @@
|
||||
"32": "adminRoutes.tsx",
|
||||
"33": "WholesaleService",
|
||||
"34": "B2BService",
|
||||
"35": "AuthController",
|
||||
"35": "auth.service.ts",
|
||||
"36": "FaqService",
|
||||
"37": "راهنمای تست سیستم (Software Testing)",
|
||||
"38": "Button",
|
||||
@@ -59,15 +59,15 @@
|
||||
"57": "Role & Core Objective",
|
||||
"58": "ContactService",
|
||||
"59": "compilerOptions",
|
||||
"60": "AuthService",
|
||||
"61": "payment.controller.ts",
|
||||
"60": "PaymentService",
|
||||
"61": "payment.service.ts",
|
||||
"62": "ProductDto",
|
||||
"63": "dependencies",
|
||||
"64": "compilerOptions",
|
||||
"65": "app.e2e-spec.js",
|
||||
"66": "AdminQueryDto",
|
||||
"67": "admin.module.ts",
|
||||
"68": "OrdersService",
|
||||
"68": "CheckoutPage.tsx",
|
||||
"69": "Required Review Group Closures",
|
||||
"70": "compilerOptions",
|
||||
"71": "getPageMetadata",
|
||||
@@ -87,16 +87,16 @@
|
||||
"85": "HomeClient.tsx",
|
||||
"86": "zibal.service.ts",
|
||||
"87": "dependencies",
|
||||
"88": "MetricsController",
|
||||
"88": "CreateEBankCheckoutDto",
|
||||
"89": "seed-products.ts",
|
||||
"90": "useSettingsStore",
|
||||
"91": "Reconciled Audit Roles & Assignments",
|
||||
"92": "OrdersController",
|
||||
"92": "OrdersService",
|
||||
"93": "@nestjs/schematics",
|
||||
"94": "Phase 3.1 — Human Review Preparation and Master Backlog Critique",
|
||||
"95": "wiki/[slug]/page.tsx",
|
||||
"95": "blog/[slug]/page.tsx",
|
||||
"96": "compilerOptions",
|
||||
"97": "AdminLoginDto",
|
||||
"97": "InitiatePaymentDto",
|
||||
"98": "scripts",
|
||||
"99": "BlogsController",
|
||||
"100": "Deep Audit Summary Report",
|
||||
@@ -112,9 +112,9 @@
|
||||
"110": "Operational Rules & Boundaries",
|
||||
"111": "Operational Rules & Boundaries",
|
||||
"112": "Operational Rules & Boundaries",
|
||||
"113": "SmsService",
|
||||
"113": "videos/page.tsx",
|
||||
"114": "AppService",
|
||||
"115": "LoginDto",
|
||||
"115": "@nestjs/swagger",
|
||||
"116": "Vazirmatn Changelog",
|
||||
"117": "Vazirmatn Font فونت وزیرمتن",
|
||||
"118": "Operational Rules & Boundaries",
|
||||
@@ -128,7 +128,7 @@
|
||||
"126": "admin-panel/package.json",
|
||||
"127": "Sahel-Font",
|
||||
"128": "AdminController",
|
||||
"129": "bcrypt",
|
||||
"129": "globals",
|
||||
"130": "Sahel-Font",
|
||||
"131": "Role & Core Objective",
|
||||
"132": "orchestrate.py",
|
||||
@@ -150,7 +150,7 @@
|
||||
"148": "class-transformer",
|
||||
"149": "SmsSettingsPage.tsx",
|
||||
"150": "Product Requirement Document (PRD)",
|
||||
"151": "auth.service.ts",
|
||||
"151": "@types/react-dom",
|
||||
"152": "lib/services/api.ts",
|
||||
"153": "exclude",
|
||||
"154": "Baseline Command Plan & Reconciled Command History",
|
||||
@@ -175,8 +175,6 @@
|
||||
"173": "Phase 3 Audit Traceability Matrix",
|
||||
"174": "rebuild_honest_ledger.js",
|
||||
"175": "validate_evidence_grade.js",
|
||||
"176": "CreateOrderDto",
|
||||
"177": "SmsLogQueryDto",
|
||||
"178": "نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina",
|
||||
"179": "PaginationDto",
|
||||
"180": "API Contract Specification",
|
||||
@@ -198,7 +196,6 @@
|
||||
"196": "Select.tsx",
|
||||
"197": "wiki/page.tsx",
|
||||
"198": "@nestjs/core",
|
||||
"199": "RegisterDto",
|
||||
"200": "application/README.md",
|
||||
"201": "deploy.sh",
|
||||
"202": "🔒 Security & Performance Review (09_devops_security)",
|
||||
@@ -294,7 +291,6 @@
|
||||
"292": "Production Docker Compose",
|
||||
"293": "Staging Docker Compose",
|
||||
"294": "ZibalService",
|
||||
"295": "eslint-plugin-react-refresh",
|
||||
"296": "eslint-plugin-prettier",
|
||||
"297": "ZibalEBankService",
|
||||
"298": ".initiateOrderPayment",
|
||||
@@ -321,6 +317,5 @@
|
||||
"319": "ts-jest",
|
||||
"320": "@types/js-yaml",
|
||||
"321": "@types/supertest",
|
||||
"322": "typescript-eslint",
|
||||
"323": "eslint-config-next"
|
||||
"322": "typescript-eslint"
|
||||
}
|
||||
@@ -1,25 +1,25 @@
|
||||
# Graph Report - canina (2026-08-26)
|
||||
|
||||
## Corpus Check
|
||||
- 586 files · ~1,330,935 words
|
||||
- 586 files · ~1,331,190 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 4104 nodes · 7380 edges · 324 communities (210 shown, 114 thin omitted)
|
||||
- 4104 nodes · 7388 edges · 319 communities (205 shown, 114 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: `9daaa226`
|
||||
- Built from commit: `c825268b`
|
||||
- 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
|
||||
- SafeImage.tsx
|
||||
- ProductPage.tsx
|
||||
- CmsController
|
||||
- tickets.controller.ts
|
||||
- Button.tsx
|
||||
@@ -29,15 +29,15 @@
|
||||
- MediaSelector.tsx
|
||||
- index.ts
|
||||
- app-audit-verification.e2e-spec.js
|
||||
- UserDashboard.tsx
|
||||
- toPersian
|
||||
- src/services/api.ts
|
||||
- DoctorQueryDto
|
||||
- schema.ts
|
||||
- JwtAuthGuard
|
||||
- ProductsService
|
||||
- RevalidationService
|
||||
- CreateVideoDto
|
||||
- ProductPage.tsx
|
||||
- PetProfile.tsx
|
||||
- userStore.ts
|
||||
- useCartStore
|
||||
- MenuService
|
||||
- BE-001
|
||||
- FE-001
|
||||
@@ -50,7 +50,7 @@
|
||||
- adminRoutes.tsx
|
||||
- WholesaleService
|
||||
- B2BService
|
||||
- AuthController
|
||||
- auth.service.ts
|
||||
- FaqService
|
||||
- راهنمای تست سیستم (Software Testing)
|
||||
- Button
|
||||
@@ -75,15 +75,15 @@
|
||||
- Role & Core Objective
|
||||
- ContactService
|
||||
- compilerOptions
|
||||
- AuthService
|
||||
- payment.controller.ts
|
||||
- PaymentService
|
||||
- payment.service.ts
|
||||
- ProductDto
|
||||
- dependencies
|
||||
- compilerOptions
|
||||
- app.e2e-spec.js
|
||||
- AdminQueryDto
|
||||
- admin.module.ts
|
||||
- OrdersService
|
||||
- CheckoutPage.tsx
|
||||
- Required Review Group Closures
|
||||
- compilerOptions
|
||||
- getPageMetadata
|
||||
@@ -102,16 +102,16 @@
|
||||
- HomeClient.tsx
|
||||
- zibal.service.ts
|
||||
- dependencies
|
||||
- MetricsController
|
||||
- CreateEBankCheckoutDto
|
||||
- seed-products.ts
|
||||
- useSettingsStore
|
||||
- Reconciled Audit Roles & Assignments
|
||||
- OrdersController
|
||||
- OrdersService
|
||||
- @nestjs/schematics
|
||||
- Phase 3.1 — Human Review Preparation and Master Backlog Critique
|
||||
- wiki/[slug]/page.tsx
|
||||
- blog/[slug]/page.tsx
|
||||
- compilerOptions
|
||||
- AdminLoginDto
|
||||
- InitiatePaymentDto
|
||||
- scripts
|
||||
- BlogsController
|
||||
- Deep Audit Summary Report
|
||||
@@ -127,9 +127,9 @@
|
||||
- Operational Rules & Boundaries
|
||||
- Operational Rules & Boundaries
|
||||
- Operational Rules & Boundaries
|
||||
- SmsService
|
||||
- videos/page.tsx
|
||||
- AppService
|
||||
- LoginDto
|
||||
- @nestjs/swagger
|
||||
- Vazirmatn Changelog
|
||||
- Vazirmatn Font فونت وزیرمتن
|
||||
- Operational Rules & Boundaries
|
||||
@@ -143,7 +143,7 @@
|
||||
- admin-panel/package.json
|
||||
- Sahel-Font
|
||||
- AdminController
|
||||
- bcrypt
|
||||
- globals
|
||||
- Sahel-Font
|
||||
- Role & Core Objective
|
||||
- orchestrate.py
|
||||
@@ -165,7 +165,7 @@
|
||||
- class-transformer
|
||||
- SmsSettingsPage.tsx
|
||||
- Product Requirement Document (PRD)
|
||||
- auth.service.ts
|
||||
- @types/react-dom
|
||||
- lib/services/api.ts
|
||||
- exclude
|
||||
- Baseline Command Plan & Reconciled Command History
|
||||
@@ -189,8 +189,6 @@
|
||||
- Phase 3 Audit Traceability Matrix
|
||||
- rebuild_honest_ledger.js
|
||||
- validate_evidence_grade.js
|
||||
- CreateOrderDto
|
||||
- SmsLogQueryDto
|
||||
- نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina
|
||||
- PaginationDto
|
||||
- API Contract Specification
|
||||
@@ -212,7 +210,6 @@
|
||||
- Select.tsx
|
||||
- wiki/page.tsx
|
||||
- @nestjs/core
|
||||
- RegisterDto
|
||||
- application/README.md
|
||||
- deploy.sh
|
||||
- 🔒 Security & Performance Review (09_devops_security)
|
||||
@@ -293,7 +290,6 @@
|
||||
- Production Docker Compose
|
||||
- Staging Docker Compose
|
||||
- ZibalService
|
||||
- eslint-plugin-react-refresh
|
||||
- eslint-plugin-prettier
|
||||
- ZibalEBankService
|
||||
- .initiateOrderPayment
|
||||
@@ -319,12 +315,11 @@
|
||||
- @types/js-yaml
|
||||
- @types/supertest
|
||||
- typescript-eslint
|
||||
- eslint-config-next
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `Roles()` - 106 edges
|
||||
2. `PrismaService` - 87 edges
|
||||
3. `useSettingsStore` - 56 edges
|
||||
3. `useSettingsStore` - 61 edges
|
||||
4. `api` - 44 edges
|
||||
5. `SmsService` - 43 edges
|
||||
6. `PaginationDto` - 41 edges
|
||||
@@ -346,31 +341,31 @@
|
||||
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 (324 total, 114 thin omitted)
|
||||
## Communities (319 total, 114 thin omitted)
|
||||
|
||||
### Community 0 - "Roles"
|
||||
Cohesion: 0.24
|
||||
Cohesion: 0.23
|
||||
Nodes (13): Roles(), PaymentController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get (+5 more)
|
||||
|
||||
### Community 1 - "app.module.ts"
|
||||
Cohesion: 0.07
|
||||
Nodes (37): B2BModule, Module, BannersModule, Module, CmsModule, Module, RevalidationModule, Global (+29 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (34): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+26 more)
|
||||
|
||||
### Community 2 - "SettingsController"
|
||||
Cohesion: 0.10
|
||||
Nodes (18): SmsLogQuery, SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+10 more)
|
||||
### Community 2 - "SmsService"
|
||||
Cohesion: 0.05
|
||||
Nodes (27): SmsLogQuery, SmsService, Injectable, SmsLogQueryDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional (+19 more)
|
||||
|
||||
### Community 3 - "ProductService"
|
||||
Cohesion: 0.07
|
||||
Nodes (30): dynamic, revalidate, DEFAULT_CATEGORIES, dynamic, revalidate, dynamic, revalidate, BlogCategory (+22 more)
|
||||
Nodes (31): dynamic, revalidate, DEFAULT_CATEGORIES, dynamic, revalidate, dynamic, revalidate, BlogCategory (+23 more)
|
||||
|
||||
### Community 4 - "SafeImage.tsx"
|
||||
Cohesion: 0.08
|
||||
Nodes (21): BackButton(), BackButtonProps, ProductDetailModalProps, PLAYBACK_RATES, PodcastInlinePlayer(), PodcastInlinePlayerProps, PLAYBACK_RATES, PodcastPlayerModal() (+13 more)
|
||||
### Community 4 - "ProductPage.tsx"
|
||||
Cohesion: 0.07
|
||||
Nodes (29): revalidate, BackButton(), BackButtonProps, PLAYBACK_RATES, PodcastInlinePlayer(), PodcastInlinePlayerProps, PLAYBACK_RATES, PodcastPlayerModal() (+21 more)
|
||||
|
||||
### Community 5 - "CmsController"
|
||||
Cohesion: 0.09
|
||||
@@ -408,9 +403,9 @@ Nodes (24): backend, frontend, playwright.config.ts, @playwright/test, tests/**/
|
||||
Cohesion: 0.06
|
||||
Nodes (28): AppModule, Module, EnvironmentVariables, IsNotEmpty, IsOptional, IsString, validateEnv(), CustomHttpExceptionFilter (+20 more)
|
||||
|
||||
### Community 14 - "UserDashboard.tsx"
|
||||
Cohesion: 0.08
|
||||
Nodes (38): B2BPortal, VerifyContent(), AddressModal(), AddressModalProps, AuthModal(), AuthModalProps, extractOtpFromText(), B2BPortal() (+30 more)
|
||||
### Community 14 - "toPersian"
|
||||
Cohesion: 0.11
|
||||
Nodes (19): CartDrawer, AuthModal(), AuthModalProps, extractOtpFromText(), BlogPost, BlogPreviewSection(), CartDrawer(), HeaderButton() (+11 more)
|
||||
|
||||
### Community 15 - "src/services/api.ts"
|
||||
Cohesion: 0.08
|
||||
@@ -421,28 +416,28 @@ Cohesion: 0.09
|
||||
Nodes (24): DoctorsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+16 more)
|
||||
|
||||
### Community 17 - "schema.ts"
|
||||
Cohesion: 0.14
|
||||
Nodes (18): B2BPage(), generateMetadata(), ContactPage(), generateMetadata(), generateMetadata(), getInitialVideos(), Videos(), ContactFormClient() (+10 more)
|
||||
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
|
||||
|
||||
### Community 19 - "ProductsService"
|
||||
Cohesion: 0.09
|
||||
Nodes (19): GetProductsDto, ApiPropertyOptional, IsEnum, IsOptional, IsString, ProductsController, ApiOperation, ApiTags (+11 more)
|
||||
### Community 19 - "RevalidationService"
|
||||
Cohesion: 0.07
|
||||
Nodes (24): RevalidationModule, Global, Module, RevalidationService, Injectable, GetProductsDto, ApiPropertyOptional, IsEnum (+16 more)
|
||||
|
||||
### Community 20 - "CreateVideoDto"
|
||||
Cohesion: 0.07
|
||||
Nodes (31): CreateVideoDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNotEmpty, IsOptional, IsString, UpdateVideoDto (+23 more)
|
||||
|
||||
### Community 21 - "ProductPage.tsx"
|
||||
Cohesion: 0.14
|
||||
Nodes (13): revalidate, CalculatorState, ICON_MAP, ProductPage(), ProductReviews, useCalculatorStore, ProductReviews(), ProductReviewsProps (+5 more)
|
||||
|
||||
### Community 22 - "PetProfile.tsx"
|
||||
### Community 21 - "userStore.ts"
|
||||
Cohesion: 0.11
|
||||
Nodes (23): ClientLayout(), FeaturedProducts(), ProductCard(), Header(), OrderSuccess(), PrescriptionUploadModal(), PrescriptionUploadModalProps, SearchResultsPage() (+15 more)
|
||||
Nodes (11): LoginModal, LoginModal(), LoginModalProps, ApiErr, AuthResponse, AuthService, User, Transaction (+3 more)
|
||||
|
||||
### Community 22 - "useCartStore"
|
||||
Cohesion: 0.10
|
||||
Nodes (27): ClientLayout(), VerifyContent(), FeaturedProducts(), ProductCard(), Header(), OrderSuccess(), OrderTracking(), PetProfile() (+19 more)
|
||||
|
||||
### Community 23 - "MenuService"
|
||||
Cohesion: 0.11
|
||||
@@ -492,9 +487,9 @@ Nodes (14): ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get, Param,
|
||||
Cohesion: 0.12
|
||||
Nodes (16): B2BController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get, Param (+8 more)
|
||||
|
||||
### Community 35 - "AuthController"
|
||||
Cohesion: 0.25
|
||||
Nodes (13): AuthController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+5 more)
|
||||
### Community 35 - "auth.service.ts"
|
||||
Cohesion: 0.06
|
||||
Nodes (46): AuthController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+38 more)
|
||||
|
||||
### Community 36 - "FaqService"
|
||||
Cohesion: 0.12
|
||||
@@ -550,11 +545,11 @@ Nodes (41): DEFAULT_JWT_REFRESH_SECRET, DEFAULT_JWT_SECRET, getJwtSecret(), Auth
|
||||
|
||||
### Community 49 - "devDependencies"
|
||||
Cohesion: 0.11
|
||||
Nodes (19): autoprefixer, devDependencies, autoprefixer, eslint, @eslint/js, globals, postcss, @types/node (+11 more)
|
||||
Nodes (19): autoprefixer, eslint-plugin-react-refresh, devDependencies, autoprefixer, eslint, @eslint/js, eslint-plugin-react-refresh, postcss (+11 more)
|
||||
|
||||
### 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.07
|
||||
@@ -592,13 +587,9 @@ 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 60 - "AuthService"
|
||||
Cohesion: 0.21
|
||||
Nodes (3): AuthService, Injectable, normalizeMobile()
|
||||
|
||||
### Community 61 - "payment.controller.ts"
|
||||
Cohesion: 0.07
|
||||
Nodes (31): AdminTransactionFilterDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type, CreateEBankCheckoutDto (+23 more)
|
||||
### Community 61 - "payment.service.ts"
|
||||
Cohesion: 0.20
|
||||
Nodes (8): AdminTransactionFilterDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type, ClientMetadata
|
||||
|
||||
### Community 62 - "ProductDto"
|
||||
Cohesion: 0.18
|
||||
@@ -606,7 +597,7 @@ Nodes (7): ProductDto, ApiPropertyOptional, IsArray, IsBoolean, IsNumber, IsOpti
|
||||
|
||||
### Community 63 - "dependencies"
|
||||
Cohesion: 0.09
|
||||
Nodes (23): dependencies, bcryptjs, class-validator, compression, ioredis, @nestjs/common, @nestjs/passport, @nestjs/platform-express (+15 more)
|
||||
Nodes (23): dependencies, bcrypt, bcryptjs, class-validator, compression, ioredis, @nestjs/common, @nestjs/passport (+15 more)
|
||||
|
||||
### Community 64 - "compilerOptions"
|
||||
Cohesion: 0.10
|
||||
@@ -621,8 +612,12 @@ Cohesion: 0.17
|
||||
Nodes (7): ApiQuery, Get, Query, AdminQueryDto, ApiPropertyOptional, IsOptional, IsString
|
||||
|
||||
### Community 67 - "admin.module.ts"
|
||||
Cohesion: 0.06
|
||||
Nodes (20): AdminModule, Module, PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller (+12 more)
|
||||
Cohesion: 0.07
|
||||
Nodes (19): AdminModule, Module, PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller (+11 more)
|
||||
|
||||
### Community 68 - "CheckoutPage.tsx"
|
||||
Cohesion: 0.25
|
||||
Nodes (12): AddressModal(), AddressModalProps, CheckoutPage(), SearchableSelect(), SearchableSelectProps, PRESET_AMOUNTS, TopUpModal(), TopUpModalProps (+4 more)
|
||||
|
||||
### Community 69 - "Required Review Group Closures"
|
||||
Cohesion: 0.10
|
||||
@@ -686,7 +681,7 @@ Nodes (16): 1. Active Secret Scanning (All Modified Files), 2. Docker Container
|
||||
|
||||
### Community 85 - "HomeClient.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (20): HomeClient(), HomeClientProps, ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP, BannerPlacement(), BannerPlacementProps (+12 more)
|
||||
Nodes (21): HomeClient(), HomeClientProps, ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP, BannerPlacement(), BannerPlacementProps (+13 more)
|
||||
|
||||
### Community 86 - "zibal.service.ts"
|
||||
Cohesion: 0.16
|
||||
@@ -696,49 +691,49 @@ Nodes (9): GatewayHealthResult, IPaymentGateway, PaymentInquiryResult, PaymentRe
|
||||
Cohesion: 0.12
|
||||
Nodes (17): dependencies, axios, lucide-react, motion, next, react, react-dom, sonner (+9 more)
|
||||
|
||||
### Community 88 - "MetricsController"
|
||||
Cohesion: 0.29
|
||||
Nodes (5): ApiExcludeController, MetricsController, Controller, Get, Res
|
||||
### Community 88 - "CreateEBankCheckoutDto"
|
||||
Cohesion: 0.22
|
||||
Nodes (8): CreateEBankCheckoutDto, ApiProperty, ApiPropertyOptional, IsNotEmpty, IsNumber, IsOptional, IsString, Min
|
||||
|
||||
### Community 89 - "seed-products.ts"
|
||||
Cohesion: 0.17
|
||||
Nodes (12): prisma, main(), prisma, determineSuitableFor(), findOrCreateCategory(), getProductImageUrl(), main(), parseSize() (+4 more)
|
||||
|
||||
### Community 90 - "useSettingsStore"
|
||||
Cohesion: 0.14
|
||||
Nodes (18): AuthModal, CartDrawer, B2BLandingClient(), BrandLogo(), BrandLogoProps, EnamadBadge(), Footer(), MENU_ICONS (+10 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (17): AuthModal, B2BPortal, B2BLandingClient(), B2BPortal(), BrandLogo(), BrandLogoProps, EnamadBadge(), Footer() (+9 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 - "OrdersController"
|
||||
Cohesion: 0.14
|
||||
Nodes (16): OrdersController, ApiBadRequestResponse, ApiBearerAuth, ApiCreatedResponse, ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags (+8 more)
|
||||
### Community 92 - "OrdersService"
|
||||
Cohesion: 0.06
|
||||
Nodes (35): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+27 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 - "wiki/[slug]/page.tsx"
|
||||
Cohesion: 0.20
|
||||
Nodes (16): BlogPostPage(), generateMetadata(), getBlog(), revalidate, safeIso(), safeLocalDate(), generateMetadata(), generateMetadata() (+8 more)
|
||||
### Community 95 - "blog/[slug]/page.tsx"
|
||||
Cohesion: 0.28
|
||||
Nodes (11): BlogPostPage(), generateMetadata(), getBlog(), revalidate, safeIso(), safeLocalDate(), generateMetadata(), BlogPostClient() (+3 more)
|
||||
|
||||
### Community 96 - "compilerOptions"
|
||||
Cohesion: 0.06
|
||||
Nodes (32): compilerOptions, allowJs, esModuleInterop, incremental, isolatedModules, jsx, lib, module (+24 more)
|
||||
|
||||
### Community 97 - "AdminLoginDto"
|
||||
Cohesion: 0.29
|
||||
Nodes (6): AdminLoginDto, ApiProperty, IsEmail, IsNotEmpty, IsString, MinLength
|
||||
### Community 97 - "InitiatePaymentDto"
|
||||
Cohesion: 0.43
|
||||
Nodes (7): InitiatePaymentDto, InitiateWalletTopupDto, ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString
|
||||
|
||||
### Community 98 - "scripts"
|
||||
Cohesion: 0.13
|
||||
Nodes (15): scripts, build, build:nest, docs:generate, lint, seo:backfill, start, start:debug (+7 more)
|
||||
|
||||
### Community 99 - "BlogsController"
|
||||
Cohesion: 0.08
|
||||
Nodes (19): BlogsController, ApiBearerAuth, ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+11 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (15): BlogsController, ApiBearerAuth, ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+7 more)
|
||||
|
||||
### Community 100 - "Deep Audit Summary Report"
|
||||
Cohesion: 0.14
|
||||
@@ -774,7 +769,7 @@ Nodes (6): ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString, W
|
||||
|
||||
### Community 108 - "PrismaService"
|
||||
Cohesion: 0.07
|
||||
Nodes (17): CategoryQuery, RevalidationService, Injectable, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions, SmsConfig, CreateContactSubmissionDto (+9 more)
|
||||
Nodes (20): CategoryQuery, WikiQuery, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions, SmsConfig, CreateContactSubmissionDto, UpdateContactInfoItemDto (+12 more)
|
||||
|
||||
### Community 109 - "1. Summary of Integrity Repairs Performed"
|
||||
Cohesion: 0.17
|
||||
@@ -792,14 +787,14 @@ Nodes (10): 1. Mark Active Task as Complete, 2. Documentation Updates, 3. Dynami
|
||||
Cohesion: 0.18
|
||||
Nodes (10): 1. Pre-Deployment Checklist, 2. Build Verification, 3. Deployment Strategy (Based on Target), 4. Post-Deployment Health Check, 5. Forbidden Actions, Expected JSON Output Schema, Operational Rules & Boundaries, Required Output Artifacts (What files to write/update) (+2 more)
|
||||
|
||||
### Community 113 - "videos/page.tsx"
|
||||
Cohesion: 0.47
|
||||
Nodes (5): generateMetadata(), getInitialVideos(), Videos(), VideosPage(), generateVideoObjectSchema()
|
||||
|
||||
### Community 114 - "AppService"
|
||||
Cohesion: 0.29
|
||||
Nodes (5): AppController, Controller, Get, AppService, Injectable
|
||||
|
||||
### Community 115 - "LoginDto"
|
||||
Cohesion: 0.33
|
||||
Nodes (5): LoginDto, ApiProperty, IsNotEmpty, IsString, MinLength
|
||||
|
||||
### Community 116 - "Vazirmatn Changelog"
|
||||
Cohesion: 0.18
|
||||
Nodes (10): 32.0.0, 32.1, 32.101, 32.102, 33.000, 33.001, 33.002, 33.003 (+2 more)
|
||||
@@ -928,13 +923,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 - "auth.service.ts"
|
||||
Cohesion: 0.15
|
||||
Nodes (14): AdminLoginInput, LoginInput, RegisterInput, SendOtpDto, ApiProperty, IsNotEmpty, IsString, Matches (+6 more)
|
||||
|
||||
### Community 152 - "lib/services/api.ts"
|
||||
Cohesion: 0.06
|
||||
Nodes (25): LoginModal, ContactInfoItem, LoginModal(), LoginModalProps, Testimonial, api, ApiErrorPayload, BASE_DOMAIN (+17 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (21): ContactInfoItem, DeleteConfirmModal(), DeleteConfirmModalProps, Testimonial, TestimonialsSection(), api, ApiErrorPayload, BASE_DOMAIN (+13 more)
|
||||
|
||||
### Community 153 - "exclude"
|
||||
Cohesion: 0.22
|
||||
@@ -1016,21 +1007,13 @@ Nodes (4): evidenceList, ledger, mandatoryMap, mandatoryScope
|
||||
Cohesion: 0.40
|
||||
Nodes (4): activeFiles, errors, validationOutput, warnings
|
||||
|
||||
### Community 176 - "CreateOrderDto"
|
||||
Cohesion: 0.22
|
||||
Nodes (11): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+3 more)
|
||||
|
||||
### Community 177 - "SmsLogQueryDto"
|
||||
Cohesion: 0.25
|
||||
Nodes (7): SmsLogQueryDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type
|
||||
|
||||
### 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.07
|
||||
Nodes (29): BlogFilterDto, PaginationDto, SortOrder, ApiPropertyOptional, IsEnum, IsInt, IsOptional, IsString (+21 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (27): BlogsModule, Module, BlogFilterDto, BlogsService, Injectable, PaginationDto, SortOrder, ApiPropertyOptional (+19 more)
|
||||
|
||||
### Community 180 - "API Contract Specification"
|
||||
Cohesion: 0.50
|
||||
@@ -1049,8 +1032,8 @@ Cohesion: 0.50
|
||||
Nodes (3): Overview & Content Foundation, SEO & Content Requirements, 🚀 SEO & Content Strategy Review (12_seo_content)
|
||||
|
||||
### Community 184 - "RedisService"
|
||||
Cohesion: 0.16
|
||||
Nodes (5): RedisModule, Global, Module, RedisService, Injectable
|
||||
Cohesion: 0.07
|
||||
Nodes (13): ApiExcludeController, AuthService, Injectable, MetricsController, Controller, Get, Res, normalizeMobile() (+5 more)
|
||||
|
||||
### Community 191 - "graphify reference: add a URL and watch a folder"
|
||||
Cohesion: 0.50
|
||||
@@ -1080,10 +1063,6 @@ Nodes (3): Select, SelectOption, SelectProps
|
||||
Cohesion: 0.40
|
||||
Nodes (3): generateMetadata(), formatIngredientDisplayName(), IngredientWiki()
|
||||
|
||||
### Community 199 - "RegisterDto"
|
||||
Cohesion: 0.22
|
||||
Nodes (8): RegisterDto, ApiProperty, ApiPropertyOptional, IsEmail, IsNotEmpty, IsOptional, IsString, MinLength
|
||||
|
||||
### Community 200 - "application/README.md"
|
||||
Cohesion: 0.50
|
||||
Nodes (3): Deploy on Vercel, Getting Started, Learn More
|
||||
@@ -1100,13 +1079,9 @@ 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 294 - "ZibalService"
|
||||
Cohesion: 0.09
|
||||
Nodes (4): PaymentService, Injectable, Injectable, ZibalService
|
||||
|
||||
### Community 298 - ".initiateOrderPayment"
|
||||
Cohesion: 0.32
|
||||
Nodes (6): ApiBadRequestResponse, ApiOkResponse, Req, Res, Headers, Ip
|
||||
Cohesion: 0.18
|
||||
Nodes (10): ApiPropertyOptional, IsOptional, IsString, ZibalCallbackQueryDto, ApiBadRequestResponse, ApiOkResponse, Req, Res (+2 more)
|
||||
|
||||
### Community 313 - "Modal.tsx"
|
||||
Cohesion: 0.08
|
||||
@@ -1124,17 +1099,17 @@ Nodes (3): GET(), handleRevalidate(), POST()
|
||||
## Suggested Questions
|
||||
_Questions this graph is uniquely positioned to answer:_
|
||||
|
||||
- **Why does `ApiResponse` connect `src/services/api.ts` to `BlogsController`, `AuthController`, `PetsController`, `HomeController`, `UsersService`, `ProductsService`, `PaginationDto`, `OrdersController`?**
|
||||
- **Why does `ApiResponse` connect `src/services/api.ts` to `BlogsController`, `auth.service.ts`, `PetsController`, `HomeController`, `UsersService`, `RevalidationService`, `PaginationDto`, `OrdersService`?**
|
||||
_High betweenness centrality (0.086) - this node is a cross-community bridge._
|
||||
- **Why does `Roles()` connect `Roles` to `WholesaleService`, `B2BService`, `SettingsController`, `FaqService`, `CmsController`, `tickets.controller.ts`, `SslController`, `BannersService`, `ReviewsService`, `TestimonialsService`, `IngredientsService`, `JwtAuthGuard`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `MenuService`, `ContactService`, `payment.controller.ts`?**
|
||||
- **Why does `Roles()` connect `Roles` to `WholesaleService`, `B2BService`, `SmsService`, `FaqService`, `CmsController`, `tickets.controller.ts`, `SslController`, `BannersService`, `ReviewsService`, `TestimonialsService`, `IngredientsService`, `JwtAuthGuard`, `RevalidationService`, `PrescriptionsService`, `SmartAdvisorService`, `MenuService`, `ContactService`, `PaymentService`?**
|
||||
_High betweenness centrality (0.067) - this node is a cross-community bridge._
|
||||
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `admin.module.ts`, `CmsController`, `tickets.controller.ts`, `ReportsController`, `PetsController`, `DoctorQueryDto`, `admin.service.ts`, `UsersService`, `PaginationDto`, `CreateVideoDto`, `auth.service.ts`, `payment.controller.ts`?**
|
||||
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `admin.module.ts`, `auth.service.ts`, `CmsController`, `tickets.controller.ts`, `PetsController`, `DoctorQueryDto`, `admin.service.ts`, `UsersService`, `PaginationDto`, `RevalidationService`, `CreateVideoDto`, `OrdersService`?**
|
||||
_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.06801346801346801 - nodes in this community are weakly interconnected._
|
||||
- **Should `SettingsController` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.09523809523809523 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.07529411764705882 - nodes in this community are weakly interconnected._
|
||||
- **Should `SmsService` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.05287128712871287 - nodes in this community are weakly interconnected._
|
||||
- **Should `ProductService` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.0707070707070707 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.06654567453115548 - nodes in this community are weakly interconnected._
|
||||
+3739
-3643
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
+144
-106
@@ -1,16 +1,16 @@
|
||||
# Graph Report - canina (2026-08-26)
|
||||
|
||||
## Corpus Check
|
||||
- 586 files · ~1,331,190 words
|
||||
- 586 files · ~1,331,607 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 4104 nodes · 7388 edges · 319 communities (205 shown, 114 thin omitted)
|
||||
- 4107 nodes · 7399 edges · 328 communities (211 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: `c825268b`
|
||||
- Built from commit: `aa0dde6a`
|
||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||
- Run `graphify update .` after code changes (no API cost).
|
||||
|
||||
@@ -19,25 +19,25 @@
|
||||
- app.module.ts
|
||||
- SmsService
|
||||
- ProductService
|
||||
- ProductPage.tsx
|
||||
- useSettingsStore
|
||||
- CmsController
|
||||
- tickets.controller.ts
|
||||
- TicketsService
|
||||
- Button.tsx
|
||||
- ReportsController
|
||||
- devDependencies
|
||||
- ReviewsService
|
||||
- ReviewsController
|
||||
- MediaSelector.tsx
|
||||
- index.ts
|
||||
- app-audit-verification.e2e-spec.js
|
||||
- toPersian
|
||||
- BlogsService
|
||||
- src/services/api.ts
|
||||
- DoctorQueryDto
|
||||
- schema.ts
|
||||
- JwtAuthGuard
|
||||
- RevalidationService
|
||||
- ProductsService
|
||||
- CreateVideoDto
|
||||
- userStore.ts
|
||||
- useCartStore
|
||||
- PetProfile.tsx
|
||||
- MenuService
|
||||
- BE-001
|
||||
- FE-001
|
||||
@@ -50,7 +50,7 @@
|
||||
- adminRoutes.tsx
|
||||
- WholesaleService
|
||||
- B2BService
|
||||
- auth.service.ts
|
||||
- AuthController
|
||||
- FaqService
|
||||
- راهنمای تست سیستم (Software Testing)
|
||||
- Button
|
||||
@@ -82,8 +82,8 @@
|
||||
- compilerOptions
|
||||
- app.e2e-spec.js
|
||||
- AdminQueryDto
|
||||
- admin.module.ts
|
||||
- CheckoutPage.tsx
|
||||
- PetsController
|
||||
- UserDashboard.tsx
|
||||
- Required Review Group Closures
|
||||
- compilerOptions
|
||||
- getPageMetadata
|
||||
@@ -91,6 +91,7 @@
|
||||
- Operational Rules & Boundaries
|
||||
- WikiController
|
||||
- PetsController
|
||||
- ApiOperation
|
||||
- seo.module.ts
|
||||
- rss.xml/route.ts
|
||||
- 🏢 AI Software Agency — Master Orchestration Protocol v3
|
||||
@@ -104,7 +105,7 @@
|
||||
- dependencies
|
||||
- CreateEBankCheckoutDto
|
||||
- seed-products.ts
|
||||
- useSettingsStore
|
||||
- useUserStore
|
||||
- Reconciled Audit Roles & Assignments
|
||||
- OrdersService
|
||||
- @nestjs/schematics
|
||||
@@ -121,7 +122,7 @@
|
||||
- Coupons.tsx
|
||||
- Operational Rules & Boundaries
|
||||
- Media.tsx
|
||||
- WholesaleApplyDto
|
||||
- WikiController
|
||||
- PrismaService
|
||||
- 1. Summary of Integrity Repairs Performed
|
||||
- Operational Rules & Boundaries
|
||||
@@ -129,7 +130,7 @@
|
||||
- Operational Rules & Boundaries
|
||||
- videos/page.tsx
|
||||
- AppService
|
||||
- @nestjs/swagger
|
||||
- VetGallery.tsx
|
||||
- Vazirmatn Changelog
|
||||
- Vazirmatn Font فونت وزیرمتن
|
||||
- Operational Rules & Boundaries
|
||||
@@ -137,13 +138,13 @@
|
||||
- compilerOptions
|
||||
- backend/README.md
|
||||
- AdminService
|
||||
- app/page.tsx
|
||||
- auth.service.ts
|
||||
- Repository Map
|
||||
- validate_integrity.js
|
||||
- admin-panel/package.json
|
||||
- Sahel-Font
|
||||
- AdminController
|
||||
- globals
|
||||
- auth.controller.ts
|
||||
- Sahel-Font
|
||||
- Role & Core Objective
|
||||
- orchestrate.py
|
||||
@@ -161,12 +162,12 @@
|
||||
- @testing-library/react
|
||||
- admin.service.ts
|
||||
- System Discovery
|
||||
- components/Skeleton.tsx
|
||||
- orders.service.ts
|
||||
- class-transformer
|
||||
- SmsSettingsPage.tsx
|
||||
- Product Requirement Document (PRD)
|
||||
- @types/react-dom
|
||||
- lib/services/api.ts
|
||||
- useCartStore
|
||||
- exclude
|
||||
- Baseline Command Plan & Reconciled Command History
|
||||
- seo-backfill.ts
|
||||
@@ -189,6 +190,8 @@
|
||||
- Phase 3 Audit Traceability Matrix
|
||||
- rebuild_honest_ledger.js
|
||||
- validate_evidence_grade.js
|
||||
- videos.controller.ts
|
||||
- RegisterDto
|
||||
- نقشه جامع پوشش تستهای سرتاسری (E2E Test Coverage Map) — پروژه Canina
|
||||
- PaginationDto
|
||||
- API Contract Specification
|
||||
@@ -208,8 +211,9 @@
|
||||
- Raw Finding Verification & Disposition Report
|
||||
- React + TypeScript + Vite
|
||||
- Select.tsx
|
||||
- wiki/page.tsx
|
||||
- SmsLogQueryDto
|
||||
- @nestjs/core
|
||||
- VerifyOtpDto
|
||||
- application/README.md
|
||||
- deploy.sh
|
||||
- 🔒 Security & Performance Review (09_devops_security)
|
||||
@@ -242,7 +246,7 @@
|
||||
- .agents/workflows/graphify.md
|
||||
- instructions.md
|
||||
- @nestjs/throttler
|
||||
- @eslint/js
|
||||
- SendOtpDto
|
||||
- tailwindcss
|
||||
- passport
|
||||
- reflect-metadata
|
||||
@@ -290,6 +294,7 @@
|
||||
- Production Docker Compose
|
||||
- Staging Docker Compose
|
||||
- ZibalService
|
||||
- trust-seals/page.tsx
|
||||
- eslint-plugin-prettier
|
||||
- ZibalEBankService
|
||||
- .initiateOrderPayment
|
||||
@@ -315,6 +320,11 @@
|
||||
- @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)
|
||||
1. `Roles()` - 106 edges
|
||||
@@ -341,11 +351,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 (319 total, 114 thin omitted)
|
||||
## Communities (328 total, 117 thin omitted)
|
||||
|
||||
### Community 0 - "Roles"
|
||||
Cohesion: 0.23
|
||||
@@ -356,22 +366,22 @@ Cohesion: 0.08
|
||||
Nodes (34): B2BModule, Module, BannersModule, Module, CmsModule, Module, SmsModule, Global (+26 more)
|
||||
|
||||
### Community 2 - "SmsService"
|
||||
Cohesion: 0.05
|
||||
Nodes (27): SmsLogQuery, SmsService, Injectable, SmsLogQueryDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional (+19 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (23): SmsLogQuery, SmsService, Injectable, DEFAULT_UI_TEXTS, SettingsController, ApiBearerAuth, ApiOkResponse, ApiOperation (+15 more)
|
||||
|
||||
### Community 3 - "ProductService"
|
||||
Cohesion: 0.07
|
||||
Nodes (31): dynamic, revalidate, DEFAULT_CATEGORIES, dynamic, revalidate, dynamic, revalidate, BlogCategory (+23 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (34): dynamic, revalidate, DEFAULT_CATEGORIES, dynamic, revalidate, dynamic, revalidate, BlogCategory (+26 more)
|
||||
|
||||
### Community 4 - "ProductPage.tsx"
|
||||
### Community 4 - "useSettingsStore"
|
||||
Cohesion: 0.07
|
||||
Nodes (29): revalidate, BackButton(), BackButtonProps, PLAYBACK_RATES, PodcastInlinePlayer(), PodcastInlinePlayerProps, PLAYBACK_RATES, PodcastPlayerModal() (+21 more)
|
||||
Nodes (34): B2BLandingClient(), BlogPost, BlogPreviewSection(), ContactInfoItem, FAQItem, FAQSection(), OrderDetailsModalProps, PLAYBACK_RATES (+26 more)
|
||||
|
||||
### Community 5 - "CmsController"
|
||||
Cohesion: 0.09
|
||||
Nodes (24): CmsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+16 more)
|
||||
|
||||
### Community 6 - "tickets.controller.ts"
|
||||
### Community 6 - "TicketsService"
|
||||
Cohesion: 0.09
|
||||
Nodes (29): AdminUpdateTicketDto, CreateTicketDto, ReplyTicketDto, ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString (+21 more)
|
||||
|
||||
@@ -385,11 +395,11 @@ Nodes (11): ReportsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, C
|
||||
|
||||
### Community 9 - "devDependencies"
|
||||
Cohesion: 0.22
|
||||
Nodes (9): devDependencies, eslint, @types/bcryptjs, @types/node, typescript, eslint, @types/node, typescript (+1 more)
|
||||
Nodes (9): devDependencies, @eslint/js, @types/bcryptjs, @types/node, typescript, @eslint/js, @types/node, typescript (+1 more)
|
||||
|
||||
### Community 10 - "ReviewsService"
|
||||
Cohesion: 0.12
|
||||
Nodes (17): ReviewsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+9 more)
|
||||
### Community 10 - "ReviewsController"
|
||||
Cohesion: 0.14
|
||||
Nodes (15): ReviewsController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+7 more)
|
||||
|
||||
### Community 11 - "MediaSelector.tsx"
|
||||
Cohesion: 0.07
|
||||
@@ -403,9 +413,9 @@ Nodes (24): backend, frontend, playwright.config.ts, @playwright/test, tests/**/
|
||||
Cohesion: 0.06
|
||||
Nodes (28): AppModule, Module, EnvironmentVariables, IsNotEmpty, IsOptional, IsString, validateEnv(), CustomHttpExceptionFilter (+20 more)
|
||||
|
||||
### Community 14 - "toPersian"
|
||||
Cohesion: 0.11
|
||||
Nodes (19): CartDrawer, AuthModal(), AuthModalProps, extractOtpFromText(), BlogPost, BlogPreviewSection(), CartDrawer(), HeaderButton() (+11 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
|
||||
@@ -423,21 +433,21 @@ Nodes (18): B2BPage(), generateMetadata(), ContactPage(), generateMetadata(), ge
|
||||
Cohesion: 0.19
|
||||
Nodes (7): JwtAuthGuard, Injectable, ROLES_KEY, RequestWithUser, RolesGuard, Injectable, UserReqPayload
|
||||
|
||||
### Community 19 - "RevalidationService"
|
||||
Cohesion: 0.07
|
||||
Nodes (24): RevalidationModule, Global, Module, RevalidationService, Injectable, GetProductsDto, ApiPropertyOptional, IsEnum (+16 more)
|
||||
### Community 19 - "ProductsService"
|
||||
Cohesion: 0.10
|
||||
Nodes (19): GetProductsDto, ApiPropertyOptional, IsEnum, IsOptional, IsString, ProductsController, ApiOperation, ApiTags (+11 more)
|
||||
|
||||
### Community 20 - "CreateVideoDto"
|
||||
Cohesion: 0.07
|
||||
Nodes (31): CreateVideoDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNotEmpty, IsOptional, IsString, UpdateVideoDto (+23 more)
|
||||
Cohesion: 0.09
|
||||
Nodes (24): CreateVideoDto, ApiProperty, ApiPropertyOptional, IsBoolean, IsNotEmpty, IsOptional, IsString, UpdateVideoDto (+16 more)
|
||||
|
||||
### Community 21 - "userStore.ts"
|
||||
Cohesion: 0.11
|
||||
Nodes (11): LoginModal, LoginModal(), LoginModalProps, ApiErr, AuthResponse, AuthService, User, Transaction (+3 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (8): ApiErr, AuthResponse, AuthService, User, Transaction, UserProfile, UserRole, UserStore
|
||||
|
||||
### Community 22 - "useCartStore"
|
||||
Cohesion: 0.10
|
||||
Nodes (27): ClientLayout(), VerifyContent(), FeaturedProducts(), ProductCard(), Header(), OrderSuccess(), OrderTracking(), PetProfile() (+19 more)
|
||||
### Community 22 - "PetProfile.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (20): FeaturedProducts(), ProductCard(), OrderSuccess(), PetProfile(), PrescriptionUploadModal(), PrescriptionUploadModalProps, SearchResultsPage(), OrderRowSkeleton() (+12 more)
|
||||
|
||||
### Community 23 - "MenuService"
|
||||
Cohesion: 0.11
|
||||
@@ -487,9 +497,9 @@ Nodes (14): ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get, Param,
|
||||
Cohesion: 0.12
|
||||
Nodes (16): B2BController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Get, Param (+8 more)
|
||||
|
||||
### Community 35 - "auth.service.ts"
|
||||
Cohesion: 0.06
|
||||
Nodes (46): AuthController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+38 more)
|
||||
### Community 35 - "AuthController"
|
||||
Cohesion: 0.23
|
||||
Nodes (13): AuthController, ApiBadRequestResponse, ApiBearerAuth, ApiOkResponse, ApiOperation, ApiTags, Body, Controller (+5 more)
|
||||
|
||||
### Community 36 - "FaqService"
|
||||
Cohesion: 0.12
|
||||
@@ -545,15 +555,15 @@ Nodes (41): DEFAULT_JWT_REFRESH_SECRET, DEFAULT_JWT_SECRET, getJwtSecret(), Auth
|
||||
|
||||
### Community 49 - "devDependencies"
|
||||
Cohesion: 0.11
|
||||
Nodes (19): autoprefixer, eslint-plugin-react-refresh, devDependencies, autoprefixer, eslint, @eslint/js, eslint-plugin-react-refresh, postcss (+11 more)
|
||||
Nodes (19): autoprefixer, devDependencies, autoprefixer, eslint, @eslint/js, globals, postcss, @types/node (+11 more)
|
||||
|
||||
### Community 50 - "devDependencies"
|
||||
Cohesion: 0.13
|
||||
Nodes (15): eslint-config-next, devDependencies, eslint, eslint-config-next, jsdom, tailwindcss, @tailwindcss/postcss, @types/node (+7 more)
|
||||
|
||||
### Community 51 - "BlogsController"
|
||||
Cohesion: 0.07
|
||||
Nodes (18): BlogsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Body, Controller, Delete (+10 more)
|
||||
Cohesion: 0.14
|
||||
Nodes (16): BlogsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Body, Controller, Delete (+8 more)
|
||||
|
||||
### Community 52 - "PrescriptionsService"
|
||||
Cohesion: 0.14
|
||||
@@ -564,8 +574,8 @@ Cohesion: 0.13
|
||||
Nodes (14): SmartAdvisorController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Delete, Get (+6 more)
|
||||
|
||||
### Community 54 - "CreateReviewDto"
|
||||
Cohesion: 0.14
|
||||
Nodes (13): CreateReviewDto, ApiProperty, IsInt, IsNotEmpty, IsOptional, IsString, Min, ApiProperty (+5 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (15): CreateReviewDto, ApiProperty, IsInt, IsNotEmpty, IsOptional, IsString, Min, ApiProperty (+7 more)
|
||||
|
||||
### Community 55 - "UITexts.tsx"
|
||||
Cohesion: 0.09
|
||||
@@ -592,12 +602,12 @@ Cohesion: 0.20
|
||||
Nodes (8): AdminTransactionFilterDto, ApiPropertyOptional, IsIn, IsNumber, IsOptional, IsString, Type, ClientMetadata
|
||||
|
||||
### Community 62 - "ProductDto"
|
||||
Cohesion: 0.18
|
||||
Cohesion: 0.22
|
||||
Nodes (7): ProductDto, ApiPropertyOptional, IsArray, IsBoolean, IsNumber, IsOptional, IsString
|
||||
|
||||
### Community 63 - "dependencies"
|
||||
Cohesion: 0.09
|
||||
Nodes (23): dependencies, bcrypt, bcryptjs, class-validator, compression, ioredis, @nestjs/common, @nestjs/passport (+15 more)
|
||||
Nodes (23): dependencies, bcryptjs, class-validator, compression, ioredis, @nestjs/common, @nestjs/passport, @nestjs/platform-express (+15 more)
|
||||
|
||||
### Community 64 - "compilerOptions"
|
||||
Cohesion: 0.10
|
||||
@@ -608,16 +618,16 @@ 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 67 - "PetsController"
|
||||
Cohesion: 0.17
|
||||
Nodes (7): ApiQuery, Get, Query, AdminQueryDto, ApiPropertyOptional, IsOptional, IsString
|
||||
Nodes (11): PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller, Delete, Get (+3 more)
|
||||
|
||||
### Community 67 - "admin.module.ts"
|
||||
Cohesion: 0.07
|
||||
Nodes (19): AdminModule, Module, PetsController, ApiBearerAuth, ApiOperation, ApiQuery, ApiTags, Controller (+11 more)
|
||||
|
||||
### Community 68 - "CheckoutPage.tsx"
|
||||
Cohesion: 0.25
|
||||
Nodes (12): AddressModal(), AddressModalProps, CheckoutPage(), SearchableSelect(), SearchableSelectProps, PRESET_AMOUNTS, TopUpModal(), TopUpModalProps (+4 more)
|
||||
### Community 68 - "UserDashboard.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (30): AuthModal, VerifyContent(), AddressFormData, AddressModal(), AddressModalProps, normalizeDigits(), validateAddressForm(), AuthModal() (+22 more)
|
||||
|
||||
### Community 69 - "Required Review Group Closures"
|
||||
Cohesion: 0.10
|
||||
@@ -629,7 +639,7 @@ Nodes (23): compilerOptions, allowImportingTsExtensions, erasableSyntaxOnly, jsx
|
||||
|
||||
### Community 71 - "getPageMetadata"
|
||||
Cohesion: 0.09
|
||||
Nodes (15): generateMetadata(), CatalogClient(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata() (+7 more)
|
||||
Nodes (14): generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata(), generateMetadata() (+6 more)
|
||||
|
||||
### Community 72 - "Operational Rules & Boundaries"
|
||||
Cohesion: 0.11
|
||||
@@ -681,7 +691,7 @@ Nodes (16): 1. Active Secret Scanning (All Modified Files), 2. Docker Container
|
||||
|
||||
### Community 85 - "HomeClient.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (21): HomeClient(), HomeClientProps, ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP, BannerPlacement(), BannerPlacementProps (+13 more)
|
||||
Nodes (22): HomeClient(), HomeClientProps, getHomeData(), Home(), ArchivePage(), ArchiveProductCard(), CATEGORY_MAP, ICON_MAP (+14 more)
|
||||
|
||||
### Community 86 - "zibal.service.ts"
|
||||
Cohesion: 0.16
|
||||
@@ -699,25 +709,25 @@ Nodes (8): CreateEBankCheckoutDto, ApiProperty, ApiPropertyOptional, IsNotEmpty,
|
||||
Cohesion: 0.17
|
||||
Nodes (12): prisma, main(), prisma, determineSuitableFor(), findOrCreateCategory(), getProductImageUrl(), main(), parseSize() (+4 more)
|
||||
|
||||
### Community 90 - "useSettingsStore"
|
||||
Cohesion: 0.15
|
||||
Nodes (17): AuthModal, B2BPortal, B2BLandingClient(), B2BPortal(), BrandLogo(), BrandLogoProps, EnamadBadge(), Footer() (+9 more)
|
||||
### Community 90 - "useUserStore"
|
||||
Cohesion: 0.12
|
||||
Nodes (20): B2BPortal, ClientLayout(), LoginModal, BrandLogo(), BrandLogoProps, Footer(), MENU_ICONS, LoginModal() (+12 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.06
|
||||
Nodes (35): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+27 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (29): CreateOrderDto, OrderItemDto, ApiProperty, ApiPropertyOptional, IsArray, IsNotEmpty, IsNumber, IsOptional (+21 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.28
|
||||
Nodes (11): BlogPostPage(), generateMetadata(), getBlog(), revalidate, safeIso(), safeLocalDate(), generateMetadata(), BlogPostClient() (+3 more)
|
||||
Cohesion: 0.23
|
||||
Nodes (12): BlogPostPage(), generateMetadata(), getBlog(), revalidate, safeIso(), safeLocalDate(), generateMetadata(), revalidate (+4 more)
|
||||
|
||||
### Community 96 - "compilerOptions"
|
||||
Cohesion: 0.06
|
||||
@@ -763,13 +773,13 @@ Nodes (11): 1. Detect Test Runner from Tech Stack, 2. Execution Output Capture (
|
||||
Cohesion: 0.19
|
||||
Nodes (9): ImagePreviewModal(), ImagePreviewModalProps, getFileType(), Media, MediaManager(), ProductItem, Media, PrescriptionsManager (+1 more)
|
||||
|
||||
### Community 107 - "WholesaleApplyDto"
|
||||
Cohesion: 0.29
|
||||
Nodes (6): ApiProperty, ApiPropertyOptional, IsNotEmpty, IsOptional, IsString, WholesaleApplyDto
|
||||
### Community 107 - "WikiController"
|
||||
Cohesion: 0.13
|
||||
Nodes (13): ApiNotFoundResponse, ApiOkResponse, ApiOperation, ApiTags, Controller, Get, Param, Query (+5 more)
|
||||
|
||||
### Community 108 - "PrismaService"
|
||||
Cohesion: 0.07
|
||||
Nodes (20): CategoryQuery, WikiQuery, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions, SmsConfig, CreateContactSubmissionDto, UpdateContactInfoItemDto (+12 more)
|
||||
Cohesion: 0.06
|
||||
Nodes (25): ApiExcludeController, MetricsController, Controller, Get, Res, MeliPayamakPattern, MeliPayamakResponse, SendPatternSmsOptions (+17 more)
|
||||
|
||||
### Community 109 - "1. Summary of Integrity Repairs Performed"
|
||||
Cohesion: 0.17
|
||||
@@ -795,6 +805,10 @@ Nodes (5): generateMetadata(), getInitialVideos(), Videos(), VideosPage(), gener
|
||||
Cohesion: 0.29
|
||||
Nodes (5): AppController, Controller, Get, AppService, Injectable
|
||||
|
||||
### Community 115 - "VetGallery.tsx"
|
||||
Cohesion: 0.16
|
||||
Nodes (12): BackButton(), BackButtonProps, VideoModalPlayer, DisplayVideoItem, FALLBACK_VIDEOS, TestimonialItem, VetGallery(), PLAYBACK_RATES (+4 more)
|
||||
|
||||
### Community 116 - "Vazirmatn Changelog"
|
||||
Cohesion: 0.18
|
||||
Nodes (10): 32.0.0, 32.1, 32.101, 32.102, 33.000, 33.001, 33.002, 33.003 (+2 more)
|
||||
@@ -820,12 +834,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 - "AdminService"
|
||||
Cohesion: 0.16
|
||||
Nodes (4): Delete, Param, AdminService, Injectable
|
||||
Cohesion: 0.13
|
||||
Nodes (5): Delete, Param, Put, AdminService, Injectable
|
||||
|
||||
### Community 123 - "app/page.tsx"
|
||||
Cohesion: 0.67
|
||||
Nodes (3): generateMetadata(), getHomeData(), Home()
|
||||
### Community 123 - "auth.service.ts"
|
||||
Cohesion: 0.17
|
||||
Nodes (6): AdminLoginInput, AuthService, LoginInput, RegisterInput, Injectable, normalizeMobile()
|
||||
|
||||
### Community 124 - "Repository Map"
|
||||
Cohesion: 0.20
|
||||
@@ -844,8 +858,12 @@ 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.11
|
||||
Nodes (9): AdminController, ApiBearerAuth, ApiOperation, ApiTags, Body, Controller, Post, Put (+1 more)
|
||||
Cohesion: 0.18
|
||||
Nodes (7): AdminController, ApiBearerAuth, ApiTags, Body, Controller, Post, UseGuards
|
||||
|
||||
### Community 129 - "auth.controller.ts"
|
||||
Cohesion: 0.16
|
||||
Nodes (11): AdminLoginDto, ApiProperty, IsEmail, IsNotEmpty, IsString, MinLength, LoginDto, ApiProperty (+3 more)
|
||||
|
||||
### Community 130 - "Sahel-Font"
|
||||
Cohesion: 0.20
|
||||
@@ -904,16 +922,16 @@ Cohesion: 0.25
|
||||
Nodes (6): app_module_1, core_1, fs, path, swagger_1, yaml
|
||||
|
||||
### Community 145 - "admin.service.ts"
|
||||
Cohesion: 0.20
|
||||
Cohesion: 0.18
|
||||
Nodes (13): CouponInput, CouponTargetInput, PaginationQuery, CreateUserDto, ApiProperty, ApiPropertyOptional, IsEmail, IsNotEmpty (+5 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 147 - "components/Skeleton.tsx"
|
||||
Cohesion: 0.21
|
||||
Nodes (5): OrderRowSkeleton(), PetProfileSkeleton(), ProductCardSkeleton(), Skeleton(), SkeletonProps
|
||||
### Community 147 - "orders.service.ts"
|
||||
Cohesion: 0.24
|
||||
Nodes (6): IsNotEmpty, IsNumber, IsString, ValidateCouponDto, OrdersModule, Module
|
||||
|
||||
### Community 149 - "SmsSettingsPage.tsx"
|
||||
Cohesion: 0.29
|
||||
@@ -923,9 +941,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 152 - "lib/services/api.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (21): ContactInfoItem, DeleteConfirmModal(), DeleteConfirmModalProps, Testimonial, TestimonialsSection(), api, ApiErrorPayload, BASE_DOMAIN (+13 more)
|
||||
### Community 152 - "useCartStore"
|
||||
Cohesion: 0.10
|
||||
Nodes (15): CartDrawer, B2BPortal(), CartDrawer(), DeleteConfirmModal(), DeleteConfirmModalProps, Header(), OrderTracking(), mockProduct (+7 more)
|
||||
|
||||
### Community 153 - "exclude"
|
||||
Cohesion: 0.22
|
||||
@@ -1007,13 +1025,21 @@ 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 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 (27): BlogsModule, Module, BlogFilterDto, BlogsService, Injectable, PaginationDto, SortOrder, ApiPropertyOptional (+19 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (24): AdminModule, Module, CategoryQuery, PetQuery, PetsService, Injectable, SslCertInfo, Injectable (+16 more)
|
||||
|
||||
### Community 180 - "API Contract Specification"
|
||||
Cohesion: 0.50
|
||||
@@ -1032,8 +1058,8 @@ Cohesion: 0.50
|
||||
Nodes (3): Overview & Content Foundation, SEO & Content Requirements, 🚀 SEO & Content Strategy Review (12_seo_content)
|
||||
|
||||
### Community 184 - "RedisService"
|
||||
Cohesion: 0.07
|
||||
Nodes (13): ApiExcludeController, AuthService, Injectable, MetricsController, Controller, Get, Res, normalizeMobile() (+5 more)
|
||||
Cohesion: 0.15
|
||||
Nodes (5): RedisModule, Global, Module, RedisService, Injectable
|
||||
|
||||
### Community 191 - "graphify reference: add a URL and watch a folder"
|
||||
Cohesion: 0.50
|
||||
@@ -1059,9 +1085,13 @@ Nodes (3): Expanding the ESLint configuration, React Compiler, React + TypeScrip
|
||||
Cohesion: 0.50
|
||||
Nodes (3): Select, SelectOption, SelectProps
|
||||
|
||||
### Community 197 - "wiki/page.tsx"
|
||||
Cohesion: 0.40
|
||||
Nodes (3): generateMetadata(), formatIngredientDisplayName(), IngredientWiki()
|
||||
### Community 197 - "SmsLogQueryDto"
|
||||
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
|
||||
@@ -1079,6 +1109,10 @@ 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)
|
||||
@@ -1091,25 +1125,29 @@ 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.
|
||||
- **114 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`, `auth.service.ts`, `PetsController`, `HomeController`, `UsersService`, `RevalidationService`, `PaginationDto`, `OrdersService`?**
|
||||
- **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`, `tickets.controller.ts`, `SslController`, `BannersService`, `ReviewsService`, `TestimonialsService`, `IngredientsService`, `JwtAuthGuard`, `RevalidationService`, `PrescriptionsService`, `SmartAdvisorService`, `MenuService`, `ContactService`, `PaymentService`?**
|
||||
- **Why does `Roles()` connect `Roles` to `WholesaleService`, `B2BService`, `SmsService`, `FaqService`, `CmsController`, `TicketsService`, `SslController`, `BannersService`, `ReviewsController`, `TestimonialsService`, `IngredientsService`, `JwtAuthGuard`, `ProductsService`, `PrescriptionsService`, `SmartAdvisorService`, `MenuService`, `ContactService`, `PaymentService`?**
|
||||
_High betweenness centrality (0.067) - this node is a cross-community bridge._
|
||||
- **Why does `JwtAuthGuard` connect `JwtAuthGuard` to `admin.module.ts`, `auth.service.ts`, `CmsController`, `tickets.controller.ts`, `PetsController`, `DoctorQueryDto`, `admin.service.ts`, `UsersService`, `PaginationDto`, `RevalidationService`, `CreateVideoDto`, `OrdersService`?**
|
||||
- **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`?**
|
||||
_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.05287128712871287 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.05586477015048444 - nodes in this community are weakly interconnected._
|
||||
- **Should `ProductService` be split into smaller, more focused modules?**
|
||||
_Cohesion score 0.06654567453115548 - nodes in this community are weakly interconnected._
|
||||
_Cohesion score 0.06229508196721312 - 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">4104 nodes · 7388 edges · 319 communities</div>
|
||||
<div id="stats">4107 nodes · 7399 edges · 328 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": 51}, {"cid": 2, "color": "#E15759", "label": "SmsService", "count": 101}, {"cid": 3, "color": "#76B7B2", "label": "ProductService", "count": 58}, {"cid": 4, "color": "#59A14F", "label": "ProductPage.tsx", "count": 46}, {"cid": 5, "color": "#EDC948", "label": "CmsController", "count": 53}, {"cid": 6, "color": "#B07AA1", "label": "tickets.controller.ts", "count": 48}, {"cid": 7, "color": "#FF9DA7", "label": "Button.tsx", "count": 29}, {"cid": 8, "color": "#9C755F", "label": "ReportsController", "count": 15}, {"cid": 9, "color": "#BAB0AC", "label": "devDependencies", "count": 9}, {"cid": 10, "color": "#4E79A7", "label": "ReviewsService", "count": 28}, {"cid": 11, "color": "#F28E2B", "label": "MediaSelector.tsx", "count": 54}, {"cid": 12, "color": "#E15759", "label": "index.ts", "count": 45}, {"cid": 13, "color": "#76B7B2", "label": "app-audit-verification.e2e-spec.js", "count": 47}, {"cid": 14, "color": "#59A14F", "label": "toPersian", "count": 30}, {"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": 33}, {"cid": 19, "color": "#BAB0AC", "label": "RevalidationService", "count": 51}, {"cid": 20, "color": "#4E79A7", "label": "CreateVideoDto", "count": 47}, {"cid": 21, "color": "#F28E2B", "label": "userStore.ts", "count": 24}, {"cid": 22, "color": "#E15759", "label": "useCartStore", "count": 43}, {"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": "auth.service.ts", "count": 62}, {"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": 52}, {"cid": 52, "color": "#E15759", "label": "PrescriptionsService", "count": 23}, {"cid": 53, "color": "#76B7B2", "label": "SmartAdvisorService", "count": 24}, {"cid": 54, "color": "#59A14F", "label": "CreateReviewDto", "count": 16}, {"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": 21}, {"cid": 61, "color": "#F28E2B", "label": "payment.service.ts", "count": 11}, {"cid": 62, "color": "#E15759", "label": "ProductDto", "count": 14}, {"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": "AdminQueryDto", "count": 18}, {"cid": 67,Line 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": 51}, {"cid": 2, "color": "#E15759", "label": "SmsService", "count": 99}, {"cid": 3, "color": "#76B7B2", "label": "ProductService", "count": 61}, {"cid": 4, "color": "#59A14F", "label": "useSettingsStore", "count": 56}, {"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": 17}, {"cid": 9, "color": "#BAB0AC", "label": "devDependencies", "count": 9}, {"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": "app-audit-verification.e2e-spec.js", "count": 47}, {"cid": 14, "color": "#59A14F", "label": "BlogsService", "count": 38}, {"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": 33}, {"cid": 19, "color": "#BAB0AC", "label": "ProductsService", "count": 37}, {"cid": 20, "color": "#4E79A7", "label": "CreateVideoDto", "count": 37}, {"cid": 21, "color": "#F28E2B", "label": "userStore.ts", "count": 20}, {"cid": 22, "color": "#E15759", "label": "PetProfile.tsx", "count": 36}, {"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": 22}, {"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": 23}, {"cid": 53, "color": "#76B7B2", "label": "SmartAdvisorService", "count": 24}, {"cid": 54, "color": "#59A14F", "label": "CreateReviewDto", "count": 22}, {"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": 21}, {"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": 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": "AdminQueryDto", "count": 15}, {"cid": 67, "coLine truncated
|
||||
|
||||
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML
|
||||
function esc(s) {
|
||||
|
||||
+4297
-4131
File diff suppressed because it is too large.
Load diff
+613
-613
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user