aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/models/models.go
blob: 5355b7229b66d5c504681d99dfd563b0c491e875 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Package models contains the various GraphQL data models
package models

import (
	"github.com/git-bug/git-bug/cache"
)

type ConnectionInput struct {
	After  *string
	Before *string
	First  *int
	Last   *int
}

type Repository struct {
	Cache *cache.MultiRepoCache
	Repo  *cache.RepoCache
}

type RepositoryMutation struct {
	Cache *cache.MultiRepoCache
	Repo  *cache.RepoCache
}