2022-08-09 16:23:33 -06:00
|
|
|
scalar Time
|
|
|
|
scalar Map
|
2022-08-07 11:55:49 -06:00
|
|
|
|
2022-08-19 12:26:42 -06:00
|
|
|
type Connection @goModel(model: "github.com/sour-is/ev/pkg/gql.Connection") {
|
2022-08-07 11:55:49 -06:00
|
|
|
paging: PageInfo!
|
|
|
|
edges: [Edge!]!
|
|
|
|
}
|
2022-08-19 12:26:42 -06:00
|
|
|
input PageInput @goModel(model: "github.com/sour-is/ev/pkg/gql.PageInput") {
|
2022-10-25 20:15:57 -06:00
|
|
|
after: Int = 0
|
|
|
|
before: Int
|
|
|
|
count: Int = 30
|
2022-08-07 11:55:49 -06:00
|
|
|
}
|
2022-08-19 12:26:42 -06:00
|
|
|
type PageInfo @goModel(model: "github.com/sour-is/ev/pkg/gql.PageInfo") {
|
2022-08-07 11:55:49 -06:00
|
|
|
next: Boolean!
|
|
|
|
prev: Boolean!
|
|
|
|
|
|
|
|
begin: Int!
|
|
|
|
end: Int!
|
|
|
|
}
|
2022-08-19 12:26:42 -06:00
|
|
|
interface Edge @goModel(model: "github.com/sour-is/ev/pkg/gql.Edge"){
|
2022-08-07 11:55:49 -06:00
|
|
|
id: ID!
|
|
|
|
}
|
|
|
|
|
2022-08-09 16:23:33 -06:00
|
|
|
directive @goModel(
|
|
|
|
model: String
|
|
|
|
models: [String!]
|
|
|
|
) on OBJECT | INPUT_OBJECT | SCALAR | ENUM | INTERFACE | UNION
|
2022-08-07 11:55:49 -06:00
|
|
|
|
|
|
|
directive @goField(
|
|
|
|
forceResolver: Boolean
|
|
|
|
name: String
|
|
|
|
) on INPUT_FIELD_DEFINITION | FIELD_DEFINITION
|
2022-08-09 16:23:33 -06:00
|
|
|
|
|
|
|
directive @goTag(
|
|
|
|
key: String!
|
|
|
|
value: String
|
|
|
|
) on INPUT_FIELD_DEFINITION | FIELD_DEFINITION
|