@ludo.ninja/api 2.8.20 → 2.8.22
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.
|
@@ -34,6 +34,20 @@ export type IAddress = {
|
|
|
34
34
|
owners?: Maybe<Array<Maybe<IWallet>>>;
|
|
35
35
|
associateAddresses?: Maybe<Array<Maybe<IWallet>>>;
|
|
36
36
|
};
|
|
37
|
+
export type IAdminBrand = {
|
|
38
|
+
id: Scalars['String'];
|
|
39
|
+
name: Scalars['String'];
|
|
40
|
+
matchingWords: Array<Scalars['String']>;
|
|
41
|
+
description: Scalars['String'];
|
|
42
|
+
industry?: Maybe<Scalars['String']>;
|
|
43
|
+
link?: Maybe<Scalars['String']>;
|
|
44
|
+
media?: Maybe<Scalars['String']>;
|
|
45
|
+
};
|
|
46
|
+
export type IAdminCategory = {
|
|
47
|
+
id: Scalars['String'];
|
|
48
|
+
name: Scalars['String'];
|
|
49
|
+
matchingWords: Array<Scalars['String']>;
|
|
50
|
+
};
|
|
37
51
|
export type IAdminInvite = {
|
|
38
52
|
userId: Scalars['String'];
|
|
39
53
|
username?: Maybe<Scalars['String']>;
|
|
@@ -65,6 +79,28 @@ export type IAdminOpportunity = {
|
|
|
65
79
|
clicks?: Maybe<Scalars['Int']>;
|
|
66
80
|
views?: Maybe<Scalars['Int']>;
|
|
67
81
|
};
|
|
82
|
+
export type IAdminOpportunityInput = {
|
|
83
|
+
brandId: Scalars['String'];
|
|
84
|
+
categoryId: Scalars['String'];
|
|
85
|
+
status?: Maybe<Scalars['String']>;
|
|
86
|
+
type?: Maybe<Scalars['String']>;
|
|
87
|
+
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
88
|
+
name: Scalars['String'];
|
|
89
|
+
description?: Maybe<Scalars['String']>;
|
|
90
|
+
ludoUrl?: Maybe<Scalars['String']>;
|
|
91
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
92
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
93
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
94
|
+
minXpLevel?: Maybe<Scalars['Int']>;
|
|
95
|
+
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
96
|
+
minLudoRank?: Maybe<Scalars['Float']>;
|
|
97
|
+
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
98
|
+
minWalletValue?: Maybe<Scalars['Float']>;
|
|
99
|
+
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
100
|
+
blockchain?: Maybe<Scalars['String']>;
|
|
101
|
+
collection?: Maybe<Scalars['String']>;
|
|
102
|
+
media?: Maybe<Scalars['String']>;
|
|
103
|
+
};
|
|
68
104
|
export type IAdminPage = {
|
|
69
105
|
num?: Maybe<Scalars['Int']>;
|
|
70
106
|
lastNum?: Maybe<Scalars['Int']>;
|
|
@@ -316,13 +352,12 @@ export type IBannerAssetsPage = {
|
|
|
316
352
|
};
|
|
317
353
|
export type IBrand = {
|
|
318
354
|
brandId: Scalars['ID'];
|
|
319
|
-
|
|
320
|
-
|
|
355
|
+
name: Scalars['String'];
|
|
356
|
+
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
357
|
+
description?: Maybe<Scalars['String']>;
|
|
321
358
|
industry?: Maybe<Scalars['String']>;
|
|
322
359
|
link?: Maybe<Scalars['String']>;
|
|
323
|
-
matchingWords: Array<Scalars['String']>;
|
|
324
360
|
media?: Maybe<Scalars['String']>;
|
|
325
|
-
name: Scalars['String'];
|
|
326
361
|
};
|
|
327
362
|
export type IBrandInput = {
|
|
328
363
|
name: Scalars['String'];
|
|
@@ -330,6 +365,7 @@ export type IBrandInput = {
|
|
|
330
365
|
description: Scalars['String'];
|
|
331
366
|
industry?: Maybe<Scalars['String']>;
|
|
332
367
|
link?: Maybe<Scalars['String']>;
|
|
368
|
+
media?: Maybe<Scalars['String']>;
|
|
333
369
|
};
|
|
334
370
|
export type IBrandsFilterInput = {
|
|
335
371
|
nameTerm?: Maybe<Scalars['String']>;
|
|
@@ -339,7 +375,7 @@ export type IBrandsFilterInput = {
|
|
|
339
375
|
matchingWordsTerm?: Maybe<Scalars['String']>;
|
|
340
376
|
};
|
|
341
377
|
export type IBrandsPage = {
|
|
342
|
-
brands: Array<
|
|
378
|
+
brands: Array<IAdminBrand>;
|
|
343
379
|
nextPage?: Maybe<IAdminPage>;
|
|
344
380
|
};
|
|
345
381
|
export type IBrandsSortInput = {
|
|
@@ -351,7 +387,7 @@ export type ICategoriesFilterInput = {
|
|
|
351
387
|
matchingWordsTerm?: Maybe<Scalars['String']>;
|
|
352
388
|
};
|
|
353
389
|
export type ICategoriesPage = {
|
|
354
|
-
categories: Array<
|
|
390
|
+
categories: Array<IAdminCategory>;
|
|
355
391
|
nextPage?: Maybe<IAdminPage>;
|
|
356
392
|
};
|
|
357
393
|
export type ICategoriesSortInput = {
|
|
@@ -359,9 +395,12 @@ export type ICategoriesSortInput = {
|
|
|
359
395
|
};
|
|
360
396
|
export type ICategory = {
|
|
361
397
|
categoryId: Scalars['ID'];
|
|
362
|
-
id: Scalars['String'];
|
|
363
|
-
matchingWords: Array<Scalars['String']>;
|
|
364
398
|
name: Scalars['String'];
|
|
399
|
+
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
400
|
+
};
|
|
401
|
+
export type ICategoryInput = {
|
|
402
|
+
name: Scalars['String'];
|
|
403
|
+
matchingWords: Array<Scalars['String']>;
|
|
365
404
|
};
|
|
366
405
|
export type ICollection = {
|
|
367
406
|
blockHeight?: Maybe<Scalars['Long']>;
|
|
@@ -921,6 +960,9 @@ export type IMutation = {
|
|
|
921
960
|
subscribeGallery: Scalars['Int'];
|
|
922
961
|
unfollowProfile: Scalars['Boolean'];
|
|
923
962
|
unsubscribeGallery: Scalars['Int'];
|
|
963
|
+
updateBrand: Scalars['Boolean'];
|
|
964
|
+
updateCategory: Scalars['Boolean'];
|
|
965
|
+
updateOpportunity: Scalars['Boolean'];
|
|
924
966
|
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
925
967
|
updateProfile: Scalars['Boolean'];
|
|
926
968
|
updateProfileStatus: Scalars['Boolean'];
|
|
@@ -1024,7 +1066,7 @@ export type IMutationChangeXpPointsArgs = {
|
|
|
1024
1066
|
pointsDiff: Scalars['Int'];
|
|
1025
1067
|
};
|
|
1026
1068
|
export type IMutationCreateAdminOpportunityArgs = {
|
|
1027
|
-
input:
|
|
1069
|
+
input: IAdminOpportunityInput;
|
|
1028
1070
|
file?: Maybe<Scalars['Upload']>;
|
|
1029
1071
|
};
|
|
1030
1072
|
export type IMutationCreateBrandArgs = {
|
|
@@ -1309,6 +1351,20 @@ export type IMutationUnfollowProfileArgs = {
|
|
|
1309
1351
|
export type IMutationUnsubscribeGalleryArgs = {
|
|
1310
1352
|
galleryId: Scalars['ID'];
|
|
1311
1353
|
};
|
|
1354
|
+
export type IMutationUpdateBrandArgs = {
|
|
1355
|
+
id: Scalars['ID'];
|
|
1356
|
+
input: IBrandInput;
|
|
1357
|
+
file?: Maybe<Scalars['Upload']>;
|
|
1358
|
+
};
|
|
1359
|
+
export type IMutationUpdateCategoryArgs = {
|
|
1360
|
+
id: Scalars['ID'];
|
|
1361
|
+
input: ICategoryInput;
|
|
1362
|
+
};
|
|
1363
|
+
export type IMutationUpdateOpportunityArgs = {
|
|
1364
|
+
id: Scalars['ID'];
|
|
1365
|
+
input: IAdminOpportunityInput;
|
|
1366
|
+
file?: Maybe<Scalars['Upload']>;
|
|
1367
|
+
};
|
|
1312
1368
|
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
1313
1369
|
opportunityId: Scalars['ID'];
|
|
1314
1370
|
isActive: Scalars['Boolean'];
|
|
@@ -1425,35 +1481,19 @@ export type IOpportunity = {
|
|
|
1425
1481
|
status?: Maybe<Scalars['String']>;
|
|
1426
1482
|
};
|
|
1427
1483
|
export type IOpportunityInput = {
|
|
1428
|
-
|
|
1429
|
-
activeUntil?: Maybe<Scalars['Long']>;
|
|
1430
|
-
blockchain?: Maybe<Scalars['String']>;
|
|
1431
|
-
brandId: Scalars['String'];
|
|
1432
|
-
category?: Maybe<Scalars['String']>;
|
|
1433
|
-
categoryId: Scalars['String'];
|
|
1434
|
-
collection?: Maybe<Scalars['String']>;
|
|
1435
|
-
creatorWallet?: Maybe<Scalars['String']>;
|
|
1484
|
+
name: Scalars['String'];
|
|
1436
1485
|
description: Scalars['String'];
|
|
1486
|
+
startedAt: Scalars['Long'];
|
|
1437
1487
|
endedAt: Scalars['Long'];
|
|
1488
|
+
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1489
|
+
category?: Maybe<Scalars['String']>;
|
|
1438
1490
|
links?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1439
1491
|
ludoRankRequired?: Maybe<Scalars['Boolean']>;
|
|
1440
1492
|
ludoRankRequiredMax?: Maybe<Scalars['Int']>;
|
|
1441
1493
|
ludoRankRequiredMin?: Maybe<Scalars['Int']>;
|
|
1442
|
-
ludoUrl?: Maybe<Scalars['String']>;
|
|
1443
|
-
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
1444
|
-
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
1445
|
-
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
1446
|
-
minLudoRank?: Maybe<Scalars['Float']>;
|
|
1447
|
-
minWalletValue?: Maybe<Scalars['Float']>;
|
|
1448
|
-
minXpLevel?: Maybe<Scalars['Int']>;
|
|
1449
|
-
name: Scalars['String'];
|
|
1450
|
-
projectUrl?: Maybe<Scalars['String']>;
|
|
1451
|
-
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
1452
1494
|
rewardType?: Maybe<Scalars['String']>;
|
|
1453
|
-
|
|
1495
|
+
creatorWallet?: Maybe<Scalars['String']>;
|
|
1454
1496
|
status?: Maybe<Scalars['String']>;
|
|
1455
|
-
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1456
|
-
type?: Maybe<Scalars['String']>;
|
|
1457
1497
|
};
|
|
1458
1498
|
export type IOpportunityPage = {
|
|
1459
1499
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
@@ -1547,9 +1587,9 @@ export type IQuery = {
|
|
|
1547
1587
|
fetchBannerAssets: Array<Maybe<IBannerAsset>>;
|
|
1548
1588
|
fetchBlockchainSelections: Array<Maybe<ISelection>>;
|
|
1549
1589
|
fetchBlockchains: Array<Scalars['String']>;
|
|
1550
|
-
fetchBrands: Array<
|
|
1590
|
+
fetchBrands: Array<IAdminBrand>;
|
|
1551
1591
|
fetchBrandsPage: IBrandsPage;
|
|
1552
|
-
fetchCategories: Array<
|
|
1592
|
+
fetchCategories: Array<IAdminCategory>;
|
|
1553
1593
|
fetchCategoriesPage: ICategoriesPage;
|
|
1554
1594
|
fetchCategorySelections: Array<Maybe<ISelection>>;
|
|
1555
1595
|
fetchCollection: ICollection;
|
|
@@ -2479,12 +2519,15 @@ export type IResolversTypes = {
|
|
|
2479
2519
|
ActiveInvite: ResolverTypeWrapper<IActiveInvite>;
|
|
2480
2520
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
2481
2521
|
Address: ResolverTypeWrapper<IAddress>;
|
|
2522
|
+
AdminBrand: ResolverTypeWrapper<IAdminBrand>;
|
|
2523
|
+
AdminCategory: ResolverTypeWrapper<IAdminCategory>;
|
|
2482
2524
|
AdminInvite: ResolverTypeWrapper<IAdminInvite>;
|
|
2483
2525
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
2484
2526
|
AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
|
|
2485
2527
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
2486
2528
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
2487
2529
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
2530
|
+
AdminOpportunityInput: IAdminOpportunityInput;
|
|
2488
2531
|
AdminPage: ResolverTypeWrapper<IAdminPage>;
|
|
2489
2532
|
AdminPageInput: IAdminPageInput;
|
|
2490
2533
|
AdminReferral: ResolverTypeWrapper<IAdminReferral>;
|
|
@@ -2516,6 +2559,7 @@ export type IResolversTypes = {
|
|
|
2516
2559
|
CategoriesPage: ResolverTypeWrapper<ICategoriesPage>;
|
|
2517
2560
|
CategoriesSortInput: ICategoriesSortInput;
|
|
2518
2561
|
Category: ResolverTypeWrapper<ICategory>;
|
|
2562
|
+
CategoryInput: ICategoryInput;
|
|
2519
2563
|
Collection: ResolverTypeWrapper<ICollection>;
|
|
2520
2564
|
CollectionAsset: ResolverTypeWrapper<ICollectionAsset>;
|
|
2521
2565
|
CollectionAssetsPage: ResolverTypeWrapper<ICollectionAssetsPage>;
|
|
@@ -2645,12 +2689,15 @@ export type IResolversParentTypes = {
|
|
|
2645
2689
|
ActiveInvite: IActiveInvite;
|
|
2646
2690
|
String: Scalars['String'];
|
|
2647
2691
|
Address: IAddress;
|
|
2692
|
+
AdminBrand: IAdminBrand;
|
|
2693
|
+
AdminCategory: IAdminCategory;
|
|
2648
2694
|
AdminInvite: IAdminInvite;
|
|
2649
2695
|
Int: Scalars['Int'];
|
|
2650
2696
|
AdminOpportunity: IAdminOpportunity;
|
|
2651
2697
|
ID: Scalars['ID'];
|
|
2652
2698
|
Boolean: Scalars['Boolean'];
|
|
2653
2699
|
Float: Scalars['Float'];
|
|
2700
|
+
AdminOpportunityInput: IAdminOpportunityInput;
|
|
2654
2701
|
AdminPage: IAdminPage;
|
|
2655
2702
|
AdminPageInput: IAdminPageInput;
|
|
2656
2703
|
AdminReferral: IAdminReferral;
|
|
@@ -2682,6 +2729,7 @@ export type IResolversParentTypes = {
|
|
|
2682
2729
|
CategoriesPage: ICategoriesPage;
|
|
2683
2730
|
CategoriesSortInput: ICategoriesSortInput;
|
|
2684
2731
|
Category: ICategory;
|
|
2732
|
+
CategoryInput: ICategoryInput;
|
|
2685
2733
|
Collection: ICollection;
|
|
2686
2734
|
CollectionAsset: ICollectionAsset;
|
|
2687
2735
|
CollectionAssetsPage: ICollectionAssetsPage;
|
|
@@ -2835,6 +2883,22 @@ export type IAddressResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
2835
2883
|
associateAddresses?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
2836
2884
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2837
2885
|
};
|
|
2886
|
+
export type IAdminBrandResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminBrand'] = IResolversParentTypes['AdminBrand']> = {
|
|
2887
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2888
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2889
|
+
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2890
|
+
description?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2891
|
+
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2892
|
+
link?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2893
|
+
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2894
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2895
|
+
};
|
|
2896
|
+
export type IAdminCategoryResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminCategory'] = IResolversParentTypes['AdminCategory']> = {
|
|
2897
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2898
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2899
|
+
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2900
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2901
|
+
};
|
|
2838
2902
|
export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvite'] = IResolversParentTypes['AdminInvite']> = {
|
|
2839
2903
|
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2840
2904
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -3102,30 +3166,28 @@ export type IBannerAssetsPageResolvers<ContextType = any, ParentType extends IRe
|
|
|
3102
3166
|
};
|
|
3103
3167
|
export type IBrandResolvers<ContextType = any, ParentType extends IResolversParentTypes['Brand'] = IResolversParentTypes['Brand']> = {
|
|
3104
3168
|
brandId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
3105
|
-
|
|
3106
|
-
|
|
3169
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3170
|
+
matchingWords?: Resolver<Array<Maybe<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
3171
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3107
3172
|
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3108
3173
|
link?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3109
|
-
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3110
3174
|
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3111
|
-
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3112
3175
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3113
3176
|
};
|
|
3114
3177
|
export type IBrandsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['BrandsPage'] = IResolversParentTypes['BrandsPage']> = {
|
|
3115
|
-
brands?: Resolver<Array<IResolversTypes['
|
|
3178
|
+
brands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
3116
3179
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
3117
3180
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3118
3181
|
};
|
|
3119
3182
|
export type ICategoriesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['CategoriesPage'] = IResolversParentTypes['CategoriesPage']> = {
|
|
3120
|
-
categories?: Resolver<Array<IResolversTypes['
|
|
3183
|
+
categories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
3121
3184
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
3122
3185
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3123
3186
|
};
|
|
3124
3187
|
export type ICategoryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Category'] = IResolversParentTypes['Category']> = {
|
|
3125
3188
|
categoryId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
3126
|
-
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3127
|
-
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3128
3189
|
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3190
|
+
matchingWords?: Resolver<Array<Maybe<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
3129
3191
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3130
3192
|
};
|
|
3131
3193
|
export type ICollectionResolvers<ContextType = any, ParentType extends IResolversParentTypes['Collection'] = IResolversParentTypes['Collection']> = {
|
|
@@ -3642,6 +3704,9 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
3642
3704
|
subscribeGallery?: Resolver<IResolversTypes['Int'], ParentType, ContextType, RequireFields<IMutationSubscribeGalleryArgs, 'galleryId'>>;
|
|
3643
3705
|
unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
|
|
3644
3706
|
unsubscribeGallery?: Resolver<IResolversTypes['Int'], ParentType, ContextType, RequireFields<IMutationUnsubscribeGalleryArgs, 'galleryId'>>;
|
|
3707
|
+
updateBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArgs, 'id' | 'input'>>;
|
|
3708
|
+
updateCategory?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArgs, 'id' | 'input'>>;
|
|
3709
|
+
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
3645
3710
|
updateOpportunityPushStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityPushStatusArgs, 'opportunityId' | 'isActive'>>;
|
|
3646
3711
|
updateProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, Partial<IMutationUpdateProfileArgs>>;
|
|
3647
3712
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
@@ -3798,9 +3863,9 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
3798
3863
|
fetchBannerAssets?: Resolver<Array<Maybe<IResolversTypes['BannerAsset']>>, ParentType, ContextType, RequireFields<IQueryFetchBannerAssetsArgs, 'pageSize'>>;
|
|
3799
3864
|
fetchBlockchainSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
3800
3865
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3801
|
-
fetchBrands?: Resolver<Array<IResolversTypes['
|
|
3866
|
+
fetchBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
3802
3867
|
fetchBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
3803
|
-
fetchCategories?: Resolver<Array<IResolversTypes['
|
|
3868
|
+
fetchCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
3804
3869
|
fetchCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
3805
3870
|
fetchCategorySelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
3806
3871
|
fetchCollection?: Resolver<IResolversTypes['Collection'], ParentType, ContextType, RequireFields<IQueryFetchCollectionArgs, 'collectionId'>>;
|
|
@@ -4181,6 +4246,8 @@ export type IXpPageResolvers<ContextType = any, ParentType extends IResolversPar
|
|
|
4181
4246
|
export type IResolvers<ContextType = any> = {
|
|
4182
4247
|
ActiveInvite?: IActiveInviteResolvers<ContextType>;
|
|
4183
4248
|
Address?: IAddressResolvers<ContextType>;
|
|
4249
|
+
AdminBrand?: IAdminBrandResolvers<ContextType>;
|
|
4250
|
+
AdminCategory?: IAdminCategoryResolvers<ContextType>;
|
|
4184
4251
|
AdminInvite?: IAdminInviteResolvers<ContextType>;
|
|
4185
4252
|
AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
|
|
4186
4253
|
AdminPage?: IAdminPageResolvers<ContextType>;
|
|
@@ -4316,7 +4383,7 @@ export type ICreateBrandMutationVariables = Exact<{
|
|
|
4316
4383
|
export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
|
|
4317
4384
|
export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
4318
4385
|
file?: Maybe<Scalars['Upload']>;
|
|
4319
|
-
input:
|
|
4386
|
+
input: IAdminOpportunityInput;
|
|
4320
4387
|
}>;
|
|
4321
4388
|
export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
|
|
4322
4389
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
@@ -4406,7 +4473,7 @@ export type IFetchBrandsQueryVariables = Exact<{
|
|
|
4406
4473
|
[key: string]: never;
|
|
4407
4474
|
}>;
|
|
4408
4475
|
export type IFetchBrandsQuery = {
|
|
4409
|
-
fetchBrands: Array<Pick<
|
|
4476
|
+
fetchBrands: Array<Pick<IAdminBrand, 'id' | 'name'>>;
|
|
4410
4477
|
};
|
|
4411
4478
|
export type IFetchBrandsPageQueryVariables = Exact<{
|
|
4412
4479
|
filter: IBrandsFilterInput;
|
|
@@ -4415,7 +4482,7 @@ export type IFetchBrandsPageQueryVariables = Exact<{
|
|
|
4415
4482
|
}>;
|
|
4416
4483
|
export type IFetchBrandsPageQuery = {
|
|
4417
4484
|
fetchBrandsPage: {
|
|
4418
|
-
brands: Array<Pick<
|
|
4485
|
+
brands: Array<Pick<IAdminBrand, 'description' | 'id' | 'industry' | 'link' | 'matchingWords' | 'media' | 'name'>>;
|
|
4419
4486
|
nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>>;
|
|
4420
4487
|
};
|
|
4421
4488
|
};
|
|
@@ -4423,7 +4490,7 @@ export type IFetchCategoriesQueryVariables = Exact<{
|
|
|
4423
4490
|
[key: string]: never;
|
|
4424
4491
|
}>;
|
|
4425
4492
|
export type IFetchCategoriesQuery = {
|
|
4426
|
-
fetchCategories: Array<Pick<
|
|
4493
|
+
fetchCategories: Array<Pick<IAdminCategory, 'id' | 'name'>>;
|
|
4427
4494
|
};
|
|
4428
4495
|
export type IFetchCategoriesPageQueryVariables = Exact<{
|
|
4429
4496
|
filter: ICategoriesFilterInput;
|
|
@@ -4432,7 +4499,7 @@ export type IFetchCategoriesPageQueryVariables = Exact<{
|
|
|
4432
4499
|
}>;
|
|
4433
4500
|
export type IFetchCategoriesPageQuery = {
|
|
4434
4501
|
fetchCategoriesPage: {
|
|
4435
|
-
categories: Array<Pick<
|
|
4502
|
+
categories: Array<Pick<IAdminCategory, 'id' | 'name' | 'matchingWords'>>;
|
|
4436
4503
|
nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>>;
|
|
4437
4504
|
};
|
|
4438
4505
|
};
|
|
@@ -5414,7 +5481,7 @@ export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateA
|
|
|
5414
5481
|
*/
|
|
5415
5482
|
export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>): Apollo.MutationTuple<ICreateAdminOpportunityMutation, Exact<{
|
|
5416
5483
|
file?: any;
|
|
5417
|
-
input:
|
|
5484
|
+
input: IAdminOpportunityInput;
|
|
5418
5485
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5419
5486
|
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
5420
5487
|
export type CreateAdminOpportunityMutationResult = Apollo.MutationResult<ICreateAdminOpportunityMutation>;
|
|
@@ -124,7 +124,7 @@ function useCreateBrandMutation(baseOptions) {
|
|
|
124
124
|
}
|
|
125
125
|
exports.useCreateBrandMutation = useCreateBrandMutation;
|
|
126
126
|
exports.CreateAdminOpportunityDocument = (0, client_1.gql) `
|
|
127
|
-
mutation createAdminOpportunity($file: Upload, $input:
|
|
127
|
+
mutation createAdminOpportunity($file: Upload, $input: AdminOpportunityInput!) {
|
|
128
128
|
createAdminOpportunity(file: $file, input: $input)
|
|
129
129
|
}
|
|
130
130
|
`;
|