UNPKG

gitea-repository-provider

Version:
34 lines (31 loc) 649 B
import { string_attribute, language_attribute, count_attribute, boolean_attribute_writable } from "pacc"; import { GiteaOrganization } from "./gitea-organization.mjs"; /** * */ export class GiteaUser extends GiteaOrganization { static attributes = { ...super.attributes, login: { ...string_attribute, name: "login" }, language: language_attribute, starred_repos_count: { ...count_attribute, name: "starred_repos_count" }, is_admin: { ...boolean_attribute_writable, name: "is_admin" } }; /* active created followers_count following_count html_url last_login login_name prohibit_login restricted source_id */ }