@ludo.ninja/api 2.8.59 → 2.8.61
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/build/graphql_tools/__generated__/adminHost/schema.d.ts +98 -3
- package/build/graphql_tools/__generated__/adminHost/schema.js +65 -2
- package/build/hosts/index.d.ts +1 -0
- package/build/hosts/index.js +2 -1
- package/build/index.d.ts +19 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +124 -3
- package/src/hosts/index.ts +3 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -26,6 +26,8 @@ export type Scalars = {
|
|
|
26
26
|
export type IActiveInvite = {
|
|
27
27
|
inviteCode?: Maybe<Scalars['String']>;
|
|
28
28
|
createdAt?: Maybe<Scalars['Long']>;
|
|
29
|
+
usedTimes?: Maybe<Scalars['Int']>;
|
|
30
|
+
maxUsagesLimit?: Maybe<Scalars['Int']>;
|
|
29
31
|
};
|
|
30
32
|
|
|
31
33
|
export type IAdminBrand = {
|
|
@@ -262,6 +264,13 @@ export type ICategoryInput = {
|
|
|
262
264
|
matchingWords: Array<Scalars['String']>;
|
|
263
265
|
};
|
|
264
266
|
|
|
267
|
+
export type ICheckInviteCodeData = {
|
|
268
|
+
code: Scalars['String'];
|
|
269
|
+
isAvailable: Scalars['Boolean'];
|
|
270
|
+
usedTimes: Scalars['Int'];
|
|
271
|
+
maxUsagesLimit: Scalars['Int'];
|
|
272
|
+
};
|
|
273
|
+
|
|
265
274
|
export type IContactSupportFilterInput = {
|
|
266
275
|
idTerm?: Maybe<Scalars['String']>;
|
|
267
276
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
@@ -380,6 +389,7 @@ export type IMutation = {
|
|
|
380
389
|
setDummy: Scalars['String'];
|
|
381
390
|
removeInviteCode: Scalars['Boolean'];
|
|
382
391
|
addInviteCodes: Scalars['Boolean'];
|
|
392
|
+
updateInviteCodeUsagesLimit: Scalars['Boolean'];
|
|
383
393
|
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
384
394
|
createBrand: Scalars['Boolean'];
|
|
385
395
|
updateBrand: Scalars['Boolean'];
|
|
@@ -407,6 +417,12 @@ export type IMutationAddInviteCodesArgs = {
|
|
|
407
417
|
};
|
|
408
418
|
|
|
409
419
|
|
|
420
|
+
export type IMutationUpdateInviteCodeUsagesLimitArgs = {
|
|
421
|
+
code: Scalars['String'];
|
|
422
|
+
usagesLimit: Scalars['Int'];
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
|
|
410
426
|
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
411
427
|
opportunityId: Scalars['ID'];
|
|
412
428
|
isActive: Scalars['Boolean'];
|
|
@@ -556,6 +572,7 @@ export type IQuery = {
|
|
|
556
572
|
fetchUserFeedbackPage: IUserFeedbackPage;
|
|
557
573
|
fetchRegistrationInvitePage: IRegistrationInvitePage;
|
|
558
574
|
fetchAdminInvitesPage: IInvitesPage;
|
|
575
|
+
checkInviteCode: ICheckInviteCodeData;
|
|
559
576
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
560
577
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
561
578
|
fetchAdminCategoriesPage: ICategoriesPage;
|
|
@@ -624,6 +641,11 @@ export type IQueryFetchAdminInvitesPageArgs = {
|
|
|
624
641
|
};
|
|
625
642
|
|
|
626
643
|
|
|
644
|
+
export type IQueryCheckInviteCodeArgs = {
|
|
645
|
+
code: Scalars['String'];
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
|
|
627
649
|
export type IQueryFetchAdminOpportunitiesPageArgs = {
|
|
628
650
|
filter: IOpportunitiesFilterInput;
|
|
629
651
|
sort: IOpportunitiesSortInput;
|
|
@@ -892,6 +914,7 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
|
|
|
892
914
|
export type IResolversTypes = {
|
|
893
915
|
ActiveInvite: ResolverTypeWrapper<IActiveInvite>;
|
|
894
916
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
917
|
+
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
895
918
|
AdminBrand: ResolverTypeWrapper<IAdminBrand>;
|
|
896
919
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
897
920
|
AdminCategory: ResolverTypeWrapper<IAdminCategory>;
|
|
@@ -901,7 +924,6 @@ export type IResolversTypes = {
|
|
|
901
924
|
AdminInvestorInquiry: ResolverTypeWrapper<IAdminInvestorInquiry>;
|
|
902
925
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
903
926
|
AdminInvite: ResolverTypeWrapper<IAdminInvite>;
|
|
904
|
-
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
905
927
|
AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
|
|
906
928
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
907
929
|
AdminOpportunityInput: IAdminOpportunityInput;
|
|
@@ -919,6 +941,7 @@ export type IResolversTypes = {
|
|
|
919
941
|
CategoriesPage: ResolverTypeWrapper<ICategoriesPage>;
|
|
920
942
|
CategoriesSortInput: ICategoriesSortInput;
|
|
921
943
|
CategoryInput: ICategoryInput;
|
|
944
|
+
CheckInviteCodeData: ResolverTypeWrapper<ICheckInviteCodeData>;
|
|
922
945
|
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
923
946
|
ContactSupportPage: ResolverTypeWrapper<IContactSupportPage>;
|
|
924
947
|
ContactSupportSortInput: IContactSupportSortInput;
|
|
@@ -971,6 +994,7 @@ export type IResolversTypes = {
|
|
|
971
994
|
export type IResolversParentTypes = {
|
|
972
995
|
ActiveInvite: IActiveInvite;
|
|
973
996
|
String: Scalars['String'];
|
|
997
|
+
Int: Scalars['Int'];
|
|
974
998
|
AdminBrand: IAdminBrand;
|
|
975
999
|
Boolean: Scalars['Boolean'];
|
|
976
1000
|
AdminCategory: IAdminCategory;
|
|
@@ -980,7 +1004,6 @@ export type IResolversParentTypes = {
|
|
|
980
1004
|
AdminInvestorInquiry: IAdminInvestorInquiry;
|
|
981
1005
|
Float: Scalars['Float'];
|
|
982
1006
|
AdminInvite: IAdminInvite;
|
|
983
|
-
Int: Scalars['Int'];
|
|
984
1007
|
AdminOpportunity: IAdminOpportunity;
|
|
985
1008
|
ID: Scalars['ID'];
|
|
986
1009
|
AdminOpportunityInput: IAdminOpportunityInput;
|
|
@@ -998,6 +1021,7 @@ export type IResolversParentTypes = {
|
|
|
998
1021
|
CategoriesPage: ICategoriesPage;
|
|
999
1022
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1000
1023
|
CategoryInput: ICategoryInput;
|
|
1024
|
+
CheckInviteCodeData: ICheckInviteCodeData;
|
|
1001
1025
|
ContactSupportFilterInput: IContactSupportFilterInput;
|
|
1002
1026
|
ContactSupportPage: IContactSupportPage;
|
|
1003
1027
|
ContactSupportSortInput: IContactSupportSortInput;
|
|
@@ -1067,6 +1091,8 @@ export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IO
|
|
|
1067
1091
|
export type IActiveInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['ActiveInvite'] = IResolversParentTypes['ActiveInvite']> = {
|
|
1068
1092
|
inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1069
1093
|
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
1094
|
+
usedTimes?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1095
|
+
maxUsagesLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1070
1096
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1071
1097
|
};
|
|
1072
1098
|
|
|
@@ -1251,6 +1277,14 @@ export type ICategoriesPageResolvers<ContextType = any, ParentType extends IReso
|
|
|
1251
1277
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1252
1278
|
};
|
|
1253
1279
|
|
|
1280
|
+
export type ICheckInviteCodeDataResolvers<ContextType = any, ParentType extends IResolversParentTypes['CheckInviteCodeData'] = IResolversParentTypes['CheckInviteCodeData']> = {
|
|
1281
|
+
code?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1282
|
+
isAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1283
|
+
usedTimes?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
1284
|
+
maxUsagesLimit?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
1285
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1254
1288
|
export type IContactSupportPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ContactSupportPage'] = IResolversParentTypes['ContactSupportPage']> = {
|
|
1255
1289
|
contactSupports?: Resolver<Array<IResolversTypes['AdminContactSupport']>, ParentType, ContextType>;
|
|
1256
1290
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1289,6 +1323,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1289
1323
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1290
1324
|
removeInviteCode?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveInviteCodeArgs, 'inviteCode'>>;
|
|
1291
1325
|
addInviteCodes?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddInviteCodesArgs, 'userId' | 'codesNum'>>;
|
|
1326
|
+
updateInviteCodeUsagesLimit?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateInviteCodeUsagesLimitArgs, 'code' | 'usagesLimit'>>;
|
|
1292
1327
|
updateOpportunityPushStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityPushStatusArgs, 'opportunityId' | 'isActive'>>;
|
|
1293
1328
|
createBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateBrandArgs, 'brand'>>;
|
|
1294
1329
|
updateBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArgs, 'id' | 'input'>>;
|
|
@@ -1326,6 +1361,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1326
1361
|
fetchUserFeedbackPage?: Resolver<IResolversTypes['UserFeedbackPage'], ParentType, ContextType, RequireFields<IQueryFetchUserFeedbackPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1327
1362
|
fetchRegistrationInvitePage?: Resolver<IResolversTypes['RegistrationInvitePage'], ParentType, ContextType, RequireFields<IQueryFetchRegistrationInvitePageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1328
1363
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1364
|
+
checkInviteCode?: Resolver<IResolversTypes['CheckInviteCodeData'], ParentType, ContextType, RequireFields<IQueryCheckInviteCodeArgs, 'code'>>;
|
|
1329
1365
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1330
1366
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
1331
1367
|
fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -1424,6 +1460,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
1424
1460
|
AdminXp?: IAdminXpResolvers<ContextType>;
|
|
1425
1461
|
BrandsPage?: IBrandsPageResolvers<ContextType>;
|
|
1426
1462
|
CategoriesPage?: ICategoriesPageResolvers<ContextType>;
|
|
1463
|
+
CheckInviteCodeData?: ICheckInviteCodeDataResolvers<ContextType>;
|
|
1427
1464
|
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
1428
1465
|
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
1429
1466
|
FormOpportunityPage?: IFormOpportunityPageResolvers<ContextType>;
|
|
@@ -1452,6 +1489,14 @@ export type IDirectiveResolvers<ContextType = any> = {
|
|
|
1452
1489
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
1453
1490
|
};
|
|
1454
1491
|
|
|
1492
|
+
export type IUpdateInviteCodeUsagesLimitMutationVariables = Exact<{
|
|
1493
|
+
code: Scalars['String'];
|
|
1494
|
+
usagesLimit: Scalars['Int'];
|
|
1495
|
+
}>;
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
export type IUpdateInviteCodeUsagesLimitMutation = Pick<IMutation, 'updateInviteCodeUsagesLimit'>;
|
|
1499
|
+
|
|
1455
1500
|
export type IChangeXpPointsMutationVariables = Exact<{
|
|
1456
1501
|
userId: Scalars['ID'];
|
|
1457
1502
|
pointsDiff: Scalars['Int'];
|
|
@@ -1523,6 +1568,13 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
1523
1568
|
|
|
1524
1569
|
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
1525
1570
|
|
|
1571
|
+
export type ICheckInviteCodeQueryVariables = Exact<{
|
|
1572
|
+
code: Scalars['String'];
|
|
1573
|
+
}>;
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
export type ICheckInviteCodeQuery = { checkInviteCode: Pick<ICheckInviteCodeData, 'code' | 'isAvailable' | 'usedTimes' | 'maxUsagesLimit'> };
|
|
1577
|
+
|
|
1526
1578
|
export type IFetchContactSupportPageQueryVariables = Exact<{
|
|
1527
1579
|
filter: IContactSupportFilterInput;
|
|
1528
1580
|
sort: IContactSupportSortInput;
|
|
@@ -1623,7 +1675,7 @@ export type IFetchAdminInvitesPageQueryVariables = Exact<{
|
|
|
1623
1675
|
|
|
1624
1676
|
export type IFetchAdminInvitesPageQuery = { fetchAdminInvitesPage: { invites: Array<(
|
|
1625
1677
|
Pick<IAdminInvite, 'userId' | 'username' | 'referredUsers' | 'userXpLevel'>
|
|
1626
|
-
& { wallet?: Maybe<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>, activeInvites?: Maybe<Array<Pick<IActiveInvite, 'inviteCode' | 'createdAt'>>> }
|
|
1678
|
+
& { wallet?: Maybe<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>, activeInvites?: Maybe<Array<Pick<IActiveInvite, 'inviteCode' | 'createdAt' | 'usedTimes' | 'maxUsagesLimit'>>> }
|
|
1627
1679
|
)>, nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements' | 'token'>> } };
|
|
1628
1680
|
|
|
1629
1681
|
export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
|
|
@@ -1677,6 +1729,37 @@ export type IFetchBlockchainsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
1677
1729
|
export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
|
|
1678
1730
|
|
|
1679
1731
|
|
|
1732
|
+
export const UpdateInviteCodeUsagesLimitDocument = gql`
|
|
1733
|
+
mutation UpdateInviteCodeUsagesLimit($code: String!, $usagesLimit: Int!) {
|
|
1734
|
+
updateInviteCodeUsagesLimit(code: $code, usagesLimit: $usagesLimit)
|
|
1735
|
+
}
|
|
1736
|
+
`;
|
|
1737
|
+
export type IUpdateInviteCodeUsagesLimitMutationFn = Apollo.MutationFunction<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>;
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* __useUpdateInviteCodeUsagesLimitMutation__
|
|
1741
|
+
*
|
|
1742
|
+
* To run a mutation, you first call `useUpdateInviteCodeUsagesLimitMutation` within a React component and pass it any options that fit your needs.
|
|
1743
|
+
* When your component renders, `useUpdateInviteCodeUsagesLimitMutation` returns a tuple that includes:
|
|
1744
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1745
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1746
|
+
*
|
|
1747
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1748
|
+
*
|
|
1749
|
+
* @example
|
|
1750
|
+
* const [updateInviteCodeUsagesLimitMutation, { data, loading, error }] = useUpdateInviteCodeUsagesLimitMutation({
|
|
1751
|
+
* variables: {
|
|
1752
|
+
* code: // value for 'code'
|
|
1753
|
+
* usagesLimit: // value for 'usagesLimit'
|
|
1754
|
+
* },
|
|
1755
|
+
* });
|
|
1756
|
+
*/
|
|
1757
|
+
export function useUpdateInviteCodeUsagesLimitMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>) {
|
|
1758
|
+
return Apollo.useMutation<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>(UpdateInviteCodeUsagesLimitDocument, baseOptions);
|
|
1759
|
+
}
|
|
1760
|
+
export type UpdateInviteCodeUsagesLimitMutationHookResult = ReturnType<typeof useUpdateInviteCodeUsagesLimitMutation>;
|
|
1761
|
+
export type UpdateInviteCodeUsagesLimitMutationResult = Apollo.MutationResult<IUpdateInviteCodeUsagesLimitMutation>;
|
|
1762
|
+
export type UpdateInviteCodeUsagesLimitMutationOptions = Apollo.BaseMutationOptions<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>;
|
|
1680
1763
|
export const ChangeXpPointsDocument = gql`
|
|
1681
1764
|
mutation ChangeXpPoints($userId: ID!, $pointsDiff: Int!) {
|
|
1682
1765
|
changeXpPoints(userId: $userId, pointsDiff: $pointsDiff)
|
|
@@ -1955,6 +2038,42 @@ export function useUpdateProfileStatusMutation(baseOptions?: Apollo.MutationHook
|
|
|
1955
2038
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
1956
2039
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
1957
2040
|
export type UpdateProfileStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
|
|
2041
|
+
export const CheckInviteCodeDocument = gql`
|
|
2042
|
+
query CheckInviteCode($code: String!) {
|
|
2043
|
+
checkInviteCode(code: $code) {
|
|
2044
|
+
code
|
|
2045
|
+
isAvailable
|
|
2046
|
+
usedTimes
|
|
2047
|
+
maxUsagesLimit
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
`;
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* __useCheckInviteCodeQuery__
|
|
2054
|
+
*
|
|
2055
|
+
* To run a query within a React component, call `useCheckInviteCodeQuery` and pass it any options that fit your needs.
|
|
2056
|
+
* When your component renders, `useCheckInviteCodeQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2057
|
+
* you can use to render your UI.
|
|
2058
|
+
*
|
|
2059
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2060
|
+
*
|
|
2061
|
+
* @example
|
|
2062
|
+
* const { data, loading, error } = useCheckInviteCodeQuery({
|
|
2063
|
+
* variables: {
|
|
2064
|
+
* code: // value for 'code'
|
|
2065
|
+
* },
|
|
2066
|
+
* });
|
|
2067
|
+
*/
|
|
2068
|
+
export function useCheckInviteCodeQuery(baseOptions: Apollo.QueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>) {
|
|
2069
|
+
return Apollo.useQuery<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>(CheckInviteCodeDocument, baseOptions);
|
|
2070
|
+
}
|
|
2071
|
+
export function useCheckInviteCodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>) {
|
|
2072
|
+
return Apollo.useLazyQuery<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>(CheckInviteCodeDocument, baseOptions);
|
|
2073
|
+
}
|
|
2074
|
+
export type CheckInviteCodeQueryHookResult = ReturnType<typeof useCheckInviteCodeQuery>;
|
|
2075
|
+
export type CheckInviteCodeLazyQueryHookResult = ReturnType<typeof useCheckInviteCodeLazyQuery>;
|
|
2076
|
+
export type CheckInviteCodeQueryResult = Apollo.QueryResult<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>;
|
|
1958
2077
|
export const FetchContactSupportPageDocument = gql`
|
|
1959
2078
|
query FetchContactSupportPage($filter: ContactSupportFilterInput!, $sort: ContactSupportSortInput!, $page: AdminPageInput!) {
|
|
1960
2079
|
fetchContactSupportPage(filter: $filter, sort: $sort, page: $page) {
|
|
@@ -2491,6 +2610,8 @@ export const FetchAdminInvitesPageDocument = gql`
|
|
|
2491
2610
|
activeInvites {
|
|
2492
2611
|
inviteCode
|
|
2493
2612
|
createdAt
|
|
2613
|
+
usedTimes
|
|
2614
|
+
maxUsagesLimit
|
|
2494
2615
|
}
|
|
2495
2616
|
referredUsers
|
|
2496
2617
|
userXpLevel
|
package/src/hosts/index.ts
CHANGED
|
@@ -49,3 +49,6 @@ export const experiencesHost = "https://experiences.ludo.ninja:8090/graphql";
|
|
|
49
49
|
export const serverExperiencesHost = "http://server-experiences.istio.svc.k8s.local:8090/graphql";
|
|
50
50
|
|
|
51
51
|
export const formsHost = "https://forms.ludo.ninja:8090/graphql";
|
|
52
|
+
|
|
53
|
+
export const tapHost = "https://tap.ludo.ninja:8090/graphql";
|
|
54
|
+
|