@ludo.ninja/api 3.0.34 → 3.0.36
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 +263 -5
- package/build/graphql_tools/__generated__/adminHost/schema.js +186 -3
- package/build/index.d.ts +49 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +349 -6
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -23,11 +23,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = void 0;
|
|
26
|
+
exports.UpdateLeaderboardDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = exports.useUpdateAirdropMutation = exports.UpdateAirdropDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = 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.ISortDirection = exports.IReftypeColor = exports.IOpportunityType = exports.INotificationDestination = exports.ILoginSource = exports.ILocationType = exports.ILeaderboardType = exports.IDevicePlatform = exports.IAccessType = void 0;
|
|
27
|
+
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 = 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.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateOpportunityArchivedStatusMutation = exports.UpdateOpportunityArchivedStatusDocument = exports.useUpdateOpportunityMutation = exports.UpdateOpportunityDocument = exports.useUpdateLeaderboardMutation = void 0;
|
|
28
|
+
exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = void 0;
|
|
29
29
|
const client_1 = require("@apollo/client");
|
|
30
30
|
const Apollo = __importStar(require("@apollo/client"));
|
|
31
|
+
var IAccessType;
|
|
32
|
+
(function (IAccessType) {
|
|
33
|
+
IAccessType["Public"] = "PUBLIC";
|
|
34
|
+
IAccessType["Restricted"] = "RESTRICTED";
|
|
35
|
+
})(IAccessType || (exports.IAccessType = IAccessType = {}));
|
|
31
36
|
/** Sync with DevicePlatform.java */
|
|
32
37
|
var IDevicePlatform;
|
|
33
38
|
(function (IDevicePlatform) {
|
|
@@ -36,11 +41,24 @@ var IDevicePlatform;
|
|
|
36
41
|
IDevicePlatform["Computer"] = "COMPUTER";
|
|
37
42
|
IDevicePlatform["Unknown"] = "UNKNOWN";
|
|
38
43
|
})(IDevicePlatform || (exports.IDevicePlatform = IDevicePlatform = {}));
|
|
44
|
+
var ILeaderboardType;
|
|
45
|
+
(function (ILeaderboardType) {
|
|
46
|
+
ILeaderboardType["Airdrops"] = "AIRDROPS";
|
|
47
|
+
})(ILeaderboardType || (exports.ILeaderboardType = ILeaderboardType = {}));
|
|
39
48
|
var ILocationType;
|
|
40
49
|
(function (ILocationType) {
|
|
41
50
|
ILocationType["Continent"] = "CONTINENT";
|
|
42
51
|
ILocationType["Country"] = "COUNTRY";
|
|
43
52
|
})(ILocationType || (exports.ILocationType = ILocationType = {}));
|
|
53
|
+
/** Please sync with ApplicationType.java */
|
|
54
|
+
var ILoginSource;
|
|
55
|
+
(function (ILoginSource) {
|
|
56
|
+
ILoginSource["Portal"] = "PORTAL";
|
|
57
|
+
ILoginSource["Extension"] = "EXTENSION";
|
|
58
|
+
ILoginSource["TgMiniApp"] = "TG_MINI_APP";
|
|
59
|
+
ILoginSource["Backoffice"] = "BACKOFFICE";
|
|
60
|
+
ILoginSource["Unknown"] = "UNKNOWN";
|
|
61
|
+
})(ILoginSource || (exports.ILoginSource = ILoginSource = {}));
|
|
44
62
|
var INotificationDestination;
|
|
45
63
|
(function (INotificationDestination) {
|
|
46
64
|
INotificationDestination["Webapp"] = "WEBAPP";
|
|
@@ -476,6 +494,34 @@ function useRemoveInviteCodeMutation(baseOptions) {
|
|
|
476
494
|
return Apollo.useMutation(exports.RemoveInviteCodeDocument, baseOptions);
|
|
477
495
|
}
|
|
478
496
|
exports.useRemoveInviteCodeMutation = useRemoveInviteCodeMutation;
|
|
497
|
+
exports.UpdateAirdropDocument = (0, client_1.gql) `
|
|
498
|
+
mutation UpdateAirdrop($id: ID!, $input: AdminAirdropInput!, $file: Upload) {
|
|
499
|
+
updateAirdrop(id: $id, file: $file, input: $input)
|
|
500
|
+
}
|
|
501
|
+
`;
|
|
502
|
+
/**
|
|
503
|
+
* __useUpdateAirdropMutation__
|
|
504
|
+
*
|
|
505
|
+
* To run a mutation, you first call `useUpdateAirdropMutation` within a React component and pass it any options that fit your needs.
|
|
506
|
+
* When your component renders, `useUpdateAirdropMutation` returns a tuple that includes:
|
|
507
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
508
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
509
|
+
*
|
|
510
|
+
* @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;
|
|
511
|
+
*
|
|
512
|
+
* @example
|
|
513
|
+
* const [updateAirdropMutation, { data, loading, error }] = useUpdateAirdropMutation({
|
|
514
|
+
* variables: {
|
|
515
|
+
* id: // value for 'id'
|
|
516
|
+
* input: // value for 'input'
|
|
517
|
+
* file: // value for 'file'
|
|
518
|
+
* },
|
|
519
|
+
* });
|
|
520
|
+
*/
|
|
521
|
+
function useUpdateAirdropMutation(baseOptions) {
|
|
522
|
+
return Apollo.useMutation(exports.UpdateAirdropDocument, baseOptions);
|
|
523
|
+
}
|
|
524
|
+
exports.useUpdateAirdropMutation = useUpdateAirdropMutation;
|
|
479
525
|
exports.UpdateBrandDocument = (0, client_1.gql) `
|
|
480
526
|
mutation updateBrand($id: ID!, $input: BrandInput!, $file: Upload) {
|
|
481
527
|
updateBrand(id: $id, file: $file, input: $input)
|
|
@@ -585,6 +631,33 @@ function useUpdateCategoryArchivedStatusMutation(baseOptions) {
|
|
|
585
631
|
return Apollo.useMutation(exports.UpdateCategoryArchivedStatusDocument, baseOptions);
|
|
586
632
|
}
|
|
587
633
|
exports.useUpdateCategoryArchivedStatusMutation = useUpdateCategoryArchivedStatusMutation;
|
|
634
|
+
exports.UpdateLeaderboardDocument = (0, client_1.gql) `
|
|
635
|
+
mutation UpdateLeaderboard($type: LeaderboardType!, $input: LeaderboardInput!) {
|
|
636
|
+
updateLeaderboard(type: $type, input: $input)
|
|
637
|
+
}
|
|
638
|
+
`;
|
|
639
|
+
/**
|
|
640
|
+
* __useUpdateLeaderboardMutation__
|
|
641
|
+
*
|
|
642
|
+
* To run a mutation, you first call `useUpdateLeaderboardMutation` within a React component and pass it any options that fit your needs.
|
|
643
|
+
* When your component renders, `useUpdateLeaderboardMutation` returns a tuple that includes:
|
|
644
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
645
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
646
|
+
*
|
|
647
|
+
* @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;
|
|
648
|
+
*
|
|
649
|
+
* @example
|
|
650
|
+
* const [updateLeaderboardMutation, { data, loading, error }] = useUpdateLeaderboardMutation({
|
|
651
|
+
* variables: {
|
|
652
|
+
* type: // value for 'type'
|
|
653
|
+
* input: // value for 'input'
|
|
654
|
+
* },
|
|
655
|
+
* });
|
|
656
|
+
*/
|
|
657
|
+
function useUpdateLeaderboardMutation(baseOptions) {
|
|
658
|
+
return Apollo.useMutation(exports.UpdateLeaderboardDocument, baseOptions);
|
|
659
|
+
}
|
|
660
|
+
exports.useUpdateLeaderboardMutation = useUpdateLeaderboardMutation;
|
|
588
661
|
exports.UpdateOpportunityDocument = (0, client_1.gql) `
|
|
589
662
|
mutation updateOpportunity($id: ID!, $input: AdminOpportunityInput!, $file: Upload) {
|
|
590
663
|
updateOpportunity(id: $id, file: $file, input: $input)
|
|
@@ -1207,6 +1280,77 @@ function useFetchUserFeedbackPageLazyQuery(baseOptions) {
|
|
|
1207
1280
|
return Apollo.useLazyQuery(exports.FetchUserFeedbackPageDocument, baseOptions);
|
|
1208
1281
|
}
|
|
1209
1282
|
exports.useFetchUserFeedbackPageLazyQuery = useFetchUserFeedbackPageLazyQuery;
|
|
1283
|
+
exports.FetchAdminAirdropsPageDocument = (0, client_1.gql) `
|
|
1284
|
+
query FetchAdminAirdropsPage($filter: AirdropsLeaderboardFilterInput!, $sort: AirdropsLeaderboardSortInput!, $page: AdminPageInput!) {
|
|
1285
|
+
fetchAdminAirdropsPage(filter: $filter, sort: $sort, page: $page) {
|
|
1286
|
+
opportunities {
|
|
1287
|
+
opportunityId
|
|
1288
|
+
name
|
|
1289
|
+
brandName
|
|
1290
|
+
industry
|
|
1291
|
+
category
|
|
1292
|
+
ludoUrl
|
|
1293
|
+
projectUrl
|
|
1294
|
+
pushNotificationsEnabled
|
|
1295
|
+
status
|
|
1296
|
+
media
|
|
1297
|
+
description
|
|
1298
|
+
activeFrom
|
|
1299
|
+
activeUntil
|
|
1300
|
+
minXpLevel
|
|
1301
|
+
maxXpLevel
|
|
1302
|
+
minLudoRank
|
|
1303
|
+
maxLudoRank
|
|
1304
|
+
minWalletValue
|
|
1305
|
+
maxWalletValue
|
|
1306
|
+
clicks
|
|
1307
|
+
views
|
|
1308
|
+
addedBy
|
|
1309
|
+
archived
|
|
1310
|
+
blockchains
|
|
1311
|
+
geolocations
|
|
1312
|
+
notificationDestinations
|
|
1313
|
+
type
|
|
1314
|
+
devicePlatforms
|
|
1315
|
+
participants
|
|
1316
|
+
hidden
|
|
1317
|
+
}
|
|
1318
|
+
nextPage {
|
|
1319
|
+
elements
|
|
1320
|
+
lastNum
|
|
1321
|
+
num
|
|
1322
|
+
size
|
|
1323
|
+
token
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
`;
|
|
1328
|
+
/**
|
|
1329
|
+
* __useFetchAdminAirdropsPageQuery__
|
|
1330
|
+
*
|
|
1331
|
+
* To run a query within a React component, call `useFetchAdminAirdropsPageQuery` and pass it any options that fit your needs.
|
|
1332
|
+
* When your component renders, `useFetchAdminAirdropsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1333
|
+
* you can use to render your UI.
|
|
1334
|
+
*
|
|
1335
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1336
|
+
*
|
|
1337
|
+
* @example
|
|
1338
|
+
* const { data, loading, error } = useFetchAdminAirdropsPageQuery({
|
|
1339
|
+
* variables: {
|
|
1340
|
+
* filter: // value for 'filter'
|
|
1341
|
+
* sort: // value for 'sort'
|
|
1342
|
+
* page: // value for 'page'
|
|
1343
|
+
* },
|
|
1344
|
+
* });
|
|
1345
|
+
*/
|
|
1346
|
+
function useFetchAdminAirdropsPageQuery(baseOptions) {
|
|
1347
|
+
return Apollo.useQuery(exports.FetchAdminAirdropsPageDocument, baseOptions);
|
|
1348
|
+
}
|
|
1349
|
+
exports.useFetchAdminAirdropsPageQuery = useFetchAdminAirdropsPageQuery;
|
|
1350
|
+
function useFetchAdminAirdropsPageLazyQuery(baseOptions) {
|
|
1351
|
+
return Apollo.useLazyQuery(exports.FetchAdminAirdropsPageDocument, baseOptions);
|
|
1352
|
+
}
|
|
1353
|
+
exports.useFetchAdminAirdropsPageLazyQuery = useFetchAdminAirdropsPageLazyQuery;
|
|
1210
1354
|
exports.FetchAdminBrandsDocument = (0, client_1.gql) `
|
|
1211
1355
|
query FetchAdminBrands {
|
|
1212
1356
|
fetchAdminBrands {
|
|
@@ -1595,6 +1739,7 @@ exports.FetchAdminUsersPageDocument = (0, client_1.gql) `
|
|
|
1595
1739
|
location
|
|
1596
1740
|
userLanguage
|
|
1597
1741
|
devicePlatform
|
|
1742
|
+
firstVisitSource
|
|
1598
1743
|
}
|
|
1599
1744
|
nextPage {
|
|
1600
1745
|
num
|
|
@@ -1746,3 +1891,41 @@ function useFetchBlockchainsLazyQuery(baseOptions) {
|
|
|
1746
1891
|
return Apollo.useLazyQuery(exports.FetchBlockchainsDocument, baseOptions);
|
|
1747
1892
|
}
|
|
1748
1893
|
exports.useFetchBlockchainsLazyQuery = useFetchBlockchainsLazyQuery;
|
|
1894
|
+
exports.FetchLeaderboardDocument = (0, client_1.gql) `
|
|
1895
|
+
query FetchLeaderboard($type: LeaderboardType!) {
|
|
1896
|
+
fetchLeaderboard(type: $type) {
|
|
1897
|
+
type
|
|
1898
|
+
accessType
|
|
1899
|
+
minRank
|
|
1900
|
+
maxRank
|
|
1901
|
+
minXpLevel
|
|
1902
|
+
maxXpLevel
|
|
1903
|
+
geolocations
|
|
1904
|
+
hidden
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
`;
|
|
1908
|
+
/**
|
|
1909
|
+
* __useFetchLeaderboardQuery__
|
|
1910
|
+
*
|
|
1911
|
+
* To run a query within a React component, call `useFetchLeaderboardQuery` and pass it any options that fit your needs.
|
|
1912
|
+
* When your component renders, `useFetchLeaderboardQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1913
|
+
* you can use to render your UI.
|
|
1914
|
+
*
|
|
1915
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1916
|
+
*
|
|
1917
|
+
* @example
|
|
1918
|
+
* const { data, loading, error } = useFetchLeaderboardQuery({
|
|
1919
|
+
* variables: {
|
|
1920
|
+
* type: // value for 'type'
|
|
1921
|
+
* },
|
|
1922
|
+
* });
|
|
1923
|
+
*/
|
|
1924
|
+
function useFetchLeaderboardQuery(baseOptions) {
|
|
1925
|
+
return Apollo.useQuery(exports.FetchLeaderboardDocument, baseOptions);
|
|
1926
|
+
}
|
|
1927
|
+
exports.useFetchLeaderboardQuery = useFetchLeaderboardQuery;
|
|
1928
|
+
function useFetchLeaderboardLazyQuery(baseOptions) {
|
|
1929
|
+
return Apollo.useLazyQuery(exports.FetchLeaderboardDocument, baseOptions);
|
|
1930
|
+
}
|
|
1931
|
+
exports.useFetchLeaderboardLazyQuery = useFetchLeaderboardLazyQuery;
|
package/build/index.d.ts
CHANGED
|
@@ -1574,6 +1574,15 @@ declare const schema: {
|
|
|
1574
1574
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IRemoveInviteCodeMutation, adminSchema.Exact<{
|
|
1575
1575
|
inviteCode: string;
|
|
1576
1576
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1577
|
+
useUpdateAirdropMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateAirdropMutation, adminSchema.Exact<{
|
|
1578
|
+
id: string;
|
|
1579
|
+
input: adminSchema.IAdminAirdropInput;
|
|
1580
|
+
file?: any;
|
|
1581
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IUpdateAirdropMutation, adminSchema.Exact<{
|
|
1582
|
+
id: string;
|
|
1583
|
+
input: adminSchema.IAdminAirdropInput;
|
|
1584
|
+
file?: any;
|
|
1585
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1577
1586
|
useUpdateBrandMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateBrandMutation, adminSchema.Exact<{
|
|
1578
1587
|
id: string;
|
|
1579
1588
|
input: adminSchema.IBrandInput;
|
|
@@ -1604,6 +1613,13 @@ declare const schema: {
|
|
|
1604
1613
|
id: string;
|
|
1605
1614
|
isArchived: boolean;
|
|
1606
1615
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1616
|
+
useUpdateLeaderboardMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateLeaderboardMutation, adminSchema.Exact<{
|
|
1617
|
+
type: adminSchema.ILeaderboardType;
|
|
1618
|
+
input: adminSchema.ILeaderboardInput;
|
|
1619
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IUpdateLeaderboardMutation, adminSchema.Exact<{
|
|
1620
|
+
type: adminSchema.ILeaderboardType;
|
|
1621
|
+
input: adminSchema.ILeaderboardInput;
|
|
1622
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1607
1623
|
useUpdateOpportunityMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateOpportunityMutation, adminSchema.Exact<{
|
|
1608
1624
|
id: string;
|
|
1609
1625
|
input: adminSchema.IAdminOpportunityInput;
|
|
@@ -1819,6 +1835,24 @@ declare const schema: {
|
|
|
1819
1835
|
sort: adminSchema.IUserFeedbackSortInput;
|
|
1820
1836
|
page: adminSchema.IAdminPageInput;
|
|
1821
1837
|
}>>;
|
|
1838
|
+
useFetchAdminAirdropsPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchAdminAirdropsPageQuery, adminSchema.Exact<{
|
|
1839
|
+
filter: adminSchema.IAirdropsLeaderboardFilterInput;
|
|
1840
|
+
sort: adminSchema.IAirdropsLeaderboardSortInput;
|
|
1841
|
+
page: adminSchema.IAdminPageInput;
|
|
1842
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchAdminAirdropsPageQuery, adminSchema.Exact<{
|
|
1843
|
+
filter: adminSchema.IAirdropsLeaderboardFilterInput;
|
|
1844
|
+
sort: adminSchema.IAirdropsLeaderboardSortInput;
|
|
1845
|
+
page: adminSchema.IAdminPageInput;
|
|
1846
|
+
}>>;
|
|
1847
|
+
useFetchAdminAirdropsPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchAdminAirdropsPageQuery, adminSchema.Exact<{
|
|
1848
|
+
filter: adminSchema.IAirdropsLeaderboardFilterInput;
|
|
1849
|
+
sort: adminSchema.IAirdropsLeaderboardSortInput;
|
|
1850
|
+
page: adminSchema.IAdminPageInput;
|
|
1851
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchAdminAirdropsPageQuery, adminSchema.Exact<{
|
|
1852
|
+
filter: adminSchema.IAirdropsLeaderboardFilterInput;
|
|
1853
|
+
sort: adminSchema.IAirdropsLeaderboardSortInput;
|
|
1854
|
+
page: adminSchema.IAdminPageInput;
|
|
1855
|
+
}>>;
|
|
1822
1856
|
useFetchAdminBrandsQuery(baseOptions?: import("@apollo/client").QueryHookOptions<adminSchema.IFetchAdminBrandsQuery, adminSchema.Exact<{
|
|
1823
1857
|
[key: string]: never;
|
|
1824
1858
|
}>> | undefined): import("@apollo/client").QueryResult<adminSchema.IFetchAdminBrandsQuery, adminSchema.Exact<{
|
|
@@ -1985,6 +2019,17 @@ declare const schema: {
|
|
|
1985
2019
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchBlockchainsQuery, adminSchema.Exact<{
|
|
1986
2020
|
[key: string]: never;
|
|
1987
2021
|
}>>;
|
|
2022
|
+
useFetchLeaderboardQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchLeaderboardQuery, adminSchema.Exact<{
|
|
2023
|
+
type: adminSchema.ILeaderboardType;
|
|
2024
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchLeaderboardQuery, adminSchema.Exact<{
|
|
2025
|
+
type: adminSchema.ILeaderboardType;
|
|
2026
|
+
}>>;
|
|
2027
|
+
useFetchLeaderboardLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchLeaderboardQuery, adminSchema.Exact<{
|
|
2028
|
+
type: adminSchema.ILeaderboardType;
|
|
2029
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchLeaderboardQuery, adminSchema.Exact<{
|
|
2030
|
+
type: adminSchema.ILeaderboardType;
|
|
2031
|
+
}>>;
|
|
2032
|
+
IAccessType: typeof adminSchema.IAccessType;
|
|
1988
2033
|
IDevicePlatform: typeof adminSchema.IDevicePlatform;
|
|
1989
2034
|
ILocationType: typeof adminSchema.ILocationType;
|
|
1990
2035
|
INotificationDestination: typeof adminSchema.INotificationDestination;
|
|
@@ -2003,10 +2048,12 @@ declare const schema: {
|
|
|
2003
2048
|
CreateAdminOpportunityDocument: import("graphql").DocumentNode;
|
|
2004
2049
|
AddInviteCodesDocument: import("graphql").DocumentNode;
|
|
2005
2050
|
RemoveInviteCodeDocument: import("graphql").DocumentNode;
|
|
2051
|
+
UpdateAirdropDocument: import("graphql").DocumentNode;
|
|
2006
2052
|
UpdateBrandDocument: import("graphql").DocumentNode;
|
|
2007
2053
|
UpdateBrandArchivedStatusDocument: import("graphql").DocumentNode;
|
|
2008
2054
|
UpdateCategoryDocument: import("graphql").DocumentNode;
|
|
2009
2055
|
UpdateCategoryArchivedStatusDocument: import("graphql").DocumentNode;
|
|
2056
|
+
UpdateLeaderboardDocument: import("graphql").DocumentNode;
|
|
2010
2057
|
UpdateOpportunityDocument: import("graphql").DocumentNode;
|
|
2011
2058
|
UpdateOpportunityArchivedStatusDocument: import("graphql").DocumentNode;
|
|
2012
2059
|
UpdateProfileStatusDocument: import("graphql").DocumentNode;
|
|
@@ -2022,6 +2069,7 @@ declare const schema: {
|
|
|
2022
2069
|
FetchTiersDocument: import("graphql").DocumentNode;
|
|
2023
2070
|
FetchTiersPageDocument: import("graphql").DocumentNode;
|
|
2024
2071
|
FetchUserFeedbackPageDocument: import("graphql").DocumentNode;
|
|
2072
|
+
FetchAdminAirdropsPageDocument: import("graphql").DocumentNode;
|
|
2025
2073
|
FetchAdminBrandsDocument: import("graphql").DocumentNode;
|
|
2026
2074
|
FetchAdminBrandsPageDocument: import("graphql").DocumentNode;
|
|
2027
2075
|
FetchAdminCategoriesDocument: import("graphql").DocumentNode;
|
|
@@ -2033,5 +2081,6 @@ declare const schema: {
|
|
|
2033
2081
|
FetchAdminXpPageDocument: import("graphql").DocumentNode;
|
|
2034
2082
|
FetchAllCountriesDocument: import("graphql").DocumentNode;
|
|
2035
2083
|
FetchBlockchainsDocument: import("graphql").DocumentNode;
|
|
2084
|
+
FetchLeaderboardDocument: import("graphql").DocumentNode;
|
|
2036
2085
|
};
|
|
2037
2086
|
export { hosts, schema, graphqlConfig, authCookies, adminSchema, assetSchema, authSchema, collectionsSchema, experiencesSchema, extensionSchema, galleriesSchema, identitySchema, mediasSchema, opportunitiesSchema, preferencesSchema, searchSchema, formsSchema, tapsSchema, notificationsSchema, mintInfoSchema };
|