From 71bd39cb1e8b2ddbea151d0e829f537266e5f351 Mon Sep 17 00:00:00 2001 From: aB0t Date: Tue, 10 Oct 2023 11:39:23 +0200 Subject: [PATCH] update 2023-10-10 10:16:07 --- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../code.php | 3 +-- .../code.power | 2 +- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 2 +- .../code.php | 8 ++++++-- .../code.power | 8 ++++++-- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 2 +- .../code.php | 17 ++++++++++++----- .../code.power | 17 ++++++++++++----- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 2 +- .../code.php | 6 +++--- .../code.power | 6 +++--- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../code.php | 3 +-- .../code.power | 2 +- .../code.php | 3 +-- .../code.power | 2 +- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 3 ++- .../code.php | 14 ++++++++------ .../code.power | 13 ++++++++----- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 3 ++- .../README.md | 1 + .../README.md | 1 + .../code.php | 16 +++++++++++++--- .../code.power | 16 +++++++++++++--- .../settings.json | 6 +++--- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../code.php | 3 +-- .../code.power | 2 +- .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + .../README.md | 1 + 120 files changed, 198 insertions(+), 57 deletions(-) diff --git a/src/0039c453-cf6d-468b-9232-fc3fc13ca0c2/README.md b/src/0039c453-cf6d-468b-9232-fc3fc13ca0c2/README.md index e74c459..c70325c 100644 --- a/src/0039c453-cf6d-468b-9232-fc3fc13ca0c2/README.md +++ b/src/0039c453-cf6d-468b-9232-fc3fc13ca0c2/README.md @@ -8,6 +8,7 @@ ``` # class Organization (Details) > namespace: **VDM\Joomla\Gitea\Admin\Users** +> extends: **Api** ```uml @startuml class Organization #Gold { diff --git a/src/0367ac44-18d6-495d-beae-315794ffa89d/README.md b/src/0367ac44-18d6-495d-beae-315794ffa89d/README.md index 07a1336..254453a 100644 --- a/src/0367ac44-18d6-495d-beae-315794ffa89d/README.md +++ b/src/0367ac44-18d6-495d-beae-315794ffa89d/README.md @@ -8,6 +8,7 @@ ``` # class Ui (Details) > namespace: **VDM\Joomla\Gitea\Settings** +> extends: **Api** ```uml @startuml class Ui #Gold { diff --git a/src/04adb831-c257-4657-a2c3-a17096b6b5cf/README.md b/src/04adb831-c257-4657-a2c3-a17096b6b5cf/README.md index a7ae449..7020eed 100644 --- a/src/04adb831-c257-4657-a2c3-a17096b6b5cf/README.md +++ b/src/04adb831-c257-4657-a2c3-a17096b6b5cf/README.md @@ -8,6 +8,7 @@ ``` # class Transfer (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Transfer #Gold { diff --git a/src/07fce5f7-eb13-4dda-8870-77c9ad32a7bf/README.md b/src/07fce5f7-eb13-4dda-8870-77c9ad32a7bf/README.md index b46b297..227b4f3 100644 --- a/src/07fce5f7-eb13-4dda-8870-77c9ad32a7bf/README.md +++ b/src/07fce5f7-eb13-4dda-8870-77c9ad32a7bf/README.md @@ -8,6 +8,7 @@ ``` # class Repository (Details) > namespace: **VDM\Joomla\Gitea\Organization\Teams** +> extends: **Api** ```uml @startuml class Repository #Gold { diff --git a/src/0bb2b72f-ebcd-46fe-844b-ac5fe715c230/code.php b/src/0bb2b72f-ebcd-46fe-844b-ac5fe715c230/code.php index edfab0d..dea2c31 100644 --- a/src/0bb2b72f-ebcd-46fe-844b-ac5fe715c230/code.php +++ b/src/0bb2b72f-ebcd-46fe-844b-ac5fe715c230/code.php @@ -830,7 +830,6 @@ class Repository implements ServiceProviderInterface $container->get('Gitea.Dynamic.Uri'), $container->get('Gitea.Utilities.Response') ); - } - + } } diff --git a/src/0bb2b72f-ebcd-46fe-844b-ac5fe715c230/code.power b/src/0bb2b72f-ebcd-46fe-844b-ac5fe715c230/code.power index af774ba..4fb2acc 100644 --- a/src/0bb2b72f-ebcd-46fe-844b-ac5fe715c230/code.power +++ b/src/0bb2b72f-ebcd-46fe-844b-ac5fe715c230/code.power @@ -767,4 +767,4 @@ $container->get('Gitea.Dynamic.Uri'), $container->get('Gitea.Utilities.Response') ); - } + } \ No newline at end of file diff --git a/src/0edb3d51-0a65-443b-883d-3d20325212bb/README.md b/src/0edb3d51-0a65-443b-883d-3d20325212bb/README.md index 51cdd9c..3072f35 100644 --- a/src/0edb3d51-0a65-443b-883d-3d20325212bb/README.md +++ b/src/0edb3d51-0a65-443b-883d-3d20325212bb/README.md @@ -8,6 +8,7 @@ ``` # class Protection (Details) > namespace: **VDM\Joomla\Gitea\Repository\Branch** +> extends: **Api** ```uml @startuml class Protection #Gold { diff --git a/src/0f99429a-b517-40ac-a3c1-34c3ef2f36ee/README.md b/src/0f99429a-b517-40ac-a3c1-34c3ef2f36ee/README.md index cab5267..c611ecc 100644 --- a/src/0f99429a-b517-40ac-a3c1-34c3ef2f36ee/README.md +++ b/src/0f99429a-b517-40ac-a3c1-34c3ef2f36ee/README.md @@ -8,6 +8,7 @@ ``` # class Merge (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Merge #Gold { diff --git a/src/13931443-bad7-4742-b64e-c08042e7b306/README.md b/src/13931443-bad7-4742-b64e-c08042e7b306/README.md index 22416f8..23dba90 100644 --- a/src/13931443-bad7-4742-b64e-c08042e7b306/README.md +++ b/src/13931443-bad7-4742-b64e-c08042e7b306/README.md @@ -8,6 +8,7 @@ ``` # class Followers (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Followers #Gold { diff --git a/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/README.md b/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/README.md index 768ebb0..a9ab241 100644 --- a/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/README.md +++ b/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/README.md @@ -10,7 +10,7 @@ > namespace: **VDM\Joomla\Gitea\Utilities** ```uml @startuml -class Response << (F,LightGreen) >> #Green { +class Response << (F,LightGreen) >> #RoyalBlue { + get(JoomlaResponse $response, int $expectedCode = 200, ...) : mixed + get_(JoomlaResponse $response, array $validate = [200 => null]) : mixed # body(JoomlaResponse $response, mixed $default = null) : mixed diff --git a/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/code.php b/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/code.php index 5e6d764..4b3574e 100644 --- a/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/code.php +++ b/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/code.php @@ -44,7 +44,7 @@ final class Response // Decode the error response and throw an exception. $message = $this->error($response); - throw new \DomainException("Invalid response received from API.$message", $response->code); + throw new \DomainException("Invalid response received from API. $message", $response->code); } @@ -70,7 +70,7 @@ final class Response // Decode the error response and throw an exception. $message = $this->error($response); - throw new \DomainException("Invalid response received from API.$message", $response->code); + throw new \DomainException("Invalid response received from API. $message", $response->code); } @@ -134,6 +134,10 @@ final class Response { return $error->error; } + elseif (isset($error->message)) + { + return $error->message; + } return ''; } diff --git a/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/code.power b/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/code.power index ff914b9..eb1d40d 100644 --- a/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/code.power +++ b/src/19eb68d7-1e19-4d14-a0ef-70d719c45e80/code.power @@ -18,7 +18,7 @@ // Decode the error response and throw an exception. $message = $this->error($response); - throw new \DomainException("Invalid response received from API.$message", $response->code); + throw new \DomainException("Invalid response received from API. $message", $response->code); } @@ -44,7 +44,7 @@ // Decode the error response and throw an exception. $message = $this->error($response); - throw new \DomainException("Invalid response received from API.$message", $response->code); + throw new \DomainException("Invalid response received from API. $message", $response->code); } @@ -108,6 +108,10 @@ { return $error->error; } + elseif (isset($error->message)) + { + return $error->message; + } return ''; } diff --git a/src/1dda1c2c-1670-4aea-a6b8-49f0bd03b41e/README.md b/src/1dda1c2c-1670-4aea-a6b8-49f0bd03b41e/README.md index 6874124..8e2b5f6 100644 --- a/src/1dda1c2c-1670-4aea-a6b8-49f0bd03b41e/README.md +++ b/src/1dda1c2c-1670-4aea-a6b8-49f0bd03b41e/README.md @@ -8,6 +8,7 @@ ``` # class Patch (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Patch #Gold { diff --git a/src/22d65693-917d-47c7-ba5c-8e1f354dc713/README.md b/src/22d65693-917d-47c7-ba5c-8e1f354dc713/README.md index a406a00..9fbc0f3 100644 --- a/src/22d65693-917d-47c7-ba5c-8e1f354dc713/README.md +++ b/src/22d65693-917d-47c7-ba5c-8e1f354dc713/README.md @@ -8,6 +8,7 @@ ``` # class Comments (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Comments #Gold { diff --git a/src/2a6f99df-a327-4477-8079-f57133e6ff36/README.md b/src/2a6f99df-a327-4477-8079-f57133e6ff36/README.md index d00e3a8..5cc0ab0 100644 --- a/src/2a6f99df-a327-4477-8079-f57133e6ff36/README.md +++ b/src/2a6f99df-a327-4477-8079-f57133e6ff36/README.md @@ -8,6 +8,7 @@ ``` # class PublicMembers (Details) > namespace: **VDM\Joomla\Gitea\Organization** +> extends: **Api** ```uml @startuml class PublicMembers #Gold { diff --git a/src/2cc6543d-b8c7-4bb9-8845-bfae2fb7a71f/README.md b/src/2cc6543d-b8c7-4bb9-8845-bfae2fb7a71f/README.md index 8183ea9..b529aec 100644 --- a/src/2cc6543d-b8c7-4bb9-8845-bfae2fb7a71f/README.md +++ b/src/2cc6543d-b8c7-4bb9-8845-bfae2fb7a71f/README.md @@ -8,6 +8,7 @@ ``` # class NodeInfo (Details) > namespace: **VDM\Joomla\Gitea\Miscellaneous** +> extends: **Api** ```uml @startuml class NodeInfo #Gold { diff --git a/src/2ccb303f-b115-45fb-b3ea-08a38259681e/README.md b/src/2ccb303f-b115-45fb-b3ea-08a38259681e/README.md index 71b12f0..750b8a2 100644 --- a/src/2ccb303f-b115-45fb-b3ea-08a38259681e/README.md +++ b/src/2ccb303f-b115-45fb-b3ea-08a38259681e/README.md @@ -8,6 +8,7 @@ ``` # class Times (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Times #Gold { diff --git a/src/2d29b342-cb4a-45f9-9cf1-a7347fbc0701/README.md b/src/2d29b342-cb4a-45f9-9cf1-a7347fbc0701/README.md index 1b85f0d..279f9a3 100644 --- a/src/2d29b342-cb4a-45f9-9cf1-a7347fbc0701/README.md +++ b/src/2d29b342-cb4a-45f9-9cf1-a7347fbc0701/README.md @@ -8,6 +8,7 @@ ``` # class Keys (Details) > namespace: **VDM\Joomla\Gitea\Admin\Users** +> extends: **Api** ```uml @startuml class Keys #Gold { diff --git a/src/3a4ce297-4536-45be-b3cc-d93474e55528/README.md b/src/3a4ce297-4536-45be-b3cc-d93474e55528/README.md index 876b670..9c90be3 100644 --- a/src/3a4ce297-4536-45be-b3cc-d93474e55528/README.md +++ b/src/3a4ce297-4536-45be-b3cc-d93474e55528/README.md @@ -8,6 +8,7 @@ ``` # class Repository (Details) > namespace: **VDM\Joomla\Gitea\Notifications** +> extends: **Api** ```uml @startuml class Repository #Gold { diff --git a/src/3aba9610-cb22-48e0-b2d7-2a9e708c82e2/README.md b/src/3aba9610-cb22-48e0-b2d7-2a9e708c82e2/README.md index 103a8ea..3035aea 100644 --- a/src/3aba9610-cb22-48e0-b2d7-2a9e708c82e2/README.md +++ b/src/3aba9610-cb22-48e0-b2d7-2a9e708c82e2/README.md @@ -8,6 +8,7 @@ ``` # class Unadopted (Details) > namespace: **VDM\Joomla\Gitea\Admin** +> extends: **Api** ```uml @startuml class Unadopted #Gold { diff --git a/src/3d4ed24c-8250-4fcf-824f-a5f1597f939e/README.md b/src/3d4ed24c-8250-4fcf-824f-a5f1597f939e/README.md index 775904b..478a1d3 100644 --- a/src/3d4ed24c-8250-4fcf-824f-a5f1597f939e/README.md +++ b/src/3d4ed24c-8250-4fcf-824f-a5f1597f939e/README.md @@ -8,6 +8,7 @@ ``` # class Attachment (Details) > namespace: **VDM\Joomla\Gitea\Settings** +> extends: **Api** ```uml @startuml class Attachment #Gold { diff --git a/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/README.md b/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/README.md index d4d0582..0f412ad 100644 --- a/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/README.md +++ b/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/README.md @@ -15,7 +15,7 @@ abstract Api #Orange { # Uri $uri # Response $response + __construct(Http $http, Uri $uri, ...) - + load_(string $url, string $token) : void + + load_(?string $url = null, ?string $token = null) : void } note right of Api::__construct diff --git a/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/code.php b/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/code.php index 7f76657..912af82 100644 --- a/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/code.php +++ b/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/code.php @@ -67,16 +67,23 @@ abstract class Api /** * Load/Reload API. * - * @param string $url The url. - * @param token $token The token. + * @param string|null $url The url. + * @param token|null $token The token. * * @return void * @since 3.2.0 **/ - public function load_(string $url, string $token) + public function load_(?string $url = null, ?string $token = null) { - $this->uri->setUrl($url); - $this->http->setToken($token); + if ($url !== null) + { + $this->uri->setUrl($url); + } + + if ($token !== null) + { + $this->http->setToken($token); + } } } diff --git a/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/code.power b/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/code.power index 9e49af4..ce6ddc1 100644 --- a/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/code.power +++ b/src/3d7af7a2-dabe-4111-b5fd-c5bfa8755469/code.power @@ -41,14 +41,21 @@ /** * Load/Reload API. * - * @param string $url The url. - * @param token $token The token. + * @param string|null $url The url. + * @param token|null $token The token. * * @return void * @since 3.2.0 **/ - public function load_(string $url, string $token) + public function load_(?string $url = null, ?string $token = null) { - $this->uri->setUrl($url); - $this->http->setToken($token); + if ($url !== null) + { + $this->uri->setUrl($url); + } + + if ($token !== null) + { + $this->http->setToken($token); + } } diff --git a/src/403855fb-668d-464a-af45-8e30b198c9d6/README.md b/src/403855fb-668d-464a-af45-8e30b198c9d6/README.md index b8f5171..4c07338 100644 --- a/src/403855fb-668d-464a-af45-8e30b198c9d6/README.md +++ b/src/403855fb-668d-464a-af45-8e30b198c9d6/README.md @@ -8,6 +8,7 @@ ``` # class Mirrors (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Mirrors #Gold { diff --git a/src/463ce0a3-65e0-4a08-8bd2-e3bd0a058488/README.md b/src/463ce0a3-65e0-4a08-8bd2-e3bd0a058488/README.md index bfca2ce..6225362 100644 --- a/src/463ce0a3-65e0-4a08-8bd2-e3bd0a058488/README.md +++ b/src/463ce0a3-65e0-4a08-8bd2-e3bd0a058488/README.md @@ -8,6 +8,7 @@ ``` # class Hooks (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Hooks #Gold { diff --git a/src/49ae84dc-4474-468f-bf99-c92433fd1cc4/README.md b/src/49ae84dc-4474-468f-bf99-c92433fd1cc4/README.md index f8964d5..dcec3b7 100644 --- a/src/49ae84dc-4474-468f-bf99-c92433fd1cc4/README.md +++ b/src/49ae84dc-4474-468f-bf99-c92433fd1cc4/README.md @@ -8,6 +8,7 @@ ``` # class Repository (Details) > namespace: **VDM\Joomla\Gitea\Admin\Users** +> extends: **Api** ```uml @startuml class Repository #Gold { diff --git a/src/4a54c21f-ac3a-4489-b507-636835541a67/README.md b/src/4a54c21f-ac3a-4489-b507-636835541a67/README.md index 9a1dac4..d276b27 100644 --- a/src/4a54c21f-ac3a-4489-b507-636835541a67/README.md +++ b/src/4a54c21f-ac3a-4489-b507-636835541a67/README.md @@ -8,6 +8,7 @@ ``` # class Files (Details) > namespace: **VDM\Joomla\Gitea\Package** +> extends: **Api** ```uml @startuml class Files #Gold { diff --git a/src/4a5694db-bf3c-439b-bf9c-36a487828787/README.md b/src/4a5694db-bf3c-439b-bf9c-36a487828787/README.md index e572523..b752a69 100644 --- a/src/4a5694db-bf3c-439b-bf9c-36a487828787/README.md +++ b/src/4a5694db-bf3c-439b-bf9c-36a487828787/README.md @@ -8,6 +8,7 @@ ``` # class User (Details) > namespace: **VDM\Joomla\Gitea** +> extends: **Api** ```uml @startuml class User #Gold { diff --git a/src/4a9e144e-7754-4d3f-9325-9ff792ce4aef/README.md b/src/4a9e144e-7754-4d3f-9325-9ff792ce4aef/README.md index fbde1b9..1a52937 100644 --- a/src/4a9e144e-7754-4d3f-9325-9ff792ce4aef/README.md +++ b/src/4a9e144e-7754-4d3f-9325-9ff792ce4aef/README.md @@ -8,6 +8,7 @@ ``` # class Applications (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Applications #Gold { diff --git a/src/4b355731-bbcc-430f-a451-f94ff9bb1c20/README.md b/src/4b355731-bbcc-430f-a451-f94ff9bb1c20/README.md index 66603fd..b5e2ad0 100644 --- a/src/4b355731-bbcc-430f-a451-f94ff9bb1c20/README.md +++ b/src/4b355731-bbcc-430f-a451-f94ff9bb1c20/README.md @@ -8,6 +8,7 @@ ``` # class Stargazers (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Stargazers #Gold { diff --git a/src/501fbf08-9f56-4aa0-96d7-5905b511be08/README.md b/src/501fbf08-9f56-4aa0-96d7-5905b511be08/README.md index f1fefbc..35b9296 100644 --- a/src/501fbf08-9f56-4aa0-96d7-5905b511be08/README.md +++ b/src/501fbf08-9f56-4aa0-96d7-5905b511be08/README.md @@ -8,6 +8,7 @@ ``` # class Keys (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Keys #Gold { diff --git a/src/553b8fc5-46cc-49b7-95ce-992a3c5708f8/README.md b/src/553b8fc5-46cc-49b7-95ce-992a3c5708f8/README.md index b0fedac..7d88b3a 100644 --- a/src/553b8fc5-46cc-49b7-95ce-992a3c5708f8/README.md +++ b/src/553b8fc5-46cc-49b7-95ce-992a3c5708f8/README.md @@ -8,6 +8,7 @@ ``` # class Settings (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Settings #Gold { diff --git a/src/572b9567-1893-400b-bd34-f1a45ef7e503/README.md b/src/572b9567-1893-400b-bd34-f1a45ef7e503/README.md index 6fb13de..83fd5a1 100644 --- a/src/572b9567-1893-400b-bd34-f1a45ef7e503/README.md +++ b/src/572b9567-1893-400b-bd34-f1a45ef7e503/README.md @@ -8,6 +8,7 @@ ``` # class Wiki (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Wiki #Gold { diff --git a/src/5974503e-e56c-488b-bee3-f93b90c781df/README.md b/src/5974503e-e56c-488b-bee3-f93b90c781df/README.md index 22a51aa..815fe87 100644 --- a/src/5974503e-e56c-488b-bee3-f93b90c781df/README.md +++ b/src/5974503e-e56c-488b-bee3-f93b90c781df/README.md @@ -8,6 +8,7 @@ ``` # class Gpg (Details) > namespace: **VDM\Joomla\Gitea\Miscellaneous** +> extends: **Api** ```uml @startuml class Gpg #Gold { diff --git a/src/5c8f9038-d6e9-4788-96df-45019eafbadb/README.md b/src/5c8f9038-d6e9-4788-96df-45019eafbadb/README.md index 27a041a..f1c2a81 100644 --- a/src/5c8f9038-d6e9-4788-96df-45019eafbadb/README.md +++ b/src/5c8f9038-d6e9-4788-96df-45019eafbadb/README.md @@ -8,6 +8,7 @@ ``` # class Issue (Details) > namespace: **VDM\Joomla\Gitea** +> extends: **Api** ```uml @startuml class Issue #Gold { diff --git a/src/5ca71a00-7b44-4c0d-9955-3af054eed43d/README.md b/src/5ca71a00-7b44-4c0d-9955-3af054eed43d/README.md index 16accad..8aaa946 100644 --- a/src/5ca71a00-7b44-4c0d-9955-3af054eed43d/README.md +++ b/src/5ca71a00-7b44-4c0d-9955-3af054eed43d/README.md @@ -8,6 +8,7 @@ ``` # class Api (Details) > namespace: **VDM\Joomla\Gitea\Settings** +> extends: **BaseAPI** ```uml @startuml class Api #Gold { diff --git a/src/5d42c91a-6e4d-4c26-80d7-1b1d27cb35e0/README.md b/src/5d42c91a-6e4d-4c26-80d7-1b1d27cb35e0/README.md index ed33bd6..8c56df0 100644 --- a/src/5d42c91a-6e4d-4c26-80d7-1b1d27cb35e0/README.md +++ b/src/5d42c91a-6e4d-4c26-80d7-1b1d27cb35e0/README.md @@ -8,6 +8,7 @@ ``` # class Organizations (Details) > namespace: **VDM\Joomla\Gitea\Admin** +> extends: **Api** ```uml @startuml class Organizations #Gold { diff --git a/src/5f01760a-de24-49f7-b08e-d340c847f86a/README.md b/src/5f01760a-de24-49f7-b08e-d340c847f86a/README.md index c7a18ac..7c7c537 100644 --- a/src/5f01760a-de24-49f7-b08e-d340c847f86a/README.md +++ b/src/5f01760a-de24-49f7-b08e-d340c847f86a/README.md @@ -8,6 +8,7 @@ ``` # class Statuses (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Statuses #Gold { diff --git a/src/605d7058-345b-411e-b55d-027edc1ded83/README.md b/src/605d7058-345b-411e-b55d-027edc1ded83/README.md index acffaff..302a3c4 100644 --- a/src/605d7058-345b-411e-b55d-027edc1ded83/README.md +++ b/src/605d7058-345b-411e-b55d-027edc1ded83/README.md @@ -8,6 +8,7 @@ ``` # class Hooks (Details) > namespace: **VDM\Joomla\Gitea\Organization** +> extends: **Api** ```uml @startuml class Hooks #Gold { diff --git a/src/61ddd1b9-4b74-44bd-a7ee-f743cd4c2f69/README.md b/src/61ddd1b9-4b74-44bd-a7ee-f743cd4c2f69/README.md index 2652710..7f33f46 100644 --- a/src/61ddd1b9-4b74-44bd-a7ee-f743cd4c2f69/README.md +++ b/src/61ddd1b9-4b74-44bd-a7ee-f743cd4c2f69/README.md @@ -8,6 +8,7 @@ ``` # class Deadline (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Deadline #Gold { diff --git a/src/61e813c6-a872-4f55-8078-198241170e80/README.md b/src/61e813c6-a872-4f55-8078-198241170e80/README.md index 62f7070..2e1caf7 100644 --- a/src/61e813c6-a872-4f55-8078-198241170e80/README.md +++ b/src/61e813c6-a872-4f55-8078-198241170e80/README.md @@ -10,7 +10,7 @@ > namespace: **VDM\Joomla\Gitea\Utilities** ```uml @startuml -class Uri << (F,LightGreen) >> #Green { +class Uri << (F,LightGreen) >> #RoyalBlue { - string $endpoint - string $version - string $url diff --git a/src/61e813c6-a872-4f55-8078-198241170e80/code.php b/src/61e813c6-a872-4f55-8078-198241170e80/code.php index d31ac8e..406caec 100644 --- a/src/61e813c6-a872-4f55-8078-198241170e80/code.php +++ b/src/61e813c6-a872-4f55-8078-198241170e80/code.php @@ -107,7 +107,7 @@ final class Uri **/ public function setUrl(string $url) { - return $this->url = $url; + $this->url = $url; } /** @@ -120,7 +120,7 @@ final class Uri **/ private function setEndpoint(string $endpoint) { - return $this->endpoint = $endpoint; + $this->endpoint = $endpoint; } /** @@ -133,7 +133,7 @@ final class Uri **/ private function setVersion($version) { - return $this->version = $version; + $this->version = $version; } } diff --git a/src/61e813c6-a872-4f55-8078-198241170e80/code.power b/src/61e813c6-a872-4f55-8078-198241170e80/code.power index c1a708b..48a0eac 100644 --- a/src/61e813c6-a872-4f55-8078-198241170e80/code.power +++ b/src/61e813c6-a872-4f55-8078-198241170e80/code.power @@ -83,7 +83,7 @@ **/ public function setUrl(string $url) { - return $this->url = $url; + $this->url = $url; } /** @@ -96,7 +96,7 @@ **/ private function setEndpoint(string $endpoint) { - return $this->endpoint = $endpoint; + $this->endpoint = $endpoint; } /** @@ -109,5 +109,5 @@ **/ private function setVersion($version) { - return $this->version = $version; + $this->version = $version; } diff --git a/src/63fbd482-688a-4356-b3e4-a676ef357100/README.md b/src/63fbd482-688a-4356-b3e4-a676ef357100/README.md index 00b82ae..5d42c57 100644 --- a/src/63fbd482-688a-4356-b3e4-a676ef357100/README.md +++ b/src/63fbd482-688a-4356-b3e4-a676ef357100/README.md @@ -8,6 +8,7 @@ ``` # class Comments (Details) > namespace: **VDM\Joomla\Gitea\Issue\Repository** +> extends: **Api** ```uml @startuml class Comments #Gold { diff --git a/src/65288a04-bcac-4067-ae2b-6fda9f1e3fd5/README.md b/src/65288a04-bcac-4067-ae2b-6fda9f1e3fd5/README.md index 33e3513..3055603 100644 --- a/src/65288a04-bcac-4067-ae2b-6fda9f1e3fd5/README.md +++ b/src/65288a04-bcac-4067-ae2b-6fda9f1e3fd5/README.md @@ -8,6 +8,7 @@ ``` # class Reviewers (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Reviewers #Gold { diff --git a/src/66f866a7-f3a0-40ac-ac94-168d60c4a643/README.md b/src/66f866a7-f3a0-40ac-ac94-168d60c4a643/README.md index 0bf8c24..9baa6c7 100644 --- a/src/66f866a7-f3a0-40ac-ac94-168d60c4a643/README.md +++ b/src/66f866a7-f3a0-40ac-ac94-168d60c4a643/README.md @@ -8,6 +8,7 @@ ``` # class Assignees (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Assignees #Gold { diff --git a/src/68f930bc-d24f-4ade-bcec-576f82c3c13d/README.md b/src/68f930bc-d24f-4ade-bcec-576f82c3c13d/README.md index 71458f7..d432d8c 100644 --- a/src/68f930bc-d24f-4ade-bcec-576f82c3c13d/README.md +++ b/src/68f930bc-d24f-4ade-bcec-576f82c3c13d/README.md @@ -8,6 +8,7 @@ ``` # class Attachments (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Attachments #Gold { diff --git a/src/6a2fffb5-63ff-4a96-b458-632a5ff90814/README.md b/src/6a2fffb5-63ff-4a96-b458-632a5ff90814/README.md index 034b4d2..f9b97aa 100644 --- a/src/6a2fffb5-63ff-4a96-b458-632a5ff90814/README.md +++ b/src/6a2fffb5-63ff-4a96-b458-632a5ff90814/README.md @@ -8,6 +8,7 @@ ``` # class Reviews (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Reviews #Gold { diff --git a/src/6e1a6731-2587-4ad5-8e70-ca83eba65ee0/README.md b/src/6e1a6731-2587-4ad5-8e70-ca83eba65ee0/README.md index d1bb910..185c2ac 100644 --- a/src/6e1a6731-2587-4ad5-8e70-ca83eba65ee0/README.md +++ b/src/6e1a6731-2587-4ad5-8e70-ca83eba65ee0/README.md @@ -8,6 +8,7 @@ ``` # class Cron (Details) > namespace: **VDM\Joomla\Gitea\Admin** +> extends: **Api** ```uml @startuml class Cron #Gold { diff --git a/src/6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c/code.php b/src/6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c/code.php index 09112d2..06427b6 100644 --- a/src/6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c/code.php +++ b/src/6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c/code.php @@ -66,7 +66,6 @@ class Utilities implements ServiceProviderInterface public function getResponse(Container $container): Response { return new Response(); - } - + } } diff --git a/src/6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c/code.power b/src/6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c/code.power index 56c423c..801b73d 100644 --- a/src/6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c/code.power +++ b/src/6edf0cf3-c2b0-45c9-84d2-c6ef1c5d434c/code.power @@ -39,4 +39,4 @@ public function getResponse(Container $container): Response { return new Response(); - } + } \ No newline at end of file diff --git a/src/71acf8d6-32b8-4173-8277-eb9cda29fd64/code.php b/src/71acf8d6-32b8-4173-8277-eb9cda29fd64/code.php index 9287313..ca1d6f3 100644 --- a/src/71acf8d6-32b8-4173-8277-eb9cda29fd64/code.php +++ b/src/71acf8d6-32b8-4173-8277-eb9cda29fd64/code.php @@ -78,7 +78,6 @@ class Gitea implements ServiceProviderInterface return new Http( $container->get('Config')->get('gitea_token') ); - } - + } } diff --git a/src/71acf8d6-32b8-4173-8277-eb9cda29fd64/code.power b/src/71acf8d6-32b8-4173-8277-eb9cda29fd64/code.power index f56cd6c..feaf3e3 100644 --- a/src/71acf8d6-32b8-4173-8277-eb9cda29fd64/code.power +++ b/src/71acf8d6-32b8-4173-8277-eb9cda29fd64/code.power @@ -51,4 +51,4 @@ return new Http( $container->get('Config')->get('gitea_token') ); - } + } \ No newline at end of file diff --git a/src/73b3ebfa-c52a-4a96-a8de-718ff0bbc155/README.md b/src/73b3ebfa-c52a-4a96-a8de-718ff0bbc155/README.md index 75c6329..0a2c4b7 100644 --- a/src/73b3ebfa-c52a-4a96-a8de-718ff0bbc155/README.md +++ b/src/73b3ebfa-c52a-4a96-a8de-718ff0bbc155/README.md @@ -8,6 +8,7 @@ ``` # class Comment (Details) > namespace: **VDM\Joomla\Gitea\Issue\Reactions** +> extends: **Api** ```uml @startuml class Comment #Gold { diff --git a/src/754d737c-3b6f-43f0-8974-2e06a3daf41e/README.md b/src/754d737c-3b6f-43f0-8974-2e06a3daf41e/README.md index 2d5a439..76c656a 100644 --- a/src/754d737c-3b6f-43f0-8974-2e06a3daf41e/README.md +++ b/src/754d737c-3b6f-43f0-8974-2e06a3daf41e/README.md @@ -8,6 +8,7 @@ ``` # class Releases (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Releases #Gold { diff --git a/src/78b3346f-c4cf-46b3-941c-656e2d510da0/README.md b/src/78b3346f-c4cf-46b3-941c-656e2d510da0/README.md index ad356c8..146914c 100644 --- a/src/78b3346f-c4cf-46b3-941c-656e2d510da0/README.md +++ b/src/78b3346f-c4cf-46b3-941c-656e2d510da0/README.md @@ -8,6 +8,7 @@ ``` # class Trees (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Trees #Gold { diff --git a/src/7f852309-122b-42fb-b2f3-ea9e2d405a9c/README.md b/src/7f852309-122b-42fb-b2f3-ea9e2d405a9c/README.md index 083b771..9c7d5f6 100644 --- a/src/7f852309-122b-42fb-b2f3-ea9e2d405a9c/README.md +++ b/src/7f852309-122b-42fb-b2f3-ea9e2d405a9c/README.md @@ -8,6 +8,7 @@ ``` # class Topics (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Topics #Gold { diff --git a/src/7fb2cd98-a87d-4f48-9720-033924c69e34/README.md b/src/7fb2cd98-a87d-4f48-9720-033924c69e34/README.md index 040439c..2eced30 100644 --- a/src/7fb2cd98-a87d-4f48-9720-033924c69e34/README.md +++ b/src/7fb2cd98-a87d-4f48-9720-033924c69e34/README.md @@ -8,6 +8,7 @@ ``` # class Version (Details) > namespace: **VDM\Joomla\Gitea\Miscellaneous** +> extends: **Api** ```uml @startuml class Version #Gold { diff --git a/src/7fbed5f9-54a2-4001-a0d1-4621034166ef/README.md b/src/7fbed5f9-54a2-4001-a0d1-4621034166ef/README.md index f653713..dd547b5 100644 --- a/src/7fbed5f9-54a2-4001-a0d1-4621034166ef/README.md +++ b/src/7fbed5f9-54a2-4001-a0d1-4621034166ef/README.md @@ -8,6 +8,7 @@ ``` # class Forks (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Forks #Gold { diff --git a/src/83bb983b-80d8-44d5-917b-03d3c13742b9/README.md b/src/83bb983b-80d8-44d5-917b-03d3c13742b9/README.md index 429fab7..93fba71 100644 --- a/src/83bb983b-80d8-44d5-917b-03d3c13742b9/README.md +++ b/src/83bb983b-80d8-44d5-917b-03d3c13742b9/README.md @@ -8,6 +8,7 @@ ``` # class Timeline (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Timeline #Gold { diff --git a/src/884b61d0-1f56-4f5f-a657-acaacdb9634b/README.md b/src/884b61d0-1f56-4f5f-a657-acaacdb9634b/README.md index e4014bb..e1af5df 100644 --- a/src/884b61d0-1f56-4f5f-a657-acaacdb9634b/README.md +++ b/src/884b61d0-1f56-4f5f-a657-acaacdb9634b/README.md @@ -8,6 +8,7 @@ ``` # class Starred (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Starred #Gold { diff --git a/src/8a8fce09-a880-4364-a8c4-4ca337e7e951/README.md b/src/8a8fce09-a880-4364-a8c4-4ca337e7e951/README.md index a8225e4..1015598 100644 --- a/src/8a8fce09-a880-4364-a8c4-4ca337e7e951/README.md +++ b/src/8a8fce09-a880-4364-a8c4-4ca337e7e951/README.md @@ -8,6 +8,7 @@ ``` # class Archive (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Archive #Gold { diff --git a/src/8c82b705-04bb-4bd2-ac09-3f590fdf48c2/README.md b/src/8c82b705-04bb-4bd2-ac09-3f590fdf48c2/README.md index 8ddb3f7..9ff21b1 100644 --- a/src/8c82b705-04bb-4bd2-ac09-3f590fdf48c2/README.md +++ b/src/8c82b705-04bb-4bd2-ac09-3f590fdf48c2/README.md @@ -8,6 +8,7 @@ ``` # class Templates (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Templates #Gold { diff --git a/src/8d1baef6-fcad-49a9-848f-428009cdb989/README.md b/src/8d1baef6-fcad-49a9-848f-428009cdb989/README.md index 6d2d5ba..37bd2d6 100644 --- a/src/8d1baef6-fcad-49a9-848f-428009cdb989/README.md +++ b/src/8d1baef6-fcad-49a9-848f-428009cdb989/README.md @@ -8,6 +8,7 @@ ``` # class Contents (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Contents #Gold { @@ -97,8 +98,8 @@ note right of Contents::update string $filepath string $content string $message - string $branch = 'master' string $sha + string $branch = 'master' ?string $authorName = null ?string $authorEmail = null ?string $committerName = null diff --git a/src/8d1baef6-fcad-49a9-848f-428009cdb989/code.php b/src/8d1baef6-fcad-49a9-848f-428009cdb989/code.php index 982403c..3f2476b 100644 --- a/src/8d1baef6-fcad-49a9-848f-428009cdb989/code.php +++ b/src/8d1baef6-fcad-49a9-848f-428009cdb989/code.php @@ -205,16 +205,19 @@ class Contents extends Api // Build the request path. $path = "/repos/{$owner}/{$repo}/contents"; + // Get the URI with the specified path. + $uri = $this->uri->get($path); + // Add the 'ref' parameter if it's provided. if ($ref !== null) { - $this->uri->setVar('ref', $ref); + $uri->setVar('ref', $ref); } // Send the get request. return $this->response->get( $this->http->get( - $this->uri->get($path) + $uri ) ); } @@ -227,8 +230,8 @@ class Contents extends Api * @param string $filepath The file path. * @param string $content The file content. * @param string $message The commit message. - * @param string $branch The branch name. Defaults to the repository's default branch. * @param string $sha The blob SHA of the file. + * @param string $branch The branch name. Defaults to the repository's default branch. * @param string|null $authorName The author name. Defaults to the authenticated user. * @param string|null $authorEmail The author email. Defaults to the authenticated user. * @param string|null $committerName The committer name. Defaults to the authenticated user. @@ -248,8 +251,8 @@ class Contents extends Api string $filepath, string $content, string $message, - string $branch = 'master', string $sha, + string $branch = 'master', ?string $authorName = null, ?string $authorEmail = null, ?string $committerName = null, @@ -503,7 +506,6 @@ class Contents extends Api $this->uri->get($path) ) ); - } - + } } diff --git a/src/8d1baef6-fcad-49a9-848f-428009cdb989/code.power b/src/8d1baef6-fcad-49a9-848f-428009cdb989/code.power index 8a1bb52..a07223a 100644 --- a/src/8d1baef6-fcad-49a9-848f-428009cdb989/code.power +++ b/src/8d1baef6-fcad-49a9-848f-428009cdb989/code.power @@ -181,16 +181,19 @@ // Build the request path. $path = "/repos/{$owner}/{$repo}/contents"; + // Get the URI with the specified path. + $uri = $this->uri->get($path); + // Add the 'ref' parameter if it's provided. if ($ref !== null) { - $this->uri->setVar('ref', $ref); + $uri->setVar('ref', $ref); } // Send the get request. return $this->response->get( $this->http->get( - $this->uri->get($path) + $uri ) ); } @@ -203,8 +206,8 @@ * @param string $filepath The file path. * @param string $content The file content. * @param string $message The commit message. - * @param string $branch The branch name. Defaults to the repository's default branch. * @param string $sha The blob SHA of the file. + * @param string $branch The branch name. Defaults to the repository's default branch. * @param string|null $authorName The author name. Defaults to the authenticated user. * @param string|null $authorEmail The author email. Defaults to the authenticated user. * @param string|null $committerName The committer name. Defaults to the authenticated user. @@ -224,8 +227,8 @@ string $filepath, string $content, string $message, - string $branch = 'master', string $sha, + string $branch = 'master', ?string $authorName = null, ?string $authorEmail = null, ?string $committerName = null, @@ -479,4 +482,4 @@ $this->uri->get($path) ) ); - } + } \ No newline at end of file diff --git a/src/8efd9070-7110-4b8e-bb76-cb1a286d5af2/README.md b/src/8efd9070-7110-4b8e-bb76-cb1a286d5af2/README.md index 4322c7d..bebc6ca 100644 --- a/src/8efd9070-7110-4b8e-bb76-cb1a286d5af2/README.md +++ b/src/8efd9070-7110-4b8e-bb76-cb1a286d5af2/README.md @@ -8,6 +8,7 @@ ``` # class Organization (Details) > namespace: **VDM\Joomla\Gitea** +> extends: **Api** ```uml @startuml class Organization #Gold { diff --git a/src/8f1a0130-e555-4e6a-9fa8-9b99e30b39fa/README.md b/src/8f1a0130-e555-4e6a-9fa8-9b99e30b39fa/README.md index 6e9ca95..7d632ad 100644 --- a/src/8f1a0130-e555-4e6a-9fa8-9b99e30b39fa/README.md +++ b/src/8f1a0130-e555-4e6a-9fa8-9b99e30b39fa/README.md @@ -8,6 +8,7 @@ ``` # class Markdown (Details) > namespace: **VDM\Joomla\Gitea\Miscellaneous** +> extends: **Api** ```uml @startuml class Markdown #Gold { diff --git a/src/8fd54ec5-d93e-445c-ae27-80b6052dbddd/README.md b/src/8fd54ec5-d93e-445c-ae27-80b6052dbddd/README.md index 644c456..8f0a580 100644 --- a/src/8fd54ec5-d93e-445c-ae27-80b6052dbddd/README.md +++ b/src/8fd54ec5-d93e-445c-ae27-80b6052dbddd/README.md @@ -8,6 +8,7 @@ ``` # class Branch (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Branch #Gold { diff --git a/src/93d704d3-aed8-4ee5-a25e-e7fbfb23b5c7/README.md b/src/93d704d3-aed8-4ee5-a25e-e7fbfb23b5c7/README.md index 83ac0d2..b69ab72 100644 --- a/src/93d704d3-aed8-4ee5-a25e-e7fbfb23b5c7/README.md +++ b/src/93d704d3-aed8-4ee5-a25e-e7fbfb23b5c7/README.md @@ -8,6 +8,7 @@ ``` # class Watchers (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Watchers #Gold { diff --git a/src/93f4bc91-946d-447a-ab5a-4f76e0e1a9ce/README.md b/src/93f4bc91-946d-447a-ab5a-4f76e0e1a9ce/README.md index 1cbe3b4..cf0995e 100644 --- a/src/93f4bc91-946d-447a-ab5a-4f76e0e1a9ce/README.md +++ b/src/93f4bc91-946d-447a-ab5a-4f76e0e1a9ce/README.md @@ -8,6 +8,7 @@ ``` # class Gpg (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Gpg #Gold { diff --git a/src/974d9e4c-beef-4c35-a3c6-92b1dd5b145d/README.md b/src/974d9e4c-beef-4c35-a3c6-92b1dd5b145d/README.md index 667e008..4aa5b70 100644 --- a/src/974d9e4c-beef-4c35-a3c6-92b1dd5b145d/README.md +++ b/src/974d9e4c-beef-4c35-a3c6-92b1dd5b145d/README.md @@ -8,6 +8,7 @@ ``` # class Refs (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Refs #Gold { diff --git a/src/994f4ffe-6030-4bfd-a0b1-4e1aa54bb8cd/README.md b/src/994f4ffe-6030-4bfd-a0b1-4e1aa54bb8cd/README.md index eae4e67..bd19421 100644 --- a/src/994f4ffe-6030-4bfd-a0b1-4e1aa54bb8cd/README.md +++ b/src/994f4ffe-6030-4bfd-a0b1-4e1aa54bb8cd/README.md @@ -8,6 +8,7 @@ ``` # class Remote (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Remote #Gold { diff --git a/src/9ae44ddd-9d69-4298-a50b-05129cbebb76/README.md b/src/9ae44ddd-9d69-4298-a50b-05129cbebb76/README.md index ce2d14c..09bc041 100644 --- a/src/9ae44ddd-9d69-4298-a50b-05129cbebb76/README.md +++ b/src/9ae44ddd-9d69-4298-a50b-05129cbebb76/README.md @@ -8,6 +8,7 @@ ``` # class Activitypub (Details) > namespace: **VDM\Joomla\Gitea\Miscellaneous** +> extends: **Api** ```uml @startuml class Activitypub #Gold { diff --git a/src/9c886ee5-ff14-44c3-a3dd-6a30ebf32ca3/README.md b/src/9c886ee5-ff14-44c3-a3dd-6a30ebf32ca3/README.md index 21624e1..402577d 100644 --- a/src/9c886ee5-ff14-44c3-a3dd-6a30ebf32ca3/README.md +++ b/src/9c886ee5-ff14-44c3-a3dd-6a30ebf32ca3/README.md @@ -8,6 +8,7 @@ ``` # class Teams (Details) > namespace: **VDM\Joomla\Gitea\Organization** +> extends: **Api** ```uml @startuml class Teams #Gold { diff --git a/src/9c9ba4c4-2039-4396-9ea2-621e42e04c89/README.md b/src/9c9ba4c4-2039-4396-9ea2-621e42e04c89/README.md index c73af6d..5797315 100644 --- a/src/9c9ba4c4-2039-4396-9ea2-621e42e04c89/README.md +++ b/src/9c9ba4c4-2039-4396-9ea2-621e42e04c89/README.md @@ -8,6 +8,7 @@ ``` # class Labels (Details) > namespace: **VDM\Joomla\Gitea\Organization** +> extends: **Api** ```uml @startuml class Labels #Gold { diff --git a/src/a11cacb2-c13a-4482-bf71-1b7d99574a98/README.md b/src/a11cacb2-c13a-4482-bf71-1b7d99574a98/README.md index f7fefbe..99cbe1a 100644 --- a/src/a11cacb2-c13a-4482-bf71-1b7d99574a98/README.md +++ b/src/a11cacb2-c13a-4482-bf71-1b7d99574a98/README.md @@ -8,6 +8,7 @@ ``` # class Git (Details) > namespace: **VDM\Joomla\Gitea\Repository\Hooks** +> extends: **Api** ```uml @startuml class Git #Gold { diff --git a/src/a68d1841-65bb-41c8-ac09-cfddf73bb822/README.md b/src/a68d1841-65bb-41c8-ac09-cfddf73bb822/README.md index 69012bd..2e8a244 100644 --- a/src/a68d1841-65bb-41c8-ac09-cfddf73bb822/README.md +++ b/src/a68d1841-65bb-41c8-ac09-cfddf73bb822/README.md @@ -8,6 +8,7 @@ ``` # class Stopwatch (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Stopwatch #Gold { diff --git a/src/acca507d-e632-4349-9e3a-9dba5d19fbf9/README.md b/src/acca507d-e632-4349-9e3a-9dba5d19fbf9/README.md index 814b941..49c210f 100644 --- a/src/acca507d-e632-4349-9e3a-9dba5d19fbf9/README.md +++ b/src/acca507d-e632-4349-9e3a-9dba5d19fbf9/README.md @@ -8,6 +8,7 @@ ``` # class Subscriptions (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Subscriptions #Gold { diff --git a/src/aeb42050-90e1-4169-907a-fa6cde20caa4/README.md b/src/aeb42050-90e1-4169-907a-fa6cde20caa4/README.md index 0f2c005..c8dc291 100644 --- a/src/aeb42050-90e1-4169-907a-fa6cde20caa4/README.md +++ b/src/aeb42050-90e1-4169-907a-fa6cde20caa4/README.md @@ -8,6 +8,7 @@ ``` # class Repository (Details) > namespace: **VDM\Joomla\Gitea\Organization** +> extends: **Api** ```uml @startuml class Repository #Gold { diff --git a/src/af49b450-78fb-40bd-8165-48466ebd31a9/README.md b/src/af49b450-78fb-40bd-8165-48466ebd31a9/README.md index 1ace208..a29a94e 100644 --- a/src/af49b450-78fb-40bd-8165-48466ebd31a9/README.md +++ b/src/af49b450-78fb-40bd-8165-48466ebd31a9/README.md @@ -8,6 +8,7 @@ ``` # class Tokens (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Tokens #Gold { diff --git a/src/af4b8b77-d773-42a7-9f54-19de463bc49b/README.md b/src/af4b8b77-d773-42a7-9f54-19de463bc49b/README.md index 8a6ab46..e90f432 100644 --- a/src/af4b8b77-d773-42a7-9f54-19de463bc49b/README.md +++ b/src/af4b8b77-d773-42a7-9f54-19de463bc49b/README.md @@ -8,6 +8,7 @@ ``` # class Emails (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Emails #Gold { diff --git a/src/b1788488-f557-4746-9929-73e1d049b4a2/README.md b/src/b1788488-f557-4746-9929-73e1d049b4a2/README.md index e8f0fc9..4241b53 100644 --- a/src/b1788488-f557-4746-9929-73e1d049b4a2/README.md +++ b/src/b1788488-f557-4746-9929-73e1d049b4a2/README.md @@ -8,6 +8,7 @@ ``` # class Following (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Following #Gold { diff --git a/src/b3f6728b-8c88-4ee8-9aa0-bcef400a35bf/README.md b/src/b3f6728b-8c88-4ee8-9aa0-bcef400a35bf/README.md index 62b3116..cfcd211 100644 --- a/src/b3f6728b-8c88-4ee8-9aa0-bcef400a35bf/README.md +++ b/src/b3f6728b-8c88-4ee8-9aa0-bcef400a35bf/README.md @@ -8,6 +8,7 @@ ``` # class User (Details) > namespace: **VDM\Joomla\Gitea\Organization** +> extends: **Api** ```uml @startuml class User #Gold { diff --git a/src/b5ca512b-f667-4ec6-bc6e-914af41d344a/README.md b/src/b5ca512b-f667-4ec6-bc6e-914af41d344a/README.md index ba2d10c..f8e818d 100644 --- a/src/b5ca512b-f667-4ec6-bc6e-914af41d344a/README.md +++ b/src/b5ca512b-f667-4ec6-bc6e-914af41d344a/README.md @@ -8,6 +8,7 @@ ``` # class Owner (Details) > namespace: **VDM\Joomla\Gitea\Package** +> extends: **Api** ```uml @startuml class Owner #Gold { diff --git a/src/b6e17249-5afc-4bc0-a4aa-8d2241c1ccaf/README.md b/src/b6e17249-5afc-4bc0-a4aa-8d2241c1ccaf/README.md index 5d06c3e..eefee9b 100644 --- a/src/b6e17249-5afc-4bc0-a4aa-8d2241c1ccaf/README.md +++ b/src/b6e17249-5afc-4bc0-a4aa-8d2241c1ccaf/README.md @@ -8,6 +8,7 @@ ``` # class Subscriptions (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Subscriptions #Gold { diff --git a/src/b7ec675d-3197-4458-89d6-ca5d4303af8a/README.md b/src/b7ec675d-3197-4458-89d6-ca5d4303af8a/README.md index 72a3176..d1d5e1b 100644 --- a/src/b7ec675d-3197-4458-89d6-ca5d4303af8a/README.md +++ b/src/b7ec675d-3197-4458-89d6-ca5d4303af8a/README.md @@ -8,6 +8,7 @@ ``` # class Package (Details) > namespace: **VDM\Joomla\Gitea** +> extends: **Api** ```uml @startuml class Package #Gold { diff --git a/src/c0ee5592-e49f-4937-9b13-f4352afcb430/README.md b/src/c0ee5592-e49f-4937-9b13-f4352afcb430/README.md index b65254b..ed9d1d5 100644 --- a/src/c0ee5592-e49f-4937-9b13-f4352afcb430/README.md +++ b/src/c0ee5592-e49f-4937-9b13-f4352afcb430/README.md @@ -8,6 +8,7 @@ ``` # class Media (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Media #Gold { diff --git a/src/c140a62c-ea7b-470f-b8ca-83cfbcdd13ba/README.md b/src/c140a62c-ea7b-470f-b8ca-83cfbcdd13ba/README.md index d01a53a..06efcc0 100644 --- a/src/c140a62c-ea7b-470f-b8ca-83cfbcdd13ba/README.md +++ b/src/c140a62c-ea7b-470f-b8ca-83cfbcdd13ba/README.md @@ -8,6 +8,7 @@ ``` # class Languages (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Languages #Gold { diff --git a/src/c1be1e0d-479d-44de-bfe4-cfa4ded7e240/README.md b/src/c1be1e0d-479d-44de-bfe4-cfa4ded7e240/README.md index 6426b52..b8e71b6 100644 --- a/src/c1be1e0d-479d-44de-bfe4-cfa4ded7e240/README.md +++ b/src/c1be1e0d-479d-44de-bfe4-cfa4ded7e240/README.md @@ -8,6 +8,7 @@ ``` # class Members (Details) > namespace: **VDM\Joomla\Gitea\Organization** +> extends: **Api** ```uml @startuml class Members #Gold { diff --git a/src/c3dfbf28-1a28-4fd3-a0b5-12b06ecaadf3/README.md b/src/c3dfbf28-1a28-4fd3-a0b5-12b06ecaadf3/README.md index 3a3f40b..a861b33 100644 --- a/src/c3dfbf28-1a28-4fd3-a0b5-12b06ecaadf3/README.md +++ b/src/c3dfbf28-1a28-4fd3-a0b5-12b06ecaadf3/README.md @@ -8,6 +8,7 @@ ``` # class Teams (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Teams #Gold { diff --git a/src/c521f8c3-4e01-4c1a-8f68-f3e9d967651d/README.md b/src/c521f8c3-4e01-4c1a-8f68-f3e9d967651d/README.md index 0db255d..d521609 100644 --- a/src/c521f8c3-4e01-4c1a-8f68-f3e9d967651d/README.md +++ b/src/c521f8c3-4e01-4c1a-8f68-f3e9d967651d/README.md @@ -8,6 +8,7 @@ ``` # class Keys (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Keys #Gold { diff --git a/src/c7b31fc2-892b-4235-beb2-3413e4432839/README.md b/src/c7b31fc2-892b-4235-beb2-3413e4432839/README.md index 08f5d00..d7361a8 100644 --- a/src/c7b31fc2-892b-4235-beb2-3413e4432839/README.md +++ b/src/c7b31fc2-892b-4235-beb2-3413e4432839/README.md @@ -8,6 +8,7 @@ ``` # class Teams (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Teams #Gold { diff --git a/src/c8cbc9bd-ee91-403a-8633-0e8b59619a49/README.md b/src/c8cbc9bd-ee91-403a-8633-0e8b59619a49/README.md index 75059ef..44e0d79 100644 --- a/src/c8cbc9bd-ee91-403a-8633-0e8b59619a49/README.md +++ b/src/c8cbc9bd-ee91-403a-8633-0e8b59619a49/README.md @@ -8,6 +8,7 @@ ``` # class Notifications (Details) > namespace: **VDM\Joomla\Gitea** +> extends: **Api** ```uml @startuml class Notifications #Gold { diff --git a/src/ca53d4cb-7800-4ea2-b06e-7466ded91e49/README.md b/src/ca53d4cb-7800-4ea2-b06e-7466ded91e49/README.md index dc5034c..df213e4 100644 --- a/src/ca53d4cb-7800-4ea2-b06e-7466ded91e49/README.md +++ b/src/ca53d4cb-7800-4ea2-b06e-7466ded91e49/README.md @@ -8,6 +8,7 @@ ``` # class Labels (Details) > namespace: **VDM\Joomla\Gitea** +> extends: **Api** ```uml @startuml class Labels #Gold { diff --git a/src/caf25475-8c9e-4e07-a7f5-f606e98ec880/README.md b/src/caf25475-8c9e-4e07-a7f5-f606e98ec880/README.md index 21232e5..f117a4b 100644 --- a/src/caf25475-8c9e-4e07-a7f5-f606e98ec880/README.md +++ b/src/caf25475-8c9e-4e07-a7f5-f606e98ec880/README.md @@ -8,6 +8,7 @@ ``` # class Tags (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Tags #Gold { diff --git a/src/ce40b3d2-226c-4a64-b116-c19455822be1/README.md b/src/ce40b3d2-226c-4a64-b116-c19455822be1/README.md index acceb23..7b259c0 100644 --- a/src/ce40b3d2-226c-4a64-b116-c19455822be1/README.md +++ b/src/ce40b3d2-226c-4a64-b116-c19455822be1/README.md @@ -8,9 +8,10 @@ ``` # final class Http (Details) > namespace: **VDM\Joomla\Gitea\Utilities** +> extends: **JoomlaHttp** ```uml @startuml -class Http << (F,LightGreen) >> #Green { +class Http << (F,LightGreen) >> #RoyalBlue { + __construct(?string $token) + setToken(string $token) } diff --git a/src/cf8fa194-9f83-4a2a-b52b-ede069188afe/README.md b/src/cf8fa194-9f83-4a2a-b52b-ede069188afe/README.md index 2931750..2095870 100644 --- a/src/cf8fa194-9f83-4a2a-b52b-ede069188afe/README.md +++ b/src/cf8fa194-9f83-4a2a-b52b-ede069188afe/README.md @@ -8,6 +8,7 @@ ``` # class Notes (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Notes #Gold { diff --git a/src/d273c34e-88c1-438b-98c0-801996f58c29/README.md b/src/d273c34e-88c1-438b-98c0-801996f58c29/README.md index 47b2dff..e5af612 100644 --- a/src/d273c34e-88c1-438b-98c0-801996f58c29/README.md +++ b/src/d273c34e-88c1-438b-98c0-801996f58c29/README.md @@ -8,6 +8,7 @@ ``` # class Times (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Times #Gold { diff --git a/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/code.php b/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/code.php index 5e6a7a8..8f358a3 100644 --- a/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/code.php +++ b/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/code.php @@ -76,9 +76,19 @@ class Jcb implements ServiceProviderInterface */ public function getHttp(Container $container): Http { - return new Http( - Helper::getParams('com_componentbuilder')->get('gitea_token') - ); + $add_gitea_url = Helper::getParams('com_componentbuilder')->get('add_custom_gitea_url', 1); + if ($add_gitea_url == 2) + { + return new Http( + Helper::getParams('com_componentbuilder')->get('custom_gitea_token') + ); + } + else + { + return new Http( + Helper::getParams('com_componentbuilder')->get('gitea_token') + ); + } } } diff --git a/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/code.power b/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/code.power index 136917f..c1367cc 100644 --- a/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/code.power +++ b/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/code.power @@ -48,7 +48,17 @@ */ public function getHttp(Container $container): Http { - return new Http( - Helper::getParams('com_componentbuilder')->get('gitea_token') - ); + $add_gitea_url = Helper::getParams('com_componentbuilder')->get('add_custom_gitea_url', 1); + if ($add_gitea_url == 2) + { + return new Http( + Helper::getParams('com_componentbuilder')->get('custom_gitea_token') + ); + } + else + { + return new Http( + Helper::getParams('com_componentbuilder')->get('gitea_token') + ); + } } diff --git a/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/settings.json b/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/settings.json index b9acbfb..66d83a3 100644 --- a/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/settings.json +++ b/src/d2e997a1-bbf7-4f28-8a7c-ce5c68061cfe/settings.json @@ -12,15 +12,15 @@ "system_name": "Joomla.Gitea.Service.Jcb", "type": "class", "use_selection": { - "use_selection2": { + "use_selection0": { "use": "61e813c6-a872-4f55-8078-198241170e80", "as": "default" }, - "use_selection0": { + "use_selection1": { "use": "ce40b3d2-226c-4a64-b116-c19455822be1", "as": "default" }, - "use_selection1": { + "use_selection2": { "use": "640b5352-fb09-425f-a26e-cd44eda03f15", "as": "default" } diff --git a/src/d7b67b1c-f876-4555-9e54-0645cf519d4c/README.md b/src/d7b67b1c-f876-4555-9e54-0645cf519d4c/README.md index ac8c238..7d0c09f 100644 --- a/src/d7b67b1c-f876-4555-9e54-0645cf519d4c/README.md +++ b/src/d7b67b1c-f876-4555-9e54-0645cf519d4c/README.md @@ -8,6 +8,7 @@ ``` # class Times (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Times #Gold { diff --git a/src/d9fa532a-dbe8-445f-93dc-398a3cf01c1e/README.md b/src/d9fa532a-dbe8-445f-93dc-398a3cf01c1e/README.md index 2afb761..5378a51 100644 --- a/src/d9fa532a-dbe8-445f-93dc-398a3cf01c1e/README.md +++ b/src/d9fa532a-dbe8-445f-93dc-398a3cf01c1e/README.md @@ -8,6 +8,7 @@ ``` # class Members (Details) > namespace: **VDM\Joomla\Gitea\Organization\Teams** +> extends: **Api** ```uml @startuml class Members #Gold { diff --git a/src/daa18d45-3d4a-4280-b58c-147683e8093c/README.md b/src/daa18d45-3d4a-4280-b58c-147683e8093c/README.md index dd71ecb..279b8bf 100644 --- a/src/daa18d45-3d4a-4280-b58c-147683e8093c/README.md +++ b/src/daa18d45-3d4a-4280-b58c-147683e8093c/README.md @@ -8,6 +8,7 @@ ``` # class Commits (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Commits #Gold { diff --git a/src/db14e345-c3d9-4dda-8534-4963cd6ca6f5/README.md b/src/db14e345-c3d9-4dda-8534-4963cd6ca6f5/README.md index e3d593c..0f25a46 100644 --- a/src/db14e345-c3d9-4dda-8534-4963cd6ca6f5/README.md +++ b/src/db14e345-c3d9-4dda-8534-4963cd6ca6f5/README.md @@ -8,6 +8,7 @@ ``` # class Thread (Details) > namespace: **VDM\Joomla\Gitea\Notifications** +> extends: **Api** ```uml @startuml class Thread #Gold { diff --git a/src/ddced4c5-667d-4559-873d-d716c17fd85b/code.php b/src/ddced4c5-667d-4559-873d-d716c17fd85b/code.php index be64aa1..e6fc518 100644 --- a/src/ddced4c5-667d-4559-873d-d716c17fd85b/code.php +++ b/src/ddced4c5-667d-4559-873d-d716c17fd85b/code.php @@ -179,7 +179,6 @@ class Admin implements ServiceProviderInterface $container->get('Gitea.Dynamic.Uri'), $container->get('Gitea.Utilities.Response') ); - } - + } } diff --git a/src/ddced4c5-667d-4559-873d-d716c17fd85b/code.power b/src/ddced4c5-667d-4559-873d-d716c17fd85b/code.power index 7047821..df7a5b9 100644 --- a/src/ddced4c5-667d-4559-873d-d716c17fd85b/code.power +++ b/src/ddced4c5-667d-4559-873d-d716c17fd85b/code.power @@ -147,4 +147,4 @@ $container->get('Gitea.Dynamic.Uri'), $container->get('Gitea.Utilities.Response') ); - } + } \ No newline at end of file diff --git a/src/e5d342ee-caf9-4b29-b7b6-2b81a8ef58cf/README.md b/src/e5d342ee-caf9-4b29-b7b6-2b81a8ef58cf/README.md index 3c5387a..b4604dd 100644 --- a/src/e5d342ee-caf9-4b29-b7b6-2b81a8ef58cf/README.md +++ b/src/e5d342ee-caf9-4b29-b7b6-2b81a8ef58cf/README.md @@ -8,6 +8,7 @@ ``` # class Collaborator (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Collaborator #Gold { diff --git a/src/e6c2dee6-54b9-4476-8896-2bfa14a87650/README.md b/src/e6c2dee6-54b9-4476-8896-2bfa14a87650/README.md index 5bbcd1d..bcf3388 100644 --- a/src/e6c2dee6-54b9-4476-8896-2bfa14a87650/README.md +++ b/src/e6c2dee6-54b9-4476-8896-2bfa14a87650/README.md @@ -8,6 +8,7 @@ ``` # class Reactions (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Reactions #Gold { diff --git a/src/e7c16db5-bb22-421b-8789-180f6a502b62/README.md b/src/e7c16db5-bb22-421b-8789-180f6a502b62/README.md index 1fb34eb..9818bdb 100644 --- a/src/e7c16db5-bb22-421b-8789-180f6a502b62/README.md +++ b/src/e7c16db5-bb22-421b-8789-180f6a502b62/README.md @@ -8,6 +8,7 @@ ``` # class Repository (Details) > namespace: **VDM\Joomla\Gitea\Settings** +> extends: **Api** ```uml @startuml class Repository #Gold { diff --git a/src/e7c810a1-3d6a-42e4-b45f-bee554f259b3/README.md b/src/e7c810a1-3d6a-42e4-b45f-bee554f259b3/README.md index 6bdc06e..c6c9e92 100644 --- a/src/e7c810a1-3d6a-42e4-b45f-bee554f259b3/README.md +++ b/src/e7c810a1-3d6a-42e4-b45f-bee554f259b3/README.md @@ -8,6 +8,7 @@ ``` # class Users (Details) > namespace: **VDM\Joomla\Gitea\Admin** +> extends: **Api** ```uml @startuml class Users #Gold { diff --git a/src/e819d1a2-4390-432d-be36-3421f2fa861c/README.md b/src/e819d1a2-4390-432d-be36-3421f2fa861c/README.md index 016a058..80248da 100644 --- a/src/e819d1a2-4390-432d-be36-3421f2fa861c/README.md +++ b/src/e819d1a2-4390-432d-be36-3421f2fa861c/README.md @@ -8,6 +8,7 @@ ``` # class Labels (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Labels #Gold { diff --git a/src/eb6c050d-7100-42b8-a922-f7e7c78a08c2/README.md b/src/eb6c050d-7100-42b8-a922-f7e7c78a08c2/README.md index e3b605f..a94144c 100644 --- a/src/eb6c050d-7100-42b8-a922-f7e7c78a08c2/README.md +++ b/src/eb6c050d-7100-42b8-a922-f7e7c78a08c2/README.md @@ -8,6 +8,7 @@ ``` # class Repository (Details) > namespace: **VDM\Joomla\Gitea** +> extends: **Api** ```uml @startuml class Repository #Gold { diff --git a/src/f135ca7f-4d50-4480-a15f-feae1a7982ab/README.md b/src/f135ca7f-4d50-4480-a15f-feae1a7982ab/README.md index b6964da..328581c 100644 --- a/src/f135ca7f-4d50-4480-a15f-feae1a7982ab/README.md +++ b/src/f135ca7f-4d50-4480-a15f-feae1a7982ab/README.md @@ -8,6 +8,7 @@ ``` # class Gpg (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Gpg #Gold { diff --git a/src/f428beab-10f4-4c0d-bb9e-8c797ed7a7c9/README.md b/src/f428beab-10f4-4c0d-bb9e-8c797ed7a7c9/README.md index fa4ca51..ab1ea12 100644 --- a/src/f428beab-10f4-4c0d-bb9e-8c797ed7a7c9/README.md +++ b/src/f428beab-10f4-4c0d-bb9e-8c797ed7a7c9/README.md @@ -8,6 +8,7 @@ ``` # class Milestones (Details) > namespace: **VDM\Joomla\Gitea\Issue** +> extends: **Api** ```uml @startuml class Milestones #Gold { diff --git a/src/f56114fd-6804-4ce9-8adb-1d521f023c11/README.md b/src/f56114fd-6804-4ce9-8adb-1d521f023c11/README.md index a19cae6..d0122bc 100644 --- a/src/f56114fd-6804-4ce9-8adb-1d521f023c11/README.md +++ b/src/f56114fd-6804-4ce9-8adb-1d521f023c11/README.md @@ -8,6 +8,7 @@ ``` # class Pulls (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Pulls #Gold { diff --git a/src/f6249c33-b4bd-4598-8710-0cab230aef94/README.md b/src/f6249c33-b4bd-4598-8710-0cab230aef94/README.md index 7515b5a..638300f 100644 --- a/src/f6249c33-b4bd-4598-8710-0cab230aef94/README.md +++ b/src/f6249c33-b4bd-4598-8710-0cab230aef94/README.md @@ -8,6 +8,7 @@ ``` # class Mirror (Details) > namespace: **VDM\Joomla\Gitea\Repository** +> extends: **Api** ```uml @startuml class Mirror #Gold { diff --git a/src/fd560f3e-ce19-474f-86ca-1fb1d3af9992/README.md b/src/fd560f3e-ce19-474f-86ca-1fb1d3af9992/README.md index cd31a4a..9bb84eb 100644 --- a/src/fd560f3e-ce19-474f-86ca-1fb1d3af9992/README.md +++ b/src/fd560f3e-ce19-474f-86ca-1fb1d3af9992/README.md @@ -8,6 +8,7 @@ ``` # class Repos (Details) > namespace: **VDM\Joomla\Gitea\User** +> extends: **Api** ```uml @startuml class Repos #Gold {