aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/models/models.go
blob: 816a04a878c3a79da658fc019446e4aaede891c0 (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/MichaelMure/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
}