2018-09-16 14:50:53 +03:00
|
|
|
// Package models contains the various GraphQL data models
|
2018-07-30 00:48:52 +03:00
|
|
|
package models
|
|
|
|
|
2018-07-30 02:08:45 +03:00
|
|
|
import (
|
|
|
|
"github.com/MichaelMure/git-bug/cache"
|
|
|
|
)
|
2018-07-30 00:48:52 +03:00
|
|
|
|
2018-08-01 20:24:19 +03:00
|
|
|
type ConnectionInput struct {
|
|
|
|
After *string
|
|
|
|
Before *string
|
|
|
|
First *int
|
|
|
|
Last *int
|
|
|
|
}
|
|
|
|
|
2018-07-30 00:48:52 +03:00
|
|
|
type Repository struct {
|
2018-09-02 16:45:14 +03:00
|
|
|
Cache *cache.MultiRepoCache
|
2018-08-23 22:24:57 +03:00
|
|
|
Repo *cache.RepoCache
|
2018-07-30 00:48:52 +03:00
|
|
|
}
|
2018-07-30 02:08:45 +03:00
|
|
|
|
|
|
|
type RepositoryMutation struct {
|
2018-09-02 16:45:14 +03:00
|
|
|
Cache *cache.MultiRepoCache
|
2018-08-23 22:24:57 +03:00
|
|
|
Repo *cache.RepoCache
|
2018-07-30 02:08:45 +03:00
|
|
|
}
|