Refactor code structure for improved readability and maintainability

This commit is contained in:
hamed
2026-07-13 10:15:49 +03:30
parent a4a17bf8c7
commit 960ac72f6e
27 changed files with 4270 additions and 1670 deletions
+76 -56
View File
@@ -210,8 +210,8 @@
"semantic_hash": ""
},
"assets/admin/pages/ClinicServicesPage.tsx": {
"mtime": 1783061096.3412282,
"ast_hash": "4126cd738d2fffaae14b587ce665cd83",
"mtime": 1783919282.475997,
"ast_hash": "8bd107450cbf11f1e258ba08c3178185",
"semantic_hash": ""
},
"assets/admin/pages/ClinicsPage.tsx": {
@@ -225,13 +225,13 @@
"semantic_hash": ""
},
"assets/admin/pages/DashboardPage.tsx": {
"mtime": 1783014538.7834437,
"ast_hash": "7fda4f20c50443ec72ea00a7d92816e3",
"mtime": 1783921928.8825357,
"ast_hash": "8e1bc6560d54c3a4c2201babcbca46ec",
"semantic_hash": ""
},
"assets/admin/pages/DoctorDetailPage.tsx": {
"mtime": 1783788126.7986403,
"ast_hash": "9e14c9cc70e4707bddaab0a5267e54c0",
"mtime": 1783853074.1420455,
"ast_hash": "f04ad6adcb144ad3b3bfadb00a05a424",
"semantic_hash": ""
},
"assets/admin/pages/DoctorFormPage.tsx": {
@@ -245,13 +245,13 @@
"semantic_hash": ""
},
"assets/admin/pages/DoctorsPage.tsx": {
"mtime": 1783788126.800466,
"ast_hash": "d2092c284b360169efff2f5405469893",
"mtime": 1783855432.480768,
"ast_hash": "409afc5e7f30d9d61079be4fd20e1449",
"semantic_hash": ""
},
"assets/admin/pages/FinancialReportPage.tsx": {
"mtime": 1783014538.788071,
"ast_hash": "471bacb2480d911d8659e3adb72de194",
"mtime": 1783855102.614041,
"ast_hash": "a54c80015be26a4185d5eae5593084e5",
"semantic_hash": ""
},
"assets/admin/pages/InsurancePricingPage.tsx": {
@@ -275,8 +275,8 @@
"semantic_hash": ""
},
"assets/admin/pages/MyPatientsPage.tsx": {
"mtime": 1782234589.73135,
"ast_hash": "63df8f1dc60843d6e2afe8db79b7fcc0",
"mtime": 1783924925.0622292,
"ast_hash": "fced4bda58120eba67ff82ff7035c759",
"semantic_hash": ""
},
"assets/admin/pages/MySecretariesPage.tsx": {
@@ -310,8 +310,8 @@
"semantic_hash": ""
},
"assets/admin/pages/RepresentationDetailPage.tsx": {
"mtime": 1781281864.435463,
"ast_hash": "a6a316a5def7cc8cb42ad3a332fff02f",
"mtime": 1783854947.3435414,
"ast_hash": "7aacd2fb598696123d5c4cff52699b44",
"semantic_hash": ""
},
"assets/admin/pages/RepresentationFinancePage.tsx": {
@@ -330,8 +330,8 @@
"semantic_hash": ""
},
"assets/admin/pages/RepresentationsPage.tsx": {
"mtime": 1783569345.7762475,
"ast_hash": "55e5abec0221125a26d09949eb7e3f20",
"mtime": 1783848050.2099984,
"ast_hash": "4c1e281abeff54dd7cb4dd8de38b34a5",
"semantic_hash": ""
},
"assets/admin/pages/SecretariesPage.tsx": {
@@ -385,8 +385,8 @@
"semantic_hash": ""
},
"assets/admin/pages/UsersPage.tsx": {
"mtime": 1783189698.4759433,
"ast_hash": "73d8276816592940a2d66d013443ca39",
"mtime": 1783853362.3363707,
"ast_hash": "54f6a5cc35b1794c6c49d5b57ead8afe",
"semantic_hash": ""
},
"assets/admin/stores/authStore.ts": {
@@ -395,13 +395,13 @@
"semantic_hash": ""
},
"assets/admin/stores/uiStore.ts": {
"mtime": 1781106649.6620028,
"ast_hash": "153515a25bb63b00701fe12453320d49",
"mtime": 1783879583.7487466,
"ast_hash": "458cb2a95184e7bd15f594bbc6a532f2",
"semantic_hash": ""
},
"assets/admin/types/index.ts": {
"mtime": 1783569345.7764525,
"ast_hash": "caee3b2fd870a2e6f75ee6fb889ec0b1",
"mtime": 1783924172.6519418,
"ast_hash": "a13aac51716c1fdf1c8756223be5ec4e",
"semantic_hash": ""
},
"assets/app.js": {
@@ -810,8 +810,8 @@
"semantic_hash": ""
},
"src/Admin/Controller/AdminApiController.php": {
"mtime": 1783788126.859703,
"ast_hash": "73acc68912b526d1c608c10b92fac3f0",
"mtime": 1783855312.3303921,
"ast_hash": "8d3201ffe4255477ef49faa73e6565ce",
"semantic_hash": ""
},
"src/Admin/Controller/AdminController.php": {
@@ -870,8 +870,8 @@
"semantic_hash": ""
},
"src/Appointment/Repository/AppointmentRepository.php": {
"mtime": 1782728407.1906495,
"ast_hash": "51876e9f5a4343659054e72b3039885f",
"mtime": 1783924758.7706256,
"ast_hash": "49c91237e463ad3ef8304d1f4d80b0ec",
"semantic_hash": ""
},
"src/Appointment/Repository/DateOverrideRepository.php": {
@@ -930,8 +930,8 @@
"semantic_hash": ""
},
"src/Auth/Entity/User.php": {
"mtime": 1783788126.8620605,
"ast_hash": "85cd7c4923a991aab2f1003d8996fc32",
"mtime": 1783853654.892607,
"ast_hash": "a6212a8e178ce65a8810e342511efd20",
"semantic_hash": ""
},
"src/Auth/Entity/UserActiveContext.php": {
@@ -980,8 +980,8 @@
"semantic_hash": ""
},
"src/Billing/Controller/BillingController.php": {
"mtime": 1782728407.192799,
"ast_hash": "23d73689d535ff8949f1d8f68d46d40a",
"mtime": 1783881569.4765885,
"ast_hash": "59779585106782055c920fe9c2bf59e5",
"semantic_hash": ""
},
"src/Billing/Entity/Claim.php": {
@@ -1100,8 +1100,8 @@
"semantic_hash": ""
},
"src/ClinicInvitation/Repository/ClinicDoctorInvitationRepository.php": {
"mtime": 1781293272.835809,
"ast_hash": "03f266556672aa4336ac2b06719e5ab9",
"mtime": 1783924771.996648,
"ast_hash": "0f3cf24e28f88416e0ff65e4e1c9d81a",
"semantic_hash": ""
},
"src/ClinicInvitation/Service/ClinicInvitationService.php": {
@@ -1110,13 +1110,13 @@
"semantic_hash": ""
},
"src/ClinicService/Controller/ClinicServiceController.php": {
"mtime": 1782728407.1953874,
"ast_hash": "14f5a17c5bc99eb78256baabed03673f",
"mtime": 1783918800.7080069,
"ast_hash": "35fcdbb6bbaccb441d5980f25ab473aa",
"semantic_hash": ""
},
"src/ClinicService/Entity/ServiceItem.php": {
"mtime": 1782260462.8914137,
"ast_hash": "030b028322fb5b0a315416f812ecc686",
"mtime": 1783918773.0777974,
"ast_hash": "6359a5b222169e09ea7fb59e04717e29",
"semantic_hash": ""
},
"src/ClinicService/Entity/ServiceSection.php": {
@@ -1175,13 +1175,13 @@
"semantic_hash": ""
},
"src/Dashboard/Controller/DashboardController.php": {
"mtime": 1782895903.5178185,
"ast_hash": "8f4817a710736a74b1bb317fafc58614",
"mtime": 1783921578.3993614,
"ast_hash": "bce0b75c0d17735ae73e64b468744126",
"semantic_hash": ""
},
"src/Doctor/Controller/DoctorController.php": {
"mtime": 1783788126.8683126,
"ast_hash": "57c2d4ba148aa5084683dbfd08f8e2b0",
"mtime": 1783847730.5986216,
"ast_hash": "b7ed8d0e0e2b2d4349fe7a5a50ca8ed3",
"semantic_hash": ""
},
"src/Doctor/Entity/Doctor.php": {
@@ -1320,8 +1320,8 @@
"semantic_hash": ""
},
"src/Patient/Controller/PatientController.php": {
"mtime": 1782728407.197648,
"ast_hash": "dbf1e7138d885fad914e38b49bcaf9ca",
"mtime": 1783924793.4561608,
"ast_hash": "0e24d9d5096fdcc543d0235911443c49",
"semantic_hash": ""
},
"src/Patient/Entity/PatientRecord.php": {
@@ -1330,8 +1330,8 @@
"semantic_hash": ""
},
"src/Patient/Entity/PatientSession.php": {
"mtime": 1782728407.1979117,
"ast_hash": "272af884798ca2bb27de25d9914c606a",
"mtime": 1783881339.1705847,
"ast_hash": "c0bde168a1889f493327a15fd6303f51",
"semantic_hash": ""
},
"src/Patient/Entity/SessionService.php": {
@@ -2340,8 +2340,8 @@
"semantic_hash": ""
},
"docs/api/admin.md": {
"mtime": 1783788126.8033333,
"ast_hash": "1fe7f1b55de999bb218ab72f44360021",
"mtime": 1783855445.2596958,
"ast_hash": "a88aebae2db5493c6564aa55b7133c25",
"semantic_hash": ""
},
"docs/api/appointment-settings.md": {
@@ -2360,8 +2360,8 @@
"semantic_hash": ""
},
"docs/api/billing.md": {
"mtime": 1782728407.1078966,
"ast_hash": "0866219af2626141c1df0f0c9f874470",
"mtime": 1783881773.6809924,
"ast_hash": "84413cd061ecd78420b2d3c7dd29c62e",
"semantic_hash": ""
},
"docs/api/blog.md": {
@@ -2375,8 +2375,8 @@
"semantic_hash": ""
},
"docs/api/clinic-services.md": {
"mtime": 1782728407.1083,
"ast_hash": "06e7cab24284ccf31c55348b6cdbb61a",
"mtime": 1783919445.376785,
"ast_hash": "d38e725b6f4a889ee3b024dff1a8b75d",
"semantic_hash": ""
},
"docs/api/clinic.md": {
@@ -2385,8 +2385,8 @@
"semantic_hash": ""
},
"docs/api/dashboard.md": {
"mtime": 1781516938.5608273,
"ast_hash": "b8c8449d58c7d9088ebaffab92e4e128",
"mtime": 1783921999.6038008,
"ast_hash": "d1bdc9a03422298bf8edb8255f9ab88a",
"semantic_hash": ""
},
"docs/api/doctor-service.md": {
@@ -2395,8 +2395,8 @@
"semantic_hash": ""
},
"docs/api/doctor.md": {
"mtime": 1783837299.5845804,
"ast_hash": "e005659040d9c17548dd409ac5582a55",
"mtime": 1783848214.541781,
"ast_hash": "f3af2e05fa765ddd56818eb33b009581",
"semantic_hash": ""
},
"docs/api/insurance.md": {
@@ -2410,8 +2410,8 @@
"semantic_hash": ""
},
"docs/api/patient.md": {
"mtime": 1782289600.4894524,
"ast_hash": "dbb64cd5f77ae397ec13ce763886b004",
"mtime": 1783924904.42998,
"ast_hash": "308b5b71522affcb5782bfdc125438b0",
"semantic_hash": ""
},
"docs/api/payment.md": {
@@ -3998,5 +3998,25 @@
"mtime": 1783837029.9093144,
"ast_hash": "28d51dff4de504fcbee2d44877dc2498",
"semantic_hash": ""
},
"migrations/Version20260713050014.php": {
"mtime": 1783918824.9967182,
"ast_hash": "db8332e2e655912a793c0b508ce62db9",
"semantic_hash": ""
},
"migrations/Version20260713050114.php": {
"mtime": 1783918885.1191626,
"ast_hash": "bea8ae994542648a9ab8c38045314d64",
"semantic_hash": ""
},
".claude/prompt/admin-ui-match-tauri.md": {
"mtime": 1783877922.139963,
"ast_hash": "426f66e2d8d19659339f85a9854ad558",
"semantic_hash": ""
},
".claude/prompt/doctor-representation-visibility.md": {
"mtime": 1783847658.468426,
"ast_hash": "817ec2f2e65d0fff3dc6ceeb5befbde9",
"semantic_hash": ""
}
}