@ludo.ninja/api 3.2.1 → 3.2.3
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 +18 -16
- package/build/graphql_tools/__generated__/adminHost/schema.js +16 -14
- package/build/graphql_tools/__generated__/mintInfoHost/schema.d.ts +26 -8
- package/build/graphql_tools/__generated__/mintInfoHost/schema.js +18 -13
- package/build/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +21 -19
- package/src/graphql_tools/__generated__/mintInfoHost/schema.ts +33 -9
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -386,6 +386,18 @@ export declare enum IAuthorityType {
|
|
|
386
386
|
Search = "SEARCH",
|
|
387
387
|
Medias = "MEDIAS"
|
|
388
388
|
}
|
|
389
|
+
export declare enum IBlockchains {
|
|
390
|
+
PolygonMainnet = "POLYGON_MAINNET",
|
|
391
|
+
PolygonAmoy = "POLYGON_AMOY",
|
|
392
|
+
EthereumMainnet = "ETHEREUM_MAINNET",
|
|
393
|
+
EthereumSepolia = "ETHEREUM_SEPOLIA",
|
|
394
|
+
BaseMainnet = "BASE_MAINNET",
|
|
395
|
+
BaseSepolia = "BASE_SEPOLIA",
|
|
396
|
+
BscMainnet = "BSC_MAINNET",
|
|
397
|
+
BscTestnet = "BSC_TESTNET",
|
|
398
|
+
TonTestnet = "TON_TESTNET",
|
|
399
|
+
TonMainnet = "TON_MAINNET"
|
|
400
|
+
}
|
|
389
401
|
export type IBrandInput = {
|
|
390
402
|
name: Scalars['String'];
|
|
391
403
|
matchingWords: Array<Scalars['String']>;
|
|
@@ -437,16 +449,6 @@ export type ICategoryInput = {
|
|
|
437
449
|
name: Scalars['String'];
|
|
438
450
|
matchingWords: Array<Scalars['String']>;
|
|
439
451
|
};
|
|
440
|
-
export declare enum IChains {
|
|
441
|
-
PolygonMainnet = "POLYGON_MAINNET",
|
|
442
|
-
PolygonAmoy = "POLYGON_AMOY",
|
|
443
|
-
EthereumMainnet = "ETHEREUM_MAINNET",
|
|
444
|
-
EthereumSepolia = "ETHEREUM_SEPOLIA",
|
|
445
|
-
BaseMainnet = "BASE_MAINNET",
|
|
446
|
-
BaseSepolia = "BASE_SEPOLIA",
|
|
447
|
-
BscMainnet = "BSC_MAINNET",
|
|
448
|
-
BscTestnet = "BSC_TESTNET"
|
|
449
|
-
}
|
|
450
452
|
export type ICheckInviteCodeData = {
|
|
451
453
|
code: Scalars['String'];
|
|
452
454
|
isAvailable: Scalars['Boolean'];
|
|
@@ -1187,11 +1189,11 @@ export type ITier = {
|
|
|
1187
1189
|
archived?: Maybe<Scalars['Boolean']>;
|
|
1188
1190
|
};
|
|
1189
1191
|
export type ITierFee = {
|
|
1190
|
-
|
|
1192
|
+
blockchain: IBlockchains;
|
|
1191
1193
|
fee?: Maybe<Scalars['Float']>;
|
|
1192
1194
|
};
|
|
1193
1195
|
export type ITierFeeInput = {
|
|
1194
|
-
|
|
1196
|
+
blockchain: IBlockchains;
|
|
1195
1197
|
fee?: Maybe<Scalars['Float']>;
|
|
1196
1198
|
};
|
|
1197
1199
|
export type ITierInput = {
|
|
@@ -1370,6 +1372,7 @@ export type IResolversTypes = {
|
|
|
1370
1372
|
AirdropsLeaderboardFilterInput: IAirdropsLeaderboardFilterInput;
|
|
1371
1373
|
AirdropsLeaderboardSortInput: IAirdropsLeaderboardSortInput;
|
|
1372
1374
|
AuthorityType: IAuthorityType;
|
|
1375
|
+
Blockchains: IBlockchains;
|
|
1373
1376
|
BrandInput: IBrandInput;
|
|
1374
1377
|
BrandsFilterInput: IBrandsFilterInput;
|
|
1375
1378
|
BrandsPage: ResolverTypeWrapper<IBrandsPage>;
|
|
@@ -1378,7 +1381,6 @@ export type IResolversTypes = {
|
|
|
1378
1381
|
CategoriesPage: ResolverTypeWrapper<ICategoriesPage>;
|
|
1379
1382
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1380
1383
|
CategoryInput: ICategoryInput;
|
|
1381
|
-
Chains: IChains;
|
|
1382
1384
|
CheckInviteCodeData: ResolverTypeWrapper<ICheckInviteCodeData>;
|
|
1383
1385
|
CompanyToken: ResolverTypeWrapper<ICompanyToken>;
|
|
1384
1386
|
CompanyTokenInput: ICompanyTokenInput;
|
|
@@ -2098,7 +2100,7 @@ export type ITierResolvers<ContextType = any, ParentType extends IResolversParen
|
|
|
2098
2100
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2099
2101
|
};
|
|
2100
2102
|
export type ITierFeeResolvers<ContextType = any, ParentType extends IResolversParentTypes['TierFee'] = IResolversParentTypes['TierFee']> = {
|
|
2101
|
-
|
|
2103
|
+
blockchain?: Resolver<IResolversTypes['Blockchains'], ParentType, ContextType>;
|
|
2102
2104
|
fee?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
2103
2105
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2104
2106
|
};
|
|
@@ -2460,7 +2462,7 @@ export type IFetchTiersQueryVariables = Exact<{
|
|
|
2460
2462
|
}>;
|
|
2461
2463
|
export type IFetchTiersQuery = {
|
|
2462
2464
|
fetchTiers: Array<(Pick<ITier, 'id' | 'name' | 'description' | 'archived'> & {
|
|
2463
|
-
fees?: Maybe<Array<Maybe<Pick<ITierFee, '
|
|
2465
|
+
fees?: Maybe<Array<Maybe<Pick<ITierFee, 'blockchain' | 'fee'>>>>;
|
|
2464
2466
|
})>;
|
|
2465
2467
|
};
|
|
2466
2468
|
export type IFetchTiersPageQueryVariables = Exact<{
|
|
@@ -2471,7 +2473,7 @@ export type IFetchTiersPageQueryVariables = Exact<{
|
|
|
2471
2473
|
export type IFetchTiersPageQuery = {
|
|
2472
2474
|
fetchTiersPage: {
|
|
2473
2475
|
tiers: Array<(Pick<ITier, 'id' | 'name' | 'description' | 'archived'> & {
|
|
2474
|
-
fees?: Maybe<Array<Maybe<Pick<ITierFee, '
|
|
2476
|
+
fees?: Maybe<Array<Maybe<Pick<ITierFee, 'blockchain' | 'fee'>>>>;
|
|
2475
2477
|
})>;
|
|
2476
2478
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2477
2479
|
};
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
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.
|
|
26
|
+
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.IBlockchains = exports.IAuthorityType = exports.IAccessType = void 0;
|
|
27
27
|
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 = exports.RemoveInviteCodeDocument = void 0;
|
|
28
28
|
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 = exports.useFetchUnarchivedReferralTypesLazyQuery = void 0;
|
|
29
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 = exports.useFetchAdminUsersPageQuery = void 0;
|
|
@@ -39,17 +39,19 @@ var IAuthorityType;
|
|
|
39
39
|
IAuthorityType["Search"] = "SEARCH";
|
|
40
40
|
IAuthorityType["Medias"] = "MEDIAS";
|
|
41
41
|
})(IAuthorityType || (exports.IAuthorityType = IAuthorityType = {}));
|
|
42
|
-
var
|
|
43
|
-
(function (
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
42
|
+
var IBlockchains;
|
|
43
|
+
(function (IBlockchains) {
|
|
44
|
+
IBlockchains["PolygonMainnet"] = "POLYGON_MAINNET";
|
|
45
|
+
IBlockchains["PolygonAmoy"] = "POLYGON_AMOY";
|
|
46
|
+
IBlockchains["EthereumMainnet"] = "ETHEREUM_MAINNET";
|
|
47
|
+
IBlockchains["EthereumSepolia"] = "ETHEREUM_SEPOLIA";
|
|
48
|
+
IBlockchains["BaseMainnet"] = "BASE_MAINNET";
|
|
49
|
+
IBlockchains["BaseSepolia"] = "BASE_SEPOLIA";
|
|
50
|
+
IBlockchains["BscMainnet"] = "BSC_MAINNET";
|
|
51
|
+
IBlockchains["BscTestnet"] = "BSC_TESTNET";
|
|
52
|
+
IBlockchains["TonTestnet"] = "TON_TESTNET";
|
|
53
|
+
IBlockchains["TonMainnet"] = "TON_MAINNET";
|
|
54
|
+
})(IBlockchains || (exports.IBlockchains = IBlockchains = {}));
|
|
53
55
|
/** Sync with DevicePlatform.java */
|
|
54
56
|
var IDevicePlatform;
|
|
55
57
|
(function (IDevicePlatform) {
|
|
@@ -1436,7 +1438,7 @@ exports.FetchTiersDocument = (0, client_1.gql) `
|
|
|
1436
1438
|
name
|
|
1437
1439
|
description
|
|
1438
1440
|
fees {
|
|
1439
|
-
|
|
1441
|
+
blockchain
|
|
1440
1442
|
fee
|
|
1441
1443
|
}
|
|
1442
1444
|
archived
|
|
@@ -1474,7 +1476,7 @@ exports.FetchTiersPageDocument = (0, client_1.gql) `
|
|
|
1474
1476
|
name
|
|
1475
1477
|
description
|
|
1476
1478
|
fees {
|
|
1477
|
-
|
|
1479
|
+
blockchain
|
|
1478
1480
|
fee
|
|
1479
1481
|
}
|
|
1480
1482
|
archived
|
|
@@ -26,7 +26,7 @@ export type Scalars = {
|
|
|
26
26
|
Long: any;
|
|
27
27
|
Upload: any;
|
|
28
28
|
};
|
|
29
|
-
export declare enum
|
|
29
|
+
export declare enum IBlockchains {
|
|
30
30
|
PolygonMainnet = "POLYGON_MAINNET",
|
|
31
31
|
PolygonAmoy = "POLYGON_AMOY",
|
|
32
32
|
EthereumMainnet = "ETHEREUM_MAINNET",
|
|
@@ -34,7 +34,9 @@ export declare enum IChains {
|
|
|
34
34
|
BaseMainnet = "BASE_MAINNET",
|
|
35
35
|
BaseSepolia = "BASE_SEPOLIA",
|
|
36
36
|
BscMainnet = "BSC_MAINNET",
|
|
37
|
-
BscTestnet = "BSC_TESTNET"
|
|
37
|
+
BscTestnet = "BSC_TESTNET",
|
|
38
|
+
TonTestnet = "TON_TESTNET",
|
|
39
|
+
TonMainnet = "TON_MAINNET"
|
|
38
40
|
}
|
|
39
41
|
export type IMintingInfo = {
|
|
40
42
|
rank: Scalars['Int'];
|
|
@@ -42,7 +44,7 @@ export type IMintingInfo = {
|
|
|
42
44
|
nftPrice: Scalars['Float'];
|
|
43
45
|
};
|
|
44
46
|
export type IMintingInput = {
|
|
45
|
-
blockchain:
|
|
47
|
+
blockchain: IBlockchains;
|
|
46
48
|
address: Scalars['String'];
|
|
47
49
|
tierId: Scalars['String'];
|
|
48
50
|
refcode?: Maybe<Scalars['String']>;
|
|
@@ -59,12 +61,17 @@ export type IQueryFetchMintingInfoArgs = {
|
|
|
59
61
|
input: IMintingInput;
|
|
60
62
|
};
|
|
61
63
|
export type IQueryFetchGasPriceArgs = {
|
|
62
|
-
chain:
|
|
64
|
+
chain: IBlockchains;
|
|
63
65
|
};
|
|
64
66
|
export type ITier = {
|
|
65
67
|
id: Scalars['String'];
|
|
66
68
|
name: Scalars['String'];
|
|
67
69
|
description?: Maybe<Scalars['String']>;
|
|
70
|
+
fees?: Maybe<Array<Maybe<ITierFee>>>;
|
|
71
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
72
|
+
};
|
|
73
|
+
export type ITierFee = {
|
|
74
|
+
blockchain: IBlockchains;
|
|
68
75
|
fee?: Maybe<Scalars['Float']>;
|
|
69
76
|
};
|
|
70
77
|
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
@@ -95,7 +102,7 @@ export type NextResolverFn<T> = () => Promise<T>;
|
|
|
95
102
|
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
96
103
|
/** Mapping between all available schema types and the resolvers types */
|
|
97
104
|
export type IResolversTypes = {
|
|
98
|
-
|
|
105
|
+
Blockchains: IBlockchains;
|
|
99
106
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
100
107
|
MintingInfo: ResolverTypeWrapper<IMintingInfo>;
|
|
101
108
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
@@ -105,8 +112,9 @@ export type IResolversTypes = {
|
|
|
105
112
|
Mutation: ResolverTypeWrapper<{}>;
|
|
106
113
|
Query: ResolverTypeWrapper<{}>;
|
|
107
114
|
Tier: ResolverTypeWrapper<ITier>;
|
|
108
|
-
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
109
115
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
116
|
+
TierFee: ResolverTypeWrapper<ITierFee>;
|
|
117
|
+
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
110
118
|
};
|
|
111
119
|
/** Mapping between all available schema types and the resolvers parents */
|
|
112
120
|
export type IResolversParentTypes = {
|
|
@@ -119,8 +127,9 @@ export type IResolversParentTypes = {
|
|
|
119
127
|
Mutation: {};
|
|
120
128
|
Query: {};
|
|
121
129
|
Tier: ITier;
|
|
122
|
-
Upload: Scalars['Upload'];
|
|
123
130
|
Boolean: Scalars['Boolean'];
|
|
131
|
+
TierFee: ITierFee;
|
|
132
|
+
Upload: Scalars['Upload'];
|
|
124
133
|
};
|
|
125
134
|
export type IOneOfDirectiveArgs = {};
|
|
126
135
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -145,6 +154,12 @@ export type ITierResolvers<ContextType = any, ParentType extends IResolversParen
|
|
|
145
154
|
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
146
155
|
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
147
156
|
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
157
|
+
fees?: Resolver<Maybe<Array<Maybe<IResolversTypes['TierFee']>>>, ParentType, ContextType>;
|
|
158
|
+
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
159
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
160
|
+
};
|
|
161
|
+
export type ITierFeeResolvers<ContextType = any, ParentType extends IResolversParentTypes['TierFee'] = IResolversParentTypes['TierFee']> = {
|
|
162
|
+
blockchain?: Resolver<IResolversTypes['Blockchains'], ParentType, ContextType>;
|
|
148
163
|
fee?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
149
164
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
150
165
|
};
|
|
@@ -157,6 +172,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
157
172
|
Mutation?: IMutationResolvers<ContextType>;
|
|
158
173
|
Query?: IQueryResolvers<ContextType>;
|
|
159
174
|
Tier?: ITierResolvers<ContextType>;
|
|
175
|
+
TierFee?: ITierFeeResolvers<ContextType>;
|
|
160
176
|
Upload?: GraphQLScalarType;
|
|
161
177
|
};
|
|
162
178
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
@@ -167,7 +183,9 @@ export type IFetchMintingInfoQueryVariables = Exact<{
|
|
|
167
183
|
}>;
|
|
168
184
|
export type IFetchMintingInfoQuery = {
|
|
169
185
|
fetchMintingInfo: (Pick<IMintingInfo, 'rank' | 'nftPrice'> & {
|
|
170
|
-
tier: Pick<ITier, 'id' | 'name' | 'description'
|
|
186
|
+
tier: (Pick<ITier, 'id' | 'name' | 'description'> & {
|
|
187
|
+
fees?: Maybe<Array<Maybe<Pick<ITierFee, 'blockchain' | 'fee'>>>>;
|
|
188
|
+
});
|
|
171
189
|
});
|
|
172
190
|
};
|
|
173
191
|
export declare const FetchMintingInfoDocument: Apollo.DocumentNode;
|
|
@@ -23,20 +23,22 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useFetchMintingInfoLazyQuery = exports.useFetchMintingInfoQuery = exports.FetchMintingInfoDocument = exports.
|
|
26
|
+
exports.useFetchMintingInfoLazyQuery = exports.useFetchMintingInfoQuery = exports.FetchMintingInfoDocument = exports.IBlockchains = void 0;
|
|
27
27
|
const client_1 = require("@apollo/client");
|
|
28
28
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
-
var
|
|
30
|
-
(function (
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
29
|
+
var IBlockchains;
|
|
30
|
+
(function (IBlockchains) {
|
|
31
|
+
IBlockchains["PolygonMainnet"] = "POLYGON_MAINNET";
|
|
32
|
+
IBlockchains["PolygonAmoy"] = "POLYGON_AMOY";
|
|
33
|
+
IBlockchains["EthereumMainnet"] = "ETHEREUM_MAINNET";
|
|
34
|
+
IBlockchains["EthereumSepolia"] = "ETHEREUM_SEPOLIA";
|
|
35
|
+
IBlockchains["BaseMainnet"] = "BASE_MAINNET";
|
|
36
|
+
IBlockchains["BaseSepolia"] = "BASE_SEPOLIA";
|
|
37
|
+
IBlockchains["BscMainnet"] = "BSC_MAINNET";
|
|
38
|
+
IBlockchains["BscTestnet"] = "BSC_TESTNET";
|
|
39
|
+
IBlockchains["TonTestnet"] = "TON_TESTNET";
|
|
40
|
+
IBlockchains["TonMainnet"] = "TON_MAINNET";
|
|
41
|
+
})(IBlockchains || (exports.IBlockchains = IBlockchains = {}));
|
|
40
42
|
exports.FetchMintingInfoDocument = (0, client_1.gql) `
|
|
41
43
|
query FetchMintingInfo($input: MintingInput!) {
|
|
42
44
|
fetchMintingInfo(input: $input) {
|
|
@@ -45,7 +47,10 @@ exports.FetchMintingInfoDocument = (0, client_1.gql) `
|
|
|
45
47
|
id
|
|
46
48
|
name
|
|
47
49
|
description
|
|
48
|
-
|
|
50
|
+
fees {
|
|
51
|
+
blockchain
|
|
52
|
+
fee
|
|
53
|
+
}
|
|
49
54
|
}
|
|
50
55
|
nftPrice
|
|
51
56
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ declare const schema: {
|
|
|
28
28
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<mintInfoSchema.IFetchMintingInfoQuery, mintInfoSchema.Exact<{
|
|
29
29
|
input: mintInfoSchema.IMintingInput;
|
|
30
30
|
}>>;
|
|
31
|
-
|
|
31
|
+
IBlockchains: typeof mintInfoSchema.IBlockchains;
|
|
32
32
|
FetchMintingInfoDocument: import("graphql").DocumentNode;
|
|
33
33
|
useReadNotificationMutation(baseOptions?: import("@apollo/client").MutationHookOptions<notificationsSchema.IReadNotificationMutation, notificationsSchema.Exact<{
|
|
34
34
|
notificationId: string;
|
package/package.json
CHANGED
|
@@ -417,6 +417,19 @@ export enum IAuthorityType {
|
|
|
417
417
|
Medias = 'MEDIAS'
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
+
export enum IBlockchains {
|
|
421
|
+
PolygonMainnet = 'POLYGON_MAINNET',
|
|
422
|
+
PolygonAmoy = 'POLYGON_AMOY',
|
|
423
|
+
EthereumMainnet = 'ETHEREUM_MAINNET',
|
|
424
|
+
EthereumSepolia = 'ETHEREUM_SEPOLIA',
|
|
425
|
+
BaseMainnet = 'BASE_MAINNET',
|
|
426
|
+
BaseSepolia = 'BASE_SEPOLIA',
|
|
427
|
+
BscMainnet = 'BSC_MAINNET',
|
|
428
|
+
BscTestnet = 'BSC_TESTNET',
|
|
429
|
+
TonTestnet = 'TON_TESTNET',
|
|
430
|
+
TonMainnet = 'TON_MAINNET'
|
|
431
|
+
}
|
|
432
|
+
|
|
420
433
|
export type IBrandInput = {
|
|
421
434
|
name: Scalars['String'];
|
|
422
435
|
matchingWords: Array<Scalars['String']>;
|
|
@@ -476,17 +489,6 @@ export type ICategoryInput = {
|
|
|
476
489
|
matchingWords: Array<Scalars['String']>;
|
|
477
490
|
};
|
|
478
491
|
|
|
479
|
-
export enum IChains {
|
|
480
|
-
PolygonMainnet = 'POLYGON_MAINNET',
|
|
481
|
-
PolygonAmoy = 'POLYGON_AMOY',
|
|
482
|
-
EthereumMainnet = 'ETHEREUM_MAINNET',
|
|
483
|
-
EthereumSepolia = 'ETHEREUM_SEPOLIA',
|
|
484
|
-
BaseMainnet = 'BASE_MAINNET',
|
|
485
|
-
BaseSepolia = 'BASE_SEPOLIA',
|
|
486
|
-
BscMainnet = 'BSC_MAINNET',
|
|
487
|
-
BscTestnet = 'BSC_TESTNET'
|
|
488
|
-
}
|
|
489
|
-
|
|
490
492
|
export type ICheckInviteCodeData = {
|
|
491
493
|
code: Scalars['String'];
|
|
492
494
|
isAvailable: Scalars['Boolean'];
|
|
@@ -1415,12 +1417,12 @@ export type ITier = {
|
|
|
1415
1417
|
};
|
|
1416
1418
|
|
|
1417
1419
|
export type ITierFee = {
|
|
1418
|
-
|
|
1420
|
+
blockchain: IBlockchains;
|
|
1419
1421
|
fee?: Maybe<Scalars['Float']>;
|
|
1420
1422
|
};
|
|
1421
1423
|
|
|
1422
1424
|
export type ITierFeeInput = {
|
|
1423
|
-
|
|
1425
|
+
blockchain: IBlockchains;
|
|
1424
1426
|
fee?: Maybe<Scalars['Float']>;
|
|
1425
1427
|
};
|
|
1426
1428
|
|
|
@@ -1657,6 +1659,7 @@ export type IResolversTypes = {
|
|
|
1657
1659
|
AirdropsLeaderboardFilterInput: IAirdropsLeaderboardFilterInput;
|
|
1658
1660
|
AirdropsLeaderboardSortInput: IAirdropsLeaderboardSortInput;
|
|
1659
1661
|
AuthorityType: IAuthorityType;
|
|
1662
|
+
Blockchains: IBlockchains;
|
|
1660
1663
|
BrandInput: IBrandInput;
|
|
1661
1664
|
BrandsFilterInput: IBrandsFilterInput;
|
|
1662
1665
|
BrandsPage: ResolverTypeWrapper<IBrandsPage>;
|
|
@@ -1665,7 +1668,6 @@ export type IResolversTypes = {
|
|
|
1665
1668
|
CategoriesPage: ResolverTypeWrapper<ICategoriesPage>;
|
|
1666
1669
|
CategoriesSortInput: ICategoriesSortInput;
|
|
1667
1670
|
CategoryInput: ICategoryInput;
|
|
1668
|
-
Chains: IChains;
|
|
1669
1671
|
CheckInviteCodeData: ResolverTypeWrapper<ICheckInviteCodeData>;
|
|
1670
1672
|
CompanyToken: ResolverTypeWrapper<ICompanyToken>;
|
|
1671
1673
|
CompanyTokenInput: ICompanyTokenInput;
|
|
@@ -2441,7 +2443,7 @@ export type ITierResolvers<ContextType = any, ParentType extends IResolversParen
|
|
|
2441
2443
|
};
|
|
2442
2444
|
|
|
2443
2445
|
export type ITierFeeResolvers<ContextType = any, ParentType extends IResolversParentTypes['TierFee'] = IResolversParentTypes['TierFee']> = {
|
|
2444
|
-
|
|
2446
|
+
blockchain?: Resolver<IResolversTypes['Blockchains'], ParentType, ContextType>;
|
|
2445
2447
|
fee?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
2446
2448
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2447
2449
|
};
|
|
@@ -2898,7 +2900,7 @@ export type IFetchTiersQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
2898
2900
|
|
|
2899
2901
|
export type IFetchTiersQuery = { fetchTiers: Array<(
|
|
2900
2902
|
Pick<ITier, 'id' | 'name' | 'description' | 'archived'>
|
|
2901
|
-
& { fees?: Maybe<Array<Maybe<Pick<ITierFee, '
|
|
2903
|
+
& { fees?: Maybe<Array<Maybe<Pick<ITierFee, 'blockchain' | 'fee'>>>> }
|
|
2902
2904
|
)> };
|
|
2903
2905
|
|
|
2904
2906
|
export type IFetchTiersPageQueryVariables = Exact<{
|
|
@@ -2910,7 +2912,7 @@ export type IFetchTiersPageQueryVariables = Exact<{
|
|
|
2910
2912
|
|
|
2911
2913
|
export type IFetchTiersPageQuery = { fetchTiersPage: { tiers: Array<(
|
|
2912
2914
|
Pick<ITier, 'id' | 'name' | 'description' | 'archived'>
|
|
2913
|
-
& { fees?: Maybe<Array<Maybe<Pick<ITierFee, '
|
|
2915
|
+
& { fees?: Maybe<Array<Maybe<Pick<ITierFee, 'blockchain' | 'fee'>>>> }
|
|
2914
2916
|
)>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2915
2917
|
|
|
2916
2918
|
export type IFetchUserFeedbackPageQueryVariables = Exact<{
|
|
@@ -4559,7 +4561,7 @@ export const FetchTiersDocument = gql`
|
|
|
4559
4561
|
name
|
|
4560
4562
|
description
|
|
4561
4563
|
fees {
|
|
4562
|
-
|
|
4564
|
+
blockchain
|
|
4563
4565
|
fee
|
|
4564
4566
|
}
|
|
4565
4567
|
archived
|
|
@@ -4599,7 +4601,7 @@ export const FetchTiersPageDocument = gql`
|
|
|
4599
4601
|
name
|
|
4600
4602
|
description
|
|
4601
4603
|
fees {
|
|
4602
|
-
|
|
4604
|
+
blockchain
|
|
4603
4605
|
fee
|
|
4604
4606
|
}
|
|
4605
4607
|
archived
|
|
@@ -20,7 +20,7 @@ export type Scalars = {
|
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
export enum
|
|
23
|
+
export enum IBlockchains {
|
|
24
24
|
PolygonMainnet = 'POLYGON_MAINNET',
|
|
25
25
|
PolygonAmoy = 'POLYGON_AMOY',
|
|
26
26
|
EthereumMainnet = 'ETHEREUM_MAINNET',
|
|
@@ -28,7 +28,9 @@ export enum IChains {
|
|
|
28
28
|
BaseMainnet = 'BASE_MAINNET',
|
|
29
29
|
BaseSepolia = 'BASE_SEPOLIA',
|
|
30
30
|
BscMainnet = 'BSC_MAINNET',
|
|
31
|
-
BscTestnet = 'BSC_TESTNET'
|
|
31
|
+
BscTestnet = 'BSC_TESTNET',
|
|
32
|
+
TonTestnet = 'TON_TESTNET',
|
|
33
|
+
TonMainnet = 'TON_MAINNET'
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
|
|
@@ -39,7 +41,7 @@ export type IMintingInfo = {
|
|
|
39
41
|
};
|
|
40
42
|
|
|
41
43
|
export type IMintingInput = {
|
|
42
|
-
blockchain:
|
|
44
|
+
blockchain: IBlockchains;
|
|
43
45
|
address: Scalars['String'];
|
|
44
46
|
tierId: Scalars['String'];
|
|
45
47
|
refcode?: Maybe<Scalars['String']>;
|
|
@@ -62,13 +64,19 @@ export type IQueryFetchMintingInfoArgs = {
|
|
|
62
64
|
|
|
63
65
|
|
|
64
66
|
export type IQueryFetchGasPriceArgs = {
|
|
65
|
-
chain:
|
|
67
|
+
chain: IBlockchains;
|
|
66
68
|
};
|
|
67
69
|
|
|
68
70
|
export type ITier = {
|
|
69
71
|
id: Scalars['String'];
|
|
70
72
|
name: Scalars['String'];
|
|
71
73
|
description?: Maybe<Scalars['String']>;
|
|
74
|
+
fees?: Maybe<Array<Maybe<ITierFee>>>;
|
|
75
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type ITierFee = {
|
|
79
|
+
blockchain: IBlockchains;
|
|
72
80
|
fee?: Maybe<Scalars['Float']>;
|
|
73
81
|
};
|
|
74
82
|
|
|
@@ -142,7 +150,7 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
|
|
|
142
150
|
|
|
143
151
|
/** Mapping between all available schema types and the resolvers types */
|
|
144
152
|
export type IResolversTypes = {
|
|
145
|
-
|
|
153
|
+
Blockchains: IBlockchains;
|
|
146
154
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
147
155
|
MintingInfo: ResolverTypeWrapper<IMintingInfo>;
|
|
148
156
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
@@ -152,8 +160,9 @@ export type IResolversTypes = {
|
|
|
152
160
|
Mutation: ResolverTypeWrapper<{}>;
|
|
153
161
|
Query: ResolverTypeWrapper<{}>;
|
|
154
162
|
Tier: ResolverTypeWrapper<ITier>;
|
|
155
|
-
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
156
163
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
164
|
+
TierFee: ResolverTypeWrapper<ITierFee>;
|
|
165
|
+
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
157
166
|
};
|
|
158
167
|
|
|
159
168
|
/** Mapping between all available schema types and the resolvers parents */
|
|
@@ -167,8 +176,9 @@ export type IResolversParentTypes = {
|
|
|
167
176
|
Mutation: {};
|
|
168
177
|
Query: {};
|
|
169
178
|
Tier: ITier;
|
|
170
|
-
Upload: Scalars['Upload'];
|
|
171
179
|
Boolean: Scalars['Boolean'];
|
|
180
|
+
TierFee: ITierFee;
|
|
181
|
+
Upload: Scalars['Upload'];
|
|
172
182
|
};
|
|
173
183
|
|
|
174
184
|
export type IOneOfDirectiveArgs = { };
|
|
@@ -200,6 +210,13 @@ export type ITierResolvers<ContextType = any, ParentType extends IResolversParen
|
|
|
200
210
|
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
201
211
|
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
202
212
|
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
213
|
+
fees?: Resolver<Maybe<Array<Maybe<IResolversTypes['TierFee']>>>, ParentType, ContextType>;
|
|
214
|
+
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
215
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
export type ITierFeeResolvers<ContextType = any, ParentType extends IResolversParentTypes['TierFee'] = IResolversParentTypes['TierFee']> = {
|
|
219
|
+
blockchain?: Resolver<IResolversTypes['Blockchains'], ParentType, ContextType>;
|
|
203
220
|
fee?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
204
221
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
205
222
|
};
|
|
@@ -214,6 +231,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
214
231
|
Mutation?: IMutationResolvers<ContextType>;
|
|
215
232
|
Query?: IQueryResolvers<ContextType>;
|
|
216
233
|
Tier?: ITierResolvers<ContextType>;
|
|
234
|
+
TierFee?: ITierFeeResolvers<ContextType>;
|
|
217
235
|
Upload?: GraphQLScalarType;
|
|
218
236
|
};
|
|
219
237
|
|
|
@@ -228,7 +246,10 @@ export type IFetchMintingInfoQueryVariables = Exact<{
|
|
|
228
246
|
|
|
229
247
|
export type IFetchMintingInfoQuery = { fetchMintingInfo: (
|
|
230
248
|
Pick<IMintingInfo, 'rank' | 'nftPrice'>
|
|
231
|
-
& { tier:
|
|
249
|
+
& { tier: (
|
|
250
|
+
Pick<ITier, 'id' | 'name' | 'description'>
|
|
251
|
+
& { fees?: Maybe<Array<Maybe<Pick<ITierFee, 'blockchain' | 'fee'>>>> }
|
|
252
|
+
) }
|
|
232
253
|
) };
|
|
233
254
|
|
|
234
255
|
|
|
@@ -240,7 +261,10 @@ export const FetchMintingInfoDocument = gql`
|
|
|
240
261
|
id
|
|
241
262
|
name
|
|
242
263
|
description
|
|
243
|
-
|
|
264
|
+
fees {
|
|
265
|
+
blockchain
|
|
266
|
+
fee
|
|
267
|
+
}
|
|
244
268
|
}
|
|
245
269
|
nftPrice
|
|
246
270
|
}
|