constants

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 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 DifferentialGetCommitMessageEditType added in v0.5.0

type DifferentialGetCommitMessageEditType string

DifferentialGetCommitMessageEditType is value of edit type field.

const (
	// DifferentialGetCommitMessageEdit mode hides read-only fields.
	DifferentialGetCommitMessageEdit DifferentialGetCommitMessageEditType = "edit"

	// DifferentialGetCommitMessageCreate mode hides read-only fields. "Field:"
	// templates are shown for some fields even if they are empty.
	DifferentialGetCommitMessageCreate DifferentialGetCommitMessageEditType = "create"

	// DifferentialGetCommitMessageRead shows all fields including read-only.
	// Value is empty string on purpose.
	DifferentialGetCommitMessageRead DifferentialGetCommitMessageEditType = ""
)

type DifferentialQueryCommitHashType

type DifferentialQueryCommitHashType string

DifferentialQueryCommitHashType are the commit types.

const (
	// DifferentialQueryGitCommit is a git commit.
	DifferentialQueryGitCommit DifferentialQueryCommitHashType = "gtcm"
	// DifferentialQueryGitTr is something.
	DifferentialQueryGitTr DifferentialQueryCommitHashType = "gttr"
	// DifferentialQueryHGCommit is a mercurial commit.
	DifferentialQueryHGCommit DifferentialQueryCommitHashType = "hgcm"
)

type DifferentialQueryOrder

type DifferentialQueryOrder string

DifferentialQueryOrder is the order in which query results cna be ordered.

const (
	// DifferentialQueryOrderModified orders results by date modified.
	DifferentialQueryOrderModified DifferentialQueryOrder = "order-modified"
	// DifferentialQueryOrderCreated orders results by date created.
	DifferentialQueryOrderCreated DifferentialQueryOrder = "order-created"
)

type DifferentialStatusLegacy added in v0.4.0

type DifferentialStatusLegacy int

DifferentialStatusLegacy is the status of a differential revision.

const (
	// DifferentialStatusLegacyNeedsReview is needs-review status.
	DifferentialStatusLegacyNeedsReview DifferentialStatusLegacy = 0
	// DifferentialStatusLegacyNeedsRevision is needs-revision status.
	DifferentialStatusLegacyNeedsRevision DifferentialStatusLegacy = 1
	// DifferentialStatusLegacyAccepted is accepted status.
	DifferentialStatusLegacyAccepted DifferentialStatusLegacy = 2
	// DifferentialStatusLegacyPublished is published (aka "closed") status.
	DifferentialStatusLegacyPublished DifferentialStatusLegacy = 3
	// DifferentialStatusLegacyAbandoned is abandoned status.
	DifferentialStatusLegacyAbandoned DifferentialStatusLegacy = 4
	// DifferentialStatusLegacyChangesPlanned is changes-planned status.
	DifferentialStatusLegacyChangesPlanned DifferentialStatusLegacy = 5
	// DifferentialStatusLegacyDraft is draft status. Value is the same as
	// for "needs-review" status because there were no legacy value for this
	// type.
	DifferentialStatusLegacyDraft DifferentialStatusLegacy = 0
)

type ManiphestQueryOrder

type ManiphestQueryOrder string

ManiphestQueryOrder is the order in which query results cna be ordered.

const (
	// ManiphestQueryOrderPriority orders results by priority.
	ManiphestQueryOrderPriority ManiphestQueryOrder = "order-priority"
	// ManiphestQueryOrderModified orders results by date modified.
	ManiphestQueryOrderModified ManiphestQueryOrder = "order-modified"
	// ManiphestQueryOrderCreated orders results by date created.
	ManiphestQueryOrderCreated ManiphestQueryOrder = "order-created"
)

type ManiphestSearchOrder added in v0.3.3

type ManiphestSearchOrder string

ManiphestSearchOrder is the order in which search results should be ordered.

const (
	// ManiphestSearchOrderPriority instructs to order search results by priority.
	ManiphestSearchOrderPriority ManiphestSearchOrder = "priority"
	// ManiphestSearchOrderUpdated instructs to order search results by Date Updated (Latest First).
	ManiphestSearchOrderUpdated ManiphestSearchOrder = "updated"
	// ManiphestSearchOrderOutdated instructs to order search results by Date Updated (Oldest First).
	ManiphestSearchOrderOutdated ManiphestSearchOrder = "outdated"

	// ManiphestSearchOrderNewest instructs to order search results by Creation (Newest First).
	ManiphestSearchOrderNewest ManiphestSearchOrder = "newest"
	// ManiphestSearchOrderOldest instructs to order search results by Creation (Oldest First).
	ManiphestSearchOrderOldest ManiphestSearchOrder = "oldest"
	// ManiphestSearchOrderClosed instructs to order search results by Date Closed (Latest First).
	ManiphestSearchOrderClosed ManiphestSearchOrder = "closed"

	// ManiphestSearchOrderTitle instructs to order search results by title.
	ManiphestSearchOrderTitle ManiphestSearchOrder = "title"
	// ManiphestSearchOrderRelevance instructs to order search results by relevance.
	ManiphestSearchOrderRelevance ManiphestSearchOrder = "relevance"
)

type ManiphestTaskStatus

type ManiphestTaskStatus string

ManiphestTaskStatus is the status of a differential task.

const (
	// ManiphestTaskStatusAny is any status.
	ManiphestTaskStatusAny ManiphestTaskStatus = "status-any"
	// ManiphestTaskStatusOpen is any task that is open.
	ManiphestTaskStatusOpen ManiphestTaskStatus = "status-open"
	// ManiphestTaskStatusClosed is any task that is closed.
	ManiphestTaskStatusClosed ManiphestTaskStatus = "status-closed"
	// ManiphestTaskStatusResolved is any task that is resolved.
	ManiphestTaskStatusResolved ManiphestTaskStatus = "status-resolved"
	// ManiphestTaskStatusWontFix is any task that is wontfix.
	ManiphestTaskStatusWontFix ManiphestTaskStatus = "status-wontfix"
	// ManiphestTaskStatusInvalid is any task that is invalid.
	ManiphestTaskStatusInvalid ManiphestTaskStatus = "status-invalid"
	// ManiphestTaskStatusSpite is any task that is spite.
	ManiphestTaskStatusSpite ManiphestTaskStatus = "status-spite"
	// ManiphestTaskStatusDuplicate is any task that is duplicated.
	ManiphestTaskStatusDuplicate ManiphestTaskStatus = "status-duplicate"
)

type PhidType added in v0.2.0

type PhidType string

PhidType is the type of the PHID.

const (
	// PhidTypeCommit is the PHID of a commit.
	PhidTypeCommit PhidType = "CMIT"

	// PhidTypeTask is the PHID of a task.
	PhidTypeTask PhidType = "TASK"

	// PhidTypeDifferentialRevision is the PHID of a differential revision.
	PhidTypeDifferentialRevision PhidType = "DREV"
)

type ProjectStatus

type ProjectStatus string

ProjectStatus is the status of a project.

const (
	// ProjectStatusAny is any project status.
	ProjectStatusAny ProjectStatus = "status-any"
	// ProjectStatusOpen is any project that is open.
	ProjectStatusOpen ProjectStatus = "status-open"
	// ProjectStatusClosed is any project that is closed.
	ProjectStatusClosed ProjectStatus = "status-closed"
	// ProjectStatusActive is any project that is active.
	ProjectStatusActive ProjectStatus = "status-active"
	// ProjectStatusArchived is any project that is archived.
	ProjectStatusArchived ProjectStatus = "status-archived"
)

type RemarkupProcessContextType added in v0.3.0

type RemarkupProcessContextType string

RemarkupProcessContextType are context types of remarkup object.

const (
	// RemarkupProcessPhriction is Phriction document.
	RemarkupProcessPhriction RemarkupProcessContextType = "phriction"

	// RemarkupProcessManiphest is Maniphest task.
	RemarkupProcessManiphest RemarkupProcessContextType = "maniphest"

	// RemarkupProcessDifferential is Differential revision.
	RemarkupProcessDifferential RemarkupProcessContextType = "differential"

	// RemarkupProcessPhame is Phame record.
	RemarkupProcessPhame RemarkupProcessContextType = "phame"

	// RemarkupProcessFeed is Feed record.
	RemarkupProcessFeed RemarkupProcessContextType = "feed"

	// RemarkupProcessDiffusion is Diffusion record.
	RemarkupProcessDiffusion RemarkupProcessContextType = "diffusion"
)

Jump to

Keyboard shortcuts

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