@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
|
@@ -2075,7 +2075,7 @@ export type ISearchFilterInput = {
|
|
|
2075
2075
|
};
|
|
2076
2076
|
|
|
2077
2077
|
export type ISelection = {
|
|
2078
|
-
|
|
2078
|
+
name: Scalars['String'];
|
|
2079
2079
|
ordering: Scalars['Int'];
|
|
2080
2080
|
label: Scalars['String'];
|
|
2081
2081
|
};
|
|
@@ -2152,6 +2152,20 @@ export type ISocial = {
|
|
|
2152
2152
|
website?: Maybe<Scalars['String']>;
|
|
2153
2153
|
};
|
|
2154
2154
|
|
|
2155
|
+
export type ISubscribeMessage = {
|
|
2156
|
+
type?: Maybe<Scalars['String']>;
|
|
2157
|
+
payload?: Maybe<ISubscribeMessagePayload>;
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
export type ISubscribeMessagePayload = {
|
|
2161
|
+
operationName?: Maybe<Scalars['String']>;
|
|
2162
|
+
query?: Maybe<Scalars['String']>;
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
export type ISubscription = {
|
|
2166
|
+
onMyExperienceUpdated?: Maybe<ISubscribeMessage>;
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2155
2169
|
export type ITask = {
|
|
2156
2170
|
taskId?: Maybe<Scalars['ID']>;
|
|
2157
2171
|
userId?: Maybe<Scalars['ID']>;
|
|
@@ -2482,6 +2496,14 @@ export type IFetchMyTasksQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
2482
2496
|
|
|
2483
2497
|
export type IFetchMyTasksQuery = { fetchMyTasks: Array<Maybe<Pick<ITask, 'taskId' | 'userId' | 'taskType' | 'name' | 'description' | 'repeatable' | 'maxRepeats' | 'minPointsAward' | 'maxPointsAward' | 'repeatsCompleted'>>> };
|
|
2484
2498
|
|
|
2499
|
+
export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{ [key: string]: never; }>;
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
export type IOnMyExperienceUpdatedSubscription = { onMyExperienceUpdated?: Maybe<(
|
|
2503
|
+
Pick<ISubscribeMessage, 'type'>
|
|
2504
|
+
& { payload?: Maybe<Pick<ISubscribeMessagePayload, 'operationName' | 'query'>> }
|
|
2505
|
+
)> };
|
|
2506
|
+
|
|
2485
2507
|
export type IFetchNftDataQueryVariables = Exact<{
|
|
2486
2508
|
blockchain: Scalars['String'];
|
|
2487
2509
|
contractAddress?: Maybe<Scalars['String']>;
|
|
@@ -3003,7 +3025,7 @@ export type IFetchInterestsQuery = { fetchInterests: Array<Maybe<Pick<IInterest,
|
|
|
3003
3025
|
export type IFetchSearchResultTimeSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3004
3026
|
|
|
3005
3027
|
|
|
3006
|
-
export type IFetchSearchResultTimeSelectionsQuery = { fetchSearchResultTimeSelections: Array<Maybe<Pick<ISelection, '
|
|
3028
|
+
export type IFetchSearchResultTimeSelectionsQuery = { fetchSearchResultTimeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
3007
3029
|
|
|
3008
3030
|
export type IFetchUserExpectationsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3009
3031
|
|
|
@@ -3018,22 +3040,22 @@ export type IFetchUserInterestsQuery = { fetchUserInterests: Array<Maybe<Pick<IU
|
|
|
3018
3040
|
export type IFetchSearchResultBlockchainSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3019
3041
|
|
|
3020
3042
|
|
|
3021
|
-
export type IFetchSearchResultBlockchainSelectionsQuery = { fetchSearchResultBlockchainSelections: Array<Maybe<Pick<ISelection, '
|
|
3043
|
+
export type IFetchSearchResultBlockchainSelectionsQuery = { fetchSearchResultBlockchainSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
3022
3044
|
|
|
3023
3045
|
export type IFetchSearchResultCategorySelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3024
3046
|
|
|
3025
3047
|
|
|
3026
|
-
export type IFetchSearchResultCategorySelectionsQuery = { fetchSearchResultCategorySelections: Array<Maybe<Pick<ISelection, '
|
|
3048
|
+
export type IFetchSearchResultCategorySelectionsQuery = { fetchSearchResultCategorySelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
3027
3049
|
|
|
3028
3050
|
export type IFetchSearchResultStatusSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3029
3051
|
|
|
3030
3052
|
|
|
3031
|
-
export type IFetchSearchResultStatusSelectionsQuery = { fetchSearchResultStatusSelections: Array<Maybe<Pick<ISelection, '
|
|
3053
|
+
export type IFetchSearchResultStatusSelectionsQuery = { fetchSearchResultStatusSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
3032
3054
|
|
|
3033
3055
|
export type IFetchSetsSearchResultTypeSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3034
3056
|
|
|
3035
3057
|
|
|
3036
|
-
export type IFetchSetsSearchResultTypeSelectionsQuery = { fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, '
|
|
3058
|
+
export type IFetchSetsSearchResultTypeSelectionsQuery = { fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
3037
3059
|
|
|
3038
3060
|
export type IFetchAllCreationsQueryVariables = Exact<{
|
|
3039
3061
|
pageSize: Scalars['Int'];
|
|
@@ -4134,6 +4156,38 @@ export function useFetchMyTasksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio
|
|
|
4134
4156
|
export type FetchMyTasksQueryHookResult = ReturnType<typeof useFetchMyTasksQuery>;
|
|
4135
4157
|
export type FetchMyTasksLazyQueryHookResult = ReturnType<typeof useFetchMyTasksLazyQuery>;
|
|
4136
4158
|
export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
|
|
4159
|
+
export const OnMyExperienceUpdatedDocument = gql`
|
|
4160
|
+
subscription OnMyExperienceUpdated {
|
|
4161
|
+
onMyExperienceUpdated {
|
|
4162
|
+
type
|
|
4163
|
+
payload {
|
|
4164
|
+
operationName
|
|
4165
|
+
query
|
|
4166
|
+
}
|
|
4167
|
+
}
|
|
4168
|
+
}
|
|
4169
|
+
`;
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* __useOnMyExperienceUpdatedSubscription__
|
|
4173
|
+
*
|
|
4174
|
+
* To run a query within a React component, call `useOnMyExperienceUpdatedSubscription` and pass it any options that fit your needs.
|
|
4175
|
+
* When your component renders, `useOnMyExperienceUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4176
|
+
* you can use to render your UI.
|
|
4177
|
+
*
|
|
4178
|
+
* @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;
|
|
4179
|
+
*
|
|
4180
|
+
* @example
|
|
4181
|
+
* const { data, loading, error } = useOnMyExperienceUpdatedSubscription({
|
|
4182
|
+
* variables: {
|
|
4183
|
+
* },
|
|
4184
|
+
* });
|
|
4185
|
+
*/
|
|
4186
|
+
export function useOnMyExperienceUpdatedSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>) {
|
|
4187
|
+
return Apollo.useSubscription<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>(OnMyExperienceUpdatedDocument, baseOptions);
|
|
4188
|
+
}
|
|
4189
|
+
export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
|
|
4190
|
+
export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
|
|
4137
4191
|
export const FetchNftDataDocument = gql`
|
|
4138
4192
|
query FetchNFTData($blockchain: String!, $contractAddress: String, $tokenId: String, $elrondId: String) {
|
|
4139
4193
|
fetchNFTData(
|
|
@@ -6439,7 +6493,7 @@ export type FetchInterestsQueryResult = Apollo.QueryResult<IFetchInterestsQuery,
|
|
|
6439
6493
|
export const FetchSearchResultTimeSelectionsDocument = gql`
|
|
6440
6494
|
query FetchSearchResultTimeSelections {
|
|
6441
6495
|
fetchSearchResultTimeSelections {
|
|
6442
|
-
|
|
6496
|
+
name
|
|
6443
6497
|
label
|
|
6444
6498
|
}
|
|
6445
6499
|
}
|
|
@@ -6541,7 +6595,7 @@ export type FetchUserInterestsQueryResult = Apollo.QueryResult<IFetchUserInteres
|
|
|
6541
6595
|
export const FetchSearchResultBlockchainSelectionsDocument = gql`
|
|
6542
6596
|
query FetchSearchResultBlockchainSelections {
|
|
6543
6597
|
fetchSearchResultBlockchainSelections {
|
|
6544
|
-
|
|
6598
|
+
name
|
|
6545
6599
|
label
|
|
6546
6600
|
}
|
|
6547
6601
|
}
|
|
@@ -6574,7 +6628,7 @@ export type FetchSearchResultBlockchainSelectionsQueryResult = Apollo.QueryResul
|
|
|
6574
6628
|
export const FetchSearchResultCategorySelectionsDocument = gql`
|
|
6575
6629
|
query FetchSearchResultCategorySelections {
|
|
6576
6630
|
fetchSearchResultCategorySelections {
|
|
6577
|
-
|
|
6631
|
+
name
|
|
6578
6632
|
label
|
|
6579
6633
|
}
|
|
6580
6634
|
}
|
|
@@ -6607,7 +6661,7 @@ export type FetchSearchResultCategorySelectionsQueryResult = Apollo.QueryResult<
|
|
|
6607
6661
|
export const FetchSearchResultStatusSelectionsDocument = gql`
|
|
6608
6662
|
query FetchSearchResultStatusSelections {
|
|
6609
6663
|
fetchSearchResultStatusSelections {
|
|
6610
|
-
|
|
6664
|
+
name
|
|
6611
6665
|
label
|
|
6612
6666
|
}
|
|
6613
6667
|
}
|
|
@@ -6640,7 +6694,7 @@ export type FetchSearchResultStatusSelectionsQueryResult = Apollo.QueryResult<IF
|
|
|
6640
6694
|
export const FetchSetsSearchResultTypeSelectionsDocument = gql`
|
|
6641
6695
|
query FetchSetsSearchResultTypeSelections {
|
|
6642
6696
|
fetchSetsSearchResultTypeSelections {
|
|
6643
|
-
|
|
6697
|
+
name
|
|
6644
6698
|
label
|
|
6645
6699
|
}
|
|
6646
6700
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
type Task {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
2
|
+
taskId: ID
|
|
3
|
+
userId: ID
|
|
4
|
+
taskType: String
|
|
5
|
+
name: String
|
|
6
|
+
description: String
|
|
7
|
+
repeatable: Boolean
|
|
8
|
+
maxRepeats: Int
|
|
9
|
+
minPointsAward: Int
|
|
10
|
+
maxPointsAward: Int
|
|
11
|
+
repeatsCompleted: Int
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type UserInviteCode {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
2
|
+
inviteCode: String!
|
|
3
|
+
inviteeId: ID
|
|
4
|
+
isUsed: Boolean!
|
|
5
|
+
usedAt: Long
|
|
6
|
+
}
|