repo.svelte.ts

Declarations
#

5 declarations

view source

Repo
#

repo.svelte.ts view source

Runtime repo with Library composition for package metadata.

Wraps a Library instance and adds GitHub-specific data (CI status, PRs). Convenience getters delegate to this.library.* for common properties.

library

type Library

readonly

check_runs

type GithubCheckRunsItem | null

pull_requests

type Array<GithubPullRequest> | null

constructor

type new (repo_json: RepoJson): Repo

repo_json

RepoJson
#

repo.svelte.ts view source

RepoJson

Serialized repo data as stored in repos.ts (JSON).

library_json

type LibraryJson

check_runs

type GithubCheckRunsItem | null

pull_requests

type Array<GithubPullRequest> | null

Repos
#

repos_context
#

repo.svelte.ts view source

{ get: (error_message?: string | undefined) => Repos; get_maybe: () => Repos | undefined; set: (value: Repos) => Repos; }

repos_parse
#

repo.svelte.ts view source

(repos: Repo[], homepage_url: string): Repos

repos

type Repo[]

homepage_url

type string

returns

Repos

Depends on
#