Documentation ¶
Index ¶
- func AddItem(params *AddItemParams) (*[]byte, error)
- func AddItemMutation(projectId string, contentId string) string
- func CreateDraftIssue(params *CreateDraftIssueParams) (*[]byte, error)
- func CreateIssue(params *CreateIssueParams) (*[]byte, error)
- func CreateLabelApiArgs(owner string, repo string, labelName string) []string
- func GetDraftIssueMutation(projectId string, title string, body string, assigneeIds []string) string
- func GetLabelApiArgs(owner string, repo string, labelName string) []string
- func GetListQuery(clientType ClientType, name string) string
- func GetProjectFields(params *GetProjectFieldsParams) (*[]byte, error)
- func GetProjectFieldsQuery(projectId string) string
- func GetProjectItems(params *GetProjectItemsParams) (*[]byte, error)
- func GetProjectItemsQuery(projectId string, cursor *string) string
- func GetRepo(params *GetRepoParams) (*[]byte, error)
- func GetRepoQuery(owner string, repo string) string
- func GetUser(users []string) (*[]byte, error)
- func GetUserQuery(users []string) string
- func IssueMutation(repositoryId string, title string, body string, assigneeIds []string, ...) string
- func ListProject(params *ListProjectParams) (*[]byte, error)
- func UpdateItem(params *UpdateItemParams) (*[]byte, error)
- func UpdateItemMutation(projectId string, itemId string, fieldId string, ...) string
- type AddItemParams
- type ClientType
- type CreateDraftIssueParams
- type CreateIssueParams
- type GetProjectFieldsParams
- type GetProjectItemsParams
- type GetRepoParams
- type ITEM_TYPE
- type Label
- type ListProjectParams
- type PROJECT_V2_DATA_TYPE
- type UpdateItemParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddItem ¶
func AddItem(params *AddItemParams) (*[]byte, error)
func AddItemMutation ¶
func CreateDraftIssue ¶
func CreateDraftIssue(params *CreateDraftIssueParams) (*[]byte, error)
func CreateIssue ¶
func CreateIssue(params *CreateIssueParams) (*[]byte, error)
func CreateLabelApiArgs ¶
func GetDraftIssueMutation ¶
func GetListQuery ¶ added in v0.2.0
func GetListQuery(clientType ClientType, name string) string
func GetProjectFields ¶
func GetProjectFields(params *GetProjectFieldsParams) (*[]byte, error)
func GetProjectFieldsQuery ¶
func GetProjectItems ¶ added in v0.2.0
func GetProjectItems(params *GetProjectItemsParams) (*[]byte, error)
func GetProjectItemsQuery ¶ added in v0.2.0
func GetRepo ¶
func GetRepo(params *GetRepoParams) (*[]byte, error)
func GetRepoQuery ¶
func GetUserQuery ¶
func IssueMutation ¶
func ListProject ¶
func ListProject(params *ListProjectParams) (*[]byte, error)
func UpdateItem ¶
func UpdateItem(params *UpdateItemParams) (*[]byte, error)
func UpdateItemMutation ¶
Types ¶
type AddItemParams ¶
type ClientType ¶
type ClientType = string
const ( ORGANIZATION ClientType = "organization" USER ClientType = "user" )
type CreateDraftIssueParams ¶
type CreateIssueParams ¶
type GetProjectFieldsParams ¶ added in v0.2.0
type GetProjectFieldsParams struct {
ProjectId string
}
type GetProjectItemsParams ¶ added in v0.2.0
type GetRepoParams ¶
type Label ¶
type ListProjectParams ¶
type ListProjectParams struct { ClientType ClientType Name string }
type PROJECT_V2_DATA_TYPE ¶
type PROJECT_V2_DATA_TYPE = string
const ( ASSIGNEES PROJECT_V2_DATA_TYPE = "ASSIGNEES" DATE PROJECT_V2_DATA_TYPE = "DATE" ITERATION PROJECT_V2_DATA_TYPE = "ITERATION" LABELS PROJECT_V2_DATA_TYPE = "LABELS" LINKED_PULL_REQUESTS PROJECT_V2_DATA_TYPE = "LINKED_PULL_REQUESTS" MILESTONE PROJECT_V2_DATA_TYPE = "MILESTONE" NUMBER PROJECT_V2_DATA_TYPE = "NUMBER" REPOSITORY PROJECT_V2_DATA_TYPE = "REPOSITORY" REVIEWERS PROJECT_V2_DATA_TYPE = "REVIEWERS" SINGLE_SELECT PROJECT_V2_DATA_TYPE = "SINGLE_SELECT" TEXT PROJECT_V2_DATA_TYPE = "TEXT" TITLE PROJECT_V2_DATA_TYPE = "TITLE" TRACKS PROJECT_V2_DATA_TYPE = "TRACKS" )
type UpdateItemParams ¶
type UpdateItemParams struct { ProjectId string ItemId string FieldId string ValueType PROJECT_V2_DATA_TYPE Value any }
Click to show internal directories.
Click to hide internal directories.