UNPKG

gitea-repository-provider

Version:
24 lines (21 loc) 524 B
import { RepositoryGroup, boolean_attribute, default_attribute } from "repository-provider"; /** * */ export class GiteaOrganization extends RepositoryGroup { static get attributes() { return { ...super.attributes, username: default_attribute, location: default_attribute, visibility: default_attribute, repo_admin_change_team_access: boolean_attribute }; } static get attributeMapping() { return { avatar_url: "avatarURL", website: "homePageURL" }; } }