@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.
|
@@ -33,6 +33,22 @@ export type IAddress = {
|
|
|
33
33
|
associateAddresses?: Maybe<Array<Maybe<IWallet>>>;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
+
export type IAdminBrand = {
|
|
37
|
+
id: Scalars['String'];
|
|
38
|
+
name: Scalars['String'];
|
|
39
|
+
matchingWords: Array<Scalars['String']>;
|
|
40
|
+
description: Scalars['String'];
|
|
41
|
+
industry?: Maybe<Scalars['String']>;
|
|
42
|
+
link?: Maybe<Scalars['String']>;
|
|
43
|
+
media?: Maybe<Scalars['String']>;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type IAdminCategory = {
|
|
47
|
+
id: Scalars['String'];
|
|
48
|
+
name: Scalars['String'];
|
|
49
|
+
matchingWords: Array<Scalars['String']>;
|
|
50
|
+
};
|
|
51
|
+
|
|
36
52
|
export type IAdminInvite = {
|
|
37
53
|
userId: Scalars['String'];
|
|
38
54
|
username?: Maybe<Scalars['String']>;
|
|
@@ -66,6 +82,29 @@ export type IAdminOpportunity = {
|
|
|
66
82
|
views?: Maybe<Scalars['Int']>;
|
|
67
83
|
};
|
|
68
84
|
|
|
85
|
+
export type IAdminOpportunityInput = {
|
|
86
|
+
brandId: Scalars['String'];
|
|
87
|
+
categoryId: Scalars['String'];
|
|
88
|
+
status?: Maybe<Scalars['String']>;
|
|
89
|
+
type?: Maybe<Scalars['String']>;
|
|
90
|
+
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
91
|
+
name: Scalars['String'];
|
|
92
|
+
description?: Maybe<Scalars['String']>;
|
|
93
|
+
ludoUrl?: Maybe<Scalars['String']>;
|
|
94
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
95
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
96
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
97
|
+
minXpLevel?: Maybe<Scalars['Int']>;
|
|
98
|
+
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
99
|
+
minLudoRank?: Maybe<Scalars['Float']>;
|
|
100
|
+
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
101
|
+
minWalletValue?: Maybe<Scalars['Float']>;
|
|
102
|
+
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
103
|
+
blockchain?: Maybe<Scalars['String']>;
|
|
104
|
+
collection?: Maybe<Scalars['String']>;
|
|
105
|
+
media?: Maybe<Scalars['String']>;
|
|
106
|
+
};
|
|
107
|
+
|
|
69
108
|
export type IAdminPage = {
|
|
70
109
|
num?: Maybe<Scalars['Int']>;
|
|
71
110
|
lastNum?: Maybe<Scalars['Int']>;
|
|
@@ -339,13 +378,12 @@ export type IBannerAssetsPage = {
|
|
|
339
378
|
|
|
340
379
|
export type IBrand = {
|
|
341
380
|
brandId: Scalars['ID'];
|
|
342
|
-
|
|
343
|
-
|
|
381
|
+
name: Scalars['String'];
|
|
382
|
+
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
383
|
+
description?: Maybe<Scalars['String']>;
|
|
344
384
|
industry?: Maybe<Scalars['String']>;
|
|
345
385
|
link?: Maybe<Scalars['String']>;
|
|
346
|
-
matchingWords: Array<Scalars['String']>;
|
|
347
386
|
media?: Maybe<Scalars['String']>;
|
|
348
|
-
name: Scalars['String'];
|
|
349
387
|
};
|
|
350
388
|
|
|
351
389
|
export type IBrandInput = {
|
|
@@ -354,6 +392,7 @@ export type IBrandInput = {
|
|
|
354
392
|
description: Scalars['String'];
|
|
355
393
|
industry?: Maybe<Scalars['String']>;
|
|
356
394
|
link?: Maybe<Scalars['String']>;
|
|
395
|
+
media?: Maybe<Scalars['String']>;
|
|
357
396
|
};
|
|
358
397
|
|
|
359
398
|
export type IBrandsFilterInput = {
|
|
@@ -365,7 +404,7 @@ export type IBrandsFilterInput = {
|
|
|
365
404
|
};
|
|
366
405
|
|
|
367
406
|
export type IBrandsPage = {
|
|
368
|
-
brands: Array<
|
|
407
|
+
brands: Array<IAdminBrand>;
|
|
369
408
|
nextPage?: Maybe<IAdminPage>;
|
|
370
409
|
};
|
|
371
410
|
|
|
@@ -380,7 +419,7 @@ export type ICategoriesFilterInput = {
|
|
|
380
419
|
};
|
|
381
420
|
|
|
382
421
|
export type ICategoriesPage = {
|
|
383
|
-
categories: Array<
|
|
422
|
+
categories: Array<IAdminCategory>;
|
|
384
423
|
nextPage?: Maybe<IAdminPage>;
|
|
385
424
|
};
|
|
386
425
|
|
|
@@ -390,9 +429,13 @@ export type ICategoriesSortInput = {
|
|
|
390
429
|
|
|
391
430
|
export type ICategory = {
|
|
392
431
|
categoryId: Scalars['ID'];
|
|
393
|
-
id: Scalars['String'];
|
|
394
|
-
matchingWords: Array<Scalars['String']>;
|
|
395
432
|
name: Scalars['String'];
|
|
433
|
+
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
export type ICategoryInput = {
|
|
437
|
+
name: Scalars['String'];
|
|
438
|
+
matchingWords: Array<Scalars['String']>;
|
|
396
439
|
};
|
|
397
440
|
|
|
398
441
|
export type ICollection = {
|
|
@@ -1007,6 +1050,9 @@ export type IMutation = {
|
|
|
1007
1050
|
subscribeGallery: Scalars['Int'];
|
|
1008
1051
|
unfollowProfile: Scalars['Boolean'];
|
|
1009
1052
|
unsubscribeGallery: Scalars['Int'];
|
|
1053
|
+
updateBrand: Scalars['Boolean'];
|
|
1054
|
+
updateCategory: Scalars['Boolean'];
|
|
1055
|
+
updateOpportunity: Scalars['Boolean'];
|
|
1010
1056
|
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
1011
1057
|
updateProfile: Scalars['Boolean'];
|
|
1012
1058
|
updateProfileStatus: Scalars['Boolean'];
|
|
@@ -1160,7 +1206,7 @@ export type IMutationChangeXpPointsArgs = {
|
|
|
1160
1206
|
|
|
1161
1207
|
|
|
1162
1208
|
export type IMutationCreateAdminOpportunityArgs = {
|
|
1163
|
-
input:
|
|
1209
|
+
input: IAdminOpportunityInput;
|
|
1164
1210
|
file?: Maybe<Scalars['Upload']>;
|
|
1165
1211
|
};
|
|
1166
1212
|
|
|
@@ -1591,6 +1637,26 @@ export type IMutationUnsubscribeGalleryArgs = {
|
|
|
1591
1637
|
};
|
|
1592
1638
|
|
|
1593
1639
|
|
|
1640
|
+
export type IMutationUpdateBrandArgs = {
|
|
1641
|
+
id: Scalars['ID'];
|
|
1642
|
+
input: IBrandInput;
|
|
1643
|
+
file?: Maybe<Scalars['Upload']>;
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
export type IMutationUpdateCategoryArgs = {
|
|
1648
|
+
id: Scalars['ID'];
|
|
1649
|
+
input: ICategoryInput;
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
export type IMutationUpdateOpportunityArgs = {
|
|
1654
|
+
id: Scalars['ID'];
|
|
1655
|
+
input: IAdminOpportunityInput;
|
|
1656
|
+
file?: Maybe<Scalars['Upload']>;
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
|
|
1594
1660
|
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
1595
1661
|
opportunityId: Scalars['ID'];
|
|
1596
1662
|
isActive: Scalars['Boolean'];
|
|
@@ -1729,35 +1795,19 @@ export type IOpportunity = {
|
|
|
1729
1795
|
};
|
|
1730
1796
|
|
|
1731
1797
|
export type IOpportunityInput = {
|
|
1732
|
-
|
|
1733
|
-
activeUntil?: Maybe<Scalars['Long']>;
|
|
1734
|
-
blockchain?: Maybe<Scalars['String']>;
|
|
1735
|
-
brandId: Scalars['String'];
|
|
1736
|
-
category?: Maybe<Scalars['String']>;
|
|
1737
|
-
categoryId: Scalars['String'];
|
|
1738
|
-
collection?: Maybe<Scalars['String']>;
|
|
1739
|
-
creatorWallet?: Maybe<Scalars['String']>;
|
|
1798
|
+
name: Scalars['String'];
|
|
1740
1799
|
description: Scalars['String'];
|
|
1800
|
+
startedAt: Scalars['Long'];
|
|
1741
1801
|
endedAt: Scalars['Long'];
|
|
1802
|
+
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1803
|
+
category?: Maybe<Scalars['String']>;
|
|
1742
1804
|
links?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1743
1805
|
ludoRankRequired?: Maybe<Scalars['Boolean']>;
|
|
1744
1806
|
ludoRankRequiredMax?: Maybe<Scalars['Int']>;
|
|
1745
1807
|
ludoRankRequiredMin?: Maybe<Scalars['Int']>;
|
|
1746
|
-
ludoUrl?: Maybe<Scalars['String']>;
|
|
1747
|
-
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
1748
|
-
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
1749
|
-
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
1750
|
-
minLudoRank?: Maybe<Scalars['Float']>;
|
|
1751
|
-
minWalletValue?: Maybe<Scalars['Float']>;
|
|
1752
|
-
minXpLevel?: Maybe<Scalars['Int']>;
|
|
1753
|
-
name: Scalars['String'];
|
|
1754
|
-
projectUrl?: Maybe<Scalars['String']>;
|
|
1755
|
-
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
1756
1808
|
rewardType?: Maybe<Scalars['String']>;
|
|
1757
|
-
|
|
1809
|
+
creatorWallet?: Maybe<Scalars['String']>;
|
|
1758
1810
|
status?: Maybe<Scalars['String']>;
|
|
1759
|
-
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1760
|
-
type?: Maybe<Scalars['String']>;
|
|
1761
1811
|
};
|
|
1762
1812
|
|
|
1763
1813
|
export type IOpportunityPage = {
|
|
@@ -1858,9 +1908,9 @@ export type IQuery = {
|
|
|
1858
1908
|
fetchBannerAssets: Array<Maybe<IBannerAsset>>;
|
|
1859
1909
|
fetchBlockchainSelections: Array<Maybe<ISelection>>;
|
|
1860
1910
|
fetchBlockchains: Array<Scalars['String']>;
|
|
1861
|
-
fetchBrands: Array<
|
|
1911
|
+
fetchBrands: Array<IAdminBrand>;
|
|
1862
1912
|
fetchBrandsPage: IBrandsPage;
|
|
1863
|
-
fetchCategories: Array<
|
|
1913
|
+
fetchCategories: Array<IAdminCategory>;
|
|
1864
1914
|
fetchCategoriesPage: ICategoriesPage;
|
|
1865
1915
|
fetchCategorySelections: Array<Maybe<ISelection>>;
|
|
1866
1916
|
fetchCollection: ICollection;
|
|
@@ -3087,12 +3137,15 @@ export type IResolversTypes = {
|
|
|
3087
3137
|
ActiveInvite: ResolverTypeWrapper<IActiveInvite>;
|
|
3088
3138
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
3089
3139
|
Address: ResolverTypeWrapper<IAddress>;
|
|
3140
|
+
AdminBrand: ResolverTypeWrapper<IAdminBrand>;
|
|
3141
|
+
AdminCategory: ResolverTypeWrapper<IAdminCategory>;
|
|
3090
3142
|
AdminInvite: ResolverTypeWrapper<IAdminInvite>;
|
|
3091
3143
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
3092
3144
|
AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
|
|
3093
3145
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
3094
3146
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
3095
3147
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
3148
|
+
AdminOpportunityInput: IAdminOpportunityInput;
|
|
3096
3149
|
AdminPage: ResolverTypeWrapper<IAdminPage>;
|
|
3097
3150
|
AdminPageInput: IAdminPageInput;
|
|
3098
3151
|
AdminReferral: ResolverTypeWrapper<IAdminReferral>;
|
|
@@ -3124,6 +3177,7 @@ export type IResolversTypes = {
|
|
|
3124
3177
|
CategoriesPage: ResolverTypeWrapper<ICategoriesPage>;
|
|
3125
3178
|
CategoriesSortInput: ICategoriesSortInput;
|
|
3126
3179
|
Category: ResolverTypeWrapper<ICategory>;
|
|
3180
|
+
CategoryInput: ICategoryInput;
|
|
3127
3181
|
Collection: ResolverTypeWrapper<ICollection>;
|
|
3128
3182
|
CollectionAsset: ResolverTypeWrapper<ICollectionAsset>;
|
|
3129
3183
|
CollectionAssetsPage: ResolverTypeWrapper<ICollectionAssetsPage>;
|
|
@@ -3254,12 +3308,15 @@ export type IResolversParentTypes = {
|
|
|
3254
3308
|
ActiveInvite: IActiveInvite;
|
|
3255
3309
|
String: Scalars['String'];
|
|
3256
3310
|
Address: IAddress;
|
|
3311
|
+
AdminBrand: IAdminBrand;
|
|
3312
|
+
AdminCategory: IAdminCategory;
|
|
3257
3313
|
AdminInvite: IAdminInvite;
|
|
3258
3314
|
Int: Scalars['Int'];
|
|
3259
3315
|
AdminOpportunity: IAdminOpportunity;
|
|
3260
3316
|
ID: Scalars['ID'];
|
|
3261
3317
|
Boolean: Scalars['Boolean'];
|
|
3262
3318
|
Float: Scalars['Float'];
|
|
3319
|
+
AdminOpportunityInput: IAdminOpportunityInput;
|
|
3263
3320
|
AdminPage: IAdminPage;
|
|
3264
3321
|
AdminPageInput: IAdminPageInput;
|
|
3265
3322
|
AdminReferral: IAdminReferral;
|
|
@@ -3291,6 +3348,7 @@ export type IResolversParentTypes = {
|
|
|
3291
3348
|
CategoriesPage: ICategoriesPage;
|
|
3292
3349
|
CategoriesSortInput: ICategoriesSortInput;
|
|
3293
3350
|
Category: ICategory;
|
|
3351
|
+
CategoryInput: ICategoryInput;
|
|
3294
3352
|
Collection: ICollection;
|
|
3295
3353
|
CollectionAsset: ICollectionAsset;
|
|
3296
3354
|
CollectionAssetsPage: ICollectionAssetsPage;
|
|
@@ -3455,6 +3513,24 @@ export type IAddressResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
3455
3513
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3456
3514
|
};
|
|
3457
3515
|
|
|
3516
|
+
export type IAdminBrandResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminBrand'] = IResolversParentTypes['AdminBrand']> = {
|
|
3517
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3518
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3519
|
+
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3520
|
+
description?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3521
|
+
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3522
|
+
link?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3523
|
+
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3524
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3525
|
+
};
|
|
3526
|
+
|
|
3527
|
+
export type IAdminCategoryResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminCategory'] = IResolversParentTypes['AdminCategory']> = {
|
|
3528
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3529
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3530
|
+
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3531
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3532
|
+
};
|
|
3533
|
+
|
|
3458
3534
|
export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvite'] = IResolversParentTypes['AdminInvite']> = {
|
|
3459
3535
|
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3460
3536
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -3742,33 +3818,31 @@ export type IBannerAssetsPageResolvers<ContextType = any, ParentType extends IRe
|
|
|
3742
3818
|
|
|
3743
3819
|
export type IBrandResolvers<ContextType = any, ParentType extends IResolversParentTypes['Brand'] = IResolversParentTypes['Brand']> = {
|
|
3744
3820
|
brandId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
3745
|
-
|
|
3746
|
-
|
|
3821
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3822
|
+
matchingWords?: Resolver<Array<Maybe<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
3823
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3747
3824
|
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3748
3825
|
link?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3749
|
-
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3750
3826
|
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3751
|
-
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3752
3827
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3753
3828
|
};
|
|
3754
3829
|
|
|
3755
3830
|
export type IBrandsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['BrandsPage'] = IResolversParentTypes['BrandsPage']> = {
|
|
3756
|
-
brands?: Resolver<Array<IResolversTypes['
|
|
3831
|
+
brands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
3757
3832
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
3758
3833
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3759
3834
|
};
|
|
3760
3835
|
|
|
3761
3836
|
export type ICategoriesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['CategoriesPage'] = IResolversParentTypes['CategoriesPage']> = {
|
|
3762
|
-
categories?: Resolver<Array<IResolversTypes['
|
|
3837
|
+
categories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
3763
3838
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
3764
3839
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3765
3840
|
};
|
|
3766
3841
|
|
|
3767
3842
|
export type ICategoryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Category'] = IResolversParentTypes['Category']> = {
|
|
3768
3843
|
categoryId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
3769
|
-
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3770
|
-
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
3771
3844
|
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
3845
|
+
matchingWords?: Resolver<Array<Maybe<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
3772
3846
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
3773
3847
|
};
|
|
3774
3848
|
|
|
@@ -4326,6 +4400,9 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
4326
4400
|
subscribeGallery?: Resolver<IResolversTypes['Int'], ParentType, ContextType, RequireFields<IMutationSubscribeGalleryArgs, 'galleryId'>>;
|
|
4327
4401
|
unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
|
|
4328
4402
|
unsubscribeGallery?: Resolver<IResolversTypes['Int'], ParentType, ContextType, RequireFields<IMutationUnsubscribeGalleryArgs, 'galleryId'>>;
|
|
4403
|
+
updateBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArgs, 'id' | 'input'>>;
|
|
4404
|
+
updateCategory?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArgs, 'id' | 'input'>>;
|
|
4405
|
+
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
4329
4406
|
updateOpportunityPushStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityPushStatusArgs, 'opportunityId' | 'isActive'>>;
|
|
4330
4407
|
updateProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, Partial<IMutationUpdateProfileArgs>>;
|
|
4331
4408
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
@@ -4494,9 +4571,9 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
4494
4571
|
fetchBannerAssets?: Resolver<Array<Maybe<IResolversTypes['BannerAsset']>>, ParentType, ContextType, RequireFields<IQueryFetchBannerAssetsArgs, 'pageSize'>>;
|
|
4495
4572
|
fetchBlockchainSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
4496
4573
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
4497
|
-
fetchBrands?: Resolver<Array<IResolversTypes['
|
|
4574
|
+
fetchBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
4498
4575
|
fetchBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
4499
|
-
fetchCategories?: Resolver<Array<IResolversTypes['
|
|
4576
|
+
fetchCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
4500
4577
|
fetchCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
4501
4578
|
fetchCategorySelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
4502
4579
|
fetchCollection?: Resolver<IResolversTypes['Collection'], ParentType, ContextType, RequireFields<IQueryFetchCollectionArgs, 'collectionId'>>;
|
|
@@ -4912,6 +4989,8 @@ export type IXpPageResolvers<ContextType = any, ParentType extends IResolversPar
|
|
|
4912
4989
|
export type IResolvers<ContextType = any> = {
|
|
4913
4990
|
ActiveInvite?: IActiveInviteResolvers<ContextType>;
|
|
4914
4991
|
Address?: IAddressResolvers<ContextType>;
|
|
4992
|
+
AdminBrand?: IAdminBrandResolvers<ContextType>;
|
|
4993
|
+
AdminCategory?: IAdminCategoryResolvers<ContextType>;
|
|
4915
4994
|
AdminInvite?: IAdminInviteResolvers<ContextType>;
|
|
4916
4995
|
AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
|
|
4917
4996
|
AdminPage?: IAdminPageResolvers<ContextType>;
|
|
@@ -5058,7 +5137,7 @@ export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
|
|
|
5058
5137
|
|
|
5059
5138
|
export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
5060
5139
|
file?: Maybe<Scalars['Upload']>;
|
|
5061
|
-
input:
|
|
5140
|
+
input: IAdminOpportunityInput;
|
|
5062
5141
|
}>;
|
|
5063
5142
|
|
|
5064
5143
|
|
|
@@ -5152,7 +5231,7 @@ export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
|
|
|
5152
5231
|
export type IFetchBrandsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
5153
5232
|
|
|
5154
5233
|
|
|
5155
|
-
export type IFetchBrandsQuery = { fetchBrands: Array<Pick<
|
|
5234
|
+
export type IFetchBrandsQuery = { fetchBrands: Array<Pick<IAdminBrand, 'id' | 'name'>> };
|
|
5156
5235
|
|
|
5157
5236
|
export type IFetchBrandsPageQueryVariables = Exact<{
|
|
5158
5237
|
filter: IBrandsFilterInput;
|
|
@@ -5161,12 +5240,12 @@ export type IFetchBrandsPageQueryVariables = Exact<{
|
|
|
5161
5240
|
}>;
|
|
5162
5241
|
|
|
5163
5242
|
|
|
5164
|
-
export type IFetchBrandsPageQuery = { fetchBrandsPage: { brands: Array<Pick<
|
|
5243
|
+
export type IFetchBrandsPageQuery = { fetchBrandsPage: { brands: Array<Pick<IAdminBrand, 'description' | 'id' | 'industry' | 'link' | 'matchingWords' | 'media' | 'name'>>, nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>> } };
|
|
5165
5244
|
|
|
5166
5245
|
export type IFetchCategoriesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
5167
5246
|
|
|
5168
5247
|
|
|
5169
|
-
export type IFetchCategoriesQuery = { fetchCategories: Array<Pick<
|
|
5248
|
+
export type IFetchCategoriesQuery = { fetchCategories: Array<Pick<IAdminCategory, 'id' | 'name'>> };
|
|
5170
5249
|
|
|
5171
5250
|
export type IFetchCategoriesPageQueryVariables = Exact<{
|
|
5172
5251
|
filter: ICategoriesFilterInput;
|
|
@@ -5175,7 +5254,7 @@ export type IFetchCategoriesPageQueryVariables = Exact<{
|
|
|
5175
5254
|
}>;
|
|
5176
5255
|
|
|
5177
5256
|
|
|
5178
|
-
export type IFetchCategoriesPageQuery = { fetchCategoriesPage: { categories: Array<Pick<
|
|
5257
|
+
export type IFetchCategoriesPageQuery = { fetchCategoriesPage: { categories: Array<Pick<IAdminCategory, 'id' | 'name' | 'matchingWords'>>, nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>> } };
|
|
5179
5258
|
|
|
5180
5259
|
export type IDislikeAssetMutationVariables = Exact<{
|
|
5181
5260
|
assetId: Scalars['String'];
|
|
@@ -6257,7 +6336,7 @@ export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMuta
|
|
|
6257
6336
|
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
6258
6337
|
export type CreateBrandMutationOptions = Apollo.BaseMutationOptions<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
6259
6338
|
export const CreateAdminOpportunityDocument = gql`
|
|
6260
|
-
mutation createAdminOpportunity($file: Upload, $input:
|
|
6339
|
+
mutation createAdminOpportunity($file: Upload, $input: AdminOpportunityInput!) {
|
|
6261
6340
|
createAdminOpportunity(file: $file, input: $input)
|
|
6262
6341
|
}
|
|
6263
6342
|
`;
|