Huge number of updates, too tired to list them all

+ Added a bunch of API handler classes that will use the already created models
+ Created a new Client class that will connect to new API handler classes
+ Created new collection classes
This commit is contained in:
Benjamin Blake
2020-02-19 22:10:59 -07:00
parent f530671000
commit 1bf0c070f8
21 changed files with 1007 additions and 3 deletions

View File

@ -0,0 +1,24 @@
<?php declare(strict_types=1);
namespace Gitea\Models;
use Enum\{EnumTrait};
/** Defines the permission of a team. */
final class TeamPermission {
use EnumTrait;
/** @var string The team has the administrator permission. */
const admin = 'admin';
/** @var string The team doesn't have any permission. */
const none = 'none';
/** @var string The team has the owner permission. */
const owner = 'owner';
/** @var string The team has the read permission. */
const read = 'read';
/** @var string The team has the write permission. */
const write = 'write';
}