@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/build/config/index.js
CHANGED
|
@@ -3,8 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.initializeApollo =
|
|
7
|
-
exports.createErrorAuthInterceptor = createErrorAuthInterceptor;
|
|
6
|
+
exports.createErrorAuthInterceptor = exports.initializeApollo = void 0;
|
|
8
7
|
const client_1 = require("@apollo/client");
|
|
9
8
|
const error_1 = require("@apollo/client/link/error");
|
|
10
9
|
const context_1 = require("@apollo/client/link/context");
|
|
@@ -149,6 +148,7 @@ function initializeApollo(initialState = null, domain) {
|
|
|
149
148
|
apolloClient = _apolloClient;
|
|
150
149
|
return _apolloClient;
|
|
151
150
|
}
|
|
151
|
+
exports.initializeApollo = initializeApollo;
|
|
152
152
|
function createErrorAuthInterceptor(client, onErrorAuth) {
|
|
153
153
|
const errorLinkFirst = (0, error_1.onError)(({ graphQLErrors, networkError, operation, forward }) => {
|
|
154
154
|
const { authToken } = (0, cookies_1.getCookies)();
|
|
@@ -169,4 +169,5 @@ function createErrorAuthInterceptor(client, onErrorAuth) {
|
|
|
169
169
|
client.setLink(combinedLink);
|
|
170
170
|
return client;
|
|
171
171
|
}
|
|
172
|
+
exports.createErrorAuthInterceptor = createErrorAuthInterceptor;
|
|
172
173
|
;
|
package/build/cookies/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as express from "express";
|
|
|
2
2
|
import * as next from 'next';
|
|
3
3
|
declare const assignCookies: (userId: string, wallets: Array<string>, authToken: string, refreshToken: string, newUser: string, inviteCode: string, role: string, domain?: string) => void;
|
|
4
4
|
declare const refreshCookies: (authToken: string, refreshToken: string, domain?: string) => void;
|
|
5
|
-
declare const getCookies: (ctx?: Pick<next.NextPageContext,
|
|
5
|
+
declare const getCookies: (ctx?: Pick<next.NextPageContext, 'req'> | {
|
|
6
6
|
req: next.NextApiRequest;
|
|
7
7
|
} | {
|
|
8
8
|
req: express.Request;
|
|
@@ -128,6 +128,7 @@ export type IAdminOpportunity = {
|
|
|
128
128
|
views?: Maybe<Scalars['Int']>;
|
|
129
129
|
addedBy?: Maybe<Scalars['String']>;
|
|
130
130
|
archived?: Maybe<Scalars['Boolean']>;
|
|
131
|
+
geolocations?: Maybe<Array<Scalars['String']>>;
|
|
131
132
|
};
|
|
132
133
|
export type IAdminOpportunityInput = {
|
|
133
134
|
brandId: Scalars['String'];
|
|
@@ -150,6 +151,7 @@ export type IAdminOpportunityInput = {
|
|
|
150
151
|
collection?: Maybe<Scalars['String']>;
|
|
151
152
|
media?: Maybe<Scalars['String']>;
|
|
152
153
|
openOpportunityXps?: Maybe<Scalars['Int']>;
|
|
154
|
+
geolocations?: Maybe<Array<Scalars['String']>>;
|
|
153
155
|
};
|
|
154
156
|
export type IAdminPage = {
|
|
155
157
|
num?: Maybe<Scalars['Int']>;
|
|
@@ -296,6 +298,10 @@ export type IContentReportSortInput = {
|
|
|
296
298
|
sortByContentId?: Maybe<ISort>;
|
|
297
299
|
sortByReportReason?: Maybe<ISort>;
|
|
298
300
|
};
|
|
301
|
+
export type ICountry = {
|
|
302
|
+
continent: Scalars['String'];
|
|
303
|
+
country: Scalars['String'];
|
|
304
|
+
};
|
|
299
305
|
export type IFormOpportunityFilterInput = {
|
|
300
306
|
idTerm?: Maybe<Scalars['String']>;
|
|
301
307
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
@@ -552,6 +558,7 @@ export type IQuery = {
|
|
|
552
558
|
fetchAdminInvitesPage: IInvitesPage;
|
|
553
559
|
checkInviteCode: ICheckInviteCodeData;
|
|
554
560
|
fetchLocations?: Maybe<Array<Maybe<ILocation>>>;
|
|
561
|
+
fetchAllCountries: Array<ICountry>;
|
|
555
562
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
556
563
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
557
564
|
fetchAdminCategoriesPage: ICategoriesPage;
|
|
@@ -915,6 +922,7 @@ export type IResolversTypes = {
|
|
|
915
922
|
ContentReportFilterInput: IContentReportFilterInput;
|
|
916
923
|
ContentReportPage: ResolverTypeWrapper<IContentReportPage>;
|
|
917
924
|
ContentReportSortInput: IContentReportSortInput;
|
|
925
|
+
Country: ResolverTypeWrapper<ICountry>;
|
|
918
926
|
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
919
927
|
FormOpportunityPage: ResolverTypeWrapper<IFormOpportunityPage>;
|
|
920
928
|
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
@@ -1007,6 +1015,7 @@ export type IResolversParentTypes = {
|
|
|
1007
1015
|
ContentReportFilterInput: IContentReportFilterInput;
|
|
1008
1016
|
ContentReportPage: IContentReportPage;
|
|
1009
1017
|
ContentReportSortInput: IContentReportSortInput;
|
|
1018
|
+
Country: ICountry;
|
|
1010
1019
|
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
1011
1020
|
FormOpportunityPage: IFormOpportunityPage;
|
|
1012
1021
|
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
@@ -1181,6 +1190,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
|
|
|
1181
1190
|
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1182
1191
|
addedBy?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1183
1192
|
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1193
|
+
geolocations?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
1184
1194
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1185
1195
|
};
|
|
1186
1196
|
export type IAdminPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminPage'] = IResolversParentTypes['AdminPage']> = {
|
|
@@ -1268,6 +1278,11 @@ export type IContentReportPageResolvers<ContextType = any, ParentType extends IR
|
|
|
1268
1278
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1269
1279
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1270
1280
|
};
|
|
1281
|
+
export type ICountryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Country'] = IResolversParentTypes['Country']> = {
|
|
1282
|
+
continent?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1283
|
+
country?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1284
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1285
|
+
};
|
|
1271
1286
|
export type IFormOpportunityPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['FormOpportunityPage'] = IResolversParentTypes['FormOpportunityPage']> = {
|
|
1272
1287
|
opportunities?: Resolver<Array<IResolversTypes['AdminFormOpportunity']>, ParentType, ContextType>;
|
|
1273
1288
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1340,6 +1355,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1340
1355
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1341
1356
|
checkInviteCode?: Resolver<IResolversTypes['CheckInviteCodeData'], ParentType, ContextType, RequireFields<IQueryCheckInviteCodeArgs, 'code'>>;
|
|
1342
1357
|
fetchLocations?: Resolver<Maybe<Array<Maybe<IResolversTypes['Location']>>>, ParentType, ContextType, RequireFields<IQueryFetchLocationsArgs, 'term'>>;
|
|
1358
|
+
fetchAllCountries?: Resolver<Array<IResolversTypes['Country']>, ParentType, ContextType>;
|
|
1343
1359
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1344
1360
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
1345
1361
|
fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -1461,6 +1477,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
1461
1477
|
CheckInviteCodeData?: ICheckInviteCodeDataResolvers<ContextType>;
|
|
1462
1478
|
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
1463
1479
|
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
1480
|
+
Country?: ICountryResolvers<ContextType>;
|
|
1464
1481
|
FormOpportunityPage?: IFormOpportunityPageResolvers<ContextType>;
|
|
1465
1482
|
InvestorInquiryPage?: IInvestorInquiryPageResolvers<ContextType>;
|
|
1466
1483
|
InvitesPage?: IInvitesPageResolvers<ContextType>;
|
|
@@ -1771,7 +1788,7 @@ export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
|
|
|
1771
1788
|
}>;
|
|
1772
1789
|
export type IFetchAdminOpportunitiesPageQuery = {
|
|
1773
1790
|
fetchAdminOpportunitiesPage: {
|
|
1774
|
-
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'>>;
|
|
1791
|
+
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'>>;
|
|
1775
1792
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1776
1793
|
};
|
|
1777
1794
|
};
|
|
@@ -1815,6 +1832,12 @@ export type IFetchAdminXpPageQuery = {
|
|
|
1815
1832
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1816
1833
|
};
|
|
1817
1834
|
};
|
|
1835
|
+
export type IFetchAllCountriesQueryVariables = Exact<{
|
|
1836
|
+
[key: string]: never;
|
|
1837
|
+
}>;
|
|
1838
|
+
export type IFetchAllCountriesQuery = {
|
|
1839
|
+
fetchAllCountries: Array<Pick<ICountry, 'continent' | 'country'>>;
|
|
1840
|
+
};
|
|
1818
1841
|
export type IFetchBlockchainsQueryVariables = Exact<{
|
|
1819
1842
|
[key: string]: never;
|
|
1820
1843
|
}>;
|
|
@@ -1889,7 +1912,7 @@ export type ITriggerOpportunityNotificationMutationFn = Apollo.MutationFunction<
|
|
|
1889
1912
|
* });
|
|
1890
1913
|
*/
|
|
1891
1914
|
export declare function useTriggerOpportunityNotificationMutation(baseOptions?: Apollo.MutationHookOptions<ITriggerOpportunityNotificationMutation, ITriggerOpportunityNotificationMutationVariables>): Apollo.MutationTuple<ITriggerOpportunityNotificationMutation, Exact<{
|
|
1892
|
-
opportunityId:
|
|
1915
|
+
opportunityId: string;
|
|
1893
1916
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1894
1917
|
export type TriggerOpportunityNotificationMutationHookResult = ReturnType<typeof useTriggerOpportunityNotificationMutation>;
|
|
1895
1918
|
export type TriggerOpportunityNotificationMutationResult = Apollo.MutationResult<ITriggerOpportunityNotificationMutation>;
|
|
@@ -1915,8 +1938,8 @@ export type IUpdateInviteCodeUsagesLimitMutationFn = Apollo.MutationFunction<IUp
|
|
|
1915
1938
|
* });
|
|
1916
1939
|
*/
|
|
1917
1940
|
export declare function useUpdateInviteCodeUsagesLimitMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>): Apollo.MutationTuple<IUpdateInviteCodeUsagesLimitMutation, Exact<{
|
|
1918
|
-
code:
|
|
1919
|
-
usagesLimit:
|
|
1941
|
+
code: string;
|
|
1942
|
+
usagesLimit: number;
|
|
1920
1943
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1921
1944
|
export type UpdateInviteCodeUsagesLimitMutationHookResult = ReturnType<typeof useUpdateInviteCodeUsagesLimitMutation>;
|
|
1922
1945
|
export type UpdateInviteCodeUsagesLimitMutationResult = Apollo.MutationResult<IUpdateInviteCodeUsagesLimitMutation>;
|
|
@@ -1942,8 +1965,8 @@ export type IUpdateOpportunityPushStatusMutationFn = Apollo.MutationFunction<IUp
|
|
|
1942
1965
|
* });
|
|
1943
1966
|
*/
|
|
1944
1967
|
export declare function useUpdateOpportunityPushStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityPushStatusMutation, Exact<{
|
|
1945
|
-
opportunityId:
|
|
1946
|
-
isActive:
|
|
1968
|
+
opportunityId: string;
|
|
1969
|
+
isActive: boolean;
|
|
1947
1970
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1948
1971
|
export type UpdateOpportunityPushStatusMutationHookResult = ReturnType<typeof useUpdateOpportunityPushStatusMutation>;
|
|
1949
1972
|
export type UpdateOpportunityPushStatusMutationResult = Apollo.MutationResult<IUpdateOpportunityPushStatusMutation>;
|
|
@@ -1969,7 +1992,7 @@ export type IUpdateReferralTypeMutationFn = Apollo.MutationFunction<IUpdateRefer
|
|
|
1969
1992
|
* });
|
|
1970
1993
|
*/
|
|
1971
1994
|
export declare function useUpdateReferralTypeMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateReferralTypeMutation, IUpdateReferralTypeMutationVariables>): Apollo.MutationTuple<IUpdateReferralTypeMutation, Exact<{
|
|
1972
|
-
id:
|
|
1995
|
+
id: string;
|
|
1973
1996
|
input: IReferralTypeInput;
|
|
1974
1997
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1975
1998
|
export type UpdateReferralTypeMutationHookResult = ReturnType<typeof useUpdateReferralTypeMutation>;
|
|
@@ -1996,8 +2019,8 @@ export type IUpdateReferralTypeArchivedStatusMutationFn = Apollo.MutationFunctio
|
|
|
1996
2019
|
* });
|
|
1997
2020
|
*/
|
|
1998
2021
|
export declare function useUpdateReferralTypeArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateReferralTypeArchivedStatusMutation, IUpdateReferralTypeArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateReferralTypeArchivedStatusMutation, Exact<{
|
|
1999
|
-
id:
|
|
2000
|
-
isArchived:
|
|
2022
|
+
id: string;
|
|
2023
|
+
isArchived: boolean;
|
|
2001
2024
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2002
2025
|
export type UpdateReferralTypeArchivedStatusMutationHookResult = ReturnType<typeof useUpdateReferralTypeArchivedStatusMutation>;
|
|
2003
2026
|
export type UpdateReferralTypeArchivedStatusMutationResult = Apollo.MutationResult<IUpdateReferralTypeArchivedStatusMutation>;
|
|
@@ -2023,7 +2046,7 @@ export type IUpdateTierMutationFn = Apollo.MutationFunction<IUpdateTierMutation,
|
|
|
2023
2046
|
* });
|
|
2024
2047
|
*/
|
|
2025
2048
|
export declare function useUpdateTierMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierMutation, IUpdateTierMutationVariables>): Apollo.MutationTuple<IUpdateTierMutation, Exact<{
|
|
2026
|
-
id:
|
|
2049
|
+
id: string;
|
|
2027
2050
|
input: ITierInput;
|
|
2028
2051
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2029
2052
|
export type UpdateTierMutationHookResult = ReturnType<typeof useUpdateTierMutation>;
|
|
@@ -2050,8 +2073,8 @@ export type IUpdateTierArchivedStatusMutationFn = Apollo.MutationFunction<IUpdat
|
|
|
2050
2073
|
* });
|
|
2051
2074
|
*/
|
|
2052
2075
|
export declare function useUpdateTierArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateTierArchivedStatusMutation, IUpdateTierArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateTierArchivedStatusMutation, Exact<{
|
|
2053
|
-
id:
|
|
2054
|
-
isArchived:
|
|
2076
|
+
id: string;
|
|
2077
|
+
isArchived: boolean;
|
|
2055
2078
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2056
2079
|
export type UpdateTierArchivedStatusMutationHookResult = ReturnType<typeof useUpdateTierArchivedStatusMutation>;
|
|
2057
2080
|
export type UpdateTierArchivedStatusMutationResult = Apollo.MutationResult<IUpdateTierArchivedStatusMutation>;
|
|
@@ -2077,8 +2100,8 @@ export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsM
|
|
|
2077
2100
|
* });
|
|
2078
2101
|
*/
|
|
2079
2102
|
export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>): Apollo.MutationTuple<IChangeXpPointsMutation, Exact<{
|
|
2080
|
-
userId:
|
|
2081
|
-
pointsDiff:
|
|
2103
|
+
userId: string;
|
|
2104
|
+
pointsDiff: number;
|
|
2082
2105
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2083
2106
|
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
2084
2107
|
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
@@ -2104,8 +2127,8 @@ export type ICreateCategoryMutationFn = Apollo.MutationFunction<ICreateCategoryM
|
|
|
2104
2127
|
* });
|
|
2105
2128
|
*/
|
|
2106
2129
|
export declare function useCreateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>): Apollo.MutationTuple<ICreateCategoryMutation, Exact<{
|
|
2107
|
-
name:
|
|
2108
|
-
matchingWords:
|
|
2130
|
+
name: string;
|
|
2131
|
+
matchingWords: string[];
|
|
2109
2132
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2110
2133
|
export type CreateCategoryMutationHookResult = ReturnType<typeof useCreateCategoryMutation>;
|
|
2111
2134
|
export type CreateCategoryMutationResult = Apollo.MutationResult<ICreateCategoryMutation>;
|
|
@@ -2132,7 +2155,7 @@ export type ICreateBrandMutationFn = Apollo.MutationFunction<ICreateBrandMutatio
|
|
|
2132
2155
|
*/
|
|
2133
2156
|
export declare function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<ICreateBrandMutation, ICreateBrandMutationVariables>): Apollo.MutationTuple<ICreateBrandMutation, Exact<{
|
|
2134
2157
|
brand: IBrandInput;
|
|
2135
|
-
file?:
|
|
2158
|
+
file?: any;
|
|
2136
2159
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2137
2160
|
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
2138
2161
|
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
@@ -2158,7 +2181,7 @@ export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateA
|
|
|
2158
2181
|
* });
|
|
2159
2182
|
*/
|
|
2160
2183
|
export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>): Apollo.MutationTuple<ICreateAdminOpportunityMutation, Exact<{
|
|
2161
|
-
file?:
|
|
2184
|
+
file?: any;
|
|
2162
2185
|
input: IAdminOpportunityInput;
|
|
2163
2186
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2164
2187
|
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
@@ -2186,9 +2209,9 @@ export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesM
|
|
|
2186
2209
|
* });
|
|
2187
2210
|
*/
|
|
2188
2211
|
export declare function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>): Apollo.MutationTuple<IAddInviteCodesMutation, Exact<{
|
|
2189
|
-
userId:
|
|
2190
|
-
codesNum:
|
|
2191
|
-
reftypeId?: Maybe<
|
|
2212
|
+
userId: string;
|
|
2213
|
+
codesNum: number;
|
|
2214
|
+
reftypeId?: Maybe<string> | undefined;
|
|
2192
2215
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2193
2216
|
export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
|
|
2194
2217
|
export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
|
|
@@ -2213,7 +2236,7 @@ export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteC
|
|
|
2213
2236
|
* });
|
|
2214
2237
|
*/
|
|
2215
2238
|
export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>): Apollo.MutationTuple<IRemoveInviteCodeMutation, Exact<{
|
|
2216
|
-
inviteCode:
|
|
2239
|
+
inviteCode: string;
|
|
2217
2240
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2218
2241
|
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
2219
2242
|
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
@@ -2240,9 +2263,9 @@ export type IUpdateBrandMutationFn = Apollo.MutationFunction<IUpdateBrandMutatio
|
|
|
2240
2263
|
* });
|
|
2241
2264
|
*/
|
|
2242
2265
|
export declare function useUpdateBrandMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateBrandMutation, IUpdateBrandMutationVariables>): Apollo.MutationTuple<IUpdateBrandMutation, Exact<{
|
|
2243
|
-
id:
|
|
2266
|
+
id: string;
|
|
2244
2267
|
input: IBrandInput;
|
|
2245
|
-
file?:
|
|
2268
|
+
file?: any;
|
|
2246
2269
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2247
2270
|
export type UpdateBrandMutationHookResult = ReturnType<typeof useUpdateBrandMutation>;
|
|
2248
2271
|
export type UpdateBrandMutationResult = Apollo.MutationResult<IUpdateBrandMutation>;
|
|
@@ -2268,8 +2291,8 @@ export type IUpdateBrandArchivedStatusMutationFn = Apollo.MutationFunction<IUpda
|
|
|
2268
2291
|
* });
|
|
2269
2292
|
*/
|
|
2270
2293
|
export declare function useUpdateBrandArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateBrandArchivedStatusMutation, IUpdateBrandArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateBrandArchivedStatusMutation, Exact<{
|
|
2271
|
-
id:
|
|
2272
|
-
isArchived:
|
|
2294
|
+
id: string;
|
|
2295
|
+
isArchived: boolean;
|
|
2273
2296
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2274
2297
|
export type UpdateBrandArchivedStatusMutationHookResult = ReturnType<typeof useUpdateBrandArchivedStatusMutation>;
|
|
2275
2298
|
export type UpdateBrandArchivedStatusMutationResult = Apollo.MutationResult<IUpdateBrandArchivedStatusMutation>;
|
|
@@ -2295,7 +2318,7 @@ export type IUpdateCategoryMutationFn = Apollo.MutationFunction<IUpdateCategoryM
|
|
|
2295
2318
|
* });
|
|
2296
2319
|
*/
|
|
2297
2320
|
export declare function useUpdateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCategoryMutation, IUpdateCategoryMutationVariables>): Apollo.MutationTuple<IUpdateCategoryMutation, Exact<{
|
|
2298
|
-
id:
|
|
2321
|
+
id: string;
|
|
2299
2322
|
input: ICategoryInput;
|
|
2300
2323
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2301
2324
|
export type UpdateCategoryMutationHookResult = ReturnType<typeof useUpdateCategoryMutation>;
|
|
@@ -2322,8 +2345,8 @@ export type IUpdateCategoryArchivedStatusMutationFn = Apollo.MutationFunction<IU
|
|
|
2322
2345
|
* });
|
|
2323
2346
|
*/
|
|
2324
2347
|
export declare function useUpdateCategoryArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateCategoryArchivedStatusMutation, IUpdateCategoryArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateCategoryArchivedStatusMutation, Exact<{
|
|
2325
|
-
id:
|
|
2326
|
-
isArchived:
|
|
2348
|
+
id: string;
|
|
2349
|
+
isArchived: boolean;
|
|
2327
2350
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2328
2351
|
export type UpdateCategoryArchivedStatusMutationHookResult = ReturnType<typeof useUpdateCategoryArchivedStatusMutation>;
|
|
2329
2352
|
export type UpdateCategoryArchivedStatusMutationResult = Apollo.MutationResult<IUpdateCategoryArchivedStatusMutation>;
|
|
@@ -2350,9 +2373,9 @@ export type IUpdateOpportunityMutationFn = Apollo.MutationFunction<IUpdateOpport
|
|
|
2350
2373
|
* });
|
|
2351
2374
|
*/
|
|
2352
2375
|
export declare function useUpdateOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityMutation, IUpdateOpportunityMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityMutation, Exact<{
|
|
2353
|
-
id:
|
|
2376
|
+
id: string;
|
|
2354
2377
|
input: IAdminOpportunityInput;
|
|
2355
|
-
file?:
|
|
2378
|
+
file?: any;
|
|
2356
2379
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2357
2380
|
export type UpdateOpportunityMutationHookResult = ReturnType<typeof useUpdateOpportunityMutation>;
|
|
2358
2381
|
export type UpdateOpportunityMutationResult = Apollo.MutationResult<IUpdateOpportunityMutation>;
|
|
@@ -2378,8 +2401,8 @@ export type IUpdateOpportunityArchivedStatusMutationFn = Apollo.MutationFunction
|
|
|
2378
2401
|
* });
|
|
2379
2402
|
*/
|
|
2380
2403
|
export declare function useUpdateOpportunityArchivedStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityArchivedStatusMutation, IUpdateOpportunityArchivedStatusMutationVariables>): Apollo.MutationTuple<IUpdateOpportunityArchivedStatusMutation, Exact<{
|
|
2381
|
-
id:
|
|
2382
|
-
isArchived:
|
|
2404
|
+
id: string;
|
|
2405
|
+
isArchived: boolean;
|
|
2383
2406
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2384
2407
|
export type UpdateOpportunityArchivedStatusMutationHookResult = ReturnType<typeof useUpdateOpportunityArchivedStatusMutation>;
|
|
2385
2408
|
export type UpdateOpportunityArchivedStatusMutationResult = Apollo.MutationResult<IUpdateOpportunityArchivedStatusMutation>;
|
|
@@ -2405,8 +2428,8 @@ export type IUpdateProfileStatusMutationFn = Apollo.MutationFunction<IUpdateProf
|
|
|
2405
2428
|
* });
|
|
2406
2429
|
*/
|
|
2407
2430
|
export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>): Apollo.MutationTuple<IUpdateProfileStatusMutation, Exact<{
|
|
2408
|
-
userId:
|
|
2409
|
-
isActive:
|
|
2431
|
+
userId: string;
|
|
2432
|
+
isActive: boolean;
|
|
2410
2433
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2411
2434
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
2412
2435
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
@@ -2429,10 +2452,10 @@ export declare const CheckInviteCodeDocument: Apollo.DocumentNode;
|
|
|
2429
2452
|
* });
|
|
2430
2453
|
*/
|
|
2431
2454
|
export declare function useCheckInviteCodeQuery(baseOptions: Apollo.QueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>): Apollo.QueryResult<ICheckInviteCodeQuery, Exact<{
|
|
2432
|
-
code:
|
|
2455
|
+
code: string;
|
|
2433
2456
|
}>>;
|
|
2434
2457
|
export declare function useCheckInviteCodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ICheckInviteCodeQuery, ICheckInviteCodeQueryVariables>): Apollo.LazyQueryResultTuple<ICheckInviteCodeQuery, Exact<{
|
|
2435
|
-
code:
|
|
2458
|
+
code: string;
|
|
2436
2459
|
}>>;
|
|
2437
2460
|
export type CheckInviteCodeQueryHookResult = ReturnType<typeof useCheckInviteCodeQuery>;
|
|
2438
2461
|
export type CheckInviteCodeLazyQueryHookResult = ReturnType<typeof useCheckInviteCodeLazyQuery>;
|
|
@@ -3049,6 +3072,31 @@ export declare function useFetchAdminXpPageLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
3049
3072
|
export type FetchAdminXpPageQueryHookResult = ReturnType<typeof useFetchAdminXpPageQuery>;
|
|
3050
3073
|
export type FetchAdminXpPageLazyQueryHookResult = ReturnType<typeof useFetchAdminXpPageLazyQuery>;
|
|
3051
3074
|
export type FetchAdminXpPageQueryResult = Apollo.QueryResult<IFetchAdminXpPageQuery, IFetchAdminXpPageQueryVariables>;
|
|
3075
|
+
export declare const FetchAllCountriesDocument: Apollo.DocumentNode;
|
|
3076
|
+
/**
|
|
3077
|
+
* __useFetchAllCountriesQuery__
|
|
3078
|
+
*
|
|
3079
|
+
* To run a query within a React component, call `useFetchAllCountriesQuery` and pass it any options that fit your needs.
|
|
3080
|
+
* When your component renders, `useFetchAllCountriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3081
|
+
* you can use to render your UI.
|
|
3082
|
+
*
|
|
3083
|
+
* @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;
|
|
3084
|
+
*
|
|
3085
|
+
* @example
|
|
3086
|
+
* const { data, loading, error } = useFetchAllCountriesQuery({
|
|
3087
|
+
* variables: {
|
|
3088
|
+
* },
|
|
3089
|
+
* });
|
|
3090
|
+
*/
|
|
3091
|
+
export declare function useFetchAllCountriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAllCountriesQuery, IFetchAllCountriesQueryVariables>): Apollo.QueryResult<IFetchAllCountriesQuery, Exact<{
|
|
3092
|
+
[key: string]: never;
|
|
3093
|
+
}>>;
|
|
3094
|
+
export declare function useFetchAllCountriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAllCountriesQuery, IFetchAllCountriesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAllCountriesQuery, Exact<{
|
|
3095
|
+
[key: string]: never;
|
|
3096
|
+
}>>;
|
|
3097
|
+
export type FetchAllCountriesQueryHookResult = ReturnType<typeof useFetchAllCountriesQuery>;
|
|
3098
|
+
export type FetchAllCountriesLazyQueryHookResult = ReturnType<typeof useFetchAllCountriesLazyQuery>;
|
|
3099
|
+
export type FetchAllCountriesQueryResult = Apollo.QueryResult<IFetchAllCountriesQuery, IFetchAllCountriesQueryVariables>;
|
|
3052
3100
|
export declare const FetchBlockchainsDocument: Apollo.DocumentNode;
|
|
3053
3101
|
/**
|
|
3054
3102
|
* __useFetchBlockchainsQuery__
|