@ludo.ninja/api 3.1.6 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +42 -8
- package/build/graphql_tools/__generated__/adminHost/schema.js +30 -4
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +3 -1
- package/build/graphql_tools/__generated__/identityHost/schema.js +1 -0
- package/build/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +54 -10
- package/src/graphql_tools/__generated__/identityHost/schema.ts +4 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -632,6 +632,7 @@ export type IMutation = {
|
|
|
632
632
|
updateInviteCodeUsagesLimit: Scalars['Boolean'];
|
|
633
633
|
updateLeaderboard: Scalars['Boolean'];
|
|
634
634
|
createPublisher: Scalars['Boolean'];
|
|
635
|
+
updatePublisher: Scalars['Boolean'];
|
|
635
636
|
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
636
637
|
createBrand: Scalars['Boolean'];
|
|
637
638
|
updateBrand: Scalars['Boolean'];
|
|
@@ -681,6 +682,9 @@ export type IMutationUpdateLeaderboardArgs = {
|
|
|
681
682
|
export type IMutationCreatePublisherArgs = {
|
|
682
683
|
input: IPublisherInput;
|
|
683
684
|
};
|
|
685
|
+
export type IMutationUpdatePublisherArgs = {
|
|
686
|
+
input: IPublisherInput;
|
|
687
|
+
};
|
|
684
688
|
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
685
689
|
opportunityId: Scalars['ID'];
|
|
686
690
|
isActive: Scalars['Boolean'];
|
|
@@ -877,6 +881,12 @@ export declare enum IProjectType {
|
|
|
877
881
|
GameFi = "GAME_FI",
|
|
878
882
|
DeFi = "DE_FI"
|
|
879
883
|
}
|
|
884
|
+
export type IPublisherInput = {
|
|
885
|
+
wallet?: Maybe<Scalars['String']>;
|
|
886
|
+
userId?: Maybe<Scalars['String']>;
|
|
887
|
+
monitorsLimit: Scalars['Int'];
|
|
888
|
+
activeUntil: Scalars['Long'];
|
|
889
|
+
};
|
|
880
890
|
export type IQuery = {
|
|
881
891
|
getDummy: Scalars['String'];
|
|
882
892
|
fetchContactSupportPage: IContactSupportPage;
|
|
@@ -1274,12 +1284,6 @@ export type IXpSortInput = {
|
|
|
1274
1284
|
sortByConnectedWalletsNum?: Maybe<ISort>;
|
|
1275
1285
|
sortBySuggestedOpportunities?: Maybe<ISort>;
|
|
1276
1286
|
};
|
|
1277
|
-
export type IPublisherInput = {
|
|
1278
|
-
wallet?: Maybe<Scalars['String']>;
|
|
1279
|
-
userId?: Maybe<Scalars['String']>;
|
|
1280
|
-
monitorsLimit: Scalars['Int'];
|
|
1281
|
-
activeUntil: Scalars['Long'];
|
|
1282
|
-
};
|
|
1283
1287
|
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
1284
1288
|
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
1285
1289
|
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
@@ -1397,6 +1401,7 @@ export type IResolversTypes = {
|
|
|
1397
1401
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1398
1402
|
PayloadType: IPayloadType;
|
|
1399
1403
|
ProjectType: IProjectType;
|
|
1404
|
+
PublisherInput: IPublisherInput;
|
|
1400
1405
|
Query: ResolverTypeWrapper<{}>;
|
|
1401
1406
|
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
1402
1407
|
RateLimitsInput: IRateLimitsInput;
|
|
@@ -1435,7 +1440,6 @@ export type IResolversTypes = {
|
|
|
1435
1440
|
XpFilterInput: IXpFilterInput;
|
|
1436
1441
|
XpPage: ResolverTypeWrapper<IXpPage>;
|
|
1437
1442
|
XpSortInput: IXpSortInput;
|
|
1438
|
-
publisherInput: IPublisherInput;
|
|
1439
1443
|
};
|
|
1440
1444
|
/** Mapping between all available schema types and the resolvers parents */
|
|
1441
1445
|
export type IResolversParentTypes = {
|
|
@@ -1518,6 +1522,7 @@ export type IResolversParentTypes = {
|
|
|
1518
1522
|
PartnershipInquiryFilterInput: IPartnershipInquiryFilterInput;
|
|
1519
1523
|
PartnershipInquiryPage: IPartnershipInquiryPage;
|
|
1520
1524
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1525
|
+
PublisherInput: IPublisherInput;
|
|
1521
1526
|
Query: {};
|
|
1522
1527
|
RateLimits: IRateLimits;
|
|
1523
1528
|
RateLimitsInput: IRateLimitsInput;
|
|
@@ -1553,7 +1558,6 @@ export type IResolversParentTypes = {
|
|
|
1553
1558
|
XpFilterInput: IXpFilterInput;
|
|
1554
1559
|
XpPage: IXpPage;
|
|
1555
1560
|
XpSortInput: IXpSortInput;
|
|
1556
|
-
publisherInput: IPublisherInput;
|
|
1557
1561
|
};
|
|
1558
1562
|
export type IMinDirectiveArgs = {
|
|
1559
1563
|
value?: Maybe<Scalars['Int']>;
|
|
@@ -1928,6 +1932,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1928
1932
|
updateInviteCodeUsagesLimit?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateInviteCodeUsagesLimitArgs, 'code' | 'usagesLimit'>>;
|
|
1929
1933
|
updateLeaderboard?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateLeaderboardArgs, 'type' | 'input'>>;
|
|
1930
1934
|
createPublisher?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreatePublisherArgs, 'input'>>;
|
|
1935
|
+
updatePublisher?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdatePublisherArgs, 'input'>>;
|
|
1931
1936
|
updateOpportunityPushStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityPushStatusArgs, 'opportunityId' | 'isActive'>>;
|
|
1932
1937
|
createBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateBrandArgs, 'brand'>>;
|
|
1933
1938
|
updateBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArgs, 'id' | 'input'>>;
|
|
@@ -2328,6 +2333,10 @@ export type IUpdateProjectMutationVariables = Exact<{
|
|
|
2328
2333
|
input: IAdminProjectInput;
|
|
2329
2334
|
}>;
|
|
2330
2335
|
export type IUpdateProjectMutation = Pick<IMutation, 'updateProject'>;
|
|
2336
|
+
export type IUpdatePublisherMutationVariables = Exact<{
|
|
2337
|
+
input: IPublisherInput;
|
|
2338
|
+
}>;
|
|
2339
|
+
export type IUpdatePublisherMutation = Pick<IMutation, 'updatePublisher'>;
|
|
2331
2340
|
export type ICheckInviteCodeQueryVariables = Exact<{
|
|
2332
2341
|
code: Scalars['String'];
|
|
2333
2342
|
}>;
|
|
@@ -3499,6 +3508,31 @@ export declare function useUpdateProjectMutation(baseOptions?: Apollo.MutationHo
|
|
|
3499
3508
|
export type UpdateProjectMutationHookResult = ReturnType<typeof useUpdateProjectMutation>;
|
|
3500
3509
|
export type UpdateProjectMutationResult = Apollo.MutationResult<IUpdateProjectMutation>;
|
|
3501
3510
|
export type UpdateProjectMutationOptions = Apollo.BaseMutationOptions<IUpdateProjectMutation, IUpdateProjectMutationVariables>;
|
|
3511
|
+
export declare const UpdatePublisherDocument: Apollo.DocumentNode;
|
|
3512
|
+
export type IUpdatePublisherMutationFn = Apollo.MutationFunction<IUpdatePublisherMutation, IUpdatePublisherMutationVariables>;
|
|
3513
|
+
/**
|
|
3514
|
+
* __useUpdatePublisherMutation__
|
|
3515
|
+
*
|
|
3516
|
+
* To run a mutation, you first call `useUpdatePublisherMutation` within a React component and pass it any options that fit your needs.
|
|
3517
|
+
* When your component renders, `useUpdatePublisherMutation` returns a tuple that includes:
|
|
3518
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3519
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3520
|
+
*
|
|
3521
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
3522
|
+
*
|
|
3523
|
+
* @example
|
|
3524
|
+
* const [updatePublisherMutation, { data, loading, error }] = useUpdatePublisherMutation({
|
|
3525
|
+
* variables: {
|
|
3526
|
+
* input: // value for 'input'
|
|
3527
|
+
* },
|
|
3528
|
+
* });
|
|
3529
|
+
*/
|
|
3530
|
+
export declare function useUpdatePublisherMutation(baseOptions?: Apollo.MutationHookOptions<IUpdatePublisherMutation, IUpdatePublisherMutationVariables>): Apollo.MutationTuple<IUpdatePublisherMutation, Exact<{
|
|
3531
|
+
input: IPublisherInput;
|
|
3532
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3533
|
+
export type UpdatePublisherMutationHookResult = ReturnType<typeof useUpdatePublisherMutation>;
|
|
3534
|
+
export type UpdatePublisherMutationResult = Apollo.MutationResult<IUpdatePublisherMutation>;
|
|
3535
|
+
export type UpdatePublisherMutationOptions = Apollo.BaseMutationOptions<IUpdatePublisherMutation, IUpdatePublisherMutationVariables>;
|
|
3502
3536
|
export declare const CheckInviteCodeDocument: Apollo.DocumentNode;
|
|
3503
3537
|
/**
|
|
3504
3538
|
* __useCheckInviteCodeQuery__
|
|
@@ -24,9 +24,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useRegenerateOpportunityPayloadSecretKeyMutation = exports.RegenerateOpportunityPayloadSecretKeyDocument = exports.useCreatePublisherMutation = exports.CreatePublisherDocument = exports.useCreateProjectMutation = exports.CreateProjectDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateCompanyTokenMutation = exports.CreateCompanyTokenDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.useUpdateTierArchivedStatusMutation = exports.UpdateTierArchivedStatusDocument = exports.useUpdateTierMutation = exports.UpdateTierDocument = exports.useUpdateReferralTypeArchivedStatusMutation = exports.UpdateReferralTypeArchivedStatusDocument = exports.useUpdateReferralTypeMutation = exports.UpdateReferralTypeDocument = exports.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.useTriggerOpportunityNotificationMutation = exports.TriggerOpportunityNotificationDocument = exports.useCreateTierMutation = exports.CreateTierDocument = exports.useCreateReferralTypeMutation = exports.CreateReferralTypeDocument = exports.ITariffPlan = exports.ISortDirection = exports.IReftypeColor = exports.IProjectType = exports.IPayloadType = exports.IOpportunityType = exports.INotificationDestination = exports.ILoginSource = exports.ILocationType = exports.ILeaderboardType = exports.IDevicePlatform = exports.IAuthorityType = exports.IAccessType = void 0;
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.useFetchProjectReactionsInfoCsvLazyQuery = exports.useFetchProjectReactionsInfoCsvQuery = exports.FetchProjectReactionsInfoCsvDocument = exports.useFetchMonitoringPageLazyQuery = exports.useFetchMonitoringPageQuery = exports.FetchMonitoringPageDocument = exports.useFetchLeaderboardProjectsPageLazyQuery = exports.useFetchLeaderboardProjectsPageQuery = exports.FetchLeaderboardProjectsPageDocument = exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchDefaultRateLimitsLazyQuery = exports.useFetchDefaultRateLimitsQuery = exports.FetchDefaultRateLimitsDocument = exports.useFetchCompanyTokensPageLazyQuery = exports.useFetchCompanyTokensPageQuery = exports.FetchCompanyTokensPageDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = void 0;
|
|
27
|
+
exports.useFetchUnarchivedReferralTypesLazyQuery = exports.useFetchUnarchivedReferralTypesQuery = exports.FetchUnarchivedReferralTypesDocument = exports.useFetchPartnershipInquiryPageLazyQuery = exports.useFetchPartnershipInquiryPageQuery = exports.FetchPartnershipInquiryPageDocument = exports.useFetchInvestorInquiryPageLazyQuery = exports.useFetchInvestorInquiryPageQuery = exports.FetchInvestorInquiryPageDocument = exports.useFetchFormOpportunityPageLazyQuery = exports.useFetchFormOpportunityPageQuery = exports.FetchFormOpportunityPageDocument = exports.useFetchContentReportPageLazyQuery = exports.useFetchContentReportPageQuery = exports.FetchContentReportPageDocument = exports.useFetchContactSupportPageLazyQuery = exports.useFetchContactSupportPageQuery = exports.FetchContactSupportPageDocument = exports.useCheckInviteCodeLazyQuery = exports.useCheckInviteCodeQuery = exports.CheckInviteCodeDocument = exports.useUpdatePublisherMutation = exports.UpdatePublisherDocument = exports.useUpdateProjectMutation = exports.UpdateProjectDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateOpportunityArchivedStatusMutation = exports.UpdateOpportunityArchivedStatusDocument = exports.useUpdateOpportunityMutation = exports.UpdateOpportunityDocument = exports.useUpdateLeaderboardProjectHiddenStatusMutation = exports.UpdateLeaderboardProjectHiddenStatusDocument = exports.useUpdateLeaderboardMutation = exports.UpdateLeaderboardDocument = exports.useUpdateCompanyTokenRateLimitsMutation = exports.UpdateCompanyTokenRateLimitsDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = exports.useUpdateAirdropMutation = exports.UpdateAirdropDocument = exports.useRevokeCompanyTokenMutation = exports.RevokeCompanyTokenDocument = exports.useRemoveInviteCodeMutation = void 0;
|
|
28
|
+
exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminProjectsPageLazyQuery = exports.useFetchAdminProjectsPageQuery = exports.FetchAdminProjectsPageDocument = exports.useFetchAdminProjectsLazyQuery = exports.useFetchAdminProjectsQuery = exports.FetchAdminProjectsDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminOpportunitiesByTypeLazyQuery = exports.useFetchAdminOpportunitiesByTypeQuery = exports.FetchAdminOpportunitiesByTypeDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchAdminAirdropsPageLazyQuery = exports.useFetchAdminAirdropsPageQuery = exports.FetchAdminAirdropsPageDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchTiersPageLazyQuery = exports.useFetchTiersPageQuery = exports.FetchTiersPageDocument = exports.useFetchTiersLazyQuery = exports.useFetchTiersQuery = exports.FetchTiersDocument = exports.useFetchRegistrationInvitePageLazyQuery = exports.useFetchRegistrationInvitePageQuery = exports.FetchRegistrationInvitePageDocument = exports.useFetchReferralTypesPageLazyQuery = exports.useFetchReferralTypesPageQuery = exports.FetchReferralTypesPageDocument = void 0;
|
|
29
|
+
exports.useFetchProjectReactionsInfoCsvLazyQuery = exports.useFetchProjectReactionsInfoCsvQuery = exports.FetchProjectReactionsInfoCsvDocument = exports.useFetchMonitoringPageLazyQuery = exports.useFetchMonitoringPageQuery = exports.FetchMonitoringPageDocument = exports.useFetchLeaderboardProjectsPageLazyQuery = exports.useFetchLeaderboardProjectsPageQuery = exports.FetchLeaderboardProjectsPageDocument = exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchDefaultRateLimitsLazyQuery = exports.useFetchDefaultRateLimitsQuery = exports.FetchDefaultRateLimitsDocument = exports.useFetchCompanyTokensPageLazyQuery = exports.useFetchCompanyTokensPageQuery = exports.FetchCompanyTokensPageDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = void 0;
|
|
30
30
|
const client_1 = require("@apollo/client");
|
|
31
31
|
const Apollo = __importStar(require("@apollo/client"));
|
|
32
32
|
var IAccessType;
|
|
@@ -523,7 +523,7 @@ function useCreateProjectMutation(baseOptions) {
|
|
|
523
523
|
}
|
|
524
524
|
exports.useCreateProjectMutation = useCreateProjectMutation;
|
|
525
525
|
exports.CreatePublisherDocument = (0, client_1.gql) `
|
|
526
|
-
mutation CreatePublisher($input:
|
|
526
|
+
mutation CreatePublisher($input: PublisherInput!) {
|
|
527
527
|
createPublisher(input: $input)
|
|
528
528
|
}
|
|
529
529
|
`;
|
|
@@ -980,6 +980,32 @@ function useUpdateProjectMutation(baseOptions) {
|
|
|
980
980
|
return Apollo.useMutation(exports.UpdateProjectDocument, baseOptions);
|
|
981
981
|
}
|
|
982
982
|
exports.useUpdateProjectMutation = useUpdateProjectMutation;
|
|
983
|
+
exports.UpdatePublisherDocument = (0, client_1.gql) `
|
|
984
|
+
mutation UpdatePublisher($input: PublisherInput!) {
|
|
985
|
+
updatePublisher(input: $input)
|
|
986
|
+
}
|
|
987
|
+
`;
|
|
988
|
+
/**
|
|
989
|
+
* __useUpdatePublisherMutation__
|
|
990
|
+
*
|
|
991
|
+
* To run a mutation, you first call `useUpdatePublisherMutation` within a React component and pass it any options that fit your needs.
|
|
992
|
+
* When your component renders, `useUpdatePublisherMutation` returns a tuple that includes:
|
|
993
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
994
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
995
|
+
*
|
|
996
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
997
|
+
*
|
|
998
|
+
* @example
|
|
999
|
+
* const [updatePublisherMutation, { data, loading, error }] = useUpdatePublisherMutation({
|
|
1000
|
+
* variables: {
|
|
1001
|
+
* input: // value for 'input'
|
|
1002
|
+
* },
|
|
1003
|
+
* });
|
|
1004
|
+
*/
|
|
1005
|
+
function useUpdatePublisherMutation(baseOptions) {
|
|
1006
|
+
return Apollo.useMutation(exports.UpdatePublisherDocument, baseOptions);
|
|
1007
|
+
}
|
|
1008
|
+
exports.useUpdatePublisherMutation = useUpdatePublisherMutation;
|
|
983
1009
|
exports.CheckInviteCodeDocument = (0, client_1.gql) `
|
|
984
1010
|
query CheckInviteCode($code: String!) {
|
|
985
1011
|
checkInviteCode(code: $code) {
|
|
@@ -133,6 +133,7 @@ export type ILudoNft = {
|
|
|
133
133
|
tokenId?: Maybe<Scalars['String']>;
|
|
134
134
|
tierId: Scalars['String'];
|
|
135
135
|
minterAddress: Scalars['String'];
|
|
136
|
+
originalUrls?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
136
137
|
};
|
|
137
138
|
/** noinspection SpellCheckingInspection */
|
|
138
139
|
export type IMultiversxAudit = {
|
|
@@ -630,6 +631,7 @@ export type ILudoNftResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
630
631
|
tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
631
632
|
tierId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
632
633
|
minterAddress?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
634
|
+
originalUrls?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
|
|
633
635
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
634
636
|
};
|
|
635
637
|
export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IResolversParentTypes['MultiversxAudit'] = IResolversParentTypes['MultiversxAudit']> = {
|
|
@@ -1041,7 +1043,7 @@ export type IFetchLudoNftForWalletQueryVariables = Exact<{
|
|
|
1041
1043
|
address: Scalars['String'];
|
|
1042
1044
|
}>;
|
|
1043
1045
|
export type IFetchLudoNftForWalletQuery = {
|
|
1044
|
-
fetchLudoNftForWallet?: Maybe<Pick<ILudoNft, 'blockchain' | 'address' | 'tierId' | 'tokenId' | 'minterAddress'>>;
|
|
1046
|
+
fetchLudoNftForWallet?: Maybe<Pick<ILudoNft, 'blockchain' | 'address' | 'tierId' | 'tokenId' | 'minterAddress' | 'originalUrls'>>;
|
|
1045
1047
|
};
|
|
1046
1048
|
export type IFetchProfileQueryVariables = Exact<{
|
|
1047
1049
|
userId: Scalars['ID'];
|
package/build/index.d.ts
CHANGED
|
@@ -1908,6 +1908,11 @@ declare const schema: {
|
|
|
1908
1908
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IUpdateProjectMutation, adminSchema.Exact<{
|
|
1909
1909
|
input: adminSchema.IAdminProjectInput;
|
|
1910
1910
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1911
|
+
useUpdatePublisherMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdatePublisherMutation, adminSchema.Exact<{
|
|
1912
|
+
input: adminSchema.IPublisherInput;
|
|
1913
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IUpdatePublisherMutation, adminSchema.Exact<{
|
|
1914
|
+
input: adminSchema.IPublisherInput;
|
|
1915
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1911
1916
|
useCheckInviteCodeQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.ICheckInviteCodeQuery, adminSchema.Exact<{
|
|
1912
1917
|
code: string;
|
|
1913
1918
|
}>>): import("@apollo/client").QueryResult<adminSchema.ICheckInviteCodeQuery, adminSchema.Exact<{
|
|
@@ -2445,6 +2450,7 @@ declare const schema: {
|
|
|
2445
2450
|
UpdateOpportunityArchivedStatusDocument: import("graphql").DocumentNode;
|
|
2446
2451
|
UpdateProfileStatusDocument: import("graphql").DocumentNode;
|
|
2447
2452
|
UpdateProjectDocument: import("graphql").DocumentNode;
|
|
2453
|
+
UpdatePublisherDocument: import("graphql").DocumentNode;
|
|
2448
2454
|
CheckInviteCodeDocument: import("graphql").DocumentNode;
|
|
2449
2455
|
FetchContactSupportPageDocument: import("graphql").DocumentNode;
|
|
2450
2456
|
FetchContentReportPageDocument: import("graphql").DocumentNode;
|
package/package.json
CHANGED
|
@@ -700,6 +700,7 @@ export type IMutation = {
|
|
|
700
700
|
updateInviteCodeUsagesLimit: Scalars['Boolean'];
|
|
701
701
|
updateLeaderboard: Scalars['Boolean'];
|
|
702
702
|
createPublisher: Scalars['Boolean'];
|
|
703
|
+
updatePublisher: Scalars['Boolean'];
|
|
703
704
|
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
704
705
|
createBrand: Scalars['Boolean'];
|
|
705
706
|
updateBrand: Scalars['Boolean'];
|
|
@@ -761,6 +762,11 @@ export type IMutationCreatePublisherArgs = {
|
|
|
761
762
|
};
|
|
762
763
|
|
|
763
764
|
|
|
765
|
+
export type IMutationUpdatePublisherArgs = {
|
|
766
|
+
input: IPublisherInput;
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
|
|
764
770
|
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
765
771
|
opportunityId: Scalars['ID'];
|
|
766
772
|
isActive: Scalars['Boolean'];
|
|
@@ -1025,6 +1031,13 @@ export enum IProjectType {
|
|
|
1025
1031
|
DeFi = 'DE_FI'
|
|
1026
1032
|
}
|
|
1027
1033
|
|
|
1034
|
+
export type IPublisherInput = {
|
|
1035
|
+
wallet?: Maybe<Scalars['String']>;
|
|
1036
|
+
userId?: Maybe<Scalars['String']>;
|
|
1037
|
+
monitorsLimit: Scalars['Int'];
|
|
1038
|
+
activeUntil: Scalars['Long'];
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1028
1041
|
export type IQuery = {
|
|
1029
1042
|
getDummy: Scalars['String'];
|
|
1030
1043
|
fetchContactSupportPage: IContactSupportPage;
|
|
@@ -1514,13 +1527,6 @@ export type IXpSortInput = {
|
|
|
1514
1527
|
sortBySuggestedOpportunities?: Maybe<ISort>;
|
|
1515
1528
|
};
|
|
1516
1529
|
|
|
1517
|
-
export type IPublisherInput = {
|
|
1518
|
-
wallet?: Maybe<Scalars['String']>;
|
|
1519
|
-
userId?: Maybe<Scalars['String']>;
|
|
1520
|
-
monitorsLimit: Scalars['Int'];
|
|
1521
|
-
activeUntil: Scalars['Long'];
|
|
1522
|
-
};
|
|
1523
|
-
|
|
1524
1530
|
|
|
1525
1531
|
|
|
1526
1532
|
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
@@ -1679,6 +1685,7 @@ export type IResolversTypes = {
|
|
|
1679
1685
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1680
1686
|
PayloadType: IPayloadType;
|
|
1681
1687
|
ProjectType: IProjectType;
|
|
1688
|
+
PublisherInput: IPublisherInput;
|
|
1682
1689
|
Query: ResolverTypeWrapper<{}>;
|
|
1683
1690
|
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
1684
1691
|
RateLimitsInput: IRateLimitsInput;
|
|
@@ -1717,7 +1724,6 @@ export type IResolversTypes = {
|
|
|
1717
1724
|
XpFilterInput: IXpFilterInput;
|
|
1718
1725
|
XpPage: ResolverTypeWrapper<IXpPage>;
|
|
1719
1726
|
XpSortInput: IXpSortInput;
|
|
1720
|
-
publisherInput: IPublisherInput;
|
|
1721
1727
|
};
|
|
1722
1728
|
|
|
1723
1729
|
/** Mapping between all available schema types and the resolvers parents */
|
|
@@ -1801,6 +1807,7 @@ export type IResolversParentTypes = {
|
|
|
1801
1807
|
PartnershipInquiryFilterInput: IPartnershipInquiryFilterInput;
|
|
1802
1808
|
PartnershipInquiryPage: IPartnershipInquiryPage;
|
|
1803
1809
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1810
|
+
PublisherInput: IPublisherInput;
|
|
1804
1811
|
Query: {};
|
|
1805
1812
|
RateLimits: IRateLimits;
|
|
1806
1813
|
RateLimitsInput: IRateLimitsInput;
|
|
@@ -1836,7 +1843,6 @@ export type IResolversParentTypes = {
|
|
|
1836
1843
|
XpFilterInput: IXpFilterInput;
|
|
1837
1844
|
XpPage: IXpPage;
|
|
1838
1845
|
XpSortInput: IXpSortInput;
|
|
1839
|
-
publisherInput: IPublisherInput;
|
|
1840
1846
|
};
|
|
1841
1847
|
|
|
1842
1848
|
export type IMinDirectiveArgs = {
|
|
@@ -2253,6 +2259,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
2253
2259
|
updateInviteCodeUsagesLimit?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateInviteCodeUsagesLimitArgs, 'code' | 'usagesLimit'>>;
|
|
2254
2260
|
updateLeaderboard?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateLeaderboardArgs, 'type' | 'input'>>;
|
|
2255
2261
|
createPublisher?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreatePublisherArgs, 'input'>>;
|
|
2262
|
+
updatePublisher?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdatePublisherArgs, 'input'>>;
|
|
2256
2263
|
updateOpportunityPushStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityPushStatusArgs, 'opportunityId' | 'isActive'>>;
|
|
2257
2264
|
createBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateBrandArgs, 'brand'>>;
|
|
2258
2265
|
updateBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArgs, 'id' | 'input'>>;
|
|
@@ -2771,6 +2778,13 @@ export type IUpdateProjectMutationVariables = Exact<{
|
|
|
2771
2778
|
|
|
2772
2779
|
export type IUpdateProjectMutation = Pick<IMutation, 'updateProject'>;
|
|
2773
2780
|
|
|
2781
|
+
export type IUpdatePublisherMutationVariables = Exact<{
|
|
2782
|
+
input: IPublisherInput;
|
|
2783
|
+
}>;
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
export type IUpdatePublisherMutation = Pick<IMutation, 'updatePublisher'>;
|
|
2787
|
+
|
|
2774
2788
|
export type ICheckInviteCodeQueryVariables = Exact<{
|
|
2775
2789
|
code: Scalars['String'];
|
|
2776
2790
|
}>;
|
|
@@ -3514,7 +3528,7 @@ export type CreateProjectMutationHookResult = ReturnType<typeof useCreateProject
|
|
|
3514
3528
|
export type CreateProjectMutationResult = Apollo.MutationResult<ICreateProjectMutation>;
|
|
3515
3529
|
export type CreateProjectMutationOptions = Apollo.BaseMutationOptions<ICreateProjectMutation, ICreateProjectMutationVariables>;
|
|
3516
3530
|
export const CreatePublisherDocument = gql`
|
|
3517
|
-
mutation CreatePublisher($input:
|
|
3531
|
+
mutation CreatePublisher($input: PublisherInput!) {
|
|
3518
3532
|
createPublisher(input: $input)
|
|
3519
3533
|
}
|
|
3520
3534
|
`;
|
|
@@ -4039,6 +4053,36 @@ export function useUpdateProjectMutation(baseOptions?: Apollo.MutationHookOption
|
|
|
4039
4053
|
export type UpdateProjectMutationHookResult = ReturnType<typeof useUpdateProjectMutation>;
|
|
4040
4054
|
export type UpdateProjectMutationResult = Apollo.MutationResult<IUpdateProjectMutation>;
|
|
4041
4055
|
export type UpdateProjectMutationOptions = Apollo.BaseMutationOptions<IUpdateProjectMutation, IUpdateProjectMutationVariables>;
|
|
4056
|
+
export const UpdatePublisherDocument = gql`
|
|
4057
|
+
mutation UpdatePublisher($input: PublisherInput!) {
|
|
4058
|
+
updatePublisher(input: $input)
|
|
4059
|
+
}
|
|
4060
|
+
`;
|
|
4061
|
+
export type IUpdatePublisherMutationFn = Apollo.MutationFunction<IUpdatePublisherMutation, IUpdatePublisherMutationVariables>;
|
|
4062
|
+
|
|
4063
|
+
/**
|
|
4064
|
+
* __useUpdatePublisherMutation__
|
|
4065
|
+
*
|
|
4066
|
+
* To run a mutation, you first call `useUpdatePublisherMutation` within a React component and pass it any options that fit your needs.
|
|
4067
|
+
* When your component renders, `useUpdatePublisherMutation` returns a tuple that includes:
|
|
4068
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4069
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4070
|
+
*
|
|
4071
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
4072
|
+
*
|
|
4073
|
+
* @example
|
|
4074
|
+
* const [updatePublisherMutation, { data, loading, error }] = useUpdatePublisherMutation({
|
|
4075
|
+
* variables: {
|
|
4076
|
+
* input: // value for 'input'
|
|
4077
|
+
* },
|
|
4078
|
+
* });
|
|
4079
|
+
*/
|
|
4080
|
+
export function useUpdatePublisherMutation(baseOptions?: Apollo.MutationHookOptions<IUpdatePublisherMutation, IUpdatePublisherMutationVariables>) {
|
|
4081
|
+
return Apollo.useMutation<IUpdatePublisherMutation, IUpdatePublisherMutationVariables>(UpdatePublisherDocument, baseOptions);
|
|
4082
|
+
}
|
|
4083
|
+
export type UpdatePublisherMutationHookResult = ReturnType<typeof useUpdatePublisherMutation>;
|
|
4084
|
+
export type UpdatePublisherMutationResult = Apollo.MutationResult<IUpdatePublisherMutation>;
|
|
4085
|
+
export type UpdatePublisherMutationOptions = Apollo.BaseMutationOptions<IUpdatePublisherMutation, IUpdatePublisherMutationVariables>;
|
|
4042
4086
|
export const CheckInviteCodeDocument = gql`
|
|
4043
4087
|
query CheckInviteCode($code: String!) {
|
|
4044
4088
|
checkInviteCode(code: $code) {
|
|
@@ -148,6 +148,7 @@ export type ILudoNft = {
|
|
|
148
148
|
tokenId?: Maybe<Scalars['String']>;
|
|
149
149
|
tierId: Scalars['String'];
|
|
150
150
|
minterAddress: Scalars['String'];
|
|
151
|
+
originalUrls?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
151
152
|
};
|
|
152
153
|
|
|
153
154
|
/** noinspection SpellCheckingInspection */
|
|
@@ -790,6 +791,7 @@ export type ILudoNftResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
790
791
|
tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
791
792
|
tierId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
792
793
|
minterAddress?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
794
|
+
originalUrls?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
|
|
793
795
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
794
796
|
};
|
|
795
797
|
|
|
@@ -1249,7 +1251,7 @@ export type IFetchLudoNftForWalletQueryVariables = Exact<{
|
|
|
1249
1251
|
}>;
|
|
1250
1252
|
|
|
1251
1253
|
|
|
1252
|
-
export type IFetchLudoNftForWalletQuery = { fetchLudoNftForWallet?: Maybe<Pick<ILudoNft, 'blockchain' | 'address' | 'tierId' | 'tokenId' | 'minterAddress'>> };
|
|
1254
|
+
export type IFetchLudoNftForWalletQuery = { fetchLudoNftForWallet?: Maybe<Pick<ILudoNft, 'blockchain' | 'address' | 'tierId' | 'tokenId' | 'minterAddress' | 'originalUrls'>> };
|
|
1253
1255
|
|
|
1254
1256
|
export type IFetchProfileQueryVariables = Exact<{
|
|
1255
1257
|
userId: Scalars['ID'];
|
|
@@ -2381,6 +2383,7 @@ export const FetchLudoNftForWalletDocument = gql`
|
|
|
2381
2383
|
tierId
|
|
2382
2384
|
tokenId
|
|
2383
2385
|
minterAddress
|
|
2386
|
+
originalUrls
|
|
2384
2387
|
}
|
|
2385
2388
|
}
|
|
2386
2389
|
`;
|