Skip to content

Commit 3ee61c1

Browse files
committed
New index behaviors add more to schema
1 parent 50d70b8 commit 3ee61c1

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

__tests__/integration/schema/__snapshots__/ignoreIndexesFalse.test.ts.snap

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ input BackwardCompoundFilter {
132132
"""Filter by the object’s \`backwardCompound1\` field."""
133133
backwardCompound1: IntFilter
134134
135+
"""Filter by the object’s \`backwardCompound2\` field."""
136+
backwardCompound2: IntFilter
137+
135138
"""
136139
Filter by the object’s \`filterableByBackwardCompound1AndBackwardCompound2\` relation.
137140
"""
@@ -176,6 +179,8 @@ type BackwardCompoundsEdge {
176179
enum BackwardCompoundsOrderBy {
177180
BACKWARD_COMPOUND_1_ASC
178181
BACKWARD_COMPOUND_1_DESC
182+
BACKWARD_COMPOUND_2_ASC
183+
BACKWARD_COMPOUND_2_DESC
179184
NATURAL
180185
PRIMARY_KEY_ASC
181186
PRIMARY_KEY_DESC
@@ -878,6 +883,9 @@ input FilterableFilter {
878883
"""Filter by the object’s \`backwardCompound1\` field."""
879884
backwardCompound1: IntFilter
880885
886+
"""Filter by the object’s \`backwardCompound2\` field."""
887+
backwardCompound2: IntFilter
888+
881889
"""
882890
Filter by the object’s \`backwardCompoundByBackwardCompound1AndBackwardCompound2\` relation.
883891
"""
@@ -900,6 +908,9 @@ input FilterableFilter {
900908
"""Filter by the object’s \`forwardCompound1\` field."""
901909
forwardCompound1: IntFilter
902910
911+
"""Filter by the object’s \`forwardCompound2\` field."""
912+
forwardCompound2: IntFilter
913+
903914
"""
904915
Filter by the object’s \`forwardCompoundByForwardCompound1AndForwardCompound2\` relation.
905916
"""
@@ -959,8 +970,12 @@ type FilterablesEdge {
959970
enum FilterablesOrderBy {
960971
BACKWARD_COMPOUND_1_ASC
961972
BACKWARD_COMPOUND_1_DESC
973+
BACKWARD_COMPOUND_2_ASC
974+
BACKWARD_COMPOUND_2_DESC
962975
FORWARD_COMPOUND_1_ASC
963976
FORWARD_COMPOUND_1_DESC
977+
FORWARD_COMPOUND_2_ASC
978+
FORWARD_COMPOUND_2_DESC
964979
FORWARD_ID_ASC
965980
FORWARD_ID_DESC
966981
ID_ASC
@@ -1013,6 +1028,9 @@ input ForwardCompoundFilter {
10131028
"""Filter by the object’s \`forwardCompound1\` field."""
10141029
forwardCompound1: IntFilter
10151030
1031+
"""Filter by the object’s \`forwardCompound2\` field."""
1032+
forwardCompound2: IntFilter
1033+
10161034
"""Negates the expression."""
10171035
not: ForwardCompoundFilter
10181036
@@ -1052,6 +1070,8 @@ type ForwardCompoundsEdge {
10521070
enum ForwardCompoundsOrderBy {
10531071
FORWARD_COMPOUND_1_ASC
10541072
FORWARD_COMPOUND_1_DESC
1073+
FORWARD_COMPOUND_2_ASC
1074+
FORWARD_COMPOUND_2_DESC
10551075
NATURAL
10561076
PRIMARY_KEY_ASC
10571077
PRIMARY_KEY_DESC
@@ -1456,6 +1476,9 @@ input JunctionFilter {
14561476
14571477
"""Filter by the object’s \`sideBBySideBId\` relation."""
14581478
sideBBySideBId: SideBFilter
1479+
1480+
"""Filter by the object’s \`sideBId\` field."""
1481+
sideBId: IntFilter
14591482
}
14601483
14611484
"""A connection to a list of \`Junction\` values."""
@@ -1491,6 +1514,8 @@ enum JunctionsOrderBy {
14911514
PRIMARY_KEY_DESC
14921515
SIDE_A_ID_ASC
14931516
SIDE_A_ID_DESC
1517+
SIDE_B_ID_ASC
1518+
SIDE_B_ID_DESC
14941519
}
14951520
14961521
"""
@@ -2811,6 +2836,35 @@ enum SideAsOrderBy {
28112836
28122837
type SideB implements Node {
28132838
bId: Int!
2839+
2840+
"""Reads and enables pagination through a set of \`Junction\`."""
2841+
junctionsBySideBId(
2842+
"""Read all values in the set after (below) this cursor."""
2843+
after: Cursor
2844+
2845+
"""Read all values in the set before (above) this cursor."""
2846+
before: Cursor
2847+
2848+
"""
2849+
A filter to be used in determining which values should be returned by the collection.
2850+
"""
2851+
filter: JunctionFilter
2852+
2853+
"""Only read the first \`n\` values of the set."""
2854+
first: Int
2855+
2856+
"""Only read the last \`n\` values of the set."""
2857+
last: Int
2858+
2859+
"""
2860+
Skip the first \`n\` values from our \`after\` cursor, an alternative to cursor
2861+
based pagination. May not be used with \`last\`.
2862+
"""
2863+
offset: Int
2864+
2865+
"""The method to use when ordering \`Junction\`."""
2866+
orderBy: [JunctionsOrderBy!] = [PRIMARY_KEY_ASC]
2867+
): JunctionsConnection!
28142868
name: String!
28152869
28162870
"""
@@ -2829,6 +2883,12 @@ input SideBFilter {
28292883
"""Filter by the object’s \`bId\` field."""
28302884
bId: IntFilter
28312885
2886+
"""Filter by the object’s \`junctionsBySideBId\` relation."""
2887+
junctionsBySideBId: SideBToManyJunctionFilter
2888+
2889+
"""Some related \`junctionsBySideBId\` exist."""
2890+
junctionsBySideBIdExist: Boolean
2891+
28322892
"""Negates the expression."""
28332893
not: SideBFilter
28342894
@@ -2862,6 +2922,26 @@ type SideBSEdge {
28622922
node: SideB
28632923
}
28642924
2925+
"""
2926+
A filter to be used against many \`Junction\` object types. All fields are combined with a logical ‘and.’
2927+
"""
2928+
input SideBToManyJunctionFilter {
2929+
"""
2930+
Every related \`Junction\` matches the filter criteria. All fields are combined with a logical ‘and.
2931+
"""
2932+
every: JunctionFilter
2933+
2934+
"""
2935+
No related \`Junction\` matches the filter criteria. All fields are combined with a logical ‘and.
2936+
"""
2937+
none: JunctionFilter
2938+
2939+
"""
2940+
Some related \`Junction\` matches the filter criteria. All fields are combined with a logical ‘and.
2941+
"""
2942+
some: JunctionFilter
2943+
}
2944+
28652945
"""Methods to use when ordering \`SideB\`."""
28662946
enum SideBsOrderBy {
28672947
B_ID_ASC

0 commit comments

Comments
 (0)