1- # source: http ://192.168.99.100:4466
2- # timestamp: Wed Aug 19 2020 13:31:21 GMT+0530 (India Standard Time)
1+ # source: https ://the-notes-app-a6bffce1fd.herokuapp.com/aakash-meshram-notes-app/prod
2+ # timestamp: Mon Sep 07 2020 12:02:59 GMT+0530 (India Standard Time)
33
44type AggregateNote {
55 count : Int !
@@ -20,9 +20,6 @@ type BatchPayload {
2020
2121scalar DateTime
2222
23- """Raw JSON value"""
24- scalar Json
25-
2623"""
2724The `Long` scalar type represents non-fractional signed whole numeric values.
2825Long can represent values between -(2^63) and 2^63 - 1.
@@ -48,7 +45,6 @@ type Mutation {
4845 deleteManyRequests (where : RequestWhereInput ): BatchPayload !
4946 deleteManyNotes (where : NoteWhereInput ): BatchPayload !
5047 deleteManyUsers (where : UserWhereInput ): BatchPayload !
51- executeRaw (database : PrismaDatabase , query : String ! ): Json !
5248}
5349
5450enum MutationType {
@@ -68,6 +64,7 @@ type Note implements Node {
6864 title : String
6965 body : String !
7066 published : Boolean !
67+ wasPublished : Boolean !
7168 likes (where : UserWhereInput , orderBy : UserOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [User ! ]
7269 creator : User !
7370 collaborator (where : UserWhereInput , orderBy : UserOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [User ! ]
@@ -92,6 +89,7 @@ input NoteCreateInput {
9289 title : String
9390 body : String !
9491 published : Boolean !
92+ wasPublished : Boolean !
9593 likes : UserCreateManyInput
9694 creator : UserCreateOneWithoutCreatedPostsInput !
9795 collaborator : UserCreateManyWithoutCollaboratedPostsInput
@@ -124,6 +122,7 @@ input NoteCreateWithoutCollaboratorInput {
124122 title : String
125123 body : String !
126124 published : Boolean !
125+ wasPublished : Boolean !
127126 likes : UserCreateManyInput
128127 creator : UserCreateOneWithoutCreatedPostsInput !
129128 consumer : UserCreateManyWithoutConsumedPostsInput
@@ -135,6 +134,7 @@ input NoteCreateWithoutConsumerInput {
135134 title : String
136135 body : String !
137136 published : Boolean !
137+ wasPublished : Boolean !
138138 likes : UserCreateManyInput
139139 creator : UserCreateOneWithoutCreatedPostsInput !
140140 collaborator : UserCreateManyWithoutCollaboratedPostsInput
@@ -146,6 +146,7 @@ input NoteCreateWithoutCreatorInput {
146146 title : String
147147 body : String !
148148 published : Boolean !
149+ wasPublished : Boolean !
149150 likes : UserCreateManyInput
150151 collaborator : UserCreateManyWithoutCollaboratedPostsInput
151152 consumer : UserCreateManyWithoutConsumedPostsInput
@@ -157,6 +158,7 @@ input NoteCreateWithoutRequestsInput {
157158 title : String
158159 body : String !
159160 published : Boolean !
161+ wasPublished : Boolean !
160162 likes : UserCreateManyInput
161163 creator : UserCreateOneWithoutCreatedPostsInput !
162164 collaborator : UserCreateManyWithoutCollaboratedPostsInput
@@ -181,6 +183,8 @@ enum NoteOrderByInput {
181183 body_DESC
182184 published_ASC
183185 published_DESC
186+ wasPublished_ASC
187+ wasPublished_DESC
184188 createdAt_ASC
185189 createdAt_DESC
186190 updatedAt_ASC
@@ -192,6 +196,7 @@ type NotePreviousValues {
192196 title : String
193197 body : String !
194198 published : Boolean !
199+ wasPublished : Boolean !
195200 createdAt : DateTime !
196201 updatedAt : DateTime !
197202}
@@ -329,6 +334,10 @@ input NoteScalarWhereInput {
329334
330335 """All values that are not equal to given value."""
331336 published_not : Boolean
337+ wasPublished : Boolean
338+
339+ """All values that are not equal to given value."""
340+ wasPublished_not : Boolean
332341 createdAt : DateTime
333342
334343 """All values that are not equal to given value."""
@@ -416,6 +425,7 @@ input NoteUpdateInput {
416425 title : String
417426 body : String
418427 published : Boolean
428+ wasPublished : Boolean
419429 likes : UserUpdateManyInput
420430 creator : UserUpdateOneRequiredWithoutCreatedPostsInput
421431 collaborator : UserUpdateManyWithoutCollaboratedPostsInput
@@ -427,12 +437,14 @@ input NoteUpdateManyDataInput {
427437 title : String
428438 body : String
429439 published : Boolean
440+ wasPublished : Boolean
430441}
431442
432443input NoteUpdateManyMutationInput {
433444 title : String
434445 body : String
435446 published : Boolean
447+ wasPublished : Boolean
436448}
437449
438450input NoteUpdateManyWithoutCollaboratorInput {
@@ -487,6 +499,7 @@ input NoteUpdateWithoutCollaboratorDataInput {
487499 title : String
488500 body : String
489501 published : Boolean
502+ wasPublished : Boolean
490503 likes : UserUpdateManyInput
491504 creator : UserUpdateOneRequiredWithoutCreatedPostsInput
492505 consumer : UserUpdateManyWithoutConsumedPostsInput
@@ -497,6 +510,7 @@ input NoteUpdateWithoutConsumerDataInput {
497510 title : String
498511 body : String
499512 published : Boolean
513+ wasPublished : Boolean
500514 likes : UserUpdateManyInput
501515 creator : UserUpdateOneRequiredWithoutCreatedPostsInput
502516 collaborator : UserUpdateManyWithoutCollaboratedPostsInput
@@ -507,6 +521,7 @@ input NoteUpdateWithoutCreatorDataInput {
507521 title : String
508522 body : String
509523 published : Boolean
524+ wasPublished : Boolean
510525 likes : UserUpdateManyInput
511526 collaborator : UserUpdateManyWithoutCollaboratedPostsInput
512527 consumer : UserUpdateManyWithoutConsumedPostsInput
@@ -517,6 +532,7 @@ input NoteUpdateWithoutRequestsDataInput {
517532 title : String
518533 body : String
519534 published : Boolean
535+ wasPublished : Boolean
520536 likes : UserUpdateManyInput
521537 creator : UserUpdateOneRequiredWithoutCreatedPostsInput
522538 collaborator : UserUpdateManyWithoutCollaboratedPostsInput
@@ -694,6 +710,10 @@ input NoteWhereInput {
694710
695711 """All values that are not equal to given value."""
696712 published_not : Boolean
713+ wasPublished : Boolean
714+
715+ """All values that are not equal to given value."""
716+ wasPublished_not : Boolean
697717 createdAt : DateTime
698718
699719 """All values that are not equal to given value."""
@@ -772,10 +792,6 @@ type PageInfo {
772792 endCursor : String
773793}
774794
775- enum PrismaDatabase {
776- default
777- }
778-
779795type Query {
780796 requests (where : RequestWhereInput , orderBy : RequestOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [Request ]!
781797 notes (where : NoteWhereInput , orderBy : NoteOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [Note ]!
0 commit comments