Merge branch '1.7.x' into feat-sites

This commit is contained in:
Matej Bačo
2025-03-13 11:41:28 +01:00
137 changed files with 1326 additions and 2802 deletions
+4
View File
@@ -99,6 +99,10 @@ CLI::setResource('dbForPlatform', function ($pools, $cache) {
return $dbForPlatform;
}, ['pools', 'cache']);
CLI::setResource('console', function () {
return new Document(Config::getParam('console'));
}, []);
CLI::setResource('getProjectDB', function (Group $pools, Database $dbForPlatform, $cache) {
$databases = []; // TODO: @Meldiron This should probably be responsibility of utopia-php/pools