]> BookStack Code Mirror - bookstack/commit
Queries: Extracted chapter repo queries to class
authorDan Brown <redacted>
Mon, 5 Feb 2024 15:59:20 +0000 (15:59 +0000)
committerDan Brown <redacted>
Mon, 5 Feb 2024 15:59:20 +0000 (15:59 +0000)
commit8e78b4c43eb980f47d9c207a0ce3330699d54103
tree782c461693e89b33d6ab6798241d09b4f05443ec
parent3886aedf54873a1bf90cfdaa9cafc6f22c1d03fd
Queries: Extracted chapter repo queries to class

Updated query classes to align to interface for common aligned
operations.
Extracted repeated string-identifier-based finding from page/chapter
repos to shared higher-level entity queries.
12 files changed:
app/Entities/Controllers/ChapterController.php
app/Entities/Controllers/ChapterExportController.php
app/Entities/Controllers/PageController.php
app/Entities/Models/Chapter.php
app/Entities/Queries/BookQueries.php
app/Entities/Queries/BookshelfQueries.php
app/Entities/Queries/ChapterQueries.php [new file with mode: 0644]
app/Entities/Queries/EntityQueries.php
app/Entities/Queries/PageQueries.php
app/Entities/Queries/ProvidesEntityQueries.php [new file with mode: 0644]
app/Entities/Repos/ChapterRepo.php
app/Entities/Repos/PageRepo.php