Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Aug 11, 2024
1 parent 4e2ec75 commit a8b9691
Show file tree
Hide file tree
Showing 14 changed files with 79 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ schema @server @upstream(baseURL: "https://jsonplaceholder.typicode.com") {
query: Query
}

input Id @tag(id: "news.NewsId") {
input Id {
id: Int
}

input news__MultipleNewsId @tag(id: "news.MultipleNewsId") {
input news__MultipleNewsId {
ids: [Id]
}

input news__NewsInput @tag(id: "news.News") {
input news__NewsInput {
body: String
id: Int
postImage: String
Expand Down Expand Up @@ -47,15 +47,15 @@ type Geo {
lng: String
}

type News @tag(id: "news.News") {
type News {
body: String
id: Int
postImage: String
status: news__Status
title: String
}

type NewsNewsServiceGetMultipleNew @tag(id: "news.NewsList") {
type NewsNewsServiceGetMultipleNew {
news: [News]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ schema @server @upstream {
query: Query
}

input news__MultipleNewsId @tag(id: "news.MultipleNewsId") {
input news__MultipleNewsId {
ids: [news__NewsId]
}

input news__NewsId @tag(id: "news.NewsId") {
input news__NewsId {
id: Int
}

input news__NewsInput @tag(id: "news.News") {
input news__NewsInput {
body: String
id: Int
postImage: String
Expand All @@ -37,14 +37,14 @@ type Query {
news__NewsService__GetNews(newsId: news__NewsId!): news__News! @grpc(body: "{{.args.newsId}}", method: "news.NewsService.GetNews")
}

type news__News @tag(id: "news.News") {
type news__News {
body: String
id: Int
postImage: String
status: news__Status
title: String
}

type news__NewsList @tag(id: "news.NewsList") {
type news__NewsList {
news: [news__News]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ schema @server @upstream {
query: Query
}

input greetings__HelloRequest @tag(id: "greetings.HelloRequest") {
input greetings__HelloRequest {
name: String
}

"""
The request message containing the user's name.
"""
input greetings_a__b__HelloRequest @tag(id: "greetings_a.b.HelloRequest") {
input greetings_a__b__HelloRequest {
name: String
}

input news__MultipleNewsId @tag(id: "news.MultipleNewsId") {
input news__MultipleNewsId {
ids: [news__NewsId]
}

input news__NewsId @tag(id: "news.NewsId") {
input news__NewsId {
id: Int
}

input news__NewsInput @tag(id: "news.News") {
input news__NewsInput {
body: String
id: Int
postImage: String
Expand Down Expand Up @@ -56,25 +56,25 @@ type Query {
news__NewsService__GetNews(newsId: news__NewsId!): news__News! @grpc(body: "{{.args.newsId}}", method: "news.NewsService.GetNews")
}

type greetings__HelloReply @tag(id: "greetings.HelloReply") {
type greetings__HelloReply {
message: String
}

"""
The response message containing the greetings
"""
type greetings_a__b__HelloReply @tag(id: "greetings_a.b.HelloReply") {
type greetings_a__b__HelloReply {
message: String
}

type news__News @tag(id: "news.News") {
type news__News {
body: String
id: Int
postImage: String
status: news__Status
title: String
}

type news__NewsList @tag(id: "news.NewsList") {
type news__NewsList {
news: [news__News]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ schema @server @upstream {
query: Query
}

type News @tag(id: "News") {
type News {
body: String
id: Int
postImage: String
title: String
}

type NewsList @tag(id: "NewsList") {
type NewsList {
news: [News]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ schema @server @upstream {
query: Query
}

input greetings__HelloRequest @tag(id: "greetings.HelloRequest") {
input greetings__HelloRequest {
name: String
}

type Query {
greetings__Greeter__SayHello(helloRequest: greetings__HelloRequest!): greetings__HelloReply! @grpc(body: "{{.args.helloRequest}}", method: "greetings.Greeter.SayHello")
}

type greetings__HelloReply @tag(id: "greetings.HelloReply") {
type greetings__HelloReply {
message: String
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ schema @server @upstream {
query: Query
}

input map__MapRequest @tag(id: "map.MapRequest") {
input map__MapRequest {
map: JSON
}

type Query {
map__MapService__GetMap(mapRequest: map__MapRequest!): map__MapResponse! @grpc(body: "{{.args.mapRequest}}", method: "map.MapService.GetMap")
}

type map__MapResponse @tag(id: "map.MapResponse") {
type map__MapResponse {
map: JSON
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ with 0 nanoseconds should be encoded in JSON format as "3s", while 3 seconds an
1 nanosecond should be expressed in JSON format as "3.000000001s", and 3 seconds
and 1 microsecond should be expressed in JSON format as "3.000001s".
"""
input google__protobuf__DurationInput @tag(id: "google.protobuf.Duration") {
input google__protobuf__DurationInput {
"""
Signed fractions of a second at nanosecond resolution of the span of time. Durations
less than one second are represented with a 0 `seconds` field and a positive or
Expand All @@ -51,7 +51,7 @@ input google__protobuf__DurationInput @tag(id: "google.protobuf.Duration") {
"""
Wrapper message for `int32`. The JSON representation for `Int32Value` is JSON number.
"""
input google__protobuf__Int32ValueInput @tag(id: "google.protobuf.Int32Value") {
input google__protobuf__Int32ValueInput {
"""
The int32 value.
"""
Expand All @@ -62,7 +62,7 @@ input google__protobuf__Int32ValueInput @tag(id: "google.protobuf.Int32Value") {
Wrapper message for `string`. The JSON representation for `StringValue` is JSON
string.
"""
input google__protobuf__StringValue @tag(id: "google.protobuf.StringValue") {
input google__protobuf__StringValue {
"""
The string value.
"""
Expand Down Expand Up @@ -111,7 +111,7 @@ with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can u
the Joda Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
) to obtain a formatter capable of generating timestamps in this format.
"""
input google__protobuf__TimestampInput @tag(id: "google.protobuf.Timestamp") {
input google__protobuf__TimestampInput {
"""
Non-negative fractions of a second at nanosecond resolution. Negative second values
with fractions must still have non-negative nanos values that count forward in time.
Expand All @@ -128,7 +128,7 @@ input google__protobuf__TimestampInput @tag(id: "google.protobuf.Timestamp") {
"""
movie message payload
"""
input movies__MovieInput @tag(id: "movies.Movie") {
input movies__MovieInput {
"""
list of cast
"""
Expand All @@ -145,14 +145,14 @@ input movies__MovieInput @tag(id: "movies.Movie") {
year: google__protobuf__Int32ValueInput
}

input movies__MovieRequest @tag(id: "movies.MovieRequest") {
input movies__MovieRequest {
movie: movies__MovieInput
}

"""
This is a comment for submovie
"""
input movies__Movie__SubMovieInput @tag(id: "movies.Movie.SubMovie") {
input movies__Movie__SubMovieInput {
"""
This is a comment for movie format in submovie
"""
Expand All @@ -163,7 +163,7 @@ input movies__Movie__SubMovieInput @tag(id: "movies.Movie.SubMovie") {
subRating: Float
}

input movies__SearchByCastRequest @tag(id: "movies.SearchByCastRequest") {
input movies__SearchByCastRequest {
castName: google__protobuf__StringValue
}

Expand Down Expand Up @@ -258,7 +258,7 @@ type Query {
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s".
"""
type google__protobuf__Duration @tag(id: "google.protobuf.Duration") {
type google__protobuf__Duration {
"""
Signed fractions of a second at nanosecond resolution of the span
of time. Durations less than one second are represented with a 0
Expand All @@ -280,7 +280,7 @@ type google__protobuf__Duration @tag(id: "google.protobuf.Duration") {
Wrapper message for `int32`.
The JSON representation for `Int32Value` is JSON number.
"""
type google__protobuf__Int32Value @tag(id: "google.protobuf.Int32Value") {
type google__protobuf__Int32Value {
"""
The int32 value.
"""
Expand Down Expand Up @@ -355,7 +355,7 @@ type google__protobuf__Int32Value @tag(id: "google.protobuf.Int32Value") {
http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
) to obtain a formatter capable of generating timestamps in this format.
"""
type google__protobuf__Timestamp @tag(id: "google.protobuf.Timestamp") {
type google__protobuf__Timestamp {
"""
Non-negative fractions of a second at nanosecond resolution. Negative
second values with fractions must still have non-negative nanos values
Expand All @@ -374,7 +374,7 @@ type google__protobuf__Timestamp @tag(id: "google.protobuf.Timestamp") {
"""
movie message payload
"""
type movies__Movie @tag(id: "movies.Movie") {
type movies__Movie {
"""
list of cast
"""
Expand All @@ -394,7 +394,7 @@ type movies__Movie @tag(id: "movies.Movie") {
"""
This is a comment for submovie
"""
type movies__Movie__SubMovie @tag(id: "movies.Movie.SubMovie") {
type movies__Movie__SubMovie {
"""
This is a comment for movie format in submovie
"""
Expand All @@ -408,7 +408,7 @@ type movies__Movie__SubMovie @tag(id: "movies.Movie.SubMovie") {
"""
movie result message, contains list of movies
"""
type movies__MoviesResult @tag(id: "movies.MoviesResult") {
type movies__MoviesResult {
"""
list of movies
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ schema @server @upstream {
query: Query
}

input nested__types__Result__Nested__VeryNestedInput @tag(id: "nested.types.Result.Nested.VeryNested") {
input nested__types__Result__Nested__VeryNestedInput {
description: String
}

Expand All @@ -20,17 +20,17 @@ type Query {
nested__types__Example__Get(veryNested: nested__types__Result__Nested__VeryNestedInput!): nested__types__Result! @grpc(body: "{{.args.veryNested}}", method: "nested.types.Example.Get")
}

type nested__types__Result @tag(id: "nested.types.Result") {
type nested__types__Result {
nestedEnum: nested__types__Result__NestedEnum
nestedUsage: nested__types__Result__Nested
value: String
}

type nested__types__Result__Nested @tag(id: "nested.types.Result.Nested") {
type nested__types__Result__Nested {
info: nested__types__Result__Nested__VeryNested
movie: String
}

type nested__types__Result__Nested__VeryNested @tag(id: "nested.types.Result.Nested.VeryNested") {
type nested__types__Result__Nested__VeryNested {
description: String
}
Loading

0 comments on commit a8b9691

Please sign in to comment.