@0xobelisk/graphql-server 1.2.0-pre.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/Dockerfile +31 -0
  2. package/EXPRESS_MIGRATION.md +176 -0
  3. package/LICENSE +92 -0
  4. package/README.md +908 -0
  5. package/dist/config/subscription-config.d.ts +47 -0
  6. package/dist/config/subscription-config.d.ts.map +1 -0
  7. package/dist/config/subscription-config.js +133 -0
  8. package/dist/config/subscription-config.js.map +1 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +217 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/plugins/all-fields-filter-plugin.d.ts +4 -0
  14. package/dist/plugins/all-fields-filter-plugin.d.ts.map +1 -0
  15. package/dist/plugins/all-fields-filter-plugin.js +132 -0
  16. package/dist/plugins/all-fields-filter-plugin.js.map +1 -0
  17. package/dist/plugins/database-introspector.d.ts +23 -0
  18. package/dist/plugins/database-introspector.d.ts.map +1 -0
  19. package/dist/plugins/database-introspector.js +96 -0
  20. package/dist/plugins/database-introspector.js.map +1 -0
  21. package/dist/plugins/enhanced-playground.d.ts +9 -0
  22. package/dist/plugins/enhanced-playground.d.ts.map +1 -0
  23. package/dist/plugins/enhanced-playground.js +97 -0
  24. package/dist/plugins/enhanced-playground.js.map +1 -0
  25. package/dist/plugins/enhanced-server-manager.d.ts +28 -0
  26. package/dist/plugins/enhanced-server-manager.d.ts.map +1 -0
  27. package/dist/plugins/enhanced-server-manager.js +232 -0
  28. package/dist/plugins/enhanced-server-manager.js.map +1 -0
  29. package/dist/plugins/index.d.ts +9 -0
  30. package/dist/plugins/index.d.ts.map +1 -0
  31. package/dist/plugins/index.js +26 -0
  32. package/dist/plugins/index.js.map +1 -0
  33. package/dist/plugins/postgraphile-config.d.ts +94 -0
  34. package/dist/plugins/postgraphile-config.d.ts.map +1 -0
  35. package/dist/plugins/postgraphile-config.js +183 -0
  36. package/dist/plugins/postgraphile-config.js.map +1 -0
  37. package/dist/plugins/query-filter.d.ts +4 -0
  38. package/dist/plugins/query-filter.d.ts.map +1 -0
  39. package/dist/plugins/query-filter.js +42 -0
  40. package/dist/plugins/query-filter.js.map +1 -0
  41. package/dist/plugins/simple-naming.d.ts +4 -0
  42. package/dist/plugins/simple-naming.d.ts.map +1 -0
  43. package/dist/plugins/simple-naming.js +79 -0
  44. package/dist/plugins/simple-naming.js.map +1 -0
  45. package/dist/plugins/welcome-page.d.ts +11 -0
  46. package/dist/plugins/welcome-page.d.ts.map +1 -0
  47. package/dist/plugins/welcome-page.js +203 -0
  48. package/dist/plugins/welcome-page.js.map +1 -0
  49. package/dist/universal-subscriptions.d.ts +32 -0
  50. package/dist/universal-subscriptions.d.ts.map +1 -0
  51. package/dist/universal-subscriptions.js +318 -0
  52. package/dist/universal-subscriptions.js.map +1 -0
  53. package/dist/utils/logger/index.d.ts +80 -0
  54. package/dist/utils/logger/index.d.ts.map +1 -0
  55. package/dist/utils/logger/index.js +232 -0
  56. package/dist/utils/logger/index.js.map +1 -0
  57. package/docker-compose.yml +87 -0
  58. package/package.json +71 -0
  59. package/server.log +62 -0
  60. package/src/config/subscription-config.ts +186 -0
  61. package/src/index.ts +239 -0
  62. package/src/plugins/README.md +123 -0
  63. package/src/plugins/all-fields-filter-plugin.ts +158 -0
  64. package/src/plugins/database-introspector.ts +126 -0
  65. package/src/plugins/enhanced-playground.ts +105 -0
  66. package/src/plugins/enhanced-server-manager.ts +282 -0
  67. package/src/plugins/index.ts +9 -0
  68. package/src/plugins/postgraphile-config.ts +226 -0
  69. package/src/plugins/query-filter.ts +50 -0
  70. package/src/plugins/simple-naming.ts +105 -0
  71. package/src/plugins/welcome-page.ts +218 -0
  72. package/src/universal-subscriptions.ts +397 -0
  73. package/src/utils/logger/README.md +193 -0
  74. package/src/utils/logger/index.ts +315 -0
  75. package/sui-indexer-schema.graphql +1004 -0
  76. package/test-express.js +124 -0
  77. package/test_listen_subscription.js +121 -0
  78. package/test_notification.js +63 -0
  79. package/tsconfig.json +28 -0
@@ -0,0 +1,1004 @@
1
+ """The root query type which gives access points into the data universe."""
2
+ type Query implements Node {
3
+ """
4
+ Exposes the root query type nested one level down. This is helpful for Relay 1
5
+ which can only query top level fields if they are in a particular form.
6
+ """
7
+ query: Query!
8
+
9
+ """
10
+ The root query type must be a `Node` to work well with Relay 1 mutations. This just resolves to `query`.
11
+ """
12
+ nodeId: ID!
13
+
14
+ """Fetches an object given its globally unique `ID`."""
15
+ node(
16
+ """The globally unique `ID`."""
17
+ nodeId: ID!
18
+ ): Node
19
+
20
+ """Reads and enables pagination through a set of `StoreCounter0`."""
21
+ counter0s(
22
+ """Only read the first `n` values of the set."""
23
+ first: Int
24
+
25
+ """Only read the last `n` values of the set."""
26
+ last: Int
27
+
28
+ """
29
+ Skip the first `n` values from our `after` cursor, an alternative to cursor
30
+ based pagination. May not be used with `last`.
31
+ """
32
+ offset: Int
33
+
34
+ """Read all values in the set before (above) this cursor."""
35
+ before: Cursor
36
+
37
+ """Read all values in the set after (below) this cursor."""
38
+ after: Cursor
39
+
40
+ """The method to use when ordering `StoreCounter0`."""
41
+ orderBy: [StoreCounter0sOrderBy!] = [PRIMARY_KEY_ASC]
42
+
43
+ """
44
+ A condition to be used in determining which values should be returned by the collection.
45
+ """
46
+ condition: StoreCounter0Condition
47
+
48
+ """
49
+ A filter to be used in determining which values should be returned by the collection.
50
+ """
51
+ filter: StoreCounter0Filter
52
+ ): StoreCounter0sConnection
53
+
54
+ """Reads and enables pagination through a set of `StoreCounter1`."""
55
+ counter1s(
56
+ """Only read the first `n` values of the set."""
57
+ first: Int
58
+
59
+ """Only read the last `n` values of the set."""
60
+ last: Int
61
+
62
+ """
63
+ Skip the first `n` values from our `after` cursor, an alternative to cursor
64
+ based pagination. May not be used with `last`.
65
+ """
66
+ offset: Int
67
+
68
+ """Read all values in the set before (above) this cursor."""
69
+ before: Cursor
70
+
71
+ """Read all values in the set after (below) this cursor."""
72
+ after: Cursor
73
+
74
+ """The method to use when ordering `StoreCounter1`."""
75
+ orderBy: [StoreCounter1sOrderBy!] = [PRIMARY_KEY_ASC]
76
+
77
+ """
78
+ A condition to be used in determining which values should be returned by the collection.
79
+ """
80
+ condition: StoreCounter1Condition
81
+
82
+ """
83
+ A filter to be used in determining which values should be returned by the collection.
84
+ """
85
+ filter: StoreCounter1Filter
86
+ ): StoreCounter1sConnection
87
+
88
+ """Reads and enables pagination through a set of `StoreCounter2`."""
89
+ counter2s(
90
+ """Only read the first `n` values of the set."""
91
+ first: Int
92
+
93
+ """Only read the last `n` values of the set."""
94
+ last: Int
95
+
96
+ """
97
+ Skip the first `n` values from our `after` cursor, an alternative to cursor
98
+ based pagination. May not be used with `last`.
99
+ """
100
+ offset: Int
101
+
102
+ """Read all values in the set before (above) this cursor."""
103
+ before: Cursor
104
+
105
+ """Read all values in the set after (below) this cursor."""
106
+ after: Cursor
107
+
108
+ """The method to use when ordering `StoreCounter2`."""
109
+ orderBy: [StoreCounter2sOrderBy!] = [NATURAL]
110
+
111
+ """
112
+ A condition to be used in determining which values should be returned by the collection.
113
+ """
114
+ condition: StoreCounter2Condition
115
+
116
+ """
117
+ A filter to be used in determining which values should be returned by the collection.
118
+ """
119
+ filter: StoreCounter2Filter
120
+ ): StoreCounter2sConnection
121
+
122
+ """Reads and enables pagination through a set of `TableField`."""
123
+ tableFields(
124
+ """Only read the first `n` values of the set."""
125
+ first: Int
126
+
127
+ """Only read the last `n` values of the set."""
128
+ last: Int
129
+
130
+ """
131
+ Skip the first `n` values from our `after` cursor, an alternative to cursor
132
+ based pagination. May not be used with `last`.
133
+ """
134
+ offset: Int
135
+
136
+ """Read all values in the set before (above) this cursor."""
137
+ before: Cursor
138
+
139
+ """Read all values in the set after (below) this cursor."""
140
+ after: Cursor
141
+
142
+ """The method to use when ordering `TableField`."""
143
+ orderBy: [TableFieldsOrderBy!] = [PRIMARY_KEY_ASC]
144
+
145
+ """
146
+ A condition to be used in determining which values should be returned by the collection.
147
+ """
148
+ condition: TableFieldCondition
149
+
150
+ """
151
+ A filter to be used in determining which values should be returned by the collection.
152
+ """
153
+ filter: TableFieldFilter
154
+ ): TableFieldsConnection
155
+
156
+ """Reads and enables pagination through a set of `TableMetadatum`."""
157
+ tableMetadata(
158
+ """Only read the first `n` values of the set."""
159
+ first: Int
160
+
161
+ """Only read the last `n` values of the set."""
162
+ last: Int
163
+
164
+ """
165
+ Skip the first `n` values from our `after` cursor, an alternative to cursor
166
+ based pagination. May not be used with `last`.
167
+ """
168
+ offset: Int
169
+
170
+ """Read all values in the set before (above) this cursor."""
171
+ before: Cursor
172
+
173
+ """Read all values in the set after (below) this cursor."""
174
+ after: Cursor
175
+
176
+ """The method to use when ordering `TableMetadatum`."""
177
+ orderBy: [TableMetadataOrderBy!] = [PRIMARY_KEY_ASC]
178
+
179
+ """
180
+ A condition to be used in determining which values should be returned by the collection.
181
+ """
182
+ condition: TableMetadatumCondition
183
+
184
+ """
185
+ A filter to be used in determining which values should be returned by the collection.
186
+ """
187
+ filter: TableMetadatumFilter
188
+ ): TableMetadataConnection
189
+ counter0(entityId: String!): StoreCounter0
190
+ counter1(entityId: String!): StoreCounter1
191
+ tableField(tableName: String!, fieldName: String!): TableField
192
+ tableMetadatum(tableName: String!): TableMetadatum
193
+
194
+ """Reads a single `StoreCounter0` using its globally unique `ID`."""
195
+ counter0ByNodeId(
196
+ """
197
+ The globally unique `ID` to be used in selecting a single `StoreCounter0`.
198
+ """
199
+ nodeId: ID!
200
+ ): StoreCounter0
201
+
202
+ """Reads a single `StoreCounter1` using its globally unique `ID`."""
203
+ counter1ByNodeId(
204
+ """
205
+ The globally unique `ID` to be used in selecting a single `StoreCounter1`.
206
+ """
207
+ nodeId: ID!
208
+ ): StoreCounter1
209
+
210
+ """Reads a single `TableField` using its globally unique `ID`."""
211
+ tableFieldByNodeId(
212
+ """
213
+ The globally unique `ID` to be used in selecting a single `TableField`.
214
+ """
215
+ nodeId: ID!
216
+ ): TableField
217
+
218
+ """Reads a single `TableMetadatum` using its globally unique `ID`."""
219
+ tableMetadatumByNodeId(
220
+ """
221
+ The globally unique `ID` to be used in selecting a single `TableMetadatum`.
222
+ """
223
+ nodeId: ID!
224
+ ): TableMetadatum
225
+
226
+ """Get Schema information for all store tables"""
227
+ storeSchema: JSON
228
+
229
+ """Query data from specified store table"""
230
+ storeData(table: String!): JSON
231
+
232
+ """Get list of all available store table names"""
233
+ availableStoreTables: [String!]!
234
+ }
235
+
236
+ """An object with a globally unique `ID`."""
237
+ interface Node {
238
+ """
239
+ A globally unique identifier. Can be used in various places throughout the system to identify this single value.
240
+ """
241
+ nodeId: ID!
242
+ }
243
+
244
+ """A connection to a list of `StoreCounter0` values."""
245
+ type StoreCounter0sConnection {
246
+ """A list of `StoreCounter0` objects."""
247
+ nodes: [StoreCounter0!]!
248
+
249
+ """
250
+ A list of edges which contains the `StoreCounter0` and cursor to aid in pagination.
251
+ """
252
+ edges: [StoreCounter0sEdge!]!
253
+
254
+ """Information to aid in pagination."""
255
+ pageInfo: PageInfo!
256
+
257
+ """The count of *all* `StoreCounter0` you could get from the connection."""
258
+ totalCount: Int!
259
+ }
260
+
261
+ type StoreCounter0 implements Node {
262
+ """
263
+ A globally unique identifier. Can be used in various places throughout the system to identify this single value.
264
+ """
265
+ nodeId: ID!
266
+ entityId: String!
267
+ createdAt: Datetime
268
+ updatedAt: Datetime
269
+ }
270
+
271
+ """
272
+ A point in time as described by the [ISO
273
+ 8601](https://en.wikipedia.org/wiki/ISO_8601) standard. May or may not include a timezone.
274
+ """
275
+ scalar Datetime
276
+
277
+ """A `StoreCounter0` edge in the connection."""
278
+ type StoreCounter0sEdge {
279
+ """A cursor for use in pagination."""
280
+ cursor: Cursor
281
+
282
+ """The `StoreCounter0` at the end of the edge."""
283
+ node: StoreCounter0!
284
+ }
285
+
286
+ """A location in a connection that can be used for resuming pagination."""
287
+ scalar Cursor
288
+
289
+ """Information about pagination in a connection."""
290
+ type PageInfo {
291
+ """When paginating forwards, are there more items?"""
292
+ hasNextPage: Boolean!
293
+
294
+ """When paginating backwards, are there more items?"""
295
+ hasPreviousPage: Boolean!
296
+
297
+ """When paginating backwards, the cursor to continue."""
298
+ startCursor: Cursor
299
+
300
+ """When paginating forwards, the cursor to continue."""
301
+ endCursor: Cursor
302
+ }
303
+
304
+ """Methods to use when ordering `StoreCounter0`."""
305
+ enum StoreCounter0sOrderBy {
306
+ NATURAL
307
+ ENTITY_ID_ASC
308
+ ENTITY_ID_DESC
309
+ CREATED_AT_ASC
310
+ CREATED_AT_DESC
311
+ UPDATED_AT_ASC
312
+ UPDATED_AT_DESC
313
+ PRIMARY_KEY_ASC
314
+ PRIMARY_KEY_DESC
315
+ }
316
+
317
+ """
318
+ A condition to be used against `StoreCounter0` object types. All fields are
319
+ tested for equality and combined with a logical ‘and.’
320
+ """
321
+ input StoreCounter0Condition {
322
+ """Checks for equality with the object’s `entityId` field."""
323
+ entityId: String
324
+
325
+ """Checks for equality with the object’s `createdAt` field."""
326
+ createdAt: Datetime
327
+
328
+ """Checks for equality with the object’s `updatedAt` field."""
329
+ updatedAt: Datetime
330
+ }
331
+
332
+ """
333
+ A filter to be used against `StoreCounter0` object types. All fields are combined with a logical ‘and.’
334
+ """
335
+ input StoreCounter0Filter {
336
+ """Filter by the object’s `entityId` field."""
337
+ entityId: StringFilter
338
+
339
+ """Filter by the object’s `createdAt` field."""
340
+ createdAt: DatetimeFilter
341
+
342
+ """Filter by the object’s `updatedAt` field."""
343
+ updatedAt: DatetimeFilter
344
+
345
+ """Checks for all expressions in this list."""
346
+ and: [StoreCounter0Filter!]
347
+
348
+ """Checks for any expressions in this list."""
349
+ or: [StoreCounter0Filter!]
350
+
351
+ """Negates the expression."""
352
+ not: StoreCounter0Filter
353
+ }
354
+
355
+ """
356
+ A filter to be used against String fields. All fields are combined with a logical ‘and.’
357
+ """
358
+ input StringFilter {
359
+ """
360
+ Is null (if `true` is specified) or is not null (if `false` is specified).
361
+ """
362
+ isNull: Boolean
363
+
364
+ """Equal to the specified value."""
365
+ equalTo: String
366
+
367
+ """Not equal to the specified value."""
368
+ notEqualTo: String
369
+
370
+ """
371
+ Not equal to the specified value, treating null like an ordinary value.
372
+ """
373
+ distinctFrom: String
374
+
375
+ """Equal to the specified value, treating null like an ordinary value."""
376
+ notDistinctFrom: String
377
+
378
+ """Included in the specified list."""
379
+ in: [String!]
380
+
381
+ """Not included in the specified list."""
382
+ notIn: [String!]
383
+
384
+ """Less than the specified value."""
385
+ lessThan: String
386
+
387
+ """Less than or equal to the specified value."""
388
+ lessThanOrEqualTo: String
389
+
390
+ """Greater than the specified value."""
391
+ greaterThan: String
392
+
393
+ """Greater than or equal to the specified value."""
394
+ greaterThanOrEqualTo: String
395
+
396
+ """Contains the specified string (case-sensitive)."""
397
+ includes: String
398
+
399
+ """Does not contain the specified string (case-sensitive)."""
400
+ notIncludes: String
401
+
402
+ """Contains the specified string (case-insensitive)."""
403
+ includesInsensitive: String
404
+
405
+ """Does not contain the specified string (case-insensitive)."""
406
+ notIncludesInsensitive: String
407
+
408
+ """Starts with the specified string (case-sensitive)."""
409
+ startsWith: String
410
+
411
+ """Does not start with the specified string (case-sensitive)."""
412
+ notStartsWith: String
413
+
414
+ """Starts with the specified string (case-insensitive)."""
415
+ startsWithInsensitive: String
416
+
417
+ """Does not start with the specified string (case-insensitive)."""
418
+ notStartsWithInsensitive: String
419
+
420
+ """Ends with the specified string (case-sensitive)."""
421
+ endsWith: String
422
+
423
+ """Does not end with the specified string (case-sensitive)."""
424
+ notEndsWith: String
425
+
426
+ """Ends with the specified string (case-insensitive)."""
427
+ endsWithInsensitive: String
428
+
429
+ """Does not end with the specified string (case-insensitive)."""
430
+ notEndsWithInsensitive: String
431
+
432
+ """
433
+ Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters.
434
+ """
435
+ like: String
436
+
437
+ """
438
+ Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters.
439
+ """
440
+ notLike: String
441
+ }
442
+
443
+ """
444
+ A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’
445
+ """
446
+ input DatetimeFilter {
447
+ """
448
+ Is null (if `true` is specified) or is not null (if `false` is specified).
449
+ """
450
+ isNull: Boolean
451
+
452
+ """Equal to the specified value."""
453
+ equalTo: Datetime
454
+
455
+ """Not equal to the specified value."""
456
+ notEqualTo: Datetime
457
+
458
+ """
459
+ Not equal to the specified value, treating null like an ordinary value.
460
+ """
461
+ distinctFrom: Datetime
462
+
463
+ """Equal to the specified value, treating null like an ordinary value."""
464
+ notDistinctFrom: Datetime
465
+
466
+ """Included in the specified list."""
467
+ in: [Datetime!]
468
+
469
+ """Not included in the specified list."""
470
+ notIn: [Datetime!]
471
+
472
+ """Less than the specified value."""
473
+ lessThan: Datetime
474
+
475
+ """Less than or equal to the specified value."""
476
+ lessThanOrEqualTo: Datetime
477
+
478
+ """Greater than the specified value."""
479
+ greaterThan: Datetime
480
+
481
+ """Greater than or equal to the specified value."""
482
+ greaterThanOrEqualTo: Datetime
483
+ }
484
+
485
+ """A connection to a list of `StoreCounter1` values."""
486
+ type StoreCounter1sConnection {
487
+ """A list of `StoreCounter1` objects."""
488
+ nodes: [StoreCounter1!]!
489
+
490
+ """
491
+ A list of edges which contains the `StoreCounter1` and cursor to aid in pagination.
492
+ """
493
+ edges: [StoreCounter1sEdge!]!
494
+
495
+ """Information to aid in pagination."""
496
+ pageInfo: PageInfo!
497
+
498
+ """The count of *all* `StoreCounter1` you could get from the connection."""
499
+ totalCount: Int!
500
+ }
501
+
502
+ type StoreCounter1 implements Node {
503
+ """
504
+ A globally unique identifier. Can be used in various places throughout the system to identify this single value.
505
+ """
506
+ nodeId: ID!
507
+ entityId: String!
508
+ value: BigInt
509
+ createdAt: Datetime
510
+ updatedAt: Datetime
511
+ }
512
+
513
+ """
514
+ A signed eight-byte integer. The upper big integer values are greater than the
515
+ max value for a JavaScript number. Therefore all big integers will be output as
516
+ strings and not numbers.
517
+ """
518
+ scalar BigInt
519
+
520
+ """A `StoreCounter1` edge in the connection."""
521
+ type StoreCounter1sEdge {
522
+ """A cursor for use in pagination."""
523
+ cursor: Cursor
524
+
525
+ """The `StoreCounter1` at the end of the edge."""
526
+ node: StoreCounter1!
527
+ }
528
+
529
+ """Methods to use when ordering `StoreCounter1`."""
530
+ enum StoreCounter1sOrderBy {
531
+ NATURAL
532
+ ENTITY_ID_ASC
533
+ ENTITY_ID_DESC
534
+ VALUE_ASC
535
+ VALUE_DESC
536
+ CREATED_AT_ASC
537
+ CREATED_AT_DESC
538
+ UPDATED_AT_ASC
539
+ UPDATED_AT_DESC
540
+ PRIMARY_KEY_ASC
541
+ PRIMARY_KEY_DESC
542
+ }
543
+
544
+ """
545
+ A condition to be used against `StoreCounter1` object types. All fields are
546
+ tested for equality and combined with a logical ‘and.’
547
+ """
548
+ input StoreCounter1Condition {
549
+ """Checks for equality with the object’s `entityId` field."""
550
+ entityId: String
551
+
552
+ """Checks for equality with the object’s `value` field."""
553
+ value: BigInt
554
+
555
+ """Checks for equality with the object’s `createdAt` field."""
556
+ createdAt: Datetime
557
+
558
+ """Checks for equality with the object’s `updatedAt` field."""
559
+ updatedAt: Datetime
560
+ }
561
+
562
+ """
563
+ A filter to be used against `StoreCounter1` object types. All fields are combined with a logical ‘and.’
564
+ """
565
+ input StoreCounter1Filter {
566
+ """Filter by the object’s `entityId` field."""
567
+ entityId: StringFilter
568
+
569
+ """Filter by the object’s `value` field."""
570
+ value: BigIntFilter
571
+
572
+ """Filter by the object’s `createdAt` field."""
573
+ createdAt: DatetimeFilter
574
+
575
+ """Filter by the object’s `updatedAt` field."""
576
+ updatedAt: DatetimeFilter
577
+
578
+ """Checks for all expressions in this list."""
579
+ and: [StoreCounter1Filter!]
580
+
581
+ """Checks for any expressions in this list."""
582
+ or: [StoreCounter1Filter!]
583
+
584
+ """Negates the expression."""
585
+ not: StoreCounter1Filter
586
+ }
587
+
588
+ """
589
+ A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’
590
+ """
591
+ input BigIntFilter {
592
+ """
593
+ Is null (if `true` is specified) or is not null (if `false` is specified).
594
+ """
595
+ isNull: Boolean
596
+
597
+ """Equal to the specified value."""
598
+ equalTo: BigInt
599
+
600
+ """Not equal to the specified value."""
601
+ notEqualTo: BigInt
602
+
603
+ """
604
+ Not equal to the specified value, treating null like an ordinary value.
605
+ """
606
+ distinctFrom: BigInt
607
+
608
+ """Equal to the specified value, treating null like an ordinary value."""
609
+ notDistinctFrom: BigInt
610
+
611
+ """Included in the specified list."""
612
+ in: [BigInt!]
613
+
614
+ """Not included in the specified list."""
615
+ notIn: [BigInt!]
616
+
617
+ """Less than the specified value."""
618
+ lessThan: BigInt
619
+
620
+ """Less than or equal to the specified value."""
621
+ lessThanOrEqualTo: BigInt
622
+
623
+ """Greater than the specified value."""
624
+ greaterThan: BigInt
625
+
626
+ """Greater than or equal to the specified value."""
627
+ greaterThanOrEqualTo: BigInt
628
+ }
629
+
630
+ """A connection to a list of `StoreCounter2` values."""
631
+ type StoreCounter2sConnection {
632
+ """A list of `StoreCounter2` objects."""
633
+ nodes: [StoreCounter2!]!
634
+
635
+ """
636
+ A list of edges which contains the `StoreCounter2` and cursor to aid in pagination.
637
+ """
638
+ edges: [StoreCounter2sEdge!]!
639
+
640
+ """Information to aid in pagination."""
641
+ pageInfo: PageInfo!
642
+
643
+ """The count of *all* `StoreCounter2` you could get from the connection."""
644
+ totalCount: Int!
645
+ }
646
+
647
+ type StoreCounter2 {
648
+ value: BigInt
649
+ createdAt: Datetime
650
+ updatedAt: Datetime
651
+ }
652
+
653
+ """A `StoreCounter2` edge in the connection."""
654
+ type StoreCounter2sEdge {
655
+ """A cursor for use in pagination."""
656
+ cursor: Cursor
657
+
658
+ """The `StoreCounter2` at the end of the edge."""
659
+ node: StoreCounter2!
660
+ }
661
+
662
+ """Methods to use when ordering `StoreCounter2`."""
663
+ enum StoreCounter2sOrderBy {
664
+ NATURAL
665
+ VALUE_ASC
666
+ VALUE_DESC
667
+ CREATED_AT_ASC
668
+ CREATED_AT_DESC
669
+ UPDATED_AT_ASC
670
+ UPDATED_AT_DESC
671
+ }
672
+
673
+ """
674
+ A condition to be used against `StoreCounter2` object types. All fields are
675
+ tested for equality and combined with a logical ‘and.’
676
+ """
677
+ input StoreCounter2Condition {
678
+ """Checks for equality with the object’s `value` field."""
679
+ value: BigInt
680
+
681
+ """Checks for equality with the object’s `createdAt` field."""
682
+ createdAt: Datetime
683
+
684
+ """Checks for equality with the object’s `updatedAt` field."""
685
+ updatedAt: Datetime
686
+ }
687
+
688
+ """
689
+ A filter to be used against `StoreCounter2` object types. All fields are combined with a logical ‘and.’
690
+ """
691
+ input StoreCounter2Filter {
692
+ """Filter by the object’s `value` field."""
693
+ value: BigIntFilter
694
+
695
+ """Filter by the object’s `createdAt` field."""
696
+ createdAt: DatetimeFilter
697
+
698
+ """Filter by the object’s `updatedAt` field."""
699
+ updatedAt: DatetimeFilter
700
+
701
+ """Checks for all expressions in this list."""
702
+ and: [StoreCounter2Filter!]
703
+
704
+ """Checks for any expressions in this list."""
705
+ or: [StoreCounter2Filter!]
706
+
707
+ """Negates the expression."""
708
+ not: StoreCounter2Filter
709
+ }
710
+
711
+ """A connection to a list of `TableField` values."""
712
+ type TableFieldsConnection {
713
+ """A list of `TableField` objects."""
714
+ nodes: [TableField!]!
715
+
716
+ """
717
+ A list of edges which contains the `TableField` and cursor to aid in pagination.
718
+ """
719
+ edges: [TableFieldsEdge!]!
720
+
721
+ """Information to aid in pagination."""
722
+ pageInfo: PageInfo!
723
+
724
+ """The count of *all* `TableField` you could get from the connection."""
725
+ totalCount: Int!
726
+ }
727
+
728
+ type TableField implements Node {
729
+ """
730
+ A globally unique identifier. Can be used in various places throughout the system to identify this single value.
731
+ """
732
+ nodeId: ID!
733
+ tableName: String!
734
+ fieldName: String!
735
+ fieldType: String
736
+ fieldIndex: Int
737
+ isKey: Boolean
738
+ }
739
+
740
+ """A `TableField` edge in the connection."""
741
+ type TableFieldsEdge {
742
+ """A cursor for use in pagination."""
743
+ cursor: Cursor
744
+
745
+ """The `TableField` at the end of the edge."""
746
+ node: TableField!
747
+ }
748
+
749
+ """Methods to use when ordering `TableField`."""
750
+ enum TableFieldsOrderBy {
751
+ NATURAL
752
+ TABLE_NAME_ASC
753
+ TABLE_NAME_DESC
754
+ FIELD_NAME_ASC
755
+ FIELD_NAME_DESC
756
+ FIELD_TYPE_ASC
757
+ FIELD_TYPE_DESC
758
+ FIELD_INDEX_ASC
759
+ FIELD_INDEX_DESC
760
+ IS_KEY_ASC
761
+ IS_KEY_DESC
762
+ PRIMARY_KEY_ASC
763
+ PRIMARY_KEY_DESC
764
+ }
765
+
766
+ """
767
+ A condition to be used against `TableField` object types. All fields are tested
768
+ for equality and combined with a logical ‘and.’
769
+ """
770
+ input TableFieldCondition {
771
+ """Checks for equality with the object’s `tableName` field."""
772
+ tableName: String
773
+
774
+ """Checks for equality with the object’s `fieldName` field."""
775
+ fieldName: String
776
+
777
+ """Checks for equality with the object’s `fieldType` field."""
778
+ fieldType: String
779
+
780
+ """Checks for equality with the object’s `fieldIndex` field."""
781
+ fieldIndex: Int
782
+
783
+ """Checks for equality with the object’s `isKey` field."""
784
+ isKey: Boolean
785
+ }
786
+
787
+ """
788
+ A filter to be used against `TableField` object types. All fields are combined with a logical ‘and.’
789
+ """
790
+ input TableFieldFilter {
791
+ """Filter by the object’s `tableName` field."""
792
+ tableName: StringFilter
793
+
794
+ """Filter by the object’s `fieldName` field."""
795
+ fieldName: StringFilter
796
+
797
+ """Filter by the object’s `fieldType` field."""
798
+ fieldType: StringFilter
799
+
800
+ """Filter by the object’s `fieldIndex` field."""
801
+ fieldIndex: IntFilter
802
+
803
+ """Filter by the object’s `isKey` field."""
804
+ isKey: BooleanFilter
805
+
806
+ """Checks for all expressions in this list."""
807
+ and: [TableFieldFilter!]
808
+
809
+ """Checks for any expressions in this list."""
810
+ or: [TableFieldFilter!]
811
+
812
+ """Negates the expression."""
813
+ not: TableFieldFilter
814
+ }
815
+
816
+ """
817
+ A filter to be used against Int fields. All fields are combined with a logical ‘and.’
818
+ """
819
+ input IntFilter {
820
+ """
821
+ Is null (if `true` is specified) or is not null (if `false` is specified).
822
+ """
823
+ isNull: Boolean
824
+
825
+ """Equal to the specified value."""
826
+ equalTo: Int
827
+
828
+ """Not equal to the specified value."""
829
+ notEqualTo: Int
830
+
831
+ """
832
+ Not equal to the specified value, treating null like an ordinary value.
833
+ """
834
+ distinctFrom: Int
835
+
836
+ """Equal to the specified value, treating null like an ordinary value."""
837
+ notDistinctFrom: Int
838
+
839
+ """Included in the specified list."""
840
+ in: [Int!]
841
+
842
+ """Not included in the specified list."""
843
+ notIn: [Int!]
844
+
845
+ """Less than the specified value."""
846
+ lessThan: Int
847
+
848
+ """Less than or equal to the specified value."""
849
+ lessThanOrEqualTo: Int
850
+
851
+ """Greater than the specified value."""
852
+ greaterThan: Int
853
+
854
+ """Greater than or equal to the specified value."""
855
+ greaterThanOrEqualTo: Int
856
+ }
857
+
858
+ """
859
+ A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’
860
+ """
861
+ input BooleanFilter {
862
+ """
863
+ Is null (if `true` is specified) or is not null (if `false` is specified).
864
+ """
865
+ isNull: Boolean
866
+
867
+ """Equal to the specified value."""
868
+ equalTo: Boolean
869
+
870
+ """Not equal to the specified value."""
871
+ notEqualTo: Boolean
872
+
873
+ """
874
+ Not equal to the specified value, treating null like an ordinary value.
875
+ """
876
+ distinctFrom: Boolean
877
+
878
+ """Equal to the specified value, treating null like an ordinary value."""
879
+ notDistinctFrom: Boolean
880
+
881
+ """Included in the specified list."""
882
+ in: [Boolean!]
883
+
884
+ """Not included in the specified list."""
885
+ notIn: [Boolean!]
886
+
887
+ """Less than the specified value."""
888
+ lessThan: Boolean
889
+
890
+ """Less than or equal to the specified value."""
891
+ lessThanOrEqualTo: Boolean
892
+
893
+ """Greater than the specified value."""
894
+ greaterThan: Boolean
895
+
896
+ """Greater than or equal to the specified value."""
897
+ greaterThanOrEqualTo: Boolean
898
+ }
899
+
900
+ """A connection to a list of `TableMetadatum` values."""
901
+ type TableMetadataConnection {
902
+ """A list of `TableMetadatum` objects."""
903
+ nodes: [TableMetadatum!]!
904
+
905
+ """
906
+ A list of edges which contains the `TableMetadatum` and cursor to aid in pagination.
907
+ """
908
+ edges: [TableMetadataEdge!]!
909
+
910
+ """Information to aid in pagination."""
911
+ pageInfo: PageInfo!
912
+
913
+ """The count of *all* `TableMetadatum` you could get from the connection."""
914
+ totalCount: Int!
915
+ }
916
+
917
+ type TableMetadatum implements Node {
918
+ """
919
+ A globally unique identifier. Can be used in various places throughout the system to identify this single value.
920
+ """
921
+ nodeId: ID!
922
+ tableName: String!
923
+ tableType: String
924
+ }
925
+
926
+ """A `TableMetadatum` edge in the connection."""
927
+ type TableMetadataEdge {
928
+ """A cursor for use in pagination."""
929
+ cursor: Cursor
930
+
931
+ """The `TableMetadatum` at the end of the edge."""
932
+ node: TableMetadatum!
933
+ }
934
+
935
+ """Methods to use when ordering `TableMetadatum`."""
936
+ enum TableMetadataOrderBy {
937
+ NATURAL
938
+ TABLE_NAME_ASC
939
+ TABLE_NAME_DESC
940
+ TABLE_TYPE_ASC
941
+ TABLE_TYPE_DESC
942
+ PRIMARY_KEY_ASC
943
+ PRIMARY_KEY_DESC
944
+ }
945
+
946
+ """
947
+ A condition to be used against `TableMetadatum` object types. All fields are
948
+ tested for equality and combined with a logical ‘and.’
949
+ """
950
+ input TableMetadatumCondition {
951
+ """Checks for equality with the object’s `tableName` field."""
952
+ tableName: String
953
+
954
+ """Checks for equality with the object’s `tableType` field."""
955
+ tableType: String
956
+ }
957
+
958
+ """
959
+ A filter to be used against `TableMetadatum` object types. All fields are combined with a logical ‘and.’
960
+ """
961
+ input TableMetadatumFilter {
962
+ """Filter by the object’s `tableName` field."""
963
+ tableName: StringFilter
964
+
965
+ """Filter by the object’s `tableType` field."""
966
+ tableType: StringFilter
967
+
968
+ """Checks for all expressions in this list."""
969
+ and: [TableMetadatumFilter!]
970
+
971
+ """Checks for any expressions in this list."""
972
+ or: [TableMetadatumFilter!]
973
+
974
+ """Negates the expression."""
975
+ not: TableMetadatumFilter
976
+ }
977
+
978
+ """
979
+ The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
980
+ """
981
+ scalar JSON
982
+
983
+ """
984
+ The root subscription type: contains realtime events you can subscribe to with the `subscription` operation.
985
+ """
986
+ type Subscription {
987
+ listen(
988
+ topic: String!
989
+
990
+ """
991
+ If true, this subscription will trigger an event as soon as it initiates.
992
+ """
993
+ initialEvent: Boolean! = false
994
+ ): ListenPayload!
995
+ }
996
+
997
+ type ListenPayload {
998
+ """
999
+ Our root query field type. Allows us to run any query from our subscription payload.
1000
+ """
1001
+ query: Query
1002
+ relatedNode: Node
1003
+ relatedNodeId: ID
1004
+ }