@@ -14,53 +14,57 @@ export type Scalars = {
1414
1515export type Mutation = {
1616 __typename ?: 'Mutation' ;
17- addPropriety ?: Maybe < Propriety > ;
17+ addPlace ?: Maybe < Place > ;
1818 addReview ?: Maybe < Review > ;
1919 addUser : User ;
2020} ;
2121
22- export type MutationAddProprietyArgs = {
23- body ?: InputMaybe < InputProprietyType > ;
22+
23+ export type MutationAddPlaceArgs = {
24+ body ?: InputMaybe < InputPlaceType > ;
2425} ;
2526
27+
2628export type MutationAddReviewArgs = {
2729 body ?: InputMaybe < InputReviewType > ;
2830} ;
2931
32+
3033export type MutationAddUserArgs = {
3134 body ?: InputMaybe < InputUserType > ;
3235} ;
3336
34- export type Propriety = {
35- __typename ?: 'Propriety ' ;
37+ export type Place = {
38+ __typename ?: 'Place ' ;
3639 desciption ?: Maybe < Scalars [ 'String' ] > ;
3740 id ?: Maybe < Scalars [ 'ID' ] > ;
3841 mainPhoto ?: Maybe < Scalars [ 'String' ] > ;
3942 owner ?: Maybe < User > ;
4043 photos ?: Maybe < Array < Maybe < Scalars [ 'String' ] > > > ;
4144 priceByNight ?: Maybe < Scalars [ 'Float' ] > ;
4245 reviews ?: Maybe < Array < Maybe < Review > > > ;
43- title ?: Maybe < Scalars [ 'String' ] > ;
44- type ?: Maybe < Scalars [ 'String' ] > ;
4546} ;
4647
4748export type Query = {
4849 __typename ?: 'Query' ;
49- propriety ?: Maybe < Propriety > ;
50- proprietyList ?: Maybe < Array < Maybe < Propriety > > > ;
50+ place ?: Maybe < Place > ;
51+ placeList ?: Maybe < Array < Maybe < Place > > > ;
5152 reviewByUser ?: Maybe < Array < Maybe < Review > > > ;
5253 user : User ;
5354 userList : Array < User > ;
5455} ;
5556
56- export type QueryProprietyArgs = {
57+
58+ export type QueryPlaceArgs = {
5759 id ?: InputMaybe < Scalars [ 'ID' ] > ;
5860} ;
5961
62+
6063export type QueryReviewByUserArgs = {
6164 id ?: InputMaybe < Scalars [ 'ID' ] > ;
6265} ;
6366
67+
6468export type QueryUserArgs = {
6569 id : Scalars [ 'ID' ] ;
6670} ;
@@ -70,7 +74,7 @@ export type Review = {
7074 author ?: Maybe < User > ;
7175 feedback ?: Maybe < Scalars [ 'String' ] > ;
7276 id ?: Maybe < Scalars [ 'ID' ] > ;
73- propriety ?: Maybe < Propriety > ;
77+ place ?: Maybe < Scalars [ 'ID' ] > ;
7478 rate ?: Maybe < Scalars [ 'Float' ] > ;
7579} ;
7680
@@ -82,19 +86,18 @@ export type User = {
8286 photo : Scalars [ 'String' ] ;
8387} ;
8488
85- export type InputProprietyType = {
89+ export type InputPlaceType = {
8690 desciption ?: InputMaybe < Scalars [ 'String' ] > ;
8791 mainPhoto ?: InputMaybe < Scalars [ 'String' ] > ;
8892 photos ?: InputMaybe < Array < InputMaybe < Scalars [ 'String' ] > > > ;
8993 priceByNight ?: InputMaybe < Scalars [ 'Float' ] > ;
90- title ?: InputMaybe < Scalars [ 'String' ] > ;
9194 type ?: InputMaybe < Scalars [ 'String' ] > ;
9295} ;
9396
9497export type InputReviewType = {
95- authorId ?: InputMaybe < Scalars [ 'ID' ] > ;
9698 feedback ?: InputMaybe < Scalars [ 'String' ] > ;
97- proprietyId ?: InputMaybe < Scalars [ 'ID' ] > ;
99+ id ?: InputMaybe < Scalars [ 'ID' ] > ;
100+ place ?: InputMaybe < Scalars [ 'ID' ] > ;
98101 rate ?: InputMaybe < Scalars [ 'Float' ] > ;
99102} ;
100103
0 commit comments