aboutsummaryrefslogblamecommitdiffstats
path: root/api/graphql/models/models.go
blob: 5355b7229b66d5c504681d99dfd563b0c491e875 (plain) (tree)
1
2
3
4
5
6
7
                                                          

              
        
                                          
 
 






                             
                        
                                   
                              
 

                                
                                   
                              
 
// 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
}