@ludo.ninja/api 2.9.3 → 2.9.5
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/config/index.js +3 -2
- package/build/cookies/index.d.ts +1 -1
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +85 -37
- package/build/graphql_tools/__generated__/adminHost/schema.js +101 -67
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/assetsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/authHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/collectionsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +9 -9
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +10 -10
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +28 -28
- package/build/graphql_tools/__generated__/extensionHost/schema.js +18 -18
- package/build/graphql_tools/__generated__/formsHost/schema.js +8 -8
- package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +46 -46
- package/build/graphql_tools/__generated__/galleriesHost/schema.js +21 -21
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +73 -56
- package/build/graphql_tools/__generated__/identityHost/schema.js +42 -35
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +5 -5
- package/build/graphql_tools/__generated__/mediasHost/schema.js +5 -5
- package/build/graphql_tools/__generated__/mintInfoHost/schema.d.ts +3 -1
- package/build/graphql_tools/__generated__/mintInfoHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/notificationsHost/schema.d.ts +4 -4
- package/build/graphql_tools/__generated__/notificationsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +10 -7
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +11 -11
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/preferencesHost/schema.js +23 -23
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +48 -48
- package/build/graphql_tools/__generated__/searchHost/schema.js +33 -33
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +6 -6
- package/build/graphql_tools/__generated__/tapHost/schema.js +12 -12
- package/build/index.d.ts +1264 -588
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +59 -1
- package/src/graphql_tools/__generated__/identityHost/schema.ts +25 -4
- package/src/graphql_tools/__generated__/mintInfoHost/schema.ts +3 -1
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +3 -0
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -132,6 +132,7 @@ export type IAdminOpportunity = {
|
|
|
132
132
|
views?: Maybe<Scalars['Int']>;
|
|
133
133
|
addedBy?: Maybe<Scalars['String']>;
|
|
134
134
|
archived?: Maybe<Scalars['Boolean']>;
|
|
135
|
+
geolocations?: Maybe<Array<Scalars['String']>>;
|
|
135
136
|
};
|
|
136
137
|
|
|
137
138
|
export type IAdminOpportunityInput = {
|
|
@@ -155,6 +156,7 @@ export type IAdminOpportunityInput = {
|
|
|
155
156
|
collection?: Maybe<Scalars['String']>;
|
|
156
157
|
media?: Maybe<Scalars['String']>;
|
|
157
158
|
openOpportunityXps?: Maybe<Scalars['Int']>;
|
|
159
|
+
geolocations?: Maybe<Array<Scalars['String']>>;
|
|
158
160
|
};
|
|
159
161
|
|
|
160
162
|
export type IAdminPage = {
|
|
@@ -323,6 +325,11 @@ export type IContentReportSortInput = {
|
|
|
323
325
|
sortByReportReason?: Maybe<ISort>;
|
|
324
326
|
};
|
|
325
327
|
|
|
328
|
+
export type ICountry = {
|
|
329
|
+
continent: Scalars['String'];
|
|
330
|
+
country: Scalars['String'];
|
|
331
|
+
};
|
|
332
|
+
|
|
326
333
|
export type IFormOpportunityFilterInput = {
|
|
327
334
|
idTerm?: Maybe<Scalars['String']>;
|
|
328
335
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
@@ -646,6 +653,7 @@ export type IQuery = {
|
|
|
646
653
|
fetchAdminInvitesPage: IInvitesPage;
|
|
647
654
|
checkInviteCode: ICheckInviteCodeData;
|
|
648
655
|
fetchLocations?: Maybe<Array<Maybe<ILocation>>>;
|
|
656
|
+
fetchAllCountries: Array<ICountry>;
|
|
649
657
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
650
658
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
651
659
|
fetchAdminCategoriesPage: ICategoriesPage;
|
|
@@ -1120,6 +1128,7 @@ export type IResolversTypes = {
|
|
|
1120
1128
|
ContentReportFilterInput: IContentReportFilterInput;
|
|
1121
1129
|
ContentReportPage: ResolverTypeWrapper<IContentReportPage>;
|
|
1122
1130
|
ContentReportSortInput: IContentReportSortInput;
|
|
1131
|
+
Country: ResolverTypeWrapper<ICountry>;
|
|
1123
1132
|
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
1124
1133
|
FormOpportunityPage: ResolverTypeWrapper<IFormOpportunityPage>;
|
|
1125
1134
|
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
@@ -1213,6 +1222,7 @@ export type IResolversParentTypes = {
|
|
|
1213
1222
|
ContentReportFilterInput: IContentReportFilterInput;
|
|
1214
1223
|
ContentReportPage: IContentReportPage;
|
|
1215
1224
|
ContentReportSortInput: IContentReportSortInput;
|
|
1225
|
+
Country: ICountry;
|
|
1216
1226
|
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
1217
1227
|
FormOpportunityPage: IFormOpportunityPage;
|
|
1218
1228
|
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
@@ -1402,6 +1412,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
|
|
|
1402
1412
|
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1403
1413
|
addedBy?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1404
1414
|
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1415
|
+
geolocations?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
1405
1416
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1406
1417
|
};
|
|
1407
1418
|
|
|
@@ -1500,6 +1511,12 @@ export type IContentReportPageResolvers<ContextType = any, ParentType extends IR
|
|
|
1500
1511
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1501
1512
|
};
|
|
1502
1513
|
|
|
1514
|
+
export type ICountryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Country'] = IResolversParentTypes['Country']> = {
|
|
1515
|
+
continent?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1516
|
+
country?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1517
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1503
1520
|
export type IFormOpportunityPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['FormOpportunityPage'] = IResolversParentTypes['FormOpportunityPage']> = {
|
|
1504
1521
|
opportunities?: Resolver<Array<IResolversTypes['AdminFormOpportunity']>, ParentType, ContextType>;
|
|
1505
1522
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1580,6 +1597,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1580
1597
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1581
1598
|
checkInviteCode?: Resolver<IResolversTypes['CheckInviteCodeData'], ParentType, ContextType, RequireFields<IQueryCheckInviteCodeArgs, 'code'>>;
|
|
1582
1599
|
fetchLocations?: Resolver<Maybe<Array<Maybe<IResolversTypes['Location']>>>, ParentType, ContextType, RequireFields<IQueryFetchLocationsArgs, 'term'>>;
|
|
1600
|
+
fetchAllCountries?: Resolver<Array<IResolversTypes['Country']>, ParentType, ContextType>;
|
|
1583
1601
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1584
1602
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
1585
1603
|
fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -1716,6 +1734,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
1716
1734
|
CheckInviteCodeData?: ICheckInviteCodeDataResolvers<ContextType>;
|
|
1717
1735
|
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
1718
1736
|
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
1737
|
+
Country?: ICountryResolvers<ContextType>;
|
|
1719
1738
|
FormOpportunityPage?: IFormOpportunityPageResolvers<ContextType>;
|
|
1720
1739
|
InvestorInquiryPage?: IInvestorInquiryPageResolvers<ContextType>;
|
|
1721
1740
|
InvitesPage?: IInvitesPageResolvers<ContextType>;
|
|
@@ -2067,7 +2086,7 @@ export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
|
|
|
2067
2086
|
}>;
|
|
2068
2087
|
|
|
2069
2088
|
|
|
2070
|
-
export type IFetchAdminOpportunitiesPageQuery = { fetchAdminOpportunitiesPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2089
|
+
export type IFetchAdminOpportunitiesPageQuery = { fetchAdminOpportunitiesPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'geolocations'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2071
2090
|
|
|
2072
2091
|
export type IFetchAdminReferralsPageQueryVariables = Exact<{
|
|
2073
2092
|
filter: IReferralsFilterInput;
|
|
@@ -2105,6 +2124,11 @@ export type IFetchAdminXpPageQuery = { fetchAdminXpPage: { xps: Array<(
|
|
|
2105
2124
|
& { mainWallet?: Maybe<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>> }
|
|
2106
2125
|
)>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2107
2126
|
|
|
2127
|
+
export type IFetchAllCountriesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
export type IFetchAllCountriesQuery = { fetchAllCountries: Array<Pick<ICountry, 'continent' | 'country'>> };
|
|
2131
|
+
|
|
2108
2132
|
export type IFetchBlockchainsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
2109
2133
|
|
|
2110
2134
|
|
|
@@ -3608,6 +3632,7 @@ export const FetchAdminOpportunitiesPageDocument = gql`
|
|
|
3608
3632
|
views
|
|
3609
3633
|
addedBy
|
|
3610
3634
|
archived
|
|
3635
|
+
geolocations
|
|
3611
3636
|
}
|
|
3612
3637
|
nextPage {
|
|
3613
3638
|
elements
|
|
@@ -3821,6 +3846,39 @@ export function useFetchAdminXpPageLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
3821
3846
|
export type FetchAdminXpPageQueryHookResult = ReturnType<typeof useFetchAdminXpPageQuery>;
|
|
3822
3847
|
export type FetchAdminXpPageLazyQueryHookResult = ReturnType<typeof useFetchAdminXpPageLazyQuery>;
|
|
3823
3848
|
export type FetchAdminXpPageQueryResult = Apollo.QueryResult<IFetchAdminXpPageQuery, IFetchAdminXpPageQueryVariables>;
|
|
3849
|
+
export const FetchAllCountriesDocument = gql`
|
|
3850
|
+
query FetchAllCountries {
|
|
3851
|
+
fetchAllCountries {
|
|
3852
|
+
continent
|
|
3853
|
+
country
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
`;
|
|
3857
|
+
|
|
3858
|
+
/**
|
|
3859
|
+
* __useFetchAllCountriesQuery__
|
|
3860
|
+
*
|
|
3861
|
+
* To run a query within a React component, call `useFetchAllCountriesQuery` and pass it any options that fit your needs.
|
|
3862
|
+
* When your component renders, `useFetchAllCountriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3863
|
+
* you can use to render your UI.
|
|
3864
|
+
*
|
|
3865
|
+
* @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;
|
|
3866
|
+
*
|
|
3867
|
+
* @example
|
|
3868
|
+
* const { data, loading, error } = useFetchAllCountriesQuery({
|
|
3869
|
+
* variables: {
|
|
3870
|
+
* },
|
|
3871
|
+
* });
|
|
3872
|
+
*/
|
|
3873
|
+
export function useFetchAllCountriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAllCountriesQuery, IFetchAllCountriesQueryVariables>) {
|
|
3874
|
+
return Apollo.useQuery<IFetchAllCountriesQuery, IFetchAllCountriesQueryVariables>(FetchAllCountriesDocument, baseOptions);
|
|
3875
|
+
}
|
|
3876
|
+
export function useFetchAllCountriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAllCountriesQuery, IFetchAllCountriesQueryVariables>) {
|
|
3877
|
+
return Apollo.useLazyQuery<IFetchAllCountriesQuery, IFetchAllCountriesQueryVariables>(FetchAllCountriesDocument, baseOptions);
|
|
3878
|
+
}
|
|
3879
|
+
export type FetchAllCountriesQueryHookResult = ReturnType<typeof useFetchAllCountriesQuery>;
|
|
3880
|
+
export type FetchAllCountriesLazyQueryHookResult = ReturnType<typeof useFetchAllCountriesLazyQuery>;
|
|
3881
|
+
export type FetchAllCountriesQueryResult = Apollo.QueryResult<IFetchAllCountriesQuery, IFetchAllCountriesQueryVariables>;
|
|
3824
3882
|
export const FetchBlockchainsDocument = gql`
|
|
3825
3883
|
query FetchBlockchains {
|
|
3826
3884
|
fetchBlockchains
|
|
@@ -93,6 +93,8 @@ export type IInputSocial = {
|
|
|
93
93
|
twitter?: Maybe<Scalars['String']>;
|
|
94
94
|
instagram?: Maybe<Scalars['String']>;
|
|
95
95
|
website?: Maybe<Scalars['String']>;
|
|
96
|
+
discordNickname?: Maybe<Scalars['String']>;
|
|
97
|
+
discordServer?: Maybe<Scalars['String']>;
|
|
96
98
|
};
|
|
97
99
|
|
|
98
100
|
export type IInviteCode = {
|
|
@@ -356,6 +358,7 @@ export type IQuery = {
|
|
|
356
358
|
fetchInviteCode: IInviteCode;
|
|
357
359
|
fetchMyProfileV2: IMyProfileV2;
|
|
358
360
|
fetchProfile: IProfile;
|
|
361
|
+
fetchProfileV2: IMyProfileV2;
|
|
359
362
|
fetchFollowingStatus: IFollowingStatus;
|
|
360
363
|
fetchFollowingStatuses: Array<Maybe<IFollowingStatus>>;
|
|
361
364
|
};
|
|
@@ -386,6 +389,11 @@ export type IQueryFetchProfileArgs = {
|
|
|
386
389
|
};
|
|
387
390
|
|
|
388
391
|
|
|
392
|
+
export type IQueryFetchProfileV2Args = {
|
|
393
|
+
userId: Scalars['ID'];
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
|
|
389
397
|
export type IQueryFetchFollowingStatusArgs = {
|
|
390
398
|
userId: Scalars['ID'];
|
|
391
399
|
};
|
|
@@ -419,6 +427,8 @@ export type ISocial = {
|
|
|
419
427
|
twitter?: Maybe<Scalars['String']>;
|
|
420
428
|
instagram?: Maybe<Scalars['String']>;
|
|
421
429
|
website?: Maybe<Scalars['String']>;
|
|
430
|
+
discordNickname?: Maybe<Scalars['String']>;
|
|
431
|
+
discordServer?: Maybe<Scalars['String']>;
|
|
422
432
|
};
|
|
423
433
|
|
|
424
434
|
export type ITokenPair = {
|
|
@@ -789,6 +799,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
789
799
|
fetchInviteCode?: Resolver<IResolversTypes['InviteCode'], ParentType, ContextType, RequireFields<IQueryFetchInviteCodeArgs, 'inviteCode'>>;
|
|
790
800
|
fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
|
|
791
801
|
fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
|
|
802
|
+
fetchProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType, RequireFields<IQueryFetchProfileV2Args, 'userId'>>;
|
|
792
803
|
fetchFollowingStatus?: Resolver<IResolversTypes['FollowingStatus'], ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusArgs, 'userId'>>;
|
|
793
804
|
fetchFollowingStatuses?: Resolver<Array<Maybe<IResolversTypes['FollowingStatus']>>, ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusesArgs, 'userIds'>>;
|
|
794
805
|
};
|
|
@@ -798,6 +809,8 @@ export type ISocialResolvers<ContextType = any, ParentType extends IResolversPar
|
|
|
798
809
|
twitter?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
799
810
|
instagram?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
800
811
|
website?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
812
|
+
discordNickname?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
813
|
+
discordServer?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
801
814
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
802
815
|
};
|
|
803
816
|
|
|
@@ -1055,6 +1068,8 @@ export type IUpdateProfileMutationVariables = Exact<{
|
|
|
1055
1068
|
instagram?: Maybe<Scalars['String']>;
|
|
1056
1069
|
website?: Maybe<Scalars['String']>;
|
|
1057
1070
|
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
1071
|
+
discordNickname?: Maybe<Scalars['String']>;
|
|
1072
|
+
discordServer?: Maybe<Scalars['String']>;
|
|
1058
1073
|
}>;
|
|
1059
1074
|
|
|
1060
1075
|
|
|
@@ -1091,7 +1106,7 @@ export type IFetchMyProfileV2QueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
1091
1106
|
|
|
1092
1107
|
export type IFetchMyProfileV2Query = { fetchMyProfileV2: (
|
|
1093
1108
|
Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
|
|
1094
|
-
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>, inviteCodes?: Maybe<Array<Maybe<(
|
|
1109
|
+
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordServer' | 'discordNickname'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>, inviteCodes?: Maybe<Array<Maybe<(
|
|
1095
1110
|
Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'>
|
|
1096
1111
|
& { codeUsers: Array<Pick<IInviteCodeUser, 'inviteeId' | 'usedAt'>> }
|
|
1097
1112
|
)>>> }
|
|
@@ -1104,7 +1119,7 @@ export type IFetchProfileQueryVariables = Exact<{
|
|
|
1104
1119
|
|
|
1105
1120
|
export type IFetchProfileQuery = { fetchProfile: (
|
|
1106
1121
|
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
|
|
1107
|
-
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>> }
|
|
1122
|
+
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordNickname' | 'discordServer'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>> }
|
|
1108
1123
|
) };
|
|
1109
1124
|
|
|
1110
1125
|
export type IFetchUserWalletsQueryVariables = Exact<{
|
|
@@ -1904,9 +1919,9 @@ export type SignInTonMutationHookResult = ReturnType<typeof useSignInTonMutation
|
|
|
1904
1919
|
export type SignInTonMutationResult = Apollo.MutationResult<ISignInTonMutation>;
|
|
1905
1920
|
export type SignInTonMutationOptions = Apollo.BaseMutationOptions<ISignInTonMutation, ISignInTonMutationVariables>;
|
|
1906
1921
|
export const UpdateProfileDocument = gql`
|
|
1907
|
-
mutation UpdateProfile($username: String, $about: String, $facebook: String, $twitter: String, $instagram: String, $website: String, $showNsfw: Boolean) {
|
|
1922
|
+
mutation UpdateProfile($username: String, $about: String, $facebook: String, $twitter: String, $instagram: String, $website: String, $showNsfw: Boolean, $discordNickname: String, $discordServer: String) {
|
|
1908
1923
|
updateProfile(
|
|
1909
|
-
profile: {username: $username, about: $about, showNsfw: $showNsfw, social: {facebook: $facebook, twitter: $twitter, instagram: $instagram, website: $website}}
|
|
1924
|
+
profile: {username: $username, about: $about, showNsfw: $showNsfw, social: {facebook: $facebook, twitter: $twitter, instagram: $instagram, website: $website, discordNickname: $discordNickname, discordServer: $discordServer}}
|
|
1910
1925
|
)
|
|
1911
1926
|
}
|
|
1912
1927
|
`;
|
|
@@ -1932,6 +1947,8 @@ export type IUpdateProfileMutationFn = Apollo.MutationFunction<IUpdateProfileMut
|
|
|
1932
1947
|
* instagram: // value for 'instagram'
|
|
1933
1948
|
* website: // value for 'website'
|
|
1934
1949
|
* showNsfw: // value for 'showNsfw'
|
|
1950
|
+
* discordNickname: // value for 'discordNickname'
|
|
1951
|
+
* discordServer: // value for 'discordServer'
|
|
1935
1952
|
* },
|
|
1936
1953
|
* });
|
|
1937
1954
|
*/
|
|
@@ -2056,6 +2073,8 @@ export const FetchMyProfileV2Document = gql`
|
|
|
2056
2073
|
twitter
|
|
2057
2074
|
instagram
|
|
2058
2075
|
website
|
|
2076
|
+
discordServer
|
|
2077
|
+
discordNickname
|
|
2059
2078
|
}
|
|
2060
2079
|
views
|
|
2061
2080
|
createdAt
|
|
@@ -2133,6 +2152,8 @@ export const FetchProfileDocument = gql`
|
|
|
2133
2152
|
twitter
|
|
2134
2153
|
instagram
|
|
2135
2154
|
website
|
|
2155
|
+
discordNickname
|
|
2156
|
+
discordServer
|
|
2136
2157
|
}
|
|
2137
2158
|
views
|
|
2138
2159
|
createdAt
|
|
@@ -172,6 +172,7 @@ export type IOpportunityInput = {
|
|
|
172
172
|
collection?: Maybe<Scalars['String']>;
|
|
173
173
|
minWalletValue?: Maybe<Scalars['Float']>;
|
|
174
174
|
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
175
|
+
geolocations?: Maybe<Array<Scalars['String']>>;
|
|
175
176
|
};
|
|
176
177
|
|
|
177
178
|
export type IOpportunityV2 = {
|
|
@@ -208,6 +209,7 @@ export type IOpportunityV2 = {
|
|
|
208
209
|
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
209
210
|
shareLink?: Maybe<Scalars['String']>;
|
|
210
211
|
liked?: Maybe<Scalars['Boolean']>;
|
|
212
|
+
geolocations?: Maybe<Array<Scalars['String']>>;
|
|
211
213
|
};
|
|
212
214
|
|
|
213
215
|
export type IQuery = {
|
|
@@ -473,6 +475,7 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
|
|
|
473
475
|
maxWalletValue?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
474
476
|
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
475
477
|
liked?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
478
|
+
geolocations?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
476
479
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
477
480
|
};
|
|
478
481
|
|