feat: add holiday management endpoints and jalaali-js dependency

- Added a new endpoint to list holidays for a specific doctor.
- Added a new endpoint to delete a holiday, with access control for doctors and admins.
- Implemented a repository method to retrieve all holidays for a doctor.
- Added jalaali-js library to handle date conversions.
This commit is contained in:
hamed
2026-06-10 17:41:04 +03:30
parent a5876b9324
commit d489702751
6 changed files with 775 additions and 20 deletions
+7
View File
@@ -11,6 +11,7 @@
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-table": "^8.0.0",
"@types/leaflet": "^1.9.21",
"jalaali-js": "^1.2.8",
"leaflet": "^1.9.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
@@ -5708,6 +5709,12 @@
"node": ">=0.10.0"
}
},
"node_modules/jalaali-js": {
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/jalaali-js/-/jalaali-js-1.2.8.tgz",
"integrity": "sha512-Jl/EwY84JwjW2wsWqeU4pNd22VNQ7EkjI36bDuLw31wH98WQW4fPjD0+mG7cdCK+Y8D6s9R3zLiQ3LaKu6bD8A==",
"license": "MIT"
},
"node_modules/jest-regex-util": {
"version": "30.4.0",
"resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.4.0.tgz",