lots of updates + refactoring

This commit is contained in:
Andras Bacsai
2023-08-07 22:14:21 +02:00
parent bfc20ef219
commit 971d7f703d
51 changed files with 532 additions and 324 deletions

View File

@@ -43,7 +43,9 @@ class Application extends BaseModel
'publish_directory',
'private_key_id'
];
public function type() {
return 'application';
}
public function publishDirectory(): Attribute
{
return Attribute::make(
@@ -206,4 +208,4 @@ class Application extends BaseModel
}
throw new \Exception('No deployment type found');
}
}
}