@aws-amplify/graphql-model-transformer 0.14.5 → 0.15.1-alpha.19

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.
@@ -78,6 +78,65 @@ input ModelIDInput {
78
78
  size: ModelSizeInput
79
79
  }
80
80
 
81
+ input ModelSubscriptionStringInput {
82
+ ne: String
83
+ eq: String
84
+ le: String
85
+ lt: String
86
+ ge: String
87
+ gt: String
88
+ contains: String
89
+ notContains: String
90
+ between: [String]
91
+ beginsWith: String
92
+ in: [String]
93
+ notIn: [String]
94
+ }
95
+
96
+ input ModelSubscriptionIntInput {
97
+ ne: Int
98
+ eq: Int
99
+ le: Int
100
+ lt: Int
101
+ ge: Int
102
+ gt: Int
103
+ between: [Int]
104
+ in: [Int]
105
+ notIn: [Int]
106
+ }
107
+
108
+ input ModelSubscriptionFloatInput {
109
+ ne: Float
110
+ eq: Float
111
+ le: Float
112
+ lt: Float
113
+ ge: Float
114
+ gt: Float
115
+ between: [Float]
116
+ in: [Float]
117
+ notIn: [Float]
118
+ }
119
+
120
+ input ModelSubscriptionBooleanInput {
121
+ ne: Boolean
122
+ eq: Boolean
123
+ }
124
+
125
+ input ModelSubscriptionIDInput {
126
+ ne: ID
127
+ eq: ID
128
+ le: ID
129
+ lt: ID
130
+ ge: ID
131
+ gt: ID
132
+ contains: ID
133
+ notContains: ID
134
+ between: [ID]
135
+ beginsWith: ID
136
+ in: [ID]
137
+ notIn: [ID]
138
+ }
139
+
81
140
  enum ModelAttributeTypes {
82
141
  binary
83
142
  binarySet
@@ -152,13 +211,19 @@ type Mutation {
152
211
  deleteEmail(input: DeleteEmailInput!, condition: ModelEmailConditionInput): Email
153
212
  }
154
213
 
214
+ input ModelSubscriptionTestFilterInput {
215
+ id: ModelSubscriptionIDInput
216
+ and: [ModelSubscriptionTestFilterInput]
217
+ or: [ModelSubscriptionTestFilterInput]
218
+ }
219
+
155
220
  type Subscription {
156
- onCreateTest: Test @aws_subscribe(mutations: [\\"createTest\\"])
157
- onUpdateTest: Test @aws_subscribe(mutations: [\\"updateTest\\"])
158
- onDeleteTest: Test @aws_subscribe(mutations: [\\"deleteTest\\"])
159
- onCreateEmail: Email @aws_subscribe(mutations: [\\"createEmail\\"])
160
- onUpdateEmail: Email @aws_subscribe(mutations: [\\"updateEmail\\"])
161
- onDeleteEmail: Email @aws_subscribe(mutations: [\\"deleteEmail\\"])
221
+ onCreateTest(filter: ModelSubscriptionTestFilterInput): Test @aws_subscribe(mutations: [\\"createTest\\"])
222
+ onUpdateTest(filter: ModelSubscriptionTestFilterInput): Test @aws_subscribe(mutations: [\\"updateTest\\"])
223
+ onDeleteTest(filter: ModelSubscriptionTestFilterInput): Test @aws_subscribe(mutations: [\\"deleteTest\\"])
224
+ onCreateEmail(filter: ModelSubscriptionEmailFilterInput): Email @aws_subscribe(mutations: [\\"createEmail\\"])
225
+ onUpdateEmail(filter: ModelSubscriptionEmailFilterInput): Email @aws_subscribe(mutations: [\\"updateEmail\\"])
226
+ onDeleteEmail(filter: ModelSubscriptionEmailFilterInput): Email @aws_subscribe(mutations: [\\"deleteEmail\\"])
162
227
  }
163
228
 
164
229
  type ModelEmailConnection {
@@ -191,6 +256,12 @@ input DeleteEmailInput {
191
256
  id: ID!
192
257
  }
193
258
 
259
+ input ModelSubscriptionEmailFilterInput {
260
+ id: ModelSubscriptionIDInput
261
+ and: [ModelSubscriptionEmailFilterInput]
262
+ or: [ModelSubscriptionEmailFilterInput]
263
+ }
264
+
194
265
  "
195
266
  `;
196
267
 
@@ -314,6 +385,65 @@ input ModelIDInput {
314
385
  size: ModelSizeInput
315
386
  }
316
387
 
388
+ input ModelSubscriptionStringInput {
389
+ ne: String
390
+ eq: String
391
+ le: String
392
+ lt: String
393
+ ge: String
394
+ gt: String
395
+ contains: String
396
+ notContains: String
397
+ between: [String]
398
+ beginsWith: String
399
+ in: [String]
400
+ notIn: [String]
401
+ }
402
+
403
+ input ModelSubscriptionIntInput {
404
+ ne: Int
405
+ eq: Int
406
+ le: Int
407
+ lt: Int
408
+ ge: Int
409
+ gt: Int
410
+ between: [Int]
411
+ in: [Int]
412
+ notIn: [Int]
413
+ }
414
+
415
+ input ModelSubscriptionFloatInput {
416
+ ne: Float
417
+ eq: Float
418
+ le: Float
419
+ lt: Float
420
+ ge: Float
421
+ gt: Float
422
+ between: [Float]
423
+ in: [Float]
424
+ notIn: [Float]
425
+ }
426
+
427
+ input ModelSubscriptionBooleanInput {
428
+ ne: Boolean
429
+ eq: Boolean
430
+ }
431
+
432
+ input ModelSubscriptionIDInput {
433
+ ne: ID
434
+ eq: ID
435
+ le: ID
436
+ lt: ID
437
+ ge: ID
438
+ gt: ID
439
+ contains: ID
440
+ notContains: ID
441
+ between: [ID]
442
+ beginsWith: ID
443
+ in: [ID]
444
+ notIn: [ID]
445
+ }
446
+
317
447
  enum ModelAttributeTypes {
318
448
  binary
319
449
  binarySet
@@ -447,19 +577,30 @@ type Mutation {
447
577
  deleteComment(input: DeleteCommentInput!, condition: ModelCommentConditionInput): Comment
448
578
  }
449
579
 
580
+ input ModelSubscriptionPostFilterInput {
581
+ id: ModelSubscriptionIDInput
582
+ title: ModelSubscriptionStringInput
583
+ createdAt: ModelSubscriptionStringInput
584
+ updatedAt: ModelSubscriptionStringInput
585
+ appearsIn: ModelSubscriptionStringInput
586
+ episode: ModelSubscriptionStringInput
587
+ and: [ModelSubscriptionPostFilterInput]
588
+ or: [ModelSubscriptionPostFilterInput]
589
+ }
590
+
450
591
  type Subscription {
451
- onCreatePost: Post @aws_subscribe(mutations: [\\"createPost\\"])
452
- onUpdatePost: Post @aws_subscribe(mutations: [\\"updatePost\\"])
453
- onDeletePost: Post @aws_subscribe(mutations: [\\"deletePost\\"])
454
- onCreateAuthor: Author @aws_subscribe(mutations: [\\"createAuthor\\"])
455
- onUpdateAuthor: Author @aws_subscribe(mutations: [\\"updateAuthor\\"])
456
- onDeleteAuthor: Author @aws_subscribe(mutations: [\\"deleteAuthor\\"])
457
- onCreateRequire: Require @aws_subscribe(mutations: [\\"createRequire\\"])
458
- onUpdateRequire: Require @aws_subscribe(mutations: [\\"updateRequire\\"])
459
- onDeleteRequire: Require @aws_subscribe(mutations: [\\"deleteRequire\\"])
460
- onCreateComment: Comment @aws_subscribe(mutations: [\\"createComment\\"])
461
- onUpdateComment: Comment @aws_subscribe(mutations: [\\"updateComment\\"])
462
- onDeleteComment: Comment @aws_subscribe(mutations: [\\"deleteComment\\"])
592
+ onCreatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"createPost\\"])
593
+ onUpdatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"updatePost\\"])
594
+ onDeletePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"deletePost\\"])
595
+ onCreateAuthor(filter: ModelSubscriptionAuthorFilterInput): Author @aws_subscribe(mutations: [\\"createAuthor\\"])
596
+ onUpdateAuthor(filter: ModelSubscriptionAuthorFilterInput): Author @aws_subscribe(mutations: [\\"updateAuthor\\"])
597
+ onDeleteAuthor(filter: ModelSubscriptionAuthorFilterInput): Author @aws_subscribe(mutations: [\\"deleteAuthor\\"])
598
+ onCreateRequire(filter: ModelSubscriptionRequireFilterInput): Require @aws_subscribe(mutations: [\\"createRequire\\"])
599
+ onUpdateRequire(filter: ModelSubscriptionRequireFilterInput): Require @aws_subscribe(mutations: [\\"updateRequire\\"])
600
+ onDeleteRequire(filter: ModelSubscriptionRequireFilterInput): Require @aws_subscribe(mutations: [\\"deleteRequire\\"])
601
+ onCreateComment(filter: ModelSubscriptionCommentFilterInput): Comment @aws_subscribe(mutations: [\\"createComment\\"])
602
+ onUpdateComment(filter: ModelSubscriptionCommentFilterInput): Comment @aws_subscribe(mutations: [\\"updateComment\\"])
603
+ onDeleteComment(filter: ModelSubscriptionCommentFilterInput): Comment @aws_subscribe(mutations: [\\"deleteComment\\"])
463
604
  }
464
605
 
465
606
  type ModelAuthorConnection {
@@ -500,6 +641,13 @@ input DeleteAuthorInput {
500
641
  id: ID!
501
642
  }
502
643
 
644
+ input ModelSubscriptionAuthorFilterInput {
645
+ id: ModelSubscriptionIDInput
646
+ name: ModelSubscriptionStringInput
647
+ and: [ModelSubscriptionAuthorFilterInput]
648
+ or: [ModelSubscriptionAuthorFilterInput]
649
+ }
650
+
503
651
  type ModelRequireConnection {
504
652
  items: [Require]!
505
653
  nextToken: String
@@ -538,6 +686,14 @@ input DeleteRequireInput {
538
686
  id: ID!
539
687
  }
540
688
 
689
+ input ModelSubscriptionRequireFilterInput {
690
+ id: ModelSubscriptionIDInput
691
+ requiredField: ModelSubscriptionStringInput
692
+ notRequiredField: ModelSubscriptionStringInput
693
+ and: [ModelSubscriptionRequireFilterInput]
694
+ or: [ModelSubscriptionRequireFilterInput]
695
+ }
696
+
541
697
  type ModelCommentConnection {
542
698
  items: [Comment]!
543
699
  nextToken: String
@@ -580,6 +736,15 @@ input DeleteCommentInput {
580
736
  id: ID!
581
737
  }
582
738
 
739
+ input ModelSubscriptionCommentFilterInput {
740
+ id: ModelSubscriptionIDInput
741
+ title: ModelSubscriptionStringInput
742
+ content: ModelSubscriptionStringInput
743
+ updatedOn: ModelSubscriptionIntInput
744
+ and: [ModelSubscriptionCommentFilterInput]
745
+ or: [ModelSubscriptionCommentFilterInput]
746
+ }
747
+
583
748
  "
584
749
  `;
585
750
 
@@ -1078,6 +1243,9 @@ $util.toJson({
1078
1243
  })
1079
1244
  ## [End] Subscription Request template. **",
1080
1245
  "Subscription.onCreatePost.res.vtl": "## [Start] Subscription Response template. **
1246
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
1247
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
1248
+ #end
1081
1249
  $util.toJson(null)
1082
1250
  ## [End] Subscription Response template. **",
1083
1251
  "Subscription.onDeletePost.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
@@ -1093,6 +1261,9 @@ $util.toJson({
1093
1261
  })
1094
1262
  ## [End] Subscription Request template. **",
1095
1263
  "Subscription.onDeletePost.res.vtl": "## [Start] Subscription Response template. **
1264
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
1265
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
1266
+ #end
1096
1267
  $util.toJson(null)
1097
1268
  ## [End] Subscription Response template. **",
1098
1269
  "Subscription.onUpdatePost.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
@@ -1108,6 +1279,9 @@ $util.toJson({
1108
1279
  })
1109
1280
  ## [End] Subscription Request template. **",
1110
1281
  "Subscription.onUpdatePost.res.vtl": "## [Start] Subscription Response template. **
1282
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
1283
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
1284
+ #end
1111
1285
  $util.toJson(null)
1112
1286
  ## [End] Subscription Response template. **",
1113
1287
  }
@@ -1608,6 +1782,9 @@ $util.toJson({
1608
1782
  })
1609
1783
  ## [End] Subscription Request template. **",
1610
1784
  "Subscription.onCreatePost.res.vtl": "## [Start] Subscription Response template. **
1785
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
1786
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
1787
+ #end
1611
1788
  $util.toJson(null)
1612
1789
  ## [End] Subscription Response template. **",
1613
1790
  "Subscription.onDeletePost.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
@@ -1623,6 +1800,9 @@ $util.toJson({
1623
1800
  })
1624
1801
  ## [End] Subscription Request template. **",
1625
1802
  "Subscription.onDeletePost.res.vtl": "## [Start] Subscription Response template. **
1803
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
1804
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
1805
+ #end
1626
1806
  $util.toJson(null)
1627
1807
  ## [End] Subscription Response template. **",
1628
1808
  "Subscription.onUpdatePost.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
@@ -1638,6 +1818,9 @@ $util.toJson({
1638
1818
  })
1639
1819
  ## [End] Subscription Request template. **",
1640
1820
  "Subscription.onUpdatePost.res.vtl": "## [Start] Subscription Response template. **
1821
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
1822
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
1823
+ #end
1641
1824
  $util.toJson(null)
1642
1825
  ## [End] Subscription Response template. **",
1643
1826
  }
@@ -2138,6 +2321,9 @@ $util.toJson({
2138
2321
  })
2139
2322
  ## [End] Subscription Request template. **",
2140
2323
  "Subscription.onCreatePost.res.vtl": "## [Start] Subscription Response template. **
2324
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
2325
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
2326
+ #end
2141
2327
  $util.toJson(null)
2142
2328
  ## [End] Subscription Response template. **",
2143
2329
  "Subscription.onDeletePost.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
@@ -2153,6 +2339,9 @@ $util.toJson({
2153
2339
  })
2154
2340
  ## [End] Subscription Request template. **",
2155
2341
  "Subscription.onDeletePost.res.vtl": "## [Start] Subscription Response template. **
2342
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
2343
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
2344
+ #end
2156
2345
  $util.toJson(null)
2157
2346
  ## [End] Subscription Response template. **",
2158
2347
  "Subscription.onUpdatePost.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
@@ -2168,6 +2357,9 @@ $util.toJson({
2168
2357
  })
2169
2358
  ## [End] Subscription Request template. **",
2170
2359
  "Subscription.onUpdatePost.res.vtl": "## [Start] Subscription Response template. **
2360
+ #if( !$util.isNullOrEmpty($ctx.args.filter) )
2361
+ $extensions.setSubscriptionFilter($util.transform.toSubscriptionFilter($ctx.args.filter))
2362
+ #end
2171
2363
  $util.toJson(null)
2172
2364
  ## [End] Subscription Response template. **",
2173
2365
  }
@@ -2245,6 +2437,65 @@ input ModelIDInput {
2245
2437
  size: ModelSizeInput
2246
2438
  }
2247
2439
 
2440
+ input ModelSubscriptionStringInput {
2441
+ ne: String
2442
+ eq: String
2443
+ le: String
2444
+ lt: String
2445
+ ge: String
2446
+ gt: String
2447
+ contains: String
2448
+ notContains: String
2449
+ between: [String]
2450
+ beginsWith: String
2451
+ in: [String]
2452
+ notIn: [String]
2453
+ }
2454
+
2455
+ input ModelSubscriptionIntInput {
2456
+ ne: Int
2457
+ eq: Int
2458
+ le: Int
2459
+ lt: Int
2460
+ ge: Int
2461
+ gt: Int
2462
+ between: [Int]
2463
+ in: [Int]
2464
+ notIn: [Int]
2465
+ }
2466
+
2467
+ input ModelSubscriptionFloatInput {
2468
+ ne: Float
2469
+ eq: Float
2470
+ le: Float
2471
+ lt: Float
2472
+ ge: Float
2473
+ gt: Float
2474
+ between: [Float]
2475
+ in: [Float]
2476
+ notIn: [Float]
2477
+ }
2478
+
2479
+ input ModelSubscriptionBooleanInput {
2480
+ ne: Boolean
2481
+ eq: Boolean
2482
+ }
2483
+
2484
+ input ModelSubscriptionIDInput {
2485
+ ne: ID
2486
+ eq: ID
2487
+ le: ID
2488
+ lt: ID
2489
+ ge: ID
2490
+ gt: ID
2491
+ contains: ID
2492
+ notContains: ID
2493
+ between: [ID]
2494
+ beginsWith: ID
2495
+ in: [ID]
2496
+ notIn: [ID]
2497
+ }
2498
+
2248
2499
  enum ModelAttributeTypes {
2249
2500
  binary
2250
2501
  binarySet
@@ -2326,10 +2577,19 @@ type Mutation {
2326
2577
  deletePost(input: DeletePostInput!, condition: ModelPostConditionInput): Post
2327
2578
  }
2328
2579
 
2580
+ input ModelSubscriptionPostFilterInput {
2581
+ id: ModelSubscriptionIDInput
2582
+ str: ModelSubscriptionStringInput
2583
+ createdAt: ModelSubscriptionStringInput
2584
+ updatedAt: ModelSubscriptionStringInput
2585
+ and: [ModelSubscriptionPostFilterInput]
2586
+ or: [ModelSubscriptionPostFilterInput]
2587
+ }
2588
+
2329
2589
  type Subscription {
2330
- onCreatePost: Post @aws_subscribe(mutations: [\\"createPost\\"])
2331
- onUpdatePost: Post @aws_subscribe(mutations: [\\"updatePost\\"])
2332
- onDeletePost: Post @aws_subscribe(mutations: [\\"deletePost\\"])
2590
+ onCreatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"createPost\\"])
2591
+ onUpdatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"updatePost\\"])
2592
+ onDeletePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"deletePost\\"])
2333
2593
  }
2334
2594
 
2335
2595
  "
@@ -2678,6 +2938,65 @@ input ModelIDInput {
2678
2938
  size: ModelSizeInput
2679
2939
  }
2680
2940
 
2941
+ input ModelSubscriptionStringInput {
2942
+ ne: String
2943
+ eq: String
2944
+ le: String
2945
+ lt: String
2946
+ ge: String
2947
+ gt: String
2948
+ contains: String
2949
+ notContains: String
2950
+ between: [String]
2951
+ beginsWith: String
2952
+ in: [String]
2953
+ notIn: [String]
2954
+ }
2955
+
2956
+ input ModelSubscriptionIntInput {
2957
+ ne: Int
2958
+ eq: Int
2959
+ le: Int
2960
+ lt: Int
2961
+ ge: Int
2962
+ gt: Int
2963
+ between: [Int]
2964
+ in: [Int]
2965
+ notIn: [Int]
2966
+ }
2967
+
2968
+ input ModelSubscriptionFloatInput {
2969
+ ne: Float
2970
+ eq: Float
2971
+ le: Float
2972
+ lt: Float
2973
+ ge: Float
2974
+ gt: Float
2975
+ between: [Float]
2976
+ in: [Float]
2977
+ notIn: [Float]
2978
+ }
2979
+
2980
+ input ModelSubscriptionBooleanInput {
2981
+ ne: Boolean
2982
+ eq: Boolean
2983
+ }
2984
+
2985
+ input ModelSubscriptionIDInput {
2986
+ ne: ID
2987
+ eq: ID
2988
+ le: ID
2989
+ lt: ID
2990
+ ge: ID
2991
+ gt: ID
2992
+ contains: ID
2993
+ notContains: ID
2994
+ between: [ID]
2995
+ beginsWith: ID
2996
+ in: [ID]
2997
+ notIn: [ID]
2998
+ }
2999
+
2681
3000
  enum ModelAttributeTypes {
2682
3001
  binary
2683
3002
  binarySet
@@ -2785,6 +3104,65 @@ input ModelIDInput {
2785
3104
  size: ModelSizeInput
2786
3105
  }
2787
3106
 
3107
+ input ModelSubscriptionStringInput {
3108
+ ne: String
3109
+ eq: String
3110
+ le: String
3111
+ lt: String
3112
+ ge: String
3113
+ gt: String
3114
+ contains: String
3115
+ notContains: String
3116
+ between: [String]
3117
+ beginsWith: String
3118
+ in: [String]
3119
+ notIn: [String]
3120
+ }
3121
+
3122
+ input ModelSubscriptionIntInput {
3123
+ ne: Int
3124
+ eq: Int
3125
+ le: Int
3126
+ lt: Int
3127
+ ge: Int
3128
+ gt: Int
3129
+ between: [Int]
3130
+ in: [Int]
3131
+ notIn: [Int]
3132
+ }
3133
+
3134
+ input ModelSubscriptionFloatInput {
3135
+ ne: Float
3136
+ eq: Float
3137
+ le: Float
3138
+ lt: Float
3139
+ ge: Float
3140
+ gt: Float
3141
+ between: [Float]
3142
+ in: [Float]
3143
+ notIn: [Float]
3144
+ }
3145
+
3146
+ input ModelSubscriptionBooleanInput {
3147
+ ne: Boolean
3148
+ eq: Boolean
3149
+ }
3150
+
3151
+ input ModelSubscriptionIDInput {
3152
+ ne: ID
3153
+ eq: ID
3154
+ le: ID
3155
+ lt: ID
3156
+ ge: ID
3157
+ gt: ID
3158
+ contains: ID
3159
+ notContains: ID
3160
+ between: [ID]
3161
+ beginsWith: ID
3162
+ in: [ID]
3163
+ notIn: [ID]
3164
+ }
3165
+
2788
3166
  enum ModelAttributeTypes {
2789
3167
  binary
2790
3168
  binarySet
@@ -2866,10 +3244,19 @@ type Mutation {
2866
3244
  deletePost(input: DeletePostInput!, condition: ModelPostConditionInput): Post
2867
3245
  }
2868
3246
 
3247
+ input ModelSubscriptionPostFilterInput {
3248
+ id: ModelSubscriptionIDInput
3249
+ str: ModelSubscriptionStringInput
3250
+ createdAt: ModelSubscriptionIntInput
3251
+ updatedAt: ModelSubscriptionIntInput
3252
+ and: [ModelSubscriptionPostFilterInput]
3253
+ or: [ModelSubscriptionPostFilterInput]
3254
+ }
3255
+
2869
3256
  type Subscription {
2870
- onCreatePost: Post @aws_subscribe(mutations: [\\"createPost\\"])
2871
- onUpdatePost: Post @aws_subscribe(mutations: [\\"updatePost\\"])
2872
- onDeletePost: Post @aws_subscribe(mutations: [\\"deletePost\\"])
3257
+ onCreatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"createPost\\"])
3258
+ onUpdatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"updatePost\\"])
3259
+ onDeletePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"deletePost\\"])
2873
3260
  }
2874
3261
 
2875
3262
  "
@@ -3147,6 +3534,65 @@ input ModelIDInput {
3147
3534
  size: ModelSizeInput
3148
3535
  }
3149
3536
 
3537
+ input ModelSubscriptionStringInput {
3538
+ ne: String
3539
+ eq: String
3540
+ le: String
3541
+ lt: String
3542
+ ge: String
3543
+ gt: String
3544
+ contains: String
3545
+ notContains: String
3546
+ between: [String]
3547
+ beginsWith: String
3548
+ in: [String]
3549
+ notIn: [String]
3550
+ }
3551
+
3552
+ input ModelSubscriptionIntInput {
3553
+ ne: Int
3554
+ eq: Int
3555
+ le: Int
3556
+ lt: Int
3557
+ ge: Int
3558
+ gt: Int
3559
+ between: [Int]
3560
+ in: [Int]
3561
+ notIn: [Int]
3562
+ }
3563
+
3564
+ input ModelSubscriptionFloatInput {
3565
+ ne: Float
3566
+ eq: Float
3567
+ le: Float
3568
+ lt: Float
3569
+ ge: Float
3570
+ gt: Float
3571
+ between: [Float]
3572
+ in: [Float]
3573
+ notIn: [Float]
3574
+ }
3575
+
3576
+ input ModelSubscriptionBooleanInput {
3577
+ ne: Boolean
3578
+ eq: Boolean
3579
+ }
3580
+
3581
+ input ModelSubscriptionIDInput {
3582
+ ne: ID
3583
+ eq: ID
3584
+ le: ID
3585
+ lt: ID
3586
+ ge: ID
3587
+ gt: ID
3588
+ contains: ID
3589
+ notContains: ID
3590
+ between: [ID]
3591
+ beginsWith: ID
3592
+ in: [ID]
3593
+ notIn: [ID]
3594
+ }
3595
+
3150
3596
  enum ModelAttributeTypes {
3151
3597
  binary
3152
3598
  binarySet
@@ -3220,10 +3666,17 @@ type Mutation {
3220
3666
  deletePost(input: DeletePostInput!, condition: ModelPostConditionInput): Post
3221
3667
  }
3222
3668
 
3669
+ input ModelSubscriptionPostFilterInput {
3670
+ id: ModelSubscriptionIDInput
3671
+ str: ModelSubscriptionStringInput
3672
+ and: [ModelSubscriptionPostFilterInput]
3673
+ or: [ModelSubscriptionPostFilterInput]
3674
+ }
3675
+
3223
3676
  type Subscription {
3224
- onCreatePost: Post @aws_subscribe(mutations: [\\"createPost\\"])
3225
- onUpdatePost: Post @aws_subscribe(mutations: [\\"updatePost\\"])
3226
- onDeletePost: Post @aws_subscribe(mutations: [\\"deletePost\\"])
3677
+ onCreatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"createPost\\"])
3678
+ onUpdatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"updatePost\\"])
3679
+ onDeletePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"deletePost\\"])
3227
3680
  }
3228
3681
 
3229
3682
  "
@@ -3503,6 +3956,65 @@ input ModelIDInput {
3503
3956
  size: ModelSizeInput
3504
3957
  }
3505
3958
 
3959
+ input ModelSubscriptionStringInput {
3960
+ ne: String
3961
+ eq: String
3962
+ le: String
3963
+ lt: String
3964
+ ge: String
3965
+ gt: String
3966
+ contains: String
3967
+ notContains: String
3968
+ between: [String]
3969
+ beginsWith: String
3970
+ in: [String]
3971
+ notIn: [String]
3972
+ }
3973
+
3974
+ input ModelSubscriptionIntInput {
3975
+ ne: Int
3976
+ eq: Int
3977
+ le: Int
3978
+ lt: Int
3979
+ ge: Int
3980
+ gt: Int
3981
+ between: [Int]
3982
+ in: [Int]
3983
+ notIn: [Int]
3984
+ }
3985
+
3986
+ input ModelSubscriptionFloatInput {
3987
+ ne: Float
3988
+ eq: Float
3989
+ le: Float
3990
+ lt: Float
3991
+ ge: Float
3992
+ gt: Float
3993
+ between: [Float]
3994
+ in: [Float]
3995
+ notIn: [Float]
3996
+ }
3997
+
3998
+ input ModelSubscriptionBooleanInput {
3999
+ ne: Boolean
4000
+ eq: Boolean
4001
+ }
4002
+
4003
+ input ModelSubscriptionIDInput {
4004
+ ne: ID
4005
+ eq: ID
4006
+ le: ID
4007
+ lt: ID
4008
+ ge: ID
4009
+ gt: ID
4010
+ contains: ID
4011
+ notContains: ID
4012
+ between: [ID]
4013
+ beginsWith: ID
4014
+ in: [ID]
4015
+ notIn: [ID]
4016
+ }
4017
+
3506
4018
  enum ModelAttributeTypes {
3507
4019
  binary
3508
4020
  binarySet
@@ -3576,10 +4088,17 @@ type Mutation {
3576
4088
  deletePost(input: DeletePostInput!, condition: ModelPostConditionInput): Post
3577
4089
  }
3578
4090
 
4091
+ input ModelSubscriptionPostFilterInput {
4092
+ id: ModelSubscriptionIDInput
4093
+ str: ModelSubscriptionStringInput
4094
+ and: [ModelSubscriptionPostFilterInput]
4095
+ or: [ModelSubscriptionPostFilterInput]
4096
+ }
4097
+
3579
4098
  type Subscription {
3580
- onCreatePost: Post @aws_subscribe(mutations: [\\"createPost\\"])
3581
- onUpdatePost: Post @aws_subscribe(mutations: [\\"updatePost\\"])
3582
- onDeletePost: Post @aws_subscribe(mutations: [\\"deletePost\\"])
4099
+ onCreatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"createPost\\"])
4100
+ onUpdatePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"updatePost\\"])
4101
+ onDeletePost(filter: ModelSubscriptionPostFilterInput): Post @aws_subscribe(mutations: [\\"deletePost\\"])
3583
4102
  }
3584
4103
 
3585
4104
  "