refactor: rename to vanity url

This commit is contained in:
2023-02-26 22:33:01 -07:00
parent 3f3ea4439c
commit 0621e2e815
60 changed files with 214 additions and 217 deletions

View File

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

View File

@@ -4,7 +4,7 @@ import (
"context"
"encoding/json"
"github.com/sour-is/ev/pkg/es/event"
"go.sour.is/ev/pkg/es/event"
)
type Edge interface {

View File

@@ -19,9 +19,9 @@ import (
"github.com/gorilla/websocket"
"github.com/ravilushqa/otelgqlgen"
"github.com/sour-is/ev/internal/lg"
"github.com/sour-is/ev/pkg/gql/graphiql"
"github.com/sour-is/ev/pkg/gql/playground"
"go.sour.is/ev/internal/lg"
"go.sour.is/ev/pkg/gql/graphiql"
"go.sour.is/ev/pkg/gql/playground"
)
type BaseResolver interface {