@ludo.ninja/api 2.8.63 → 2.8.65
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 +5 -0
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +27 -0
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +4 -4
- package/build/graphql_tools/__generated__/extensionHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +123 -136
- package/build/graphql_tools/__generated__/identityHost/schema.js +81 -105
- package/build/index.d.ts +22 -28
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +7 -0
- package/src/graphql_tools/__generated__/experiencesHost/schema.ts +31 -0
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +5 -5
- package/src/graphql_tools/__generated__/identityHost/schema.ts +150 -191
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -23,8 +23,8 @@ 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.
|
|
26
|
+
exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateTonNonceMutation = exports.CreateTonNonceDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useCreateEvmNonceMutation = exports.CreateEvmNonceDocument = exports.useAddWalletTonMutation = exports.AddWalletTonDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.IRole = void 0;
|
|
27
|
+
exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchMyProfileV2LazyQuery = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
30
|
var IRole;
|
|
@@ -168,6 +168,57 @@ function useAddWalletTezosMutation(baseOptions) {
|
|
|
168
168
|
return Apollo.useMutation(exports.AddWalletTezosDocument, baseOptions);
|
|
169
169
|
}
|
|
170
170
|
exports.useAddWalletTezosMutation = useAddWalletTezosMutation;
|
|
171
|
+
exports.AddWalletTonDocument = (0, client_1.gql) `
|
|
172
|
+
mutation AddWalletTon($request: CheckTonProofRequest!) {
|
|
173
|
+
addWalletTon(request: $request)
|
|
174
|
+
}
|
|
175
|
+
`;
|
|
176
|
+
/**
|
|
177
|
+
* __useAddWalletTonMutation__
|
|
178
|
+
*
|
|
179
|
+
* To run a mutation, you first call `useAddWalletTonMutation` within a React component and pass it any options that fit your needs.
|
|
180
|
+
* When your component renders, `useAddWalletTonMutation` returns a tuple that includes:
|
|
181
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
182
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
183
|
+
*
|
|
184
|
+
* @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;
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* const [addWalletTonMutation, { data, loading, error }] = useAddWalletTonMutation({
|
|
188
|
+
* variables: {
|
|
189
|
+
* request: // value for 'request'
|
|
190
|
+
* },
|
|
191
|
+
* });
|
|
192
|
+
*/
|
|
193
|
+
function useAddWalletTonMutation(baseOptions) {
|
|
194
|
+
return Apollo.useMutation(exports.AddWalletTonDocument, baseOptions);
|
|
195
|
+
}
|
|
196
|
+
exports.useAddWalletTonMutation = useAddWalletTonMutation;
|
|
197
|
+
exports.CreateEvmNonceDocument = (0, client_1.gql) `
|
|
198
|
+
mutation CreateEvmNonce {
|
|
199
|
+
createEvmNonce
|
|
200
|
+
}
|
|
201
|
+
`;
|
|
202
|
+
/**
|
|
203
|
+
* __useCreateEvmNonceMutation__
|
|
204
|
+
*
|
|
205
|
+
* To run a mutation, you first call `useCreateEvmNonceMutation` within a React component and pass it any options that fit your needs.
|
|
206
|
+
* When your component renders, `useCreateEvmNonceMutation` returns a tuple that includes:
|
|
207
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
208
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
209
|
+
*
|
|
210
|
+
* @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;
|
|
211
|
+
*
|
|
212
|
+
* @example
|
|
213
|
+
* const [createEvmNonceMutation, { data, loading, error }] = useCreateEvmNonceMutation({
|
|
214
|
+
* variables: {
|
|
215
|
+
* },
|
|
216
|
+
* });
|
|
217
|
+
*/
|
|
218
|
+
function useCreateEvmNonceMutation(baseOptions) {
|
|
219
|
+
return Apollo.useMutation(exports.CreateEvmNonceDocument, baseOptions);
|
|
220
|
+
}
|
|
221
|
+
exports.useCreateEvmNonceMutation = useCreateEvmNonceMutation;
|
|
171
222
|
exports.CreateNonceDocument = (0, client_1.gql) `
|
|
172
223
|
mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
173
224
|
createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
|
|
@@ -196,6 +247,31 @@ function useCreateNonceMutation(baseOptions) {
|
|
|
196
247
|
return Apollo.useMutation(exports.CreateNonceDocument, baseOptions);
|
|
197
248
|
}
|
|
198
249
|
exports.useCreateNonceMutation = useCreateNonceMutation;
|
|
250
|
+
exports.CreateTonNonceDocument = (0, client_1.gql) `
|
|
251
|
+
mutation CreateTonNonce {
|
|
252
|
+
createTonNonce
|
|
253
|
+
}
|
|
254
|
+
`;
|
|
255
|
+
/**
|
|
256
|
+
* __useCreateTonNonceMutation__
|
|
257
|
+
*
|
|
258
|
+
* To run a mutation, you first call `useCreateTonNonceMutation` within a React component and pass it any options that fit your needs.
|
|
259
|
+
* When your component renders, `useCreateTonNonceMutation` returns a tuple that includes:
|
|
260
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
261
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
262
|
+
*
|
|
263
|
+
* @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;
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* const [createTonNonceMutation, { data, loading, error }] = useCreateTonNonceMutation({
|
|
267
|
+
* variables: {
|
|
268
|
+
* },
|
|
269
|
+
* });
|
|
270
|
+
*/
|
|
271
|
+
function useCreateTonNonceMutation(baseOptions) {
|
|
272
|
+
return Apollo.useMutation(exports.CreateTonNonceDocument, baseOptions);
|
|
273
|
+
}
|
|
274
|
+
exports.useCreateTonNonceMutation = useCreateTonNonceMutation;
|
|
199
275
|
exports.GenerateNewInviteCodesDocument = (0, client_1.gql) `
|
|
200
276
|
mutation GenerateNewInviteCodes($codesNum: Int!) {
|
|
201
277
|
generateNewInviteCodes(codesNum: $codesNum) {
|
|
@@ -597,8 +673,8 @@ function useSignInTezosMutation(baseOptions) {
|
|
|
597
673
|
}
|
|
598
674
|
exports.useSignInTezosMutation = useSignInTezosMutation;
|
|
599
675
|
exports.SignInTonDocument = (0, client_1.gql) `
|
|
600
|
-
mutation SignInTon($
|
|
601
|
-
signInTon(
|
|
676
|
+
mutation SignInTon($request: CheckTonProofRequest!, $restore: Boolean) {
|
|
677
|
+
signInTon(request: $request, restore: $restore) {
|
|
602
678
|
userId
|
|
603
679
|
wallets
|
|
604
680
|
tokens {
|
|
@@ -630,8 +706,7 @@ exports.SignInTonDocument = (0, client_1.gql) `
|
|
|
630
706
|
* @example
|
|
631
707
|
* const [signInTonMutation, { data, loading, error }] = useSignInTonMutation({
|
|
632
708
|
* variables: {
|
|
633
|
-
*
|
|
634
|
-
* address: // value for 'address'
|
|
709
|
+
* request: // value for 'request'
|
|
635
710
|
* restore: // value for 'restore'
|
|
636
711
|
* },
|
|
637
712
|
* });
|
|
@@ -722,72 +797,6 @@ function useFetchMultiversXAuditLazyQuery(baseOptions) {
|
|
|
722
797
|
return Apollo.useLazyQuery(exports.FetchMultiversXAuditDocument, baseOptions);
|
|
723
798
|
}
|
|
724
799
|
exports.useFetchMultiversXAuditLazyQuery = useFetchMultiversXAuditLazyQuery;
|
|
725
|
-
exports.FetchMyProfileDocument = (0, client_1.gql) `
|
|
726
|
-
query FetchMyProfile {
|
|
727
|
-
fetchMyProfile {
|
|
728
|
-
userId
|
|
729
|
-
username
|
|
730
|
-
about
|
|
731
|
-
userpic
|
|
732
|
-
following
|
|
733
|
-
followings
|
|
734
|
-
followers
|
|
735
|
-
social {
|
|
736
|
-
facebook
|
|
737
|
-
twitter
|
|
738
|
-
instagram
|
|
739
|
-
website
|
|
740
|
-
}
|
|
741
|
-
views
|
|
742
|
-
createdAt
|
|
743
|
-
deletedAt
|
|
744
|
-
visible
|
|
745
|
-
deleted
|
|
746
|
-
showNsfw
|
|
747
|
-
rank
|
|
748
|
-
wallets {
|
|
749
|
-
userId
|
|
750
|
-
address
|
|
751
|
-
walletName
|
|
752
|
-
blockchain
|
|
753
|
-
chainId
|
|
754
|
-
}
|
|
755
|
-
xps
|
|
756
|
-
level
|
|
757
|
-
levelMinXps
|
|
758
|
-
levelMaxXps
|
|
759
|
-
inviteCodes {
|
|
760
|
-
inviteCode
|
|
761
|
-
inviteeId
|
|
762
|
-
isUsed
|
|
763
|
-
usedAt
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
`;
|
|
768
|
-
/**
|
|
769
|
-
* __useFetchMyProfileQuery__
|
|
770
|
-
*
|
|
771
|
-
* To run a query within a React component, call `useFetchMyProfileQuery` and pass it any options that fit your needs.
|
|
772
|
-
* When your component renders, `useFetchMyProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
773
|
-
* you can use to render your UI.
|
|
774
|
-
*
|
|
775
|
-
* @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;
|
|
776
|
-
*
|
|
777
|
-
* @example
|
|
778
|
-
* const { data, loading, error } = useFetchMyProfileQuery({
|
|
779
|
-
* variables: {
|
|
780
|
-
* },
|
|
781
|
-
* });
|
|
782
|
-
*/
|
|
783
|
-
function useFetchMyProfileQuery(baseOptions) {
|
|
784
|
-
return Apollo.useQuery(exports.FetchMyProfileDocument, baseOptions);
|
|
785
|
-
}
|
|
786
|
-
exports.useFetchMyProfileQuery = useFetchMyProfileQuery;
|
|
787
|
-
function useFetchMyProfileLazyQuery(baseOptions) {
|
|
788
|
-
return Apollo.useLazyQuery(exports.FetchMyProfileDocument, baseOptions);
|
|
789
|
-
}
|
|
790
|
-
exports.useFetchMyProfileLazyQuery = useFetchMyProfileLazyQuery;
|
|
791
800
|
exports.FetchMyProfileV2Document = (0, client_1.gql) `
|
|
792
801
|
query FetchMyProfileV2 {
|
|
793
802
|
fetchMyProfileV2 {
|
|
@@ -951,36 +960,3 @@ function useFetchUserWalletsLazyQuery(baseOptions) {
|
|
|
951
960
|
return Apollo.useLazyQuery(exports.FetchUserWalletsDocument, baseOptions);
|
|
952
961
|
}
|
|
953
962
|
exports.useFetchUserWalletsLazyQuery = useFetchUserWalletsLazyQuery;
|
|
954
|
-
exports.GetMyInviteCodesDocument = (0, client_1.gql) `
|
|
955
|
-
query GetMyInviteCodes {
|
|
956
|
-
getMyInviteCodes {
|
|
957
|
-
inviteCode
|
|
958
|
-
inviteeId
|
|
959
|
-
isUsed
|
|
960
|
-
usedAt
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
`;
|
|
964
|
-
/**
|
|
965
|
-
* __useGetMyInviteCodesQuery__
|
|
966
|
-
*
|
|
967
|
-
* To run a query within a React component, call `useGetMyInviteCodesQuery` and pass it any options that fit your needs.
|
|
968
|
-
* When your component renders, `useGetMyInviteCodesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
969
|
-
* you can use to render your UI.
|
|
970
|
-
*
|
|
971
|
-
* @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;
|
|
972
|
-
*
|
|
973
|
-
* @example
|
|
974
|
-
* const { data, loading, error } = useGetMyInviteCodesQuery({
|
|
975
|
-
* variables: {
|
|
976
|
-
* },
|
|
977
|
-
* });
|
|
978
|
-
*/
|
|
979
|
-
function useGetMyInviteCodesQuery(baseOptions) {
|
|
980
|
-
return Apollo.useQuery(exports.GetMyInviteCodesDocument, baseOptions);
|
|
981
|
-
}
|
|
982
|
-
exports.useGetMyInviteCodesQuery = useGetMyInviteCodesQuery;
|
|
983
|
-
function useGetMyInviteCodesLazyQuery(baseOptions) {
|
|
984
|
-
return Apollo.useLazyQuery(exports.GetMyInviteCodesDocument, baseOptions);
|
|
985
|
-
}
|
|
986
|
-
exports.useGetMyInviteCodesLazyQuery = useGetMyInviteCodesLazyQuery;
|
package/build/index.d.ts
CHANGED
|
@@ -522,6 +522,16 @@ declare const schema: {
|
|
|
522
522
|
signature: string;
|
|
523
523
|
pubkey: string;
|
|
524
524
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
525
|
+
useAddWalletTonMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.IAddWalletTonMutation, identitySchema.Exact<{
|
|
526
|
+
request: identitySchema.ICheckTonProofRequest;
|
|
527
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.IAddWalletTonMutation, identitySchema.Exact<{
|
|
528
|
+
request: identitySchema.ICheckTonProofRequest;
|
|
529
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
530
|
+
useCreateEvmNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateEvmNonceMutation, identitySchema.Exact<{
|
|
531
|
+
[key: string]: never;
|
|
532
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ICreateEvmNonceMutation, identitySchema.Exact<{
|
|
533
|
+
[key: string]: never;
|
|
534
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
525
535
|
useCreateNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateNonceMutation, identitySchema.Exact<{
|
|
526
536
|
address: string;
|
|
527
537
|
blockchain: string;
|
|
@@ -531,6 +541,11 @@ declare const schema: {
|
|
|
531
541
|
blockchain: string;
|
|
532
542
|
chainId?: identitySchema.Maybe<string> | undefined;
|
|
533
543
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
544
|
+
useCreateTonNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateTonNonceMutation, identitySchema.Exact<{
|
|
545
|
+
[key: string]: never;
|
|
546
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ICreateTonNonceMutation, identitySchema.Exact<{
|
|
547
|
+
[key: string]: never;
|
|
548
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
534
549
|
useGenerateNewInviteCodesMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.IGenerateNewInviteCodesMutation, identitySchema.Exact<{
|
|
535
550
|
codesNum: number;
|
|
536
551
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.IGenerateNewInviteCodesMutation, identitySchema.Exact<{
|
|
@@ -613,12 +628,10 @@ declare const schema: {
|
|
|
613
628
|
pubkey: string;
|
|
614
629
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
615
630
|
useSignInTonMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ISignInTonMutation, identitySchema.Exact<{
|
|
616
|
-
|
|
617
|
-
address: string;
|
|
631
|
+
request: identitySchema.ICheckTonProofRequest;
|
|
618
632
|
restore?: identitySchema.Maybe<boolean> | undefined;
|
|
619
633
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ISignInTonMutation, identitySchema.Exact<{
|
|
620
|
-
|
|
621
|
-
address: string;
|
|
634
|
+
request: identitySchema.ICheckTonProofRequest;
|
|
622
635
|
restore?: identitySchema.Maybe<boolean> | undefined;
|
|
623
636
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
624
637
|
useUpdateProfileMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.IUpdateProfileMutation, identitySchema.Exact<{
|
|
@@ -648,16 +661,6 @@ declare const schema: {
|
|
|
648
661
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchMultiversXAuditQuery, identitySchema.Exact<{
|
|
649
662
|
wallet: string;
|
|
650
663
|
}>>;
|
|
651
|
-
useFetchMyProfileQuery(baseOptions?: import("@apollo/client").QueryHookOptions<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
652
|
-
[key: string]: never;
|
|
653
|
-
}>> | undefined): import("@apollo/client").QueryResult<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
654
|
-
[key: string]: never;
|
|
655
|
-
}>>;
|
|
656
|
-
useFetchMyProfileLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
657
|
-
[key: string]: never;
|
|
658
|
-
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
659
|
-
[key: string]: never;
|
|
660
|
-
}>>;
|
|
661
664
|
useFetchMyProfileV2Query(baseOptions?: import("@apollo/client").QueryHookOptions<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
|
|
662
665
|
[key: string]: never;
|
|
663
666
|
}>> | undefined): import("@apollo/client").QueryResult<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
|
|
@@ -688,23 +691,16 @@ declare const schema: {
|
|
|
688
691
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchUserWalletsQuery, identitySchema.Exact<{
|
|
689
692
|
userId: string;
|
|
690
693
|
}>>;
|
|
691
|
-
useGetMyInviteCodesQuery(baseOptions?: import("@apollo/client").QueryHookOptions<identitySchema.IGetMyInviteCodesQuery, identitySchema.Exact<{
|
|
692
|
-
[key: string]: never;
|
|
693
|
-
}>> | undefined): import("@apollo/client").QueryResult<identitySchema.IGetMyInviteCodesQuery, identitySchema.Exact<{
|
|
694
|
-
[key: string]: never;
|
|
695
|
-
}>>;
|
|
696
|
-
useGetMyInviteCodesLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<identitySchema.IGetMyInviteCodesQuery, identitySchema.Exact<{
|
|
697
|
-
[key: string]: never;
|
|
698
|
-
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IGetMyInviteCodesQuery, identitySchema.Exact<{
|
|
699
|
-
[key: string]: never;
|
|
700
|
-
}>>;
|
|
701
694
|
IRole: typeof identitySchema.IRole;
|
|
702
695
|
AddWalletElrondDocument: import("graphql").DocumentNode;
|
|
703
696
|
AddWalletFlowDocument: import("graphql").DocumentNode;
|
|
704
697
|
AddWalletMetamaskDocument: import("graphql").DocumentNode;
|
|
705
698
|
AddWalletSolanaDocument: import("graphql").DocumentNode;
|
|
706
699
|
AddWalletTezosDocument: import("graphql").DocumentNode;
|
|
700
|
+
AddWalletTonDocument: import("graphql").DocumentNode;
|
|
701
|
+
CreateEvmNonceDocument: import("graphql").DocumentNode;
|
|
707
702
|
CreateNonceDocument: import("graphql").DocumentNode;
|
|
703
|
+
CreateTonNonceDocument: import("graphql").DocumentNode;
|
|
708
704
|
GenerateNewInviteCodesDocument: import("graphql").DocumentNode;
|
|
709
705
|
UseInviteCodeDocument: import("graphql").DocumentNode;
|
|
710
706
|
RemoveWalletDocument: import("graphql").DocumentNode;
|
|
@@ -719,11 +715,9 @@ declare const schema: {
|
|
|
719
715
|
SignInTonDocument: import("graphql").DocumentNode;
|
|
720
716
|
UpdateProfileDocument: import("graphql").DocumentNode;
|
|
721
717
|
FetchMultiversXAuditDocument: import("graphql").DocumentNode;
|
|
722
|
-
FetchMyProfileDocument: import("graphql").DocumentNode;
|
|
723
718
|
FetchMyProfileV2Document: import("graphql").DocumentNode;
|
|
724
719
|
FetchProfileDocument: import("graphql").DocumentNode;
|
|
725
720
|
FetchUserWalletsDocument: import("graphql").DocumentNode;
|
|
726
|
-
GetMyInviteCodesDocument: import("graphql").DocumentNode;
|
|
727
721
|
useAddAssetsToGalleryV2Mutation(baseOptions?: import("@apollo/client").MutationHookOptions<galleriesSchema.IAddAssetsToGalleryV2Mutation, galleriesSchema.Exact<{
|
|
728
722
|
galleryId: string;
|
|
729
723
|
assetIds: string[];
|
|
@@ -907,14 +901,14 @@ declare const schema: {
|
|
|
907
901
|
description?: extensionSchema.Maybe<string> | undefined;
|
|
908
902
|
tags?: extensionSchema.Maybe<extensionSchema.Maybe<string>[]> | undefined;
|
|
909
903
|
brandId?: extensionSchema.Maybe<string> | undefined;
|
|
910
|
-
|
|
904
|
+
categoryId?: extensionSchema.Maybe<string> | undefined;
|
|
911
905
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<extensionSchema.IVisitPageV2Mutation, extensionSchema.Exact<{
|
|
912
906
|
domain: string;
|
|
913
907
|
title: string;
|
|
914
908
|
description?: extensionSchema.Maybe<string> | undefined;
|
|
915
909
|
tags?: extensionSchema.Maybe<extensionSchema.Maybe<string>[]> | undefined;
|
|
916
910
|
brandId?: extensionSchema.Maybe<string> | undefined;
|
|
917
|
-
|
|
911
|
+
categoryId?: extensionSchema.Maybe<string> | undefined;
|
|
918
912
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
919
913
|
useFetchCollectionRanksQuery(baseOptions: import("@apollo/client").QueryHookOptions<extensionSchema.IFetchCollectionRanksQuery, extensionSchema.Exact<{
|
|
920
914
|
collectionKeys: extensionSchema.ICollectionKey[];
|
package/package.json
CHANGED
|
@@ -402,6 +402,7 @@ export type IMutation = {
|
|
|
402
402
|
updateCategoryArchivedStatus: Scalars['Boolean'];
|
|
403
403
|
createAdminOpportunity: Scalars['Boolean'];
|
|
404
404
|
updateOpportunity: Scalars['Boolean'];
|
|
405
|
+
triggerOpportunityNotification: Scalars['Boolean'];
|
|
405
406
|
updateProfileStatus: Scalars['Boolean'];
|
|
406
407
|
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
407
408
|
addSuggestedOpportunity: Scalars['Boolean'];
|
|
@@ -482,6 +483,11 @@ export type IMutationUpdateOpportunityArgs = {
|
|
|
482
483
|
};
|
|
483
484
|
|
|
484
485
|
|
|
486
|
+
export type IMutationTriggerOpportunityNotificationArgs = {
|
|
487
|
+
opportunityId: Scalars['ID'];
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
|
|
485
491
|
export type IMutationUpdateProfileStatusArgs = {
|
|
486
492
|
userId: Scalars['ID'];
|
|
487
493
|
isActive: Scalars['Boolean'];
|
|
@@ -1339,6 +1345,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1339
1345
|
updateCategoryArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1340
1346
|
createAdminOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateAdminOpportunityArgs, 'input'>>;
|
|
1341
1347
|
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
1348
|
+
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1342
1349
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
1343
1350
|
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
1344
1351
|
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
@@ -24,6 +24,15 @@ export type IMutation = {
|
|
|
24
24
|
setDummy: Scalars['String'];
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
+
export type IOpportunityNotification = {
|
|
28
|
+
opportunityId?: Maybe<Scalars['String']>;
|
|
29
|
+
name?: Maybe<Scalars['String']>;
|
|
30
|
+
description?: Maybe<Scalars['String']>;
|
|
31
|
+
notificationType?: Maybe<Scalars['String']>;
|
|
32
|
+
media?: Maybe<Scalars['String']>;
|
|
33
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
34
|
+
};
|
|
35
|
+
|
|
27
36
|
export type IQuery = {
|
|
28
37
|
getDummy: Scalars['String'];
|
|
29
38
|
fetchMyExperience: Scalars['Int'];
|
|
@@ -37,6 +46,8 @@ export type ISubscription = {
|
|
|
37
46
|
onMyExperienceUpdated: IUserXp;
|
|
38
47
|
onMyExperienceIncremented: IUserXpIncrement;
|
|
39
48
|
onInviteCodeUsed: IUsedInviteCode;
|
|
49
|
+
onCommonOpportunityNotification: IOpportunityNotification;
|
|
50
|
+
onUserOpportunityNotification: IOpportunityNotification;
|
|
40
51
|
};
|
|
41
52
|
|
|
42
53
|
|
|
@@ -54,6 +65,11 @@ export type ISubscriptionOnInviteCodeUsedArgs = {
|
|
|
54
65
|
authToken: Scalars['String'];
|
|
55
66
|
};
|
|
56
67
|
|
|
68
|
+
|
|
69
|
+
export type ISubscriptionOnUserOpportunityNotificationArgs = {
|
|
70
|
+
authToken: Scalars['String'];
|
|
71
|
+
};
|
|
72
|
+
|
|
57
73
|
export type ITask = {
|
|
58
74
|
taskId?: Maybe<Scalars['ID']>;
|
|
59
75
|
userId?: Maybe<Scalars['ID']>;
|
|
@@ -162,6 +178,7 @@ export type IResolversTypes = {
|
|
|
162
178
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
163
179
|
Mutation: ResolverTypeWrapper<{}>;
|
|
164
180
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
181
|
+
OpportunityNotification: ResolverTypeWrapper<IOpportunityNotification>;
|
|
165
182
|
Query: ResolverTypeWrapper<{}>;
|
|
166
183
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
167
184
|
Subscription: ResolverTypeWrapper<{}>;
|
|
@@ -178,6 +195,7 @@ export type IResolversParentTypes = {
|
|
|
178
195
|
Long: Scalars['Long'];
|
|
179
196
|
Mutation: {};
|
|
180
197
|
String: Scalars['String'];
|
|
198
|
+
OpportunityNotification: IOpportunityNotification;
|
|
181
199
|
Query: {};
|
|
182
200
|
Int: Scalars['Int'];
|
|
183
201
|
Subscription: {};
|
|
@@ -201,6 +219,16 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
201
219
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
202
220
|
};
|
|
203
221
|
|
|
222
|
+
export type IOpportunityNotificationResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunityNotification'] = IResolversParentTypes['OpportunityNotification']> = {
|
|
223
|
+
opportunityId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
224
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
225
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
226
|
+
notificationType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
227
|
+
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
228
|
+
projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
229
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
230
|
+
};
|
|
231
|
+
|
|
204
232
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
205
233
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
206
234
|
fetchMyExperience?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
@@ -214,6 +242,8 @@ export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolv
|
|
|
214
242
|
onMyExperienceUpdated?: SubscriptionResolver<IResolversTypes['UserXP'], "onMyExperienceUpdated", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceUpdatedArgs, 'authToken'>>;
|
|
215
243
|
onMyExperienceIncremented?: SubscriptionResolver<IResolversTypes['UserXPIncrement'], "onMyExperienceIncremented", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceIncrementedArgs, 'authToken'>>;
|
|
216
244
|
onInviteCodeUsed?: SubscriptionResolver<IResolversTypes['UsedInviteCode'], "onInviteCodeUsed", ParentType, ContextType, RequireFields<ISubscriptionOnInviteCodeUsedArgs, 'authToken'>>;
|
|
245
|
+
onCommonOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onCommonOpportunityNotification", ParentType, ContextType>;
|
|
246
|
+
onUserOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onUserOpportunityNotification", ParentType, ContextType, RequireFields<ISubscriptionOnUserOpportunityNotificationArgs, 'authToken'>>;
|
|
217
247
|
};
|
|
218
248
|
|
|
219
249
|
export type ITaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['Task'] = IResolversParentTypes['Task']> = {
|
|
@@ -259,6 +289,7 @@ export type IUserXpIncrementResolvers<ContextType = any, ParentType extends IRes
|
|
|
259
289
|
export type IResolvers<ContextType = any> = {
|
|
260
290
|
Long?: GraphQLScalarType;
|
|
261
291
|
Mutation?: IMutationResolvers<ContextType>;
|
|
292
|
+
OpportunityNotification?: IOpportunityNotificationResolvers<ContextType>;
|
|
262
293
|
Query?: IQueryResolvers<ContextType>;
|
|
263
294
|
Subscription?: ISubscriptionResolvers<ContextType>;
|
|
264
295
|
Task?: ITaskResolvers<ContextType>;
|
|
@@ -95,7 +95,7 @@ export type IMutationVisitPageV2Args = {
|
|
|
95
95
|
description?: Maybe<Scalars['String']>;
|
|
96
96
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
97
97
|
brandId?: Maybe<Scalars['String']>;
|
|
98
|
-
|
|
98
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
|
|
@@ -565,7 +565,7 @@ export type IVisitPageV2MutationVariables = Exact<{
|
|
|
565
565
|
description?: Maybe<Scalars['String']>;
|
|
566
566
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
567
567
|
brandId?: Maybe<Scalars['String']>;
|
|
568
|
-
|
|
568
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
569
569
|
}>;
|
|
570
570
|
|
|
571
571
|
|
|
@@ -686,14 +686,14 @@ export type OpenOpportunityV2MutationHookResult = ReturnType<typeof useOpenOppor
|
|
|
686
686
|
export type OpenOpportunityV2MutationResult = Apollo.MutationResult<IOpenOpportunityV2Mutation>;
|
|
687
687
|
export type OpenOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
|
|
688
688
|
export const VisitPageV2Document = gql`
|
|
689
|
-
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $
|
|
689
|
+
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $categoryId: String) {
|
|
690
690
|
visitPageV2(
|
|
691
691
|
domain: $domain
|
|
692
692
|
title: $title
|
|
693
693
|
description: $description
|
|
694
694
|
tags: $tags
|
|
695
695
|
brandId: $brandId
|
|
696
|
-
|
|
696
|
+
categoryId: $categoryId
|
|
697
697
|
) {
|
|
698
698
|
opportunityId
|
|
699
699
|
brandId
|
|
@@ -739,7 +739,7 @@ export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutatio
|
|
|
739
739
|
* description: // value for 'description'
|
|
740
740
|
* tags: // value for 'tags'
|
|
741
741
|
* brandId: // value for 'brandId'
|
|
742
|
-
*
|
|
742
|
+
* categoryId: // value for 'categoryId'
|
|
743
743
|
* },
|
|
744
744
|
* });
|
|
745
745
|
*/
|