Skip to content

Commit

Permalink
Merge branch 'next' into Feat--Customize-Install-Directory
Browse files Browse the repository at this point in the history
  • Loading branch information
LEstradioto authored Jul 1, 2024
2 parents 5e1d603 + da6f2da commit ea2b6fb
Show file tree
Hide file tree
Showing 39 changed files with 2,637 additions and 998 deletions.
11 changes: 11 additions & 0 deletions app/Enums/BuildPackTypes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace App\Enums;

enum BuildPackTypes: string
{
case NIXPACKS = 'nixpacks';
case STATIC = 'static';
case DOCKERFILE = 'dockerfile';
case DOCKER_COMPOSE = 'docker-compose';
}
15 changes: 15 additions & 0 deletions app/Enums/NewDatabaseTypes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace App\Enums;

enum NewDatabaseTypes: string
{
case POSTGRESQL = 'postgresql';
case MYSQL = 'mysql';
case MONGODB = 'mongodb';
case REDIS = 'redis';
case MARIADB = 'mariadb';
case KEYDB = 'keydb';
case DRAGONFLY = 'dragonfly';
case CLICKHOUSE = 'clickhouse';
}
22 changes: 22 additions & 0 deletions app/Enums/NewResourceTypes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace App\Enums;

enum NewResourceTypes: string
{
case PUBLIC = 'public';
case PRIVATE_GH_APP = 'private-gh-app';
case PRIVATE_DEPLOY_KEY = 'private-deploy-key';
case DOCKERFILE = 'dockerfile';
case DOCKER_COMPOSE_EMPTY = 'docker-compose-empty';
case DOCKER_IMAGE = 'docker-image';
case SERVICE = 'service';
case POSTGRESQL = 'postgresql';
case MYSQL = 'mysql';
case MONGODB = 'mongodb';
case REDIS = 'redis';
case MARIADB = 'mariadb';
case KEYDB = 'keydb';
case DRAGONFLY = 'dragonfly';
case CLICKHOUSE = 'clickhouse';
}
2 changes: 1 addition & 1 deletion app/Events/DatabaseStatusChanged.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct($userId = null)
$userId = auth()->user()->id ?? null;
}
if (is_null($userId)) {
throw new \Exception('User id is null');
throw new \RuntimeException('User id is null');
}
$this->userId = $userId;
}
Expand Down
Loading

0 comments on commit ea2b6fb

Please sign in to comment.