Skip to content

Commit

Permalink
Fix merge conflicts with master
Browse files Browse the repository at this point in the history
  • Loading branch information
vmrajas committed Oct 28, 2020
1 parent b8155ab commit 4d70f62
Showing 1 changed file with 78 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,31 @@ For example: "1985-04-12T23:20:50.52Z" represents 20 minutes and 50.52 seconds a
"""
scalar DateTime

input IntRange{
min: Int
max: Int
}

input FloatRange{
min: Float
max: Float
}

input Int64Range{
min: Int64
max: Int64
}

input DateTimeRange{
min: DateTime
max: DateTime
}

input StringRange{
min: String
max: String
}

enum DgraphIndex {
int
int64
Expand Down Expand Up @@ -102,7 +127,53 @@ input NearFilter {
}

input PointGeoFilter {
near: NearFilter!
near: NearFilter
within: WithinFilter
}

type PointList {
points: [Point!]!
}

input PointListRef {
points: [PointRef!]!
}

type Polygon {
coordinates: [PointList!]!
}

input PolygonRef {
coordinates: [PointListRef!]!
}

type MultiPolygon {
polygons: [Polygon!]!
}

input MultiPolygonRef {
polygons: [PolygonRef!]!
}

input WithinFilter {
polygon: PolygonRef!
}

input ContainsFilter {
point: PointRef
polygon: PolygonRef
}

input IntersectsFilter {
polygon: PolygonRef
multiPolygon: MultiPolygonRef
}

input PolygonGeoFilter {
near: NearFilter
within: WithinFilter
contains: ContainsFilter
intersects: IntersectsFilter
}

input GenerateQueryParams {
Expand Down Expand Up @@ -132,6 +203,7 @@ directive @custom(http: CustomHTTP, dql: String) on FIELD_DEFINITION
directive @remote on OBJECT | INTERFACE | UNION | INPUT_OBJECT | ENUM
directive @cascade(fields: [String]) on FIELD
directive @lambda on FIELD_DEFINITION
directive @cacheControl(maxAge: Int!) on QUERY
directive @generate(
query: GenerateQueryParams,
mutation: GenerateMutationParams,
Expand All @@ -143,6 +215,7 @@ input IntFilter {
lt: Int
ge: Int
gt: Int
between: IntRange
}

input Int64Filter {
Expand All @@ -151,6 +224,7 @@ input Int64Filter {
lt: Int64
ge: Int64
gt: Int64
between: Int64Range
}

input FloatFilter {
Expand All @@ -159,6 +233,7 @@ input FloatFilter {
lt: Float
ge: Float
gt: Float
between: FloatRange
}

input DateTimeFilter {
Expand All @@ -167,6 +242,7 @@ input DateTimeFilter {
lt: DateTime
ge: DateTime
gt: DateTime
between: DateTimeRange
}

input StringTermFilter {
Expand All @@ -190,6 +266,7 @@ input StringExactFilter {
lt: String
ge: String
gt: String
between: StringRange
}

input StringHashFilter {
Expand Down

0 comments on commit 4d70f62

Please sign in to comment.