@ludo.ninja/api 1.0.59 → 1.0.61
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/cookies/index.d.ts +26 -16
- package/build/graphql_tools/__generated__/schema.d.ts +46 -6
- package/build/graphql_tools/__generated__/schema.js +40 -10
- package/package.json +1 -1
- package/src/documents/server-experiences/queries/useFetchMyExperience/FetchMyExperience.graphql +1 -1
- package/src/documents/server-experiences/queries/useFetchMyTasks/FetchMyTasks.graphql +12 -12
- package/src/documents/server-experiences/subscriptions/SubscribeOnMyExperienceUpdated.graphql +9 -0
- package/src/documents/server-extension/queries/useFetchNFTData/FetchNFTData.graphql +19 -19
- package/src/documents/server-galleries/mutations/useDeleteGallery/DeleteGallery.graphql +1 -1
- package/src/documents/server-galleries/queries/useFetchMyGalleries/FetchMyGalleriesV2.graphql +18 -18
- package/src/documents/server-identities/mutations/useGenerateNewInviteCodes/GenerateNewInviteCodes.graphql +7 -7
- package/src/documents/server-identities/mutations/useInviteCode/UseInviteCode.graphql +2 -2
- package/src/documents/server-identities/queries/useGetMyInviteCodes/GetMyInviteCodes.graphql +6 -6
- package/src/documents/server-opportunities/mutations/useCreateOpportunity//320/241reateOpportunity.graphql +1 -1
- package/src/documents/server-opportunities/queries/useFetchOpportunities/FetchOpportunities.graphql +39 -39
- package/src/documents/server-preferences/queries/useFetchSearchResultTimeSelection/FetchSearchResultTimeSelections.graphql +1 -1
- package/src/documents/server-preferences/queries/useSearchResultBlockchainSelections/FetchSearchResultBlockchainSelections.graphql +1 -1
- package/src/documents/server-preferences/queries/useSearchResultCategorySelections/FetchSearchResultCategorySelections.graphql +1 -1
- package/src/documents/server-preferences/queries/useSearchResultStatusSelections/FetchSearchResultStatusSelection.graphql +1 -1
- package/src/documents/server-preferences/queries/useSearchResultTypeSelections/FetchSetsSearchResultTypeSelections.graphql +1 -1
- package/src/graphql_tools/__generated__/schema.graphql +15 -1
- package/src/graphql_tools/__generated__/schema.ts +65 -11
- package/src/graphql_tools/schemas/asset/type/asset.graphqls +1 -1
- package/src/graphql_tools/schemas/experiences/query.graphqls +2 -2
- package/src/graphql_tools/schemas/experiences/subscription.graphqls +3 -0
- package/src/graphql_tools/schemas/experiences/type/subscribeMessage.graphqls +4 -0
- package/src/graphql_tools/schemas/experiences/type/subscribeMessagePayload.graphqls +4 -0
- package/src/graphql_tools/schemas/experiences/type/task.graphqls +11 -11
- package/src/graphql_tools/schemas/identities/profile/type/user_invite_code.graphqls +5 -5
- package/src/graphql_tools/schemas/opportunities/opportunity/input/opportunity.graphqls +1 -1
- package/src/graphql_tools/schemas/opportunities/opportunity/type/opportunity.graphqls +1 -1
- package/src/graphql_tools/schemas/preferences/type/selection.graphqls +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/build/cookies/index.d.ts
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
|
-
declare const assignCookies: (
|
|
1
|
+
declare const assignCookies: (
|
|
2
|
+
userId: string,
|
|
3
|
+
wallets: Array<string>,
|
|
4
|
+
authToken: string,
|
|
5
|
+
refreshToken: string,
|
|
6
|
+
newUser: string,
|
|
7
|
+
inviteCode: string,
|
|
8
|
+
domain?: string,
|
|
9
|
+
) => void;
|
|
2
10
|
declare const refreshCookies: (authToken: string, refreshToken: string, domain?: string) => void;
|
|
3
|
-
declare const getCookies: () =>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
declare const getCookies: () =>
|
|
12
|
+
| {
|
|
13
|
+
authToken: string;
|
|
14
|
+
refreshToken: string;
|
|
15
|
+
userId: string;
|
|
16
|
+
wallets: string;
|
|
17
|
+
newUser: string;
|
|
18
|
+
inviteCode: string;
|
|
19
|
+
}
|
|
20
|
+
| {
|
|
21
|
+
authToken: null;
|
|
22
|
+
refreshToken: null;
|
|
23
|
+
userId: null;
|
|
24
|
+
wallets: null;
|
|
25
|
+
newUser: null;
|
|
26
|
+
inviteCode: null;
|
|
27
|
+
};
|
|
18
28
|
declare const destroyCookies: (domain?: string) => void;
|
|
19
29
|
export { assignCookies, refreshCookies, destroyCookies, getCookies };
|
|
@@ -1655,7 +1655,7 @@ export type ISearchFilterInput = {
|
|
|
1655
1655
|
word: Scalars['String'];
|
|
1656
1656
|
};
|
|
1657
1657
|
export type ISelection = {
|
|
1658
|
-
|
|
1658
|
+
name: Scalars['String'];
|
|
1659
1659
|
ordering: Scalars['Int'];
|
|
1660
1660
|
label: Scalars['String'];
|
|
1661
1661
|
};
|
|
@@ -1723,6 +1723,17 @@ export type ISocial = {
|
|
|
1723
1723
|
instagram?: Maybe<Scalars['String']>;
|
|
1724
1724
|
website?: Maybe<Scalars['String']>;
|
|
1725
1725
|
};
|
|
1726
|
+
export type ISubscribeMessage = {
|
|
1727
|
+
type?: Maybe<Scalars['String']>;
|
|
1728
|
+
payload?: Maybe<ISubscribeMessagePayload>;
|
|
1729
|
+
};
|
|
1730
|
+
export type ISubscribeMessagePayload = {
|
|
1731
|
+
operationName?: Maybe<Scalars['String']>;
|
|
1732
|
+
query?: Maybe<Scalars['String']>;
|
|
1733
|
+
};
|
|
1734
|
+
export type ISubscription = {
|
|
1735
|
+
onMyExperienceUpdated?: Maybe<ISubscribeMessage>;
|
|
1736
|
+
};
|
|
1726
1737
|
export type ITask = {
|
|
1727
1738
|
taskId?: Maybe<Scalars['ID']>;
|
|
1728
1739
|
userId?: Maybe<Scalars['ID']>;
|
|
@@ -2018,6 +2029,14 @@ export type IFetchMyTasksQueryVariables = Exact<{
|
|
|
2018
2029
|
export type IFetchMyTasksQuery = {
|
|
2019
2030
|
fetchMyTasks: Array<Maybe<Pick<ITask, 'taskId' | 'userId' | 'taskType' | 'name' | 'description' | 'repeatable' | 'maxRepeats' | 'minPointsAward' | 'maxPointsAward' | 'repeatsCompleted'>>>;
|
|
2020
2031
|
};
|
|
2032
|
+
export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
|
|
2033
|
+
[key: string]: never;
|
|
2034
|
+
}>;
|
|
2035
|
+
export type IOnMyExperienceUpdatedSubscription = {
|
|
2036
|
+
onMyExperienceUpdated?: Maybe<(Pick<ISubscribeMessage, 'type'> & {
|
|
2037
|
+
payload?: Maybe<Pick<ISubscribeMessagePayload, 'operationName' | 'query'>>;
|
|
2038
|
+
})>;
|
|
2039
|
+
};
|
|
2021
2040
|
export type IFetchNftDataQueryVariables = Exact<{
|
|
2022
2041
|
blockchain: Scalars['String'];
|
|
2023
2042
|
contractAddress?: Maybe<Scalars['String']>;
|
|
@@ -2410,7 +2429,7 @@ export type IFetchSearchResultTimeSelectionsQueryVariables = Exact<{
|
|
|
2410
2429
|
[key: string]: never;
|
|
2411
2430
|
}>;
|
|
2412
2431
|
export type IFetchSearchResultTimeSelectionsQuery = {
|
|
2413
|
-
fetchSearchResultTimeSelections: Array<Maybe<Pick<ISelection, '
|
|
2432
|
+
fetchSearchResultTimeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>>;
|
|
2414
2433
|
};
|
|
2415
2434
|
export type IFetchUserExpectationsQueryVariables = Exact<{
|
|
2416
2435
|
[key: string]: never;
|
|
@@ -2428,25 +2447,25 @@ export type IFetchSearchResultBlockchainSelectionsQueryVariables = Exact<{
|
|
|
2428
2447
|
[key: string]: never;
|
|
2429
2448
|
}>;
|
|
2430
2449
|
export type IFetchSearchResultBlockchainSelectionsQuery = {
|
|
2431
|
-
fetchSearchResultBlockchainSelections: Array<Maybe<Pick<ISelection, '
|
|
2450
|
+
fetchSearchResultBlockchainSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>>;
|
|
2432
2451
|
};
|
|
2433
2452
|
export type IFetchSearchResultCategorySelectionsQueryVariables = Exact<{
|
|
2434
2453
|
[key: string]: never;
|
|
2435
2454
|
}>;
|
|
2436
2455
|
export type IFetchSearchResultCategorySelectionsQuery = {
|
|
2437
|
-
fetchSearchResultCategorySelections: Array<Maybe<Pick<ISelection, '
|
|
2456
|
+
fetchSearchResultCategorySelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>>;
|
|
2438
2457
|
};
|
|
2439
2458
|
export type IFetchSearchResultStatusSelectionsQueryVariables = Exact<{
|
|
2440
2459
|
[key: string]: never;
|
|
2441
2460
|
}>;
|
|
2442
2461
|
export type IFetchSearchResultStatusSelectionsQuery = {
|
|
2443
|
-
fetchSearchResultStatusSelections: Array<Maybe<Pick<ISelection, '
|
|
2462
|
+
fetchSearchResultStatusSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>>;
|
|
2444
2463
|
};
|
|
2445
2464
|
export type IFetchSetsSearchResultTypeSelectionsQueryVariables = Exact<{
|
|
2446
2465
|
[key: string]: never;
|
|
2447
2466
|
}>;
|
|
2448
2467
|
export type IFetchSetsSearchResultTypeSelectionsQuery = {
|
|
2449
|
-
fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, '
|
|
2468
|
+
fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>>;
|
|
2450
2469
|
};
|
|
2451
2470
|
export type IFetchAllCreationsQueryVariables = Exact<{
|
|
2452
2471
|
pageSize: Scalars['Int'];
|
|
@@ -3025,6 +3044,27 @@ export declare function useFetchMyTasksLazyQuery(baseOptions?: Apollo.LazyQueryH
|
|
|
3025
3044
|
export type FetchMyTasksQueryHookResult = ReturnType<typeof useFetchMyTasksQuery>;
|
|
3026
3045
|
export type FetchMyTasksLazyQueryHookResult = ReturnType<typeof useFetchMyTasksLazyQuery>;
|
|
3027
3046
|
export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
|
|
3047
|
+
export declare const OnMyExperienceUpdatedDocument: Apollo.DocumentNode;
|
|
3048
|
+
/**
|
|
3049
|
+
* __useOnMyExperienceUpdatedSubscription__
|
|
3050
|
+
*
|
|
3051
|
+
* To run a query within a React component, call `useOnMyExperienceUpdatedSubscription` and pass it any options that fit your needs.
|
|
3052
|
+
* When your component renders, `useOnMyExperienceUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3053
|
+
* you can use to render your UI.
|
|
3054
|
+
*
|
|
3055
|
+
* @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3056
|
+
*
|
|
3057
|
+
* @example
|
|
3058
|
+
* const { data, loading, error } = useOnMyExperienceUpdatedSubscription({
|
|
3059
|
+
* variables: {
|
|
3060
|
+
* },
|
|
3061
|
+
* });
|
|
3062
|
+
*/
|
|
3063
|
+
export declare function useOnMyExperienceUpdatedSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>): Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription, Exact<{
|
|
3064
|
+
[key: string]: never;
|
|
3065
|
+
}>>;
|
|
3066
|
+
export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
|
|
3067
|
+
export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
|
|
3028
3068
|
export declare const FetchNftDataDocument: Apollo.DocumentNode;
|
|
3029
3069
|
/**
|
|
3030
3070
|
* __useFetchNftDataQuery__
|
|
@@ -23,11 +23,11 @@ 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.
|
|
29
|
-
exports.
|
|
30
|
-
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = void 0;
|
|
26
|
+
exports.FetchNftDataDocument = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceLazyQuery = exports.useFetchMyExperienceQuery = exports.FetchMyExperienceDocument = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFetchCollectionsLazyQuery = exports.useFetchCollectionsQuery = exports.FetchCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useLikeCollectionMutation = exports.LikeCollectionDocument = exports.useDislikeCollectionMutation = exports.DislikeCollectionDocument = exports.useFetchLikedLazyQuery = exports.useFetchLikedQuery = exports.FetchLikedDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAssetLazyQuery = exports.useFetchAssetQuery = exports.FetchAssetDocument = exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = void 0;
|
|
27
|
+
exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useFetchGalleryCreationsLazyQuery = exports.useFetchGalleryCreationsQuery = exports.FetchGalleryCreationsDocument = exports.useFetchGalleryLazyQuery = exports.useFetchGalleryQuery = exports.FetchGalleryDocument = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCreationFromGalleryMutation = exports.RemoveCreationFromGalleryDocument = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveCollectionFromGalleryMutation = exports.RemoveCollectionFromGalleryDocument = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useRemoveAssetFromGalleryMutation = exports.RemoveAssetFromGalleryDocument = exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = exports.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = exports.useAddCollectionsToGalleryV2Mutation = exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = void 0;
|
|
28
|
+
exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserGalleriesLazyQuery = exports.useFetchUserGalleriesQuery = exports.FetchUserGalleriesDocument = exports.useFetchUserFavoritesV2LazyQuery = exports.useFetchUserFavoritesV2Query = exports.FetchUserFavoritesV2Document = exports.useFetchUserFavoritesLazyQuery = exports.useFetchUserFavoritesQuery = exports.FetchUserFavoritesDocument = exports.useFetchMyGalleriesV2LazyQuery = exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = void 0;
|
|
29
|
+
exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = exports.FetchUserInterestsDocument = exports.useFetchUserExpectationsLazyQuery = exports.useFetchUserExpectationsQuery = exports.FetchUserExpectationsDocument = exports.useFetchSearchResultTimeSelectionsLazyQuery = exports.useFetchSearchResultTimeSelectionsQuery = exports.FetchSearchResultTimeSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = void 0;
|
|
30
|
+
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = void 0;
|
|
31
31
|
/* eslint-disable */
|
|
32
32
|
const client_1 = require("@apollo/client");
|
|
33
33
|
const Apollo = __importStar(require("@apollo/client"));
|
|
@@ -945,6 +945,36 @@ function useFetchMyTasksLazyQuery(baseOptions) {
|
|
|
945
945
|
return Apollo.useLazyQuery(exports.FetchMyTasksDocument, baseOptions);
|
|
946
946
|
}
|
|
947
947
|
exports.useFetchMyTasksLazyQuery = useFetchMyTasksLazyQuery;
|
|
948
|
+
exports.OnMyExperienceUpdatedDocument = (0, client_1.gql) `
|
|
949
|
+
subscription OnMyExperienceUpdated {
|
|
950
|
+
onMyExperienceUpdated {
|
|
951
|
+
type
|
|
952
|
+
payload {
|
|
953
|
+
operationName
|
|
954
|
+
query
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
`;
|
|
959
|
+
/**
|
|
960
|
+
* __useOnMyExperienceUpdatedSubscription__
|
|
961
|
+
*
|
|
962
|
+
* To run a query within a React component, call `useOnMyExperienceUpdatedSubscription` and pass it any options that fit your needs.
|
|
963
|
+
* When your component renders, `useOnMyExperienceUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
964
|
+
* you can use to render your UI.
|
|
965
|
+
*
|
|
966
|
+
* @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
967
|
+
*
|
|
968
|
+
* @example
|
|
969
|
+
* const { data, loading, error } = useOnMyExperienceUpdatedSubscription({
|
|
970
|
+
* variables: {
|
|
971
|
+
* },
|
|
972
|
+
* });
|
|
973
|
+
*/
|
|
974
|
+
function useOnMyExperienceUpdatedSubscription(baseOptions) {
|
|
975
|
+
return Apollo.useSubscription(exports.OnMyExperienceUpdatedDocument, baseOptions);
|
|
976
|
+
}
|
|
977
|
+
exports.useOnMyExperienceUpdatedSubscription = useOnMyExperienceUpdatedSubscription;
|
|
948
978
|
exports.FetchNftDataDocument = (0, client_1.gql) `
|
|
949
979
|
query FetchNFTData($blockchain: String!, $contractAddress: String, $tokenId: String, $elrondId: String) {
|
|
950
980
|
fetchNFTData(
|
|
@@ -3054,7 +3084,7 @@ exports.useFetchInterestsLazyQuery = useFetchInterestsLazyQuery;
|
|
|
3054
3084
|
exports.FetchSearchResultTimeSelectionsDocument = (0, client_1.gql) `
|
|
3055
3085
|
query FetchSearchResultTimeSelections {
|
|
3056
3086
|
fetchSearchResultTimeSelections {
|
|
3057
|
-
|
|
3087
|
+
name
|
|
3058
3088
|
label
|
|
3059
3089
|
}
|
|
3060
3090
|
}
|
|
@@ -3150,7 +3180,7 @@ exports.useFetchUserInterestsLazyQuery = useFetchUserInterestsLazyQuery;
|
|
|
3150
3180
|
exports.FetchSearchResultBlockchainSelectionsDocument = (0, client_1.gql) `
|
|
3151
3181
|
query FetchSearchResultBlockchainSelections {
|
|
3152
3182
|
fetchSearchResultBlockchainSelections {
|
|
3153
|
-
|
|
3183
|
+
name
|
|
3154
3184
|
label
|
|
3155
3185
|
}
|
|
3156
3186
|
}
|
|
@@ -3181,7 +3211,7 @@ exports.useFetchSearchResultBlockchainSelectionsLazyQuery = useFetchSearchResult
|
|
|
3181
3211
|
exports.FetchSearchResultCategorySelectionsDocument = (0, client_1.gql) `
|
|
3182
3212
|
query FetchSearchResultCategorySelections {
|
|
3183
3213
|
fetchSearchResultCategorySelections {
|
|
3184
|
-
|
|
3214
|
+
name
|
|
3185
3215
|
label
|
|
3186
3216
|
}
|
|
3187
3217
|
}
|
|
@@ -3212,7 +3242,7 @@ exports.useFetchSearchResultCategorySelectionsLazyQuery = useFetchSearchResultCa
|
|
|
3212
3242
|
exports.FetchSearchResultStatusSelectionsDocument = (0, client_1.gql) `
|
|
3213
3243
|
query FetchSearchResultStatusSelections {
|
|
3214
3244
|
fetchSearchResultStatusSelections {
|
|
3215
|
-
|
|
3245
|
+
name
|
|
3216
3246
|
label
|
|
3217
3247
|
}
|
|
3218
3248
|
}
|
|
@@ -3243,7 +3273,7 @@ exports.useFetchSearchResultStatusSelectionsLazyQuery = useFetchSearchResultStat
|
|
|
3243
3273
|
exports.FetchSetsSearchResultTypeSelectionsDocument = (0, client_1.gql) `
|
|
3244
3274
|
query FetchSetsSearchResultTypeSelections {
|
|
3245
3275
|
fetchSetsSearchResultTypeSelections {
|
|
3246
|
-
|
|
3276
|
+
name
|
|
3247
3277
|
label
|
|
3248
3278
|
}
|
|
3249
3279
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
query FetchMyTasks {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
fetchMyTasks {
|
|
3
|
+
taskId
|
|
4
|
+
userId
|
|
5
|
+
taskType
|
|
6
|
+
name
|
|
7
|
+
description
|
|
8
|
+
repeatable
|
|
9
|
+
maxRepeats
|
|
10
|
+
minPointsAward
|
|
11
|
+
maxPointsAward
|
|
12
|
+
repeatsCompleted
|
|
13
|
+
}
|
|
14
14
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
query FetchNFTData($blockchain: String!, $contractAddress: String, $tokenId: String, $elrondId: String) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
assetData {
|
|
17
|
-
assetId
|
|
18
|
-
rank
|
|
19
|
-
}
|
|
20
|
-
userRank
|
|
2
|
+
fetchNFTData(blockchain: $blockchain, contractAddress: $contractAddress, tokenId: $tokenId, elrondId: $elrondId) {
|
|
3
|
+
blockchain
|
|
4
|
+
contractAddress
|
|
5
|
+
tokenId
|
|
6
|
+
elrondId
|
|
7
|
+
collectionData {
|
|
8
|
+
collectionId
|
|
9
|
+
title
|
|
10
|
+
rank
|
|
11
|
+
createdAt
|
|
12
|
+
itemsNum
|
|
13
|
+
holdersNum
|
|
14
|
+
floorPrice
|
|
21
15
|
}
|
|
16
|
+
assetData {
|
|
17
|
+
assetId
|
|
18
|
+
rank
|
|
19
|
+
}
|
|
20
|
+
userRank
|
|
21
|
+
}
|
|
22
22
|
}
|
package/src/documents/server-galleries/queries/useFetchMyGalleries/FetchMyGalleriesV2.graphql
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
query FetchMyGalleriesV2($pageSize: Int!, $pageToken: String) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
2
|
+
fetchMyGalleriesV2(pageSize: $pageSize, pageToken: $pageToken) {
|
|
3
|
+
nextPageToken
|
|
4
|
+
galleries {
|
|
5
|
+
galleryId
|
|
6
|
+
galleryType
|
|
7
|
+
name
|
|
8
|
+
description
|
|
9
|
+
userId
|
|
10
|
+
username
|
|
11
|
+
userpic
|
|
12
|
+
banner
|
|
13
|
+
createdAt
|
|
14
|
+
items
|
|
15
|
+
views
|
|
16
|
+
publiclyAccessible
|
|
17
|
+
nsfw
|
|
18
|
+
creationIds
|
|
20
19
|
}
|
|
20
|
+
}
|
|
21
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
mutation GenerateNewInviteCodes($codesNum: Int!) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
2
|
+
generateNewInviteCodes(codesNum: $codesNum) {
|
|
3
|
+
inviteCode
|
|
4
|
+
inviteeId
|
|
5
|
+
isUsed
|
|
6
|
+
usedAt
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
mutation UseInviteCode($inviteCode: String!) {
|
|
2
|
-
|
|
3
|
-
}
|
|
2
|
+
useInviteCode(inviteCode: $inviteCode)
|
|
3
|
+
}
|
package/src/documents/server-opportunities/queries/useFetchOpportunities/FetchOpportunities.graphql
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
query FetchOpportunities($domain: String) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
similarOpportunities {
|
|
23
|
-
opportunityId
|
|
24
|
-
name
|
|
25
|
-
description
|
|
26
|
-
startedAt
|
|
27
|
-
endedAt
|
|
28
|
-
createdAt
|
|
29
|
-
tags
|
|
30
|
-
category
|
|
31
|
-
media
|
|
32
|
-
links
|
|
33
|
-
ludoRankRequired
|
|
34
|
-
ludoRankRequiredMin
|
|
35
|
-
ludoRankRequiredMax
|
|
36
|
-
rewardType
|
|
37
|
-
creatorId
|
|
38
|
-
creatorWallet
|
|
39
|
-
status
|
|
40
|
-
}
|
|
2
|
+
fetchOpportunities(domain: $domain) {
|
|
3
|
+
currentOpportunities {
|
|
4
|
+
opportunityId
|
|
5
|
+
name
|
|
6
|
+
description
|
|
7
|
+
startedAt
|
|
8
|
+
endedAt
|
|
9
|
+
createdAt
|
|
10
|
+
tags
|
|
11
|
+
category
|
|
12
|
+
media
|
|
13
|
+
links
|
|
14
|
+
ludoRankRequired
|
|
15
|
+
ludoRankRequiredMin
|
|
16
|
+
ludoRankRequiredMax
|
|
17
|
+
rewardType
|
|
18
|
+
creatorId
|
|
19
|
+
creatorWallet
|
|
20
|
+
status
|
|
41
21
|
}
|
|
22
|
+
similarOpportunities {
|
|
23
|
+
opportunityId
|
|
24
|
+
name
|
|
25
|
+
description
|
|
26
|
+
startedAt
|
|
27
|
+
endedAt
|
|
28
|
+
createdAt
|
|
29
|
+
tags
|
|
30
|
+
category
|
|
31
|
+
media
|
|
32
|
+
links
|
|
33
|
+
ludoRankRequired
|
|
34
|
+
ludoRankRequiredMin
|
|
35
|
+
ludoRankRequiredMax
|
|
36
|
+
rewardType
|
|
37
|
+
creatorId
|
|
38
|
+
creatorWallet
|
|
39
|
+
status
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
42
|
}
|
|
@@ -1029,7 +1029,7 @@ input SearchFilterInput {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
1031
1031
|
type Selection {
|
|
1032
|
-
|
|
1032
|
+
name: String!
|
|
1033
1033
|
ordering: Int!
|
|
1034
1034
|
label: String!
|
|
1035
1035
|
}
|
|
@@ -1106,6 +1106,20 @@ type Social {
|
|
|
1106
1106
|
website: String
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
|
+
type SubscribeMessage {
|
|
1110
|
+
type: String
|
|
1111
|
+
payload: SubscribeMessagePayload
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
type SubscribeMessagePayload {
|
|
1115
|
+
operationName: String
|
|
1116
|
+
query: String
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
type Subscription {
|
|
1120
|
+
onMyExperienceUpdated: SubscribeMessage
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1109
1123
|
type Task {
|
|
1110
1124
|
taskId: ID
|
|
1111
1125
|
userId: ID
|