add basic crud frontend for clients, tags and projects

This commit is contained in:
Gregor Vostrak
2024-04-03 16:07:23 +02:00
parent 824e3d99ae
commit 0081aa7a6e
77 changed files with 2670 additions and 330 deletions

View File

@@ -29,6 +29,8 @@ class ClientController extends Controller
* @return ClientCollection<ClientResource>
*
* @throws AuthorizationException
*
* @operationId getClients
*/
public function index(Organization $organization): ClientCollection
{
@@ -46,6 +48,8 @@ class ClientController extends Controller
* Create client
*
* @throws AuthorizationException
*
* @operationId createClient
*/
public function store(Organization $organization, TagStoreRequest $request): ClientResource
{
@@ -63,6 +67,8 @@ class ClientController extends Controller
* Update client
*
* @throws AuthorizationException
*
* @operationId updateClient
*/
public function update(Organization $organization, Client $client, TagUpdateRequest $request): ClientResource
{
@@ -78,6 +84,8 @@ class ClientController extends Controller
* Delete client
*
* @throws AuthorizationException
*
* @operationId deleteClient
*/
public function destroy(Organization $organization, Client $client): JsonResponse
{

View File

@@ -23,6 +23,8 @@ class MemberController extends Controller
* @return MemberCollection<MemberResource>>
*
* @throws AuthorizationException
*
* @operationId getMembers
*/
public function index(Organization $organization, MemberIndexRequest $request): MemberCollection
{
@@ -38,6 +40,8 @@ class MemberController extends Controller
* Invite a placeholder user to become a member of the organization
*
* @throws AuthorizationException|UserNotPlaceholderApiException
*
* @operationId invitePlaceholder
*/
public function invitePlaceholder(Organization $organization, User $user, Request $request): JsonResponse
{