react-easy-wall 3.5.7 → 3.5.9
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.
- package/dist/cjs/components/session/session.actions.js.map +1 -1
- package/dist/cjs/components/session/session.server.actions.js.map +1 -1
- package/dist/cjs/shared/apollo/apollo.server.js +1 -1
- package/dist/cjs/shared/apollo/apollo.server.js.map +1 -1
- package/dist/cjs/shared/types/generated.js +35 -12
- package/dist/cjs/shared/types/generated.js.map +1 -1
- package/dist/esm/components/session/session.actions.js.map +1 -1
- package/dist/esm/components/session/session.server.actions.js.map +1 -1
- package/dist/esm/shared/apollo/apollo.server.js +1 -1
- package/dist/esm/shared/apollo/apollo.server.js.map +1 -1
- package/dist/esm/shared/types/generated.js +36 -13
- package/dist/esm/shared/types/generated.js.map +1 -1
- package/dist/esm/types/components/post/post.actions.d.ts +2 -12
- package/dist/esm/types/components/session/session.actions.d.ts +10 -64
- package/dist/esm/types/components/session/session.server.actions.d.ts +54 -30
- package/dist/esm/types/shared/types/generated.d.ts +136 -119
- package/package.json +1 -1
|
@@ -51,13 +51,15 @@ export type Scalars = {
|
|
|
51
51
|
output: any;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
export type AdminDisableUserInput = {
|
|
55
|
-
email?: InputMaybe<Scalars['String']['input']>;
|
|
56
|
-
};
|
|
57
54
|
export type AllCetificationsResponse = {
|
|
58
55
|
__typename?: 'AllCetificationsResponse';
|
|
59
56
|
certifications?: Maybe<Array<Maybe<Plan>>>;
|
|
60
57
|
};
|
|
58
|
+
export type ApplySubscriptionSharedCouponData = {
|
|
59
|
+
coupon?: InputMaybe<Scalars['String']['input']>;
|
|
60
|
+
emailCuponOwner?: InputMaybe<Scalars['String']['input']>;
|
|
61
|
+
userEmail?: InputMaybe<Scalars['String']['input']>;
|
|
62
|
+
};
|
|
61
63
|
export type AuthPayload = {
|
|
62
64
|
__typename?: 'AuthPayload';
|
|
63
65
|
token?: Maybe<Scalars['String']['output']>;
|
|
@@ -104,6 +106,11 @@ export declare enum CartDescoutBy {
|
|
|
104
106
|
StandardPlan = "STANDARD_PLAN",
|
|
105
107
|
StudentPlan = "STUDENT_PLAN"
|
|
106
108
|
}
|
|
109
|
+
export type CategoryWp = {
|
|
110
|
+
__typename?: 'CategoryWp';
|
|
111
|
+
parent?: Maybe<Scalars['String']['output']>;
|
|
112
|
+
slug?: Maybe<Scalars['String']['output']>;
|
|
113
|
+
};
|
|
107
114
|
export type CetificationsAvailableResponse = {
|
|
108
115
|
__typename?: 'CetificationsAvailableResponse';
|
|
109
116
|
certifications?: Maybe<Array<Maybe<Plan>>>;
|
|
@@ -130,7 +137,6 @@ export type CommentsResponse = {
|
|
|
130
137
|
};
|
|
131
138
|
export type CommentsWhere = {
|
|
132
139
|
post_id?: InputMaybe<Scalars['Int']['input']>;
|
|
133
|
-
site?: InputMaybe<Site>;
|
|
134
140
|
};
|
|
135
141
|
export type ConnectResponse = {
|
|
136
142
|
__typename?: 'ConnectResponse';
|
|
@@ -191,7 +197,6 @@ export type CreateCartItemInput = {
|
|
|
191
197
|
export type CreateCommentInput = {
|
|
192
198
|
message?: InputMaybe<Scalars['String']['input']>;
|
|
193
199
|
post_id?: InputMaybe<Scalars['Int']['input']>;
|
|
194
|
-
site?: InputMaybe<Site>;
|
|
195
200
|
};
|
|
196
201
|
export type CreateCustomSubscriptionInput = {
|
|
197
202
|
notes?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -243,7 +248,6 @@ export type CreateReplyCommentInput = {
|
|
|
243
248
|
comment_id?: InputMaybe<Scalars['Int']['input']>;
|
|
244
249
|
message?: InputMaybe<Scalars['String']['input']>;
|
|
245
250
|
post_id?: InputMaybe<Scalars['Int']['input']>;
|
|
246
|
-
site?: InputMaybe<Site>;
|
|
247
251
|
};
|
|
248
252
|
export type CreateSharedCouponResponse = {
|
|
249
253
|
__typename?: 'CreateSharedCouponResponse';
|
|
@@ -343,11 +347,12 @@ export type IdFilter = {
|
|
|
343
347
|
notIn?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
344
348
|
};
|
|
345
349
|
export declare enum InterestsEnum {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
350
|
+
Criterio = "CRITERIO",
|
|
351
|
+
FinDeSemana = "FIN_DE_SEMANA",
|
|
352
|
+
FirstClass = "FIRST_CLASS",
|
|
353
|
+
LaCopa = "LA_COPA",
|
|
354
|
+
Politics = "POLITICS",
|
|
355
|
+
Sos = "SOS"
|
|
351
356
|
}
|
|
352
357
|
export type Invoice = {
|
|
353
358
|
__typename?: 'Invoice';
|
|
@@ -365,6 +370,18 @@ export declare enum InvoiceStatuses {
|
|
|
365
370
|
Refunded = "REFUNDED",
|
|
366
371
|
Unpaid = "UNPAID"
|
|
367
372
|
}
|
|
373
|
+
export type MagazinePermission = {
|
|
374
|
+
__typename?: 'MagazinePermission';
|
|
375
|
+
created_at?: Maybe<Scalars['DateTime']['output']>;
|
|
376
|
+
id?: Maybe<Scalars['Int']['output']>;
|
|
377
|
+
name?: Maybe<MagazinePermissionName>;
|
|
378
|
+
plans_on_magazine_permissions?: Maybe<Array<Maybe<PlansOnMagazinePermissions>>>;
|
|
379
|
+
updated_at?: Maybe<Scalars['DateTime']['output']>;
|
|
380
|
+
};
|
|
381
|
+
export declare enum MagazinePermissionName {
|
|
382
|
+
AllMagazines = "ALL_MAGAZINES",
|
|
383
|
+
LatestMagazine = "LATEST_MAGAZINE"
|
|
384
|
+
}
|
|
368
385
|
export type MailchimpAddSubscriptionInput = {
|
|
369
386
|
audience?: InputMaybe<Scalars['String']['input']>;
|
|
370
387
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -405,8 +422,8 @@ export type Mutation = {
|
|
|
405
422
|
addUserBroadcastData?: Maybe<AddUserBroadcastDataResponse>;
|
|
406
423
|
addUserInterests?: Maybe<UserInterestsResponse>;
|
|
407
424
|
addUserPreferencesData?: Maybe<AddUserPreferencesDataResponse>;
|
|
408
|
-
adminDisableAccount?: Maybe<DisableAccountResponse>;
|
|
409
425
|
appleSignup?: Maybe<AuthPayload>;
|
|
426
|
+
applySubscriptionSharedCoupon?: Maybe<Subscription>;
|
|
410
427
|
cancelSubscription?: Maybe<CancelSubscriptionResponse>;
|
|
411
428
|
cancelSubscriptionNow?: Maybe<CancelSubscriptionResponse>;
|
|
412
429
|
changePassword?: Maybe<AuthPayload>;
|
|
@@ -441,6 +458,7 @@ export type Mutation = {
|
|
|
441
458
|
removeCartItem?: Maybe<Cart>;
|
|
442
459
|
removeUserInvitation?: Maybe<RemoveUserInvitationPayload>;
|
|
443
460
|
resendUserInvitation?: Maybe<UserInvitation>;
|
|
461
|
+
sharedSubscription?: Maybe<Subscription>;
|
|
444
462
|
signup?: Maybe<AuthPayload>;
|
|
445
463
|
subscriptionsNextExpireReport?: Maybe<Report>;
|
|
446
464
|
toggleAdministratorUserRole?: Maybe<User>;
|
|
@@ -463,14 +481,13 @@ export type MutationAddUserInterestsArgs = {
|
|
|
463
481
|
export type MutationAddUserPreferencesDataArgs = {
|
|
464
482
|
data?: InputMaybe<AddUserPreferencesInput>;
|
|
465
483
|
};
|
|
466
|
-
export type MutationAdminDisableAccountArgs = {
|
|
467
|
-
data?: InputMaybe<AdminDisableUserInput>;
|
|
468
|
-
};
|
|
469
484
|
export type MutationAppleSignupArgs = {
|
|
470
|
-
site: Site;
|
|
471
485
|
token: Scalars['String']['input'];
|
|
472
486
|
url: Scalars['String']['input'];
|
|
473
487
|
};
|
|
488
|
+
export type MutationApplySubscriptionSharedCouponArgs = {
|
|
489
|
+
data?: InputMaybe<ApplySubscriptionSharedCouponData>;
|
|
490
|
+
};
|
|
474
491
|
export type MutationCancelSubscriptionArgs = {
|
|
475
492
|
data?: InputMaybe<CancelSubscriptionInput>;
|
|
476
493
|
};
|
|
@@ -541,7 +558,6 @@ export type MutationDisconnectUserProviderArgs = {
|
|
|
541
558
|
data: DisconnectUserProviderInput;
|
|
542
559
|
};
|
|
543
560
|
export type MutationFacebookSignupArgs = {
|
|
544
|
-
site: Site;
|
|
545
561
|
token: Scalars['String']['input'];
|
|
546
562
|
url: Scalars['String']['input'];
|
|
547
563
|
};
|
|
@@ -551,12 +567,10 @@ export type MutationForgotPasswordArgs = {
|
|
|
551
567
|
redirectUrl: Scalars['String']['input'];
|
|
552
568
|
};
|
|
553
569
|
export type MutationGoogleSignInArgs = {
|
|
554
|
-
site: Site;
|
|
555
570
|
token: Scalars['String']['input'];
|
|
556
571
|
url: Scalars['String']['input'];
|
|
557
572
|
};
|
|
558
573
|
export type MutationGoogleSignupArgs = {
|
|
559
|
-
site: Site;
|
|
560
574
|
token: Scalars['String']['input'];
|
|
561
575
|
url: Scalars['String']['input'];
|
|
562
576
|
};
|
|
@@ -572,7 +586,6 @@ export type MutationReactivateSubscriptionArgs = {
|
|
|
572
586
|
};
|
|
573
587
|
export type MutationRecaptchaArgs = {
|
|
574
588
|
email: Scalars['String']['input'];
|
|
575
|
-
site?: InputMaybe<Scalars['String']['input']>;
|
|
576
589
|
token: Scalars['String']['input'];
|
|
577
590
|
};
|
|
578
591
|
export type MutationRemoveCartItemArgs = {
|
|
@@ -584,11 +597,13 @@ export type MutationRemoveUserInvitationArgs = {
|
|
|
584
597
|
export type MutationResendUserInvitationArgs = {
|
|
585
598
|
id: Scalars['String']['input'];
|
|
586
599
|
};
|
|
600
|
+
export type MutationSharedSubscriptionArgs = {
|
|
601
|
+
data?: InputMaybe<SharedSubscriptionInput>;
|
|
602
|
+
};
|
|
587
603
|
export type MutationSignupArgs = {
|
|
588
604
|
email: Scalars['String']['input'];
|
|
589
605
|
name: Scalars['String']['input'];
|
|
590
606
|
password: Scalars['String']['input'];
|
|
591
|
-
site: Site;
|
|
592
607
|
url: Scalars['String']['input'];
|
|
593
608
|
};
|
|
594
609
|
export type MutationSubscriptionsNextExpireReportArgs = {
|
|
@@ -665,6 +680,7 @@ export declare enum PaymentMethod {
|
|
|
665
680
|
Custom = "CUSTOM",
|
|
666
681
|
Openpay = "OPENPAY",
|
|
667
682
|
Paypal = "PAYPAL",
|
|
683
|
+
Shared = "SHARED",
|
|
668
684
|
StripeCard = "STRIPE_CARD"
|
|
669
685
|
}
|
|
670
686
|
export type Paypal = {
|
|
@@ -687,6 +703,7 @@ export type Plan = {
|
|
|
687
703
|
is_premium?: Maybe<Scalars['Boolean']['output']>;
|
|
688
704
|
open_pay?: Maybe<OpenPay>;
|
|
689
705
|
paypal?: Maybe<Paypal>;
|
|
706
|
+
plans_on_magazine_permissions?: Maybe<Array<Maybe<PlansOnMagazinePermissions>>>;
|
|
690
707
|
price?: Maybe<Scalars['String']['output']>;
|
|
691
708
|
promo_subsidiary?: Maybe<Array<Maybe<Promo_Subsidiary_Type>>>;
|
|
692
709
|
slug?: Maybe<Scalars['String']['output']>;
|
|
@@ -715,6 +732,15 @@ export declare enum PlanStatuses {
|
|
|
715
732
|
export type PlanWhereInput = {
|
|
716
733
|
status?: InputMaybe<PaypalStatuses>;
|
|
717
734
|
};
|
|
735
|
+
export type PlansOnMagazinePermissions = {
|
|
736
|
+
__typename?: 'PlansOnMagazinePermissions';
|
|
737
|
+
created_at?: Maybe<Scalars['DateTime']['output']>;
|
|
738
|
+
magazine_permission?: Maybe<MagazinePermission>;
|
|
739
|
+
magazine_permission_id?: Maybe<Scalars['Int']['output']>;
|
|
740
|
+
plan?: Maybe<Plan>;
|
|
741
|
+
plan_id?: Maybe<Scalars['Int']['output']>;
|
|
742
|
+
updated_at?: Maybe<Scalars['DateTime']['output']>;
|
|
743
|
+
};
|
|
718
744
|
export type PlansWhereInput = {
|
|
719
745
|
is_premium?: InputMaybe<Scalars['Boolean']['input']>;
|
|
720
746
|
status?: InputMaybe<PaypalStatuses>;
|
|
@@ -750,7 +776,6 @@ export type Query = {
|
|
|
750
776
|
userInvitations?: Maybe<UserInvitationsResponse>;
|
|
751
777
|
userProviders?: Maybe<UserSocialProvidersResponse>;
|
|
752
778
|
userSavedPosts?: Maybe<UserSavedPostsResponse>;
|
|
753
|
-
userSubscriberEvents?: Maybe<UsersSubscriberEventsPayload>;
|
|
754
779
|
users?: Maybe<UsersPayload>;
|
|
755
780
|
validateCoupon?: Maybe<StripeCoupon>;
|
|
756
781
|
};
|
|
@@ -811,11 +836,6 @@ export type QueryUserSavedPostsArgs = {
|
|
|
811
836
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
812
837
|
where?: InputMaybe<UserSavedPostsWhere>;
|
|
813
838
|
};
|
|
814
|
-
export type QueryUserSubscriberEventsArgs = {
|
|
815
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
816
|
-
take?: InputMaybe<Scalars['Int']['input']>;
|
|
817
|
-
where?: InputMaybe<UsersSubscriberEventsWhere>;
|
|
818
|
-
};
|
|
819
839
|
export type QueryUsersArgs = {
|
|
820
840
|
orderBy?: InputMaybe<Array<InputMaybe<UserOrderInput>>>;
|
|
821
841
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -859,7 +879,6 @@ export type Report = {
|
|
|
859
879
|
id?: Maybe<Scalars['Int']['output']>;
|
|
860
880
|
name?: Maybe<Scalars['String']['output']>;
|
|
861
881
|
requested_by?: Maybe<Scalars['String']['output']>;
|
|
862
|
-
site?: Maybe<Site>;
|
|
863
882
|
status?: Maybe<StatusReport>;
|
|
864
883
|
status_message?: Maybe<Scalars['String']['output']>;
|
|
865
884
|
to_date?: Maybe<Scalars['String']['output']>;
|
|
@@ -886,10 +905,9 @@ export type RolesOnUsers = {
|
|
|
886
905
|
role?: Maybe<UserRole>;
|
|
887
906
|
role_id?: Maybe<Scalars['Int']['output']>;
|
|
888
907
|
};
|
|
889
|
-
export
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
}
|
|
908
|
+
export type SharedSubscriptionInput = {
|
|
909
|
+
id?: InputMaybe<Scalars['Int']['input']>;
|
|
910
|
+
};
|
|
893
911
|
export declare enum SocialProviders {
|
|
894
912
|
Apple = "APPLE",
|
|
895
913
|
Facebook = "FACEBOOK",
|
|
@@ -982,12 +1000,6 @@ export type StudentCredentialDataInput = {
|
|
|
982
1000
|
export type StudentCredentialInput = {
|
|
983
1001
|
file?: InputMaybe<Scalars['Upload']['input']>;
|
|
984
1002
|
};
|
|
985
|
-
export type SubscriberEvent = {
|
|
986
|
-
__typename?: 'SubscriberEvent';
|
|
987
|
-
description?: Maybe<Scalars['String']['output']>;
|
|
988
|
-
id?: Maybe<Scalars['Int']['output']>;
|
|
989
|
-
name?: Maybe<Scalars['String']['output']>;
|
|
990
|
-
};
|
|
991
1003
|
export type Subscription = {
|
|
992
1004
|
__typename?: 'Subscription';
|
|
993
1005
|
cancel_date?: Maybe<Scalars['String']['output']>;
|
|
@@ -1001,6 +1013,7 @@ export type Subscription = {
|
|
|
1001
1013
|
period_end_date?: Maybe<Scalars['String']['output']>;
|
|
1002
1014
|
period_start_date?: Maybe<Scalars['String']['output']>;
|
|
1003
1015
|
plan?: Maybe<Plan>;
|
|
1016
|
+
shared_subscriptions?: Maybe<Array<Maybe<Subscription>>>;
|
|
1004
1017
|
status?: Maybe<SubscriptionStatuses>;
|
|
1005
1018
|
transaction_id?: Maybe<Scalars['String']['output']>;
|
|
1006
1019
|
type?: Maybe<SubscriptionType>;
|
|
@@ -1161,7 +1174,6 @@ export type User = {
|
|
|
1161
1174
|
password?: Maybe<Scalars['String']['output']>;
|
|
1162
1175
|
post_saved?: Maybe<Array<Maybe<UserSavedPost>>>;
|
|
1163
1176
|
roles_on_users?: Maybe<Array<Maybe<RolesOnUsers>>>;
|
|
1164
|
-
site?: Maybe<Site>;
|
|
1165
1177
|
social_providers?: Maybe<Array<Maybe<UserSocialProviders>>>;
|
|
1166
1178
|
student_credential?: Maybe<StudentCredential>;
|
|
1167
1179
|
subscription_billing?: Maybe<SubscriptionBilling>;
|
|
@@ -1178,7 +1190,6 @@ export type UserInput = {
|
|
|
1178
1190
|
name: Scalars['String']['input'];
|
|
1179
1191
|
password?: InputMaybe<Scalars['String']['input']>;
|
|
1180
1192
|
remember_token?: InputMaybe<Scalars['String']['input']>;
|
|
1181
|
-
site?: InputMaybe<Site>;
|
|
1182
1193
|
updated_at?: InputMaybe<Scalars['String']['input']>;
|
|
1183
1194
|
};
|
|
1184
1195
|
export type UserInvitation = {
|
|
@@ -1242,6 +1253,7 @@ export type UserSavedPost = {
|
|
|
1242
1253
|
};
|
|
1243
1254
|
export type UserSavedPostRestApi = {
|
|
1244
1255
|
__typename?: 'UserSavedPostRestApi';
|
|
1256
|
+
categories?: Maybe<Array<Maybe<CategoryWp>>>;
|
|
1245
1257
|
id?: Maybe<Scalars['Int']['output']>;
|
|
1246
1258
|
post_content?: Maybe<Scalars['String']['output']>;
|
|
1247
1259
|
post_date?: Maybe<Scalars['String']['output']>;
|
|
@@ -1299,29 +1311,11 @@ export declare enum UserStatus {
|
|
|
1299
1311
|
Active = "ACTIVE",
|
|
1300
1312
|
Inactive = "INACTIVE"
|
|
1301
1313
|
}
|
|
1302
|
-
export type UserSubscriberEvent = {
|
|
1303
|
-
__typename?: 'UserSubscriberEvent';
|
|
1304
|
-
created_at?: Maybe<Scalars['String']['output']>;
|
|
1305
|
-
event?: Maybe<SubscriberEvent>;
|
|
1306
|
-
event_id?: Maybe<Scalars['Int']['output']>;
|
|
1307
|
-
id?: Maybe<Scalars['Int']['output']>;
|
|
1308
|
-
user?: Maybe<User>;
|
|
1309
|
-
user_id?: Maybe<Scalars['Int']['output']>;
|
|
1310
|
-
};
|
|
1311
1314
|
export type UsersPayload = {
|
|
1312
1315
|
__typename?: 'UsersPayload';
|
|
1313
1316
|
count?: Maybe<Scalars['Int']['output']>;
|
|
1314
1317
|
items?: Maybe<Array<Maybe<User>>>;
|
|
1315
1318
|
};
|
|
1316
|
-
export type UsersSubscriberEventsPayload = {
|
|
1317
|
-
__typename?: 'UsersSubscriberEventsPayload';
|
|
1318
|
-
count?: Maybe<Scalars['Int']['output']>;
|
|
1319
|
-
items?: Maybe<Array<Maybe<UserSubscriberEvent>>>;
|
|
1320
|
-
};
|
|
1321
|
-
export type UsersSubscriberEventsWhere = {
|
|
1322
|
-
created_at?: InputMaybe<CreatedAtInput>;
|
|
1323
|
-
search?: InputMaybe<Scalars['String']['input']>;
|
|
1324
|
-
};
|
|
1325
1319
|
export type UsersWhere = {
|
|
1326
1320
|
OR?: InputMaybe<Array<InputMaybe<UsersWhere>>>;
|
|
1327
1321
|
created_at?: InputMaybe<CreatedAtInput>;
|
|
@@ -1329,7 +1323,6 @@ export type UsersWhere = {
|
|
|
1329
1323
|
name?: InputMaybe<StringFilter>;
|
|
1330
1324
|
onlySubscribers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1331
1325
|
provider?: InputMaybe<FilterSocialProviders>;
|
|
1332
|
-
site?: InputMaybe<Site>;
|
|
1333
1326
|
};
|
|
1334
1327
|
export type AddInterestsToUserInput = {
|
|
1335
1328
|
interests?: InputMaybe<Array<InputMaybe<InterestsEnum>>>;
|
|
@@ -1404,11 +1397,11 @@ export type CreateCommentMutationVariables = Exact<{
|
|
|
1404
1397
|
}>;
|
|
1405
1398
|
export type CreateCommentMutation = {
|
|
1406
1399
|
__typename?: 'Mutation';
|
|
1407
|
-
createComment
|
|
1400
|
+
createComment: {
|
|
1408
1401
|
__typename?: 'Comment';
|
|
1409
|
-
id
|
|
1410
|
-
post_id
|
|
1411
|
-
message
|
|
1402
|
+
id: number | null;
|
|
1403
|
+
post_id: number | null;
|
|
1404
|
+
message: string | null;
|
|
1412
1405
|
} | null;
|
|
1413
1406
|
};
|
|
1414
1407
|
export type CommentsQueryVariables = Exact<{
|
|
@@ -1418,29 +1411,29 @@ export type CommentsQueryVariables = Exact<{
|
|
|
1418
1411
|
}>;
|
|
1419
1412
|
export type CommentsQuery = {
|
|
1420
1413
|
__typename?: 'Query';
|
|
1421
|
-
comments
|
|
1414
|
+
comments: {
|
|
1422
1415
|
__typename?: 'CommentsResponse';
|
|
1423
|
-
count
|
|
1424
|
-
items
|
|
1416
|
+
count: number | null;
|
|
1417
|
+
items: Array<{
|
|
1425
1418
|
__typename?: 'Comment';
|
|
1426
|
-
id
|
|
1427
|
-
message
|
|
1428
|
-
created_at
|
|
1429
|
-
updated_at
|
|
1430
|
-
user
|
|
1419
|
+
id: number | null;
|
|
1420
|
+
message: string | null;
|
|
1421
|
+
created_at: string | null;
|
|
1422
|
+
updated_at: string | null;
|
|
1423
|
+
user: {
|
|
1431
1424
|
__typename?: 'User';
|
|
1432
|
-
avatar
|
|
1425
|
+
avatar: string | null;
|
|
1433
1426
|
name: string;
|
|
1434
1427
|
} | null;
|
|
1435
|
-
replies
|
|
1428
|
+
replies: Array<{
|
|
1436
1429
|
__typename?: 'ReplyComment';
|
|
1437
|
-
id
|
|
1438
|
-
message
|
|
1439
|
-
created_at
|
|
1440
|
-
updated_at
|
|
1441
|
-
user
|
|
1430
|
+
id: number | null;
|
|
1431
|
+
message: string | null;
|
|
1432
|
+
created_at: string | null;
|
|
1433
|
+
updated_at: string | null;
|
|
1434
|
+
user: {
|
|
1442
1435
|
__typename?: 'User';
|
|
1443
|
-
avatar
|
|
1436
|
+
avatar: string | null;
|
|
1444
1437
|
name: string;
|
|
1445
1438
|
} | null;
|
|
1446
1439
|
} | null> | null;
|
|
@@ -1452,12 +1445,12 @@ export type CreateReplyCommentMutationVariables = Exact<{
|
|
|
1452
1445
|
}>;
|
|
1453
1446
|
export type CreateReplyCommentMutation = {
|
|
1454
1447
|
__typename?: 'Mutation';
|
|
1455
|
-
createReplyComment
|
|
1448
|
+
createReplyComment: {
|
|
1456
1449
|
__typename?: 'ReplyComment';
|
|
1457
|
-
id
|
|
1458
|
-
post_id
|
|
1459
|
-
message
|
|
1460
|
-
comment_id
|
|
1450
|
+
id: number | null;
|
|
1451
|
+
post_id: number | null;
|
|
1452
|
+
message: string | null;
|
|
1453
|
+
comment_id: number | null;
|
|
1461
1454
|
} | null;
|
|
1462
1455
|
};
|
|
1463
1456
|
export type CurrentUserQueryVariables = Exact<{
|
|
@@ -1465,53 +1458,77 @@ export type CurrentUserQueryVariables = Exact<{
|
|
|
1465
1458
|
}>;
|
|
1466
1459
|
export type CurrentUserQuery = {
|
|
1467
1460
|
__typename?: 'Query';
|
|
1468
|
-
currentUser
|
|
1461
|
+
currentUser: {
|
|
1469
1462
|
__typename?: 'User';
|
|
1470
1463
|
id: number;
|
|
1471
1464
|
name: string;
|
|
1472
1465
|
email: string;
|
|
1473
|
-
avatar
|
|
1474
|
-
gender
|
|
1475
|
-
birthday
|
|
1476
|
-
|
|
1477
|
-
social_providers?: Array<{
|
|
1466
|
+
avatar: string | null;
|
|
1467
|
+
gender: Gender | null;
|
|
1468
|
+
birthday: string | null;
|
|
1469
|
+
social_providers: Array<{
|
|
1478
1470
|
__typename?: 'UserSocialProviders';
|
|
1479
1471
|
id: number;
|
|
1480
|
-
provider
|
|
1481
|
-
provider_id
|
|
1482
|
-
primary
|
|
1472
|
+
provider: SocialProviders | null;
|
|
1473
|
+
provider_id: string | null;
|
|
1474
|
+
primary: boolean | null;
|
|
1483
1475
|
} | null> | null;
|
|
1484
|
-
roles_on_users
|
|
1476
|
+
roles_on_users: Array<{
|
|
1485
1477
|
__typename?: 'RolesOnUsers';
|
|
1486
|
-
role_id
|
|
1487
|
-
role
|
|
1478
|
+
role_id: number | null;
|
|
1479
|
+
role: {
|
|
1488
1480
|
__typename?: 'UserRole';
|
|
1489
|
-
id
|
|
1490
|
-
name
|
|
1481
|
+
id: number | null;
|
|
1482
|
+
name: UserRoles | null;
|
|
1491
1483
|
} | null;
|
|
1492
1484
|
} | null> | null;
|
|
1493
|
-
subscriptions
|
|
1485
|
+
subscriptions: Array<{
|
|
1494
1486
|
__typename?: 'Subscription';
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1487
|
+
transaction_id: string | null;
|
|
1488
|
+
cancel_date: string | null;
|
|
1489
|
+
status: SubscriptionStatuses | null;
|
|
1490
|
+
payment_method: PaymentMethod | null;
|
|
1491
|
+
period_end_date: string | null;
|
|
1492
|
+
period_start_date: string | null;
|
|
1493
|
+
is_cancel: boolean | null;
|
|
1494
|
+
id: number | null;
|
|
1495
|
+
has_change_plan: boolean | null;
|
|
1496
|
+
plan: {
|
|
1503
1497
|
__typename?: 'Plan';
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1498
|
+
id: number | null;
|
|
1499
|
+
title: string | null;
|
|
1500
|
+
slug: string | null;
|
|
1501
|
+
description: string | null;
|
|
1502
|
+
sub_title: string | null;
|
|
1503
|
+
price: string | null;
|
|
1504
|
+
frequency: PlanFrequency | null;
|
|
1505
|
+
subscription_student_credential_is_required: boolean | null;
|
|
1506
|
+
plans_on_magazine_permissions: Array<{
|
|
1507
|
+
__typename?: 'PlansOnMagazinePermissions';
|
|
1508
|
+
magazine_permission: {
|
|
1509
|
+
__typename?: 'MagazinePermission';
|
|
1510
|
+
id: number | null;
|
|
1511
|
+
name: MagazinePermissionName | null;
|
|
1512
|
+
} | null;
|
|
1513
|
+
} | null> | null;
|
|
1509
1514
|
} | null;
|
|
1510
1515
|
} | null> | null;
|
|
1511
|
-
|
|
1516
|
+
subscription_billing: {
|
|
1517
|
+
__typename?: 'SubscriptionBilling';
|
|
1518
|
+
id: number | null;
|
|
1519
|
+
address: string | null;
|
|
1520
|
+
address1: string | null;
|
|
1521
|
+
city: string | null;
|
|
1522
|
+
state: string | null;
|
|
1523
|
+
country: string | null;
|
|
1524
|
+
postal_code: string | null;
|
|
1525
|
+
phone: string | null;
|
|
1526
|
+
phone1: string | null;
|
|
1527
|
+
} | null;
|
|
1528
|
+
post_saved: Array<{
|
|
1512
1529
|
__typename?: 'UserSavedPost';
|
|
1513
|
-
id
|
|
1514
|
-
post_id
|
|
1530
|
+
id: number | null;
|
|
1531
|
+
post_id: number | null;
|
|
1515
1532
|
} | null> | null;
|
|
1516
1533
|
} | null;
|
|
1517
1534
|
};
|
|
@@ -1520,9 +1537,9 @@ export type CreateUserSavedPostMutationVariables = Exact<{
|
|
|
1520
1537
|
}>;
|
|
1521
1538
|
export type CreateUserSavedPostMutation = {
|
|
1522
1539
|
__typename?: 'Mutation';
|
|
1523
|
-
createUserSavedPost
|
|
1540
|
+
createUserSavedPost: {
|
|
1524
1541
|
__typename?: 'UserSavedPost';
|
|
1525
|
-
id
|
|
1542
|
+
id: number | null;
|
|
1526
1543
|
} | null;
|
|
1527
1544
|
};
|
|
1528
1545
|
export type DeleteUserSavedPostMutationVariables = Exact<{
|
|
@@ -1530,9 +1547,9 @@ export type DeleteUserSavedPostMutationVariables = Exact<{
|
|
|
1530
1547
|
}>;
|
|
1531
1548
|
export type DeleteUserSavedPostMutation = {
|
|
1532
1549
|
__typename?: 'Mutation';
|
|
1533
|
-
deleteUserSavedPost
|
|
1550
|
+
deleteUserSavedPost: {
|
|
1534
1551
|
__typename?: 'UserSavedPost';
|
|
1535
|
-
id
|
|
1552
|
+
id: number | null;
|
|
1536
1553
|
} | null;
|
|
1537
1554
|
};
|
|
1538
1555
|
export declare const CreateCommentDocument: Apollo.DocumentNode;
|