queries

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 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 GetReadmeQuery

type GetReadmeQuery struct {
	Repository struct {
		Object struct {
			Blob struct {
				Text string
			} `graphql:"... on Blob"`
		} `graphql:"object(expression: $expression)"`
	} `graphql:"repository(name: $name, owner: $owner)"`
}

type GetUserQuery

type GetUserQuery struct {
	User struct {
		Id                string
		Login             string
		Name              string
		Location          string
		Url               string
		Bio               string
		TwitterUsername   string
		IsViewer          bool
		IsFollowingViewer bool
		ViewerIsFollowing bool
		WebsiteUrl        string
		Followers         struct {
			TotalCount int
		}
		Following struct {
			TotalCount int
		}
		PinnedItems struct {
			Nodes []struct {
				Repository struct {
					Id               string
					Name             string
					Description      string
					StargazerCount   int
					ViewerHasStarred bool
					Url              string
					Owner            struct {
						Login string
					}
					PrimaryLanguage struct {
						Name  string
						Color string
					}
				} `graphql:"... on Repository"`
			}
		} `graphql:"pinnedItems(first: $first)"`
		ContributionsCollection struct {
			ContributionCalendar struct {
				TotalContributions int
				Weeks              []struct {
					ContributionDays []struct {
						ContributionLevel string
					}
				}
			}
		}
	} `graphql:"user(login: $login)"`
}

Jump to

Keyboard shortcuts

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