bridge.core.github_pages module#

Auto-generated Pydantic models for the GitHub Pages schema. Do not edit this file manually — it is generated by scripts/gen_models.py from the JSON schema at schemas/github_pages.json.

class bridge.core.github_pages.BuildType(*values)[source]#

Bases: Enum

Type of build process for GitHub Pages.

class bridge.core.github_pages.GitHubPages(**data)[source]#

Bases: BaseModel

GitHub Pages configuration and metadata.

Parameters:
  • url (AnyUrl)

  • status (Status | None)

  • cname (str | None)

  • protected_domain_state (ProtectedDomainState | None)

  • pending_domain_unverified_at (AwareDatetime | None)

  • custom_404 (bool)

  • html_url (AnyUrl | None)

  • build_type (BuildType | None)

  • source (Source | None)

  • public (bool)

  • https_certificate (HttpsCertificate | None)

  • https_enforced (bool | None)

build_type: BuildType | None#
cname: str | None#
custom_404: bool#
html_url: AnyUrl | None#
https_certificate: HttpsCertificate | None#
https_enforced: bool | None#
pending_domain_unverified_at: AwareDatetime | None#
protected_domain_state: ProtectedDomainState | None#
public: bool#
source: Source | None#
status: Status | None#
url: AnyUrl#
class bridge.core.github_pages.HttpsCertificate(**data)[source]#

Bases: BaseModel

HTTPS certificate information for GitHub Pages.

Parameters:
  • state (State)

  • description (str)

  • domains (list[str])

  • expires_at (date | None)

description: str#
domains: list[str]#
expires_at: date | None#
state: State#
class bridge.core.github_pages.ProtectedDomainState(*values)[source]#

Bases: Enum

State of domain verification for GitHub Pages.

class bridge.core.github_pages.Source(**data)[source]#

Bases: BaseModel

Source configuration for GitHub Pages.

Parameters:
  • branch (str)

  • path (str)

branch: str#
path: str#
class bridge.core.github_pages.State(*values)[source]#

Bases: Enum

State of HTTPS certificate for GitHub Pages.

class bridge.core.github_pages.Status(*values)[source]#

Bases: Enum

Status of the most recent GitHub Pages build.