gitea/src/4a5694db-bf3c-439b-bf9c-36a...
Robot 12042ffd4d
update 2024-04-07 13:20:18
2024-04-07 13:20:22 +02:00
..
README.md update 2023-10-10 10:16:07 2023-10-10 11:39:23 +02:00
code.php update 2023-04-30 01:34:12 2023-04-30 01:34:12 +02:00
code.power update 2023-04-30 01:34:12 2023-04-30 01:34:12 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:22 +02:00

README.md

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

class User (Details)

namespace: VDM\Joomla\Gitea extends: Api

@startuml
class User  #Gold {
  + authenticate() : ?object
  + search(string $keyword, ?int $uid = null, ...) : ?object
  + get(string $username) : o
  + followers(string $userName, int $page = 1, ...) : ?array
  + following(string $userName, int $page = 1, ...) : ?array
  + check(string $username, string $target) : string
  + gpg(string $userName, int $page = 1, ...) : ?array
  + heatmap(string $username) : ?array
  + keys(string $userName, ?string $fingerprint = null, ...) : ?array
  + repos(string $userName, int $page = 1, ...) : ?array
  + watched(string $userName, int $page = 1, ...) : ?array
}

note right of User::authenticate
  Get the authenticated user.

  since: 3.2.0
  return: ?object
end note

note left of User::search
  Search for users.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $keyword
    ?int $uid = null
    int $page = 1
    int $limit = 10
end note

note right of User::get
  Get a user by their username.

  since: 3.2.0
end note

note left of User::followers
  List the given user's followers.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $userName
    int $page = 1
    int $limit = 10
end note

note right of User::following
  List the users that the given user is following.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $userName
    int $page = 1
    int $limit = 10
end note

note left of User::check
  Check if one user is following another user.

  since: 3.2.0
  return: string
end note

note right of User::gpg
  List the given user's GPG keys.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $userName
    int $page = 1
    int $limit = 10
end note

note left of User::heatmap
  Get a user's heatmap.

  since: 3.2.0
  return: ?array
end note

note right of User::keys
  List the given user's public keys.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $userName
    ?string $fingerprint = null
    int $page = 1
    int $limit = 10
end note

note left of User::repos
  List the repos that the given user has starred.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $userName
    int $page = 1
    int $limit = 10
end note

note right of User::watched
  List the repositories watched by a user.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $userName
    int $page = 1
    int $limit = 10
end note
 
@enduml

     ██╗ ██████╗██████╗
     ██║██╔════╝██╔══██╗
     ██║██║     ██████╔╝
██   ██║██║     ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
 ╚════╝  ╚═════╝╚═════╝

Build with Joomla Component Builder