models.go
1// Package models contains the various GraphQL data models
2package models
3
4import (
5 "github.com/git-bug/git-bug/cache"
6)
7
8type ConnectionInput struct {
9 After *string
10 Before *string
11 First *int
12 Last *int
13}
14
15type Repository struct {
16 Cache *cache.MultiRepoCache
17 Repo *cache.RepoCache
18}
19
20type RepositoryMutation struct {
21 Cache *cache.MultiRepoCache
22 Repo *cache.RepoCache
23}