schemas

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllDomainWithVerification

type AllDomainWithVerification struct {
	Domains []DomainInfoWithVerification `json:"domains"`
}

type CreateDeploymentRequest

type CreateDeploymentRequest struct {
	Name    string           `json:"name"`
	Project string           `json:"project"`
	Files   []DeploymentFile `json:"files"`
}

type CreateProjectRequest

type CreateProjectRequest struct {
	Name            string `json:"name"`
	BuildCommand    string `json:"buildCommand,omitempty"`
	InstallCommand  string `json:"installCommand,omitempty"`
	DevCommand      string `json:"devCommand,omitempty"`
	Framework       string `json:"framework,omitempty"`
	OutputDirectory string `json:"outputDirectory,omitempty"`
	PublicSource    *bool  `json:"publicSource,omitempty"`
}

type DeleteTeamRequest

type DeleteTeamRequest struct {
	Reasons []Reason `json:"reasons,omitempty"`
}

type DeploymentFile

type DeploymentFile struct {
	File string `json:"file"`
	Sha  string `json:"sha"`
}

type DeploymentResponse

type DeploymentResponse struct {
	Id         string           `json:"id"`
	Url        string           `json:"url"`
	Files      []DeploymentFile `json:"files"`
	Status     string           `json:"status"`
	ReadyState string           `json:"readyState"`
	CreatedAt  int64            `json:"createdAt"`
}

type DeploymentStatus

type DeploymentStatus struct {
	Id         string `json:"id"`
	Name       string `json:"name"`
	Url        string `json:"url"`
	Status     string `json:"status"`
	ReadyState string `json:"readyState"`
	CreatedAt  int64  `json:"createdAt"`
}

type Domain

type Domain struct {
	Name       string `json:"name"`
	Method     string `json:"method,omitempty"`
	Verified   bool   `json:"verified,omitempty"`
	CDNEnabled bool   `json:"cdnEnabled,omitempty"`
}

type DomainConfigInfo

type DomainConfigInfo struct {
	ConfiguredBy       *string                 `json:"configuredBy"` // puede ser null
	Nameservers        []string                `json:"nameservers"`
	ServiceType        string                  `json:"serviceType"`
	CNAMEs             []string                `json:"cnames"`
	AValues            []string                `json:"aValues"`
	Conflicts          []string                `json:"conflicts"`
	AcceptedChallenges []string                `json:"acceptedChallenges"`
	IPStatus           *string                 `json:"ipStatus"` // puede ser null
	Misconfigured      bool                    `json:"misconfigured"`
	RecommendedIPv4    []RecommendedIPv4Entry  `json:"recommendedIPv4"`
	RecommendedCNAME   []RecommendedCNAMEEntry `json:"recommendedCNAME"`
}

type DomainInfo

type DomainInfo struct {
	Name                string               `json:"name"`
	ApexName            string               `json:"apexName"`
	ProjectID           string               `json:"projectId"`
	Redirect            string               `json:"redirect"`
	RedirectStatusCode  int                  `json:"redirectStatusCode"`
	GitBranch           string               `json:"gitBranch"`
	CustomEnvironmentID string               `json:"customEnvironmentId"`
	UpdatedAt           int64                `json:"updatedAt"`
	CreatedAt           int64                `json:"createdAt"`
	Verified            bool                 `json:"verified"`
	Verification        []DomainVerification `json:"verification"`
}

type DomainInfoWithVerification

type DomainInfoWithVerification struct {
	Info   *DomainInfo       `json:"info"`
	Config *DomainConfigInfo `json:"config"`
}

type DomainVerification

type DomainVerification struct {
	Type   string `json:"type"`
	Domain string `json:"domain"`
	Value  string `json:"value"`
	Reason string `json:"reason"`
}

type Filter

type Filter struct {
	Limit  int64  `json:"limit,omitempty"`
	Search string `json:"search,omitempty"`
	TeamID string `json:"teamId,omitempty"`
	Slug   string `json:"slug,omitempty"`
}

type ListProjectsResponse

type ListProjectsResponse struct {
	Projects   []Project  `json:"projects"`
	Pagination Pagination `json:"pagination"`
}

type ListTeamsResponse

type ListTeamsResponse struct {
	Teams      []Team     `json:"teams,omitempty"`
	Pagination Pagination `json:"pagination,omitempty"`
}

type Options

type Options struct {
	Production          *string `json:"production,omitempty"`
	Target              *string `json:"target,omitempty"`
	CustomEnvironmentID *string `json:"customEnvironmentId,omitempty"`
	GitBranch           *string `json:"gitBranch,omitempty"`
	Redirects           *string `json:"redirects,omitempty"`
	Redirect            *string `json:"redirect,omitempty"`
	Verified            *string `json:"verified,omitempty"`
	Limit               *int    `json:"limit,omitempty"`
	Since               *int64  `json:"since,omitempty"`
	Until               *int64  `json:"until,omitempty"`
	Order               *string `json:"order,omitempty"`
	Slug                *string `json:"slug,omitempty"`
}

type Pagination

type Pagination struct {
	Count int   `json:"count"`
	Next  int64 `json:"next"`
	Prev  int64 `json:"prev"`
}

type Project

type Project struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	AccountID string `json:"accountId"`
}

type ProjectDomainsResponse

type ProjectDomainsResponse struct {
	Domains    []DomainInfo `json:"domains"`
	Pagination Pagination   `json:"pagination"`
}

type Reason

type Reason struct {
	Slug        string `json:"slug,omitempty"`
	Description string `json:"description,omitempty"`
}

type RecommendedCNAMEEntry

type RecommendedCNAMEEntry struct {
	Rank  int    `json:"rank"`
	Value string `json:"value"`
}

type RecommendedIPv4Entry

type RecommendedIPv4Entry struct {
	Rank  int      `json:"rank"`
	Value []string `json:"value"`
}

type Team

type Team struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
	Slug string `json:"slug,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL