fix: metrics handling

This commit is contained in:
xuu
2023-07-26 16:51:35 -06:00
parent fcd9ab4d56
commit 5ad7fce0ac
2 changed files with 48 additions and 43 deletions

View File

@@ -1,23 +1,23 @@
scalar Time
scalar Map
type Connection @goModel(model: "go.sour.is/ev/pkg/gql.Connection") {
type Connection @goModel(model: "go.sour.is/pkg/gql.Connection") {
paging: PageInfo!
edges: [Edge!]!
}
input PageInput @goModel(model: "go.sour.is/ev/pkg/gql.PageInput") {
input PageInput @goModel(model: "go.sour.is/pkg/gql.PageInput") {
after: Int = 0
before: Int
count: Int = 30
}
type PageInfo @goModel(model: "go.sour.is/ev/pkg/gql.PageInfo") {
type PageInfo @goModel(model: "go.sour.is/pkg/gql.PageInfo") {
next: Boolean!
prev: Boolean!
begin: Int!
end: Int!
}
interface Edge @goModel(model: "go.sour.is/ev/pkg/gql.Edge"){
interface Edge @goModel(model: "go.sour.is/pkg/gql.Edge"){
id: ID!
}