Refactor code structure for improved readability and maintainability

This commit is contained in:
hamed
2026-07-11 13:26:22 +03:30
parent 958105694a
commit 0b49b03a1e
33 changed files with 6439 additions and 1476 deletions
+130 -35
View File
@@ -1,7 +1,7 @@
{
"assets/admin/App.tsx": {
"mtime": 1782750328.975341,
"ast_hash": "496200a3a353f2057d3a37621f80aa07",
"mtime": 1783757885.6255667,
"ast_hash": "69fd74865eefe0cb7c1bfc78a71a0a1e",
"semantic_hash": ""
},
"assets/admin/components/FreeVisitPrice.tsx": {
@@ -30,8 +30,8 @@
"semantic_hash": ""
},
"assets/admin/components/layout/Sidebar.tsx": {
"mtime": 1783067421.0219867,
"ast_hash": "61ff8f2939c5c0d3d1aa9c23b75bcdb6",
"mtime": 1783757885.626085,
"ast_hash": "2f0f7e9608d40b9cda0a0b9412782cca",
"semantic_hash": ""
},
"assets/admin/components/layout/Topbar.tsx": {
@@ -245,8 +245,8 @@
"semantic_hash": ""
},
"assets/admin/pages/DoctorsPage.tsx": {
"mtime": 1783014538.7828207,
"ast_hash": "6cf2c963ef00401631e8d519b5f9b0ed",
"mtime": 1783757825.0106773,
"ast_hash": "d2092c284b360169efff2f5405469893",
"semantic_hash": ""
},
"assets/admin/pages/FinancialReportPage.tsx": {
@@ -810,8 +810,8 @@
"semantic_hash": ""
},
"src/Admin/Controller/AdminApiController.php": {
"mtime": 1783747617.3699927,
"ast_hash": "920703ac00621ed56bd030a02c077016",
"mtime": 1783757803.148958,
"ast_hash": "73acc68912b526d1c608c10b92fac3f0",
"semantic_hash": ""
},
"src/Admin/Controller/AdminController.php": {
@@ -930,8 +930,8 @@
"semantic_hash": ""
},
"src/Auth/Entity/User.php": {
"mtime": 1782728407.1921442,
"ast_hash": "c21a256d856199dfa5d76b7c4193306d",
"mtime": 1783757329.0757134,
"ast_hash": "85cd7c4923a991aab2f1003d8996fc32",
"semantic_hash": ""
},
"src/Auth/Entity/UserActiveContext.php": {
@@ -955,8 +955,8 @@
"semantic_hash": ""
},
"src/Auth/Security/PasswordAuthenticator.php": {
"mtime": 1783668692.4381845,
"ast_hash": "e4107ad152265492e7427334d4534b10",
"mtime": 1783757329.0759397,
"ast_hash": "1c385c3916608095ea2512ac434aca19",
"semantic_hash": ""
},
"src/Auth/Service/OtpService.php": {
@@ -1185,8 +1185,8 @@
"semantic_hash": ""
},
"src/Doctor/Entity/Doctor.php": {
"mtime": 1783747550.8134816,
"ast_hash": "ee77b315870c0299bc02b08b3e3a8726",
"mtime": 1783757329.076088,
"ast_hash": "e2334ea52505d1b8cc2b69b838fe17ca",
"semantic_hash": ""
},
"src/Doctor/Entity/DoctorAddress.php": {
@@ -1580,8 +1580,8 @@
"semantic_hash": ""
},
"src/Shared/Service/ApiIrService.php": {
"mtime": 1782750061.8790064,
"ast_hash": "5fb80e5fce2191b2ece9385cf295b983",
"mtime": 1783757329.076324,
"ast_hash": "7ee2ccaad6b77b3845258440accf99ee",
"semantic_hash": ""
},
"src/Shared/Service/FileValidatorService.php": {
@@ -2250,8 +2250,8 @@
"semantic_hash": ""
},
"config/packages/rate_limiter.yaml": {
"mtime": 1781946641.5599158,
"ast_hash": "9069ae4509af48c36a3905a2070465f9",
"mtime": 1783757329.0740077,
"ast_hash": "625dc1a0d852d36afd05b4ac60abd6d9",
"semantic_hash": ""
},
"config/packages/routing.yaml": {
@@ -2260,8 +2260,8 @@
"semantic_hash": ""
},
"config/packages/security.yaml": {
"mtime": 1783669243.3956637,
"ast_hash": "aa39bbbcb9476e4663f7f7e8e513528c",
"mtime": 1783757329.074222,
"ast_hash": "d6adafd1b3cf1b7ec18d3c729b70dcb8",
"semantic_hash": ""
},
"config/packages/twig.yaml": {
@@ -2300,8 +2300,8 @@
"semantic_hash": ""
},
"config/services.yaml": {
"mtime": 1783748202.290563,
"ast_hash": "cb30b75b2aa9eb8bd44ee757491d35d9",
"mtime": 1783757329.0744464,
"ast_hash": "feb62c479381915746246b38817892e3",
"semantic_hash": ""
},
"docs/Architecture_Audit.md": {
@@ -2340,8 +2340,8 @@
"semantic_hash": ""
},
"docs/api/admin.md": {
"mtime": 1783671102.5622253,
"ast_hash": "878c59042b8a5873afa8346b07830a35",
"mtime": 1783757329.0746298,
"ast_hash": "1fe7f1b55de999bb218ab72f44360021",
"semantic_hash": ""
},
"docs/api/appointment-settings.md": {
@@ -2395,8 +2395,8 @@
"semantic_hash": ""
},
"docs/api/doctor.md": {
"mtime": 1783747505.4473846,
"ast_hash": "59b4a19e6e646fcde2b31cf8cd6ccc46",
"mtime": 1783757329.0750217,
"ast_hash": "cb33dfc5636d36fdb6c98402cb789340",
"semantic_hash": ""
},
"docs/api/insurance.md": {
@@ -3850,8 +3850,8 @@
"semantic_hash": ""
},
"src/Auth/Command/SystemOwnerCommand.php": {
"mtime": 1783747644.3113935,
"ast_hash": "ba2cafb8bf075489371912af24b34757",
"mtime": 1783757329.0755038,
"ast_hash": "e26afd83ac2085644152496ebc79fbd3",
"semantic_hash": ""
},
".claude/prompt/fix-server-error-logs-20260711.md": {
@@ -3859,11 +3859,6 @@
"ast_hash": "07ba38da8be11ea753c616a29a133070",
"semantic_hash": ""
},
"docs/scenarios/irimc-doctor-import-ownership.html": {
"mtime": 1783692949.7169843,
"ast_hash": "65046faf3fcf2859db97a594fd66aeb1",
"semantic_hash": ""
},
"docs/scenarios/irimc-doctor-import-ownership.md": {
"mtime": 1783692850.4494128,
"ast_hash": "94803933a144c487e107395efcf6d764",
@@ -3880,8 +3875,108 @@
"semantic_hash": ""
},
"docs/api/doctor-import.md": {
"mtime": 1783747979.9276593,
"ast_hash": "0a30a6d1d4fd4f2584d6315ccf94ef35",
"mtime": 1783757329.074825,
"ast_hash": "cadef9a87e1f9249ffe4a78a3b394a45",
"semantic_hash": ""
},
"assets/admin/pages/DoctorClaimsPage.tsx": {
"mtime": 1783757859.3423393,
"ast_hash": "bf42d9bcc670c4632bb7078fba919b41",
"semantic_hash": ""
},
"migrations/Version20260711150000.php": {
"mtime": 1783757329.0904677,
"ast_hash": "a4735e00ad698d7b1908c1565f56101b",
"semantic_hash": ""
},
"migrations/Version20260711151000.php": {
"mtime": 1783757329.0905693,
"ast_hash": "4f19e830c75d8958e6ccac6fa0212d57",
"semantic_hash": ""
},
"src/Doctor/Command/BackfillSurrogateRoleCommand.php": {
"mtime": 1783757329.0907202,
"ast_hash": "795960477fc1d7bc59527e74777066d8",
"semantic_hash": ""
},
"src/Doctor/Controller/DoctorClaimController.php": {
"mtime": 1783757329.0908747,
"ast_hash": "ed52d6bb87506e44be9f86adffee5645",
"semantic_hash": ""
},
"src/Doctor/Controller/DoctorImportController.php": {
"mtime": 1783757329.0911074,
"ast_hash": "78db47cbe57f35d5c5baf17bcc3e3cca",
"semantic_hash": ""
},
"src/Doctor/Entity/DoctorClaimRequest.php": {
"mtime": 1783757329.0913296,
"ast_hash": "26c3d96b19594bb127aebb1e74df876e",
"semantic_hash": ""
},
"src/Doctor/Repository/DoctorClaimRequestRepository.php": {
"mtime": 1783757329.0914319,
"ast_hash": "9321165d5ce64d77ea1c20da6f08dc2e",
"semantic_hash": ""
},
"src/Doctor/Service/DoctorClaimService.php": {
"mtime": 1783757329.0916033,
"ast_hash": "577da8fd4de111aa71e0bdc1c98952ec",
"semantic_hash": ""
},
"src/Doctor/Service/DoctorImportResult.php": {
"mtime": 1783757329.0917,
"ast_hash": "4300a0647f76835d6913a031faa0e9f2",
"semantic_hash": ""
},
"src/Doctor/Service/DoctorImportService.php": {
"mtime": 1783757329.091918,
"ast_hash": "1e3ad74119be06e751c97438152c10bf",
"semantic_hash": ""
},
"src/Shared/Util/PersianText.php": {
"mtime": 1783757329.0920727,
"ast_hash": "5f7b411848c6a2969e6e299ed2a770a4",
"semantic_hash": ""
},
"tests/Doctor/DoctorClaimTest.php": {
"mtime": 1783757329.09223,
"ast_hash": "5973aa00e5a19406cd79f93be5455b76",
"semantic_hash": ""
},
"tests/Doctor/DoctorImportTest.php": {
"mtime": 1783757329.0924423,
"ast_hash": "77366f70913004b4b94367c2f47ef00e",
"semantic_hash": ""
},
"tests/Shared/PersianTextTest.php": {
"mtime": 1783757329.092578,
"ast_hash": "7edac40aa2ee51f7fa7d5fbefc9a49f9",
"semantic_hash": ""
},
".claude/prompt/irimc-import-complete.md": {
"mtime": 1783757329.0736878,
"ast_hash": "2d5029751c9bd813a0410e46aebe5eba",
"semantic_hash": ""
},
"docs/api/doctor-claim.md": {
"mtime": 1783757329.090325,
"ast_hash": "1cc55e0c447ec1d4176adc0700b8da54",
"semantic_hash": ""
},
"docs/scenarios/climed.md": {
"mtime": 1783753889.7651906,
"ast_hash": "36deff8609362d99217e415d322df1ac",
"semantic_hash": ""
},
"docs/scenarios/crawler.md": {
"mtime": 1783754133.317661,
"ast_hash": "86c9447fe38ac680873de5cae4f1db50",
"semantic_hash": ""
},
"docs/scenarios/\u0627\u06cc\u0645\u067e\u0648\u0631\u062a-\u067e\u0632\u0634\u06a9\u0627\u0646-\u0646\u0638\u0627\u0645-\u067e\u0632\u0634\u06a9\u06cc.md": {
"mtime": 1783751951.8968952,
"ast_hash": "692f883978aaad1f269b5357ba10a5f6",
"semantic_hash": ""
}
}