Refactor code structure for improved readability and maintainability

This commit is contained in:
hamed
2026-07-12 09:54:44 +03:30
parent ca66b86cf9
commit 476d5bb80e
16 changed files with 1617 additions and 907 deletions
+56 -56
View File
@@ -1,6 +1,6 @@
{
"assets/admin/App.tsx": {
"mtime": 1783757885.6255667,
"mtime": 1783788126.7963216,
"ast_hash": "69fd74865eefe0cb7c1bfc78a71a0a1e",
"semantic_hash": ""
},
@@ -30,7 +30,7 @@
"semantic_hash": ""
},
"assets/admin/components/layout/Sidebar.tsx": {
"mtime": 1783757885.626085,
"mtime": 1783788126.7966304,
"ast_hash": "2f0f7e9608d40b9cda0a0b9412782cca",
"semantic_hash": ""
},
@@ -230,7 +230,7 @@
"semantic_hash": ""
},
"assets/admin/pages/DoctorDetailPage.tsx": {
"mtime": 1783768892.4257572,
"mtime": 1783788126.7986403,
"ast_hash": "9e14c9cc70e4707bddaab0a5267e54c0",
"semantic_hash": ""
},
@@ -245,7 +245,7 @@
"semantic_hash": ""
},
"assets/admin/pages/DoctorsPage.tsx": {
"mtime": 1783757825.0106773,
"mtime": 1783788126.800466,
"ast_hash": "d2092c284b360169efff2f5405469893",
"semantic_hash": ""
},
@@ -320,8 +320,8 @@
"semantic_hash": ""
},
"assets/admin/pages/RepresentationProfilePage.tsx": {
"mtime": 1783014651.021187,
"ast_hash": "d934c8007e2f9ad68fd8de59192331c4",
"mtime": 1783788126.8012002,
"ast_hash": "032cc7fc57ba67d3fc2d8dd03e2fddbf",
"semantic_hash": ""
},
"assets/admin/pages/RepresentationSettlementPage.tsx": {
@@ -795,8 +795,8 @@
"semantic_hash": ""
},
"public/manifest.json": {
"mtime": 1783067213.2312572,
"ast_hash": "6d4b402f211a53ccfd25050b17542cc1",
"mtime": 1783834695.9968214,
"ast_hash": "b20fbd74a5c3c7d4d52207a0d9715d1a",
"semantic_hash": ""
},
"public/sw.js": {
@@ -810,7 +810,7 @@
"semantic_hash": ""
},
"src/Admin/Controller/AdminApiController.php": {
"mtime": 1783757803.148958,
"mtime": 1783788126.859703,
"ast_hash": "73acc68912b526d1c608c10b92fac3f0",
"semantic_hash": ""
},
@@ -930,7 +930,7 @@
"semantic_hash": ""
},
"src/Auth/Entity/User.php": {
"mtime": 1783757329.0757134,
"mtime": 1783788126.8620605,
"ast_hash": "85cd7c4923a991aab2f1003d8996fc32",
"semantic_hash": ""
},
@@ -955,7 +955,7 @@
"semantic_hash": ""
},
"src/Auth/Security/PasswordAuthenticator.php": {
"mtime": 1783757329.0759397,
"mtime": 1783788126.86268,
"ast_hash": "1c385c3916608095ea2512ac434aca19",
"semantic_hash": ""
},
@@ -1180,13 +1180,13 @@
"semantic_hash": ""
},
"src/Doctor/Controller/DoctorController.php": {
"mtime": 1783769018.613043,
"mtime": 1783788126.8683126,
"ast_hash": "57c2d4ba148aa5084683dbfd08f8e2b0",
"semantic_hash": ""
},
"src/Doctor/Entity/Doctor.php": {
"mtime": 1783757329.076088,
"ast_hash": "e2334ea52505d1b8cc2b69b838fe17ca",
"mtime": 1783837440.3242722,
"ast_hash": "afcadef490bdd4fdea4e3059e25cf2a8",
"semantic_hash": ""
},
"src/Doctor/Entity/DoctorAddress.php": {
@@ -1580,7 +1580,7 @@
"semantic_hash": ""
},
"src/Shared/Service/ApiIrService.php": {
"mtime": 1783757329.076324,
"mtime": 1783788126.8722553,
"ast_hash": "7ee2ccaad6b77b3845258440accf99ee",
"semantic_hash": ""
},
@@ -2250,7 +2250,7 @@
"semantic_hash": ""
},
"config/packages/rate_limiter.yaml": {
"mtime": 1783757329.0740077,
"mtime": 1783788126.8017821,
"ast_hash": "625dc1a0d852d36afd05b4ac60abd6d9",
"semantic_hash": ""
},
@@ -2260,7 +2260,7 @@
"semantic_hash": ""
},
"config/packages/security.yaml": {
"mtime": 1783757329.074222,
"mtime": 1783788126.802166,
"ast_hash": "d6adafd1b3cf1b7ec18d3c729b70dcb8",
"semantic_hash": ""
},
@@ -2300,7 +2300,7 @@
"semantic_hash": ""
},
"config/services.yaml": {
"mtime": 1783757329.0744464,
"mtime": 1783788126.8029823,
"ast_hash": "feb62c479381915746246b38817892e3",
"semantic_hash": ""
},
@@ -2340,7 +2340,7 @@
"semantic_hash": ""
},
"docs/api/admin.md": {
"mtime": 1783757329.0746298,
"mtime": 1783788126.8033333,
"ast_hash": "1fe7f1b55de999bb218ab72f44360021",
"semantic_hash": ""
},
@@ -2395,8 +2395,8 @@
"semantic_hash": ""
},
"docs/api/doctor.md": {
"mtime": 1783769157.105152,
"ast_hash": "572576e30db5b049cb62ba8d54bdf8a5",
"mtime": 1783837299.5845804,
"ast_hash": "e005659040d9c17548dd409ac5582a55",
"semantic_hash": ""
},
"docs/api/insurance.md": {
@@ -2970,8 +2970,8 @@
"semantic_hash": ""
},
"public/favicon.png": {
"mtime": 1781169063.731778,
"ast_hash": "87dbf205c76c12d306031d2249a2cbd8",
"mtime": 1783067149.6695104,
"ast_hash": "b40afe9488167fab007741810396705e",
"semantic_hash": ""
},
"public/icons/icon-192.png": {
@@ -3430,8 +3430,8 @@
"semantic_hash": ""
},
"data/seed/cities.json": {
"mtime": 1783500944.1575975,
"ast_hash": "e55b9115a16a75a1b76f1cd57ea3f3c6",
"mtime": 1783788126.5797431,
"ast_hash": "712cdcd70a3de11d2b443c329501e6cf",
"semantic_hash": ""
},
"data/seed/doctor_services.json": {
@@ -3694,11 +3694,6 @@
"ast_hash": "e47a20da3454186f7be441441f231bf3",
"semantic_hash": ""
},
"public/favicon-32.png": {
"mtime": 1783067149.6695104,
"ast_hash": "b40afe9488167fab007741810396705e",
"semantic_hash": ""
},
"public/logo.svg": {
"mtime": 1783066913.0879276,
"ast_hash": "074cb84109dd212089ba2b5397e9b3ed",
@@ -3850,7 +3845,7 @@
"semantic_hash": ""
},
"src/Auth/Command/SystemOwnerCommand.php": {
"mtime": 1783757329.0755038,
"mtime": 1783788126.860887,
"ast_hash": "e26afd83ac2085644152496ebc79fbd3",
"semantic_hash": ""
},
@@ -3875,92 +3870,92 @@
"semantic_hash": ""
},
"docs/api/doctor-import.md": {
"mtime": 1783766160.064325,
"ast_hash": "28bb80aa78e7650d0b3e7be75bfc12d0",
"mtime": 1783788126.8039813,
"ast_hash": "192ff31aebfaf64240278293e30b2586",
"semantic_hash": ""
},
"assets/admin/pages/DoctorClaimsPage.tsx": {
"mtime": 1783757859.3423393,
"mtime": 1783788126.7969797,
"ast_hash": "bf42d9bcc670c4632bb7078fba919b41",
"semantic_hash": ""
},
"migrations/Version20260711150000.php": {
"mtime": 1783757329.0904677,
"mtime": 1783788126.856291,
"ast_hash": "a4735e00ad698d7b1908c1565f56101b",
"semantic_hash": ""
},
"migrations/Version20260711151000.php": {
"mtime": 1783757329.0905693,
"mtime": 1783788126.8574378,
"ast_hash": "4f19e830c75d8958e6ccac6fa0212d57",
"semantic_hash": ""
},
"src/Doctor/Command/BackfillSurrogateRoleCommand.php": {
"mtime": 1783757329.0907202,
"mtime": 1783788126.8628495,
"ast_hash": "795960477fc1d7bc59527e74777066d8",
"semantic_hash": ""
},
"src/Doctor/Controller/DoctorClaimController.php": {
"mtime": 1783768981.0086484,
"mtime": 1783788126.8670342,
"ast_hash": "997576824b9039e977fd58efb417cf70",
"semantic_hash": ""
},
"src/Doctor/Controller/DoctorImportController.php": {
"mtime": 1783757329.0911074,
"mtime": 1783788126.8695548,
"ast_hash": "78db47cbe57f35d5c5baf17bcc3e3cca",
"semantic_hash": ""
},
"src/Doctor/Entity/DoctorClaimRequest.php": {
"mtime": 1783757329.0913296,
"mtime": 1783788126.8709245,
"ast_hash": "26c3d96b19594bb127aebb1e74df876e",
"semantic_hash": ""
},
"src/Doctor/Repository/DoctorClaimRequestRepository.php": {
"mtime": 1783757329.0914319,
"mtime": 1783788126.8710644,
"ast_hash": "9321165d5ce64d77ea1c20da6f08dc2e",
"semantic_hash": ""
},
"src/Doctor/Service/DoctorClaimService.php": {
"mtime": 1783757329.0916033,
"mtime": 1783788126.8712468,
"ast_hash": "577da8fd4de111aa71e0bdc1c98952ec",
"semantic_hash": ""
},
"src/Doctor/Service/DoctorImportResult.php": {
"mtime": 1783757329.0917,
"mtime": 1783788126.871383,
"ast_hash": "4300a0647f76835d6913a031faa0e9f2",
"semantic_hash": ""
},
"src/Doctor/Service/DoctorImportService.php": {
"mtime": 1783766986.8738186,
"ast_hash": "a675ebe7e1acac7da14cc8de3364757e",
"mtime": 1783788126.872058,
"ast_hash": "3c935b1f2951961b1b25e40a4aff3c2a",
"semantic_hash": ""
},
"src/Shared/Util/PersianText.php": {
"mtime": 1783765891.9874525,
"mtime": 1783788126.8732378,
"ast_hash": "477051e58ba2a5a5e9cbf25f3a6992d6",
"semantic_hash": ""
},
"tests/Doctor/DoctorClaimTest.php": {
"mtime": 1783769087.937134,
"mtime": 1783788126.874468,
"ast_hash": "50ea89c2d246faf98dc843152d51a0c5",
"semantic_hash": ""
},
"tests/Doctor/DoctorImportTest.php": {
"mtime": 1783766996.494613,
"ast_hash": "997b8d698c8eb4bbf69652bdcead514d",
"mtime": 1783788126.8757632,
"ast_hash": "4036118673c9a9fd60ce2f5ccd78d99e",
"semantic_hash": ""
},
"tests/Shared/PersianTextTest.php": {
"mtime": 1783765905.1030002,
"mtime": 1783788126.8758962,
"ast_hash": "c852d71e5f7ab87a0dc9250f9e848bd6",
"semantic_hash": ""
},
".claude/prompt/irimc-import-complete.md": {
"mtime": 1783757329.0736878,
"mtime": 1783788126.7949958,
"ast_hash": "2d5029751c9bd813a0410e46aebe5eba",
"semantic_hash": ""
},
"docs/api/doctor-claim.md": {
"mtime": 1783769130.2951994,
"mtime": 1783788126.803615,
"ast_hash": "2f4e095e4e0cac673062cc48b0577d5d",
"semantic_hash": ""
},
@@ -3980,23 +3975,28 @@
"semantic_hash": ""
},
"src/Doctor/Command/FixIrimcNamesCommand.php": {
"mtime": 1783766017.2526865,
"mtime": 1783788126.863795,
"ast_hash": "fb0cad757bf1405c6919159a374e9154",
"semantic_hash": ""
},
"src/Doctor/Command/PurgeDoctorsCommand.php": {
"mtime": 1783766065.697639,
"mtime": 1783788126.8650098,
"ast_hash": "8ba5c9742c92bbf2a0d01d97ee903dd3",
"semantic_hash": ""
},
".claude/prompt/fix-doctor-name-and-purge.md": {
"mtime": 1783765695.1482882,
"mtime": 1783788126.7941496,
"ast_hash": "b03ab1640dc46aa51114fbc3eba51870",
"semantic_hash": ""
},
".claude/prompt/doctor-map-claim-captcha-delete.md": {
"mtime": 1783768547.5967684,
"mtime": 1783788126.793653,
"ast_hash": "d4531629fe5bf2befc994f1a3f2a34ff",
"semantic_hash": ""
},
".claude/prompt/unclaimed-doctor-null-rating.md": {
"mtime": 1783837029.9093144,
"ast_hash": "28d51dff4de504fcbee2d44877dc2498",
"semantic_hash": ""
}
}