Skip to content

Commit 5a475d2

Browse files
committed
Update schema snapshots
1 parent a91b809 commit 5a475d2

13 files changed

Lines changed: 1138 additions & 22 deletions

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

Lines changed: 106 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`prints a schema with the filter plugin and a custom operators plugin us
55
bit4Array: [BitString]
66
boolArray: [Boolean]
77
bpchar4Array: [String]
8+
byteaArray: [Base64EncodedBinary]
89
char4Array: [String]
910
cidrArray: [String]
1011
citextArray: [String]
@@ -56,6 +57,9 @@ input ArrayTypeFilter {
5657
"""Filter by the object’s \`bpchar4Array\` field."""
5758
bpchar4Array: StringListFilter
5859
60+
"""Filter by the object’s \`byteaArray\` field."""
61+
byteaArray: Base64EncodedBinaryListFilter
62+
5963
"""Filter by the object’s \`char4Array\` field."""
6064
char4Array: StringListFilter
6165
@@ -339,6 +343,102 @@ enum BackwardsOrderBy {
339343
PRIMARY_KEY_DESC
340344
}
341345
346+
"""Binary data encoded using Base64"""
347+
scalar Base64EncodedBinary
348+
349+
"""
350+
A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’
351+
"""
352+
input Base64EncodedBinaryFilter {
353+
"""
354+
Not equal to the specified value, treating null like an ordinary value.
355+
"""
356+
distinctFrom: Base64EncodedBinary
357+
358+
"""Equal to the specified value."""
359+
equalTo: Base64EncodedBinary
360+
361+
"""Included in the specified list."""
362+
in: [Base64EncodedBinary!]
363+
364+
"""
365+
Is null (if \`true\` is specified) or is not null (if \`false\` is specified).
366+
"""
367+
isNull: Boolean
368+
369+
"""Equal to the specified value, treating null like an ordinary value."""
370+
notDistinctFrom: Base64EncodedBinary
371+
372+
"""Not equal to the specified value."""
373+
notEqualTo: Base64EncodedBinary
374+
375+
"""Not included in the specified list."""
376+
notIn: [Base64EncodedBinary!]
377+
}
378+
379+
"""
380+
A filter to be used against Base64EncodedBinary List fields. All fields are combined with a logical ‘and.’
381+
"""
382+
input Base64EncodedBinaryListFilter {
383+
"""Any array item is equal to the specified value."""
384+
anyEqualTo: Base64EncodedBinary
385+
386+
"""Any array item is greater than the specified value."""
387+
anyGreaterThan: Base64EncodedBinary
388+
389+
"""Any array item is greater than or equal to the specified value."""
390+
anyGreaterThanOrEqualTo: Base64EncodedBinary
391+
392+
"""Any array item is less than the specified value."""
393+
anyLessThan: Base64EncodedBinary
394+
395+
"""Any array item is less than or equal to the specified value."""
396+
anyLessThanOrEqualTo: Base64EncodedBinary
397+
398+
"""Any array item is not equal to the specified value."""
399+
anyNotEqualTo: Base64EncodedBinary
400+
401+
"""Contained by the specified list of values."""
402+
containedBy: [Base64EncodedBinary]
403+
404+
"""Contains the specified list of values."""
405+
contains: [Base64EncodedBinary]
406+
407+
"""
408+
Not equal to the specified value, treating null like an ordinary value.
409+
"""
410+
distinctFrom: [Base64EncodedBinary]
411+
412+
"""Equal to the specified value."""
413+
equalTo: [Base64EncodedBinary]
414+
415+
"""Greater than the specified value."""
416+
greaterThan: [Base64EncodedBinary]
417+
418+
"""Greater than or equal to the specified value."""
419+
greaterThanOrEqualTo: [Base64EncodedBinary]
420+
421+
"""
422+
Is null (if \`true\` is specified) or is not null (if \`false\` is specified).
423+
"""
424+
isNull: Boolean
425+
426+
"""Less than the specified value."""
427+
lessThan: [Base64EncodedBinary]
428+
429+
"""Less than or equal to the specified value."""
430+
lessThanOrEqualTo: [Base64EncodedBinary]
431+
432+
"""Equal to the specified value, treating null like an ordinary value."""
433+
notDistinctFrom: [Base64EncodedBinary]
434+
435+
"""Not equal to the specified value."""
436+
notEqualTo: [Base64EncodedBinary]
437+
438+
"""Overlaps the specified list of values."""
439+
overlaps: [Base64EncodedBinary]
440+
}
441+
342442
"""
343443
A floating point number that requires more precision than IEEE 754 binary 64
344444
"""
@@ -2285,6 +2385,7 @@ type Filterable implements Node {
22852385
bit4: BitString
22862386
bool: Boolean
22872387
bpchar4: String
2388+
bytea: Base64EncodedBinary
22882389
char4: String
22892390
22902391
"""Reads and enables pagination through a set of \`ChildNoRelatedFilter\`."""
@@ -2671,6 +2772,9 @@ input FilterableFilter {
26712772
"""Filter by the object’s \`bpchar4\` field."""
26722773
bpchar4: StringFilter
26732774
2775+
"""Filter by the object’s \`bytea\` field."""
2776+
bytea: Base64EncodedBinaryFilter
2777+
26742778
"""Filter by the object’s \`char4\` field."""
26752779
char4: StringFilter
26762780
@@ -4051,10 +4155,10 @@ input JSONFilter {
40514155
contains: JSON
40524156
40534157
"""Contains all of the specified keys."""
4054-
containsAllKeys: [String]
4158+
containsAllKeys: [String!]
40554159
40564160
"""Contains any of the specified keys."""
4057-
containsAnyKeys: [String]
4161+
containsAnyKeys: [String!]
40584162
40594163
"""Contains the specified key."""
40604164
containsKey: String

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`prints a schema with the filter plugin and the connectionFilterAllowedF
55
bit4Array: [BitString]
66
boolArray: [Boolean]
77
bpchar4Array: [String]
8+
byteaArray: [Base64EncodedBinary]
89
char4Array: [String]
910
cidrArray: [String]
1011
citextArray: [String]
@@ -282,6 +283,9 @@ enum BackwardsOrderBy {
282283
PRIMARY_KEY_DESC
283284
}
284285
286+
"""Binary data encoded using Base64"""
287+
scalar Base64EncodedBinary
288+
285289
"""
286290
A floating point number that requires more precision than IEEE 754 binary 64
287291
"""
@@ -781,6 +785,7 @@ type Filterable implements Node {
781785
bit4: BitString
782786
bool: Boolean
783787
bpchar4: String
788+
bytea: Base64EncodedBinary
784789
char4: String
785790
786791
"""Reads and enables pagination through a set of \`ChildNoRelatedFilter\`."""

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`prints a schema with the filter plugin and the connectionFilterAllowedO
55
bit4Array: [BitString]
66
boolArray: [Boolean]
77
bpchar4Array: [String]
8+
byteaArray: [Base64EncodedBinary]
89
char4Array: [String]
910
cidrArray: [String]
1011
citextArray: [String]
@@ -56,6 +57,9 @@ input ArrayTypeFilter {
5657
"""Filter by the object’s \`bpchar4Array\` field."""
5758
bpchar4Array: StringListFilter
5859
60+
"""Filter by the object’s \`byteaArray\` field."""
61+
byteaArray: Base64EncodedBinaryListFilter
62+
5963
"""Filter by the object’s \`char4Array\` field."""
6064
char4Array: StringListFilter
6165
@@ -339,6 +343,31 @@ enum BackwardsOrderBy {
339343
PRIMARY_KEY_DESC
340344
}
341345
346+
"""Binary data encoded using Base64"""
347+
scalar Base64EncodedBinary
348+
349+
"""
350+
A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’
351+
"""
352+
input Base64EncodedBinaryFilter {
353+
"""Equal to the specified value."""
354+
equalTo: Base64EncodedBinary
355+
356+
"""Not equal to the specified value."""
357+
notEqualTo: Base64EncodedBinary
358+
}
359+
360+
"""
361+
A filter to be used against Base64EncodedBinary List fields. All fields are combined with a logical ‘and.’
362+
"""
363+
input Base64EncodedBinaryListFilter {
364+
"""Equal to the specified value."""
365+
equalTo: [Base64EncodedBinary]
366+
367+
"""Not equal to the specified value."""
368+
notEqualTo: [Base64EncodedBinary]
369+
}
370+
342371
"""
343372
A floating point number that requires more precision than IEEE 754 binary 64
344373
"""
@@ -1195,6 +1224,7 @@ type Filterable implements Node {
11951224
bit4: BitString
11961225
bool: Boolean
11971226
bpchar4: String
1227+
bytea: Base64EncodedBinary
11981228
char4: String
11991229
12001230
"""Reads and enables pagination through a set of \`ChildNoRelatedFilter\`."""
@@ -1581,6 +1611,9 @@ input FilterableFilter {
15811611
"""Filter by the object’s \`bpchar4\` field."""
15821612
bpchar4: StringFilter
15831613
1614+
"""Filter by the object’s \`bytea\` field."""
1615+
bytea: Base64EncodedBinaryFilter
1616+
15841617
"""Filter by the object’s \`char4\` field."""
15851618
char4: StringFilter
15861619

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

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`prints a schema with the filter plugin and the \`connectionFilterArrays
55
bit4Array: [BitString]
66
boolArray: [Boolean]
77
bpchar4Array: [String]
8+
byteaArray: [Base64EncodedBinary]
89
char4Array: [String]
910
cidrArray: [String]
1011
citextArray: [String]
@@ -258,6 +259,39 @@ enum BackwardsOrderBy {
258259
PRIMARY_KEY_DESC
259260
}
260261
262+
"""Binary data encoded using Base64"""
263+
scalar Base64EncodedBinary
264+
265+
"""
266+
A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’
267+
"""
268+
input Base64EncodedBinaryFilter {
269+
"""
270+
Not equal to the specified value, treating null like an ordinary value.
271+
"""
272+
distinctFrom: Base64EncodedBinary
273+
274+
"""Equal to the specified value."""
275+
equalTo: Base64EncodedBinary
276+
277+
"""Included in the specified list."""
278+
in: [Base64EncodedBinary!]
279+
280+
"""
281+
Is null (if \`true\` is specified) or is not null (if \`false\` is specified).
282+
"""
283+
isNull: Boolean
284+
285+
"""Equal to the specified value, treating null like an ordinary value."""
286+
notDistinctFrom: Base64EncodedBinary
287+
288+
"""Not equal to the specified value."""
289+
notEqualTo: Base64EncodedBinary
290+
291+
"""Not included in the specified list."""
292+
notIn: [Base64EncodedBinary!]
293+
}
294+
261295
"""
262296
A floating point number that requires more precision than IEEE 754 binary 64
263297
"""
@@ -1571,6 +1605,7 @@ type Filterable implements Node {
15711605
bit4: BitString
15721606
bool: Boolean
15731607
bpchar4: String
1608+
bytea: Base64EncodedBinary
15741609
char4: String
15751610
15761611
"""Reads and enables pagination through a set of \`ChildNoRelatedFilter\`."""
@@ -1957,6 +1992,9 @@ input FilterableFilter {
19571992
"""Filter by the object’s \`bpchar4\` field."""
19581993
bpchar4: StringFilter
19591994
1995+
"""Filter by the object’s \`bytea\` field."""
1996+
bytea: Base64EncodedBinaryFilter
1997+
19601998
"""Filter by the object’s \`char4\` field."""
19611999
char4: StringFilter
19622000
@@ -3010,10 +3048,10 @@ input JSONFilter {
30103048
contains: JSON
30113049
30123050
"""Contains all of the specified keys."""
3013-
containsAllKeys: [String]
3051+
containsAllKeys: [String!]
30143052
30153053
"""Contains any of the specified keys."""
3016-
containsAnyKeys: [String]
3054+
containsAnyKeys: [String!]
30173055
30183056
"""Contains the specified key."""
30193057
containsKey: String

0 commit comments

Comments
 (0)