@ludo.ninja/api 1.0.21 → 1.0.23
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__/schema.d.ts +64 -39
- package/build/graphql_tools/__generated__/schema.js +55 -43
- package/package.json +1 -1
- package/src/documents/server-assets/queries/useFetchAsset/FetchAsset.graphql +1 -0
- package/src/documents/server-assets/queries/useFetchAssetByBlockchain/FetchAssetByBlockchain.graphql +1 -0
- package/src/documents/server-identities/mutations/useSignInElrond/SignInElrond.graphql +2 -2
- package/src/documents/server-identities/mutations/useSignInFlow/SignInFlow.graphql +2 -2
- package/src/documents/server-identities/mutations/useSignInMetamask/SignInMetamask.graphql +2 -2
- package/src/documents/server-identities/mutations/useSignInSolana/SignInSolana.graphql +2 -2
- package/src/documents/server-identities/mutations/useSignInTezos/SignInTezos.graphql +2 -2
- package/src/graphql_tools/__generated__/schema.graphql +10 -9
- package/src/graphql_tools/__generated__/schema.ts +84 -57
- package/src/graphql_tools/schemas/asset/type/asset.graphqls +1 -0
- package/src/graphql_tools/schemas/assets/asset/type/asset.graphqls +1 -0
- package/src/graphql_tools/schemas/identities/identity/mutation.graphqls +9 -9
- package/tsconfig.tsbuildinfo +1 -1
- package/src/documents/server-identities/mutations/SignInMetamask.graphql +0 -9
|
@@ -35,6 +35,7 @@ export type IAsset = {
|
|
|
35
35
|
blockTimestamp?: Maybe<Scalars['Long']>;
|
|
36
36
|
blockchain?: Maybe<Scalars['String']>;
|
|
37
37
|
blurred?: Maybe<Scalars['Boolean']>;
|
|
38
|
+
category?: Maybe<Scalars['String']>;
|
|
38
39
|
chainId?: Maybe<Scalars['String']>;
|
|
39
40
|
collectionId?: Maybe<Scalars['String']>;
|
|
40
41
|
collectionMedias?: Maybe<Array<Maybe<IMedia>>>;
|
|
@@ -1011,47 +1012,56 @@ export type IMutationSignInBitcoinArgs = {
|
|
|
1011
1012
|
signature: Scalars['String'];
|
|
1012
1013
|
address: Scalars['String'];
|
|
1013
1014
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1015
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1014
1016
|
};
|
|
1015
1017
|
export type IMutationSignInElrondArgs = {
|
|
1016
1018
|
signature: Scalars['String'];
|
|
1017
1019
|
address: Scalars['String'];
|
|
1018
1020
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1021
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1019
1022
|
};
|
|
1020
1023
|
export type IMutationSignInFlowArgs = {
|
|
1021
1024
|
signature: Scalars['String'];
|
|
1022
1025
|
address: Scalars['String'];
|
|
1023
1026
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1027
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1024
1028
|
};
|
|
1025
1029
|
export type IMutationSignInMetamaskArgs = {
|
|
1026
1030
|
signature: Scalars['String'];
|
|
1027
1031
|
address: Scalars['String'];
|
|
1028
1032
|
chainId?: Maybe<Scalars['String']>;
|
|
1029
1033
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1034
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1030
1035
|
};
|
|
1031
1036
|
export type IMutationSignInNearArgs = {
|
|
1032
1037
|
signature: Scalars['String'];
|
|
1033
1038
|
address: Scalars['String'];
|
|
1034
1039
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1040
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1035
1041
|
};
|
|
1036
1042
|
export type IMutationSignInSolanaArgs = {
|
|
1037
1043
|
signature: Scalars['String'];
|
|
1038
1044
|
pubkey: Scalars['String'];
|
|
1039
1045
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1046
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1040
1047
|
};
|
|
1041
1048
|
export type IMutationSignInTerraArgs = {
|
|
1042
1049
|
signature: Scalars['String'];
|
|
1043
1050
|
address: Scalars['String'];
|
|
1044
1051
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1052
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1045
1053
|
};
|
|
1046
1054
|
export type IMutationSignInTezosArgs = {
|
|
1047
1055
|
signature: Scalars['String'];
|
|
1048
1056
|
pubkey: Scalars['String'];
|
|
1049
1057
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1058
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1050
1059
|
};
|
|
1051
1060
|
export type IMutationSignInWalletConnectArgs = {
|
|
1052
1061
|
signature: Scalars['String'];
|
|
1053
1062
|
address: Scalars['String'];
|
|
1054
1063
|
restore?: Maybe<Scalars['Boolean']>;
|
|
1064
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
1055
1065
|
};
|
|
1056
1066
|
export type IMutationSubmitAssetArgs = {
|
|
1057
1067
|
address: Scalars['String'];
|
|
@@ -1872,7 +1882,7 @@ export type IFetchAssetQueryVariables = Exact<{
|
|
|
1872
1882
|
assetId: Scalars['String'];
|
|
1873
1883
|
}>;
|
|
1874
1884
|
export type IFetchAssetQuery = {
|
|
1875
|
-
fetchAsset: (Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'> & {
|
|
1885
|
+
fetchAsset: (Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred' | 'category'> & {
|
|
1876
1886
|
totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>;
|
|
1877
1887
|
markets?: Maybe<Array<Maybe<Pick<IAssetMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>;
|
|
1878
1888
|
collectionMedias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>;
|
|
@@ -1889,7 +1899,7 @@ export type IFetchAssetByBlockchainQueryVariables = Exact<{
|
|
|
1889
1899
|
elrondId?: Maybe<Scalars['String']>;
|
|
1890
1900
|
}>;
|
|
1891
1901
|
export type IFetchAssetByBlockchainQuery = {
|
|
1892
|
-
fetchAssetByBlockchain: (Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'> & {
|
|
1902
|
+
fetchAssetByBlockchain: (Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred' | 'category'> & {
|
|
1893
1903
|
totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>;
|
|
1894
1904
|
markets?: Maybe<Array<Maybe<Pick<IAssetMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>;
|
|
1895
1905
|
collectionMedias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>;
|
|
@@ -2223,14 +2233,6 @@ export type IFetchUserGalleriesV2Query = {
|
|
|
2223
2233
|
})>>>;
|
|
2224
2234
|
});
|
|
2225
2235
|
};
|
|
2226
|
-
export type ISignInMetamaskMutationVariables = Exact<{
|
|
2227
|
-
signature: Scalars['String'];
|
|
2228
|
-
address: Scalars['String'];
|
|
2229
|
-
chainId: Scalars['String'];
|
|
2230
|
-
}>;
|
|
2231
|
-
export type ISignInMetamaskMutation = {
|
|
2232
|
-
signInMetamask: Pick<IIdentity, 'userId' | 'wallets' | 'authToken' | 'refreshToken' | 'newUser'>;
|
|
2233
|
-
};
|
|
2234
2236
|
export type IAddWalletElrondMutationVariables = Exact<{
|
|
2235
2237
|
signature: Scalars['String'];
|
|
2236
2238
|
address: Scalars['String'];
|
|
@@ -2282,6 +2284,7 @@ export type IRevokeTokenMutation = Pick<IMutation, 'revokeToken'>;
|
|
|
2282
2284
|
export type ISignInElrondMutationVariables = Exact<{
|
|
2283
2285
|
signature: Scalars['String'];
|
|
2284
2286
|
address: Scalars['String'];
|
|
2287
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
2285
2288
|
}>;
|
|
2286
2289
|
export type ISignInElrondMutation = {
|
|
2287
2290
|
signInElrond: Pick<IIdentity, 'userId' | 'wallets' | 'authToken' | 'refreshToken' | 'newUser'>;
|
|
@@ -2289,13 +2292,24 @@ export type ISignInElrondMutation = {
|
|
|
2289
2292
|
export type ISignInFlowMutationVariables = Exact<{
|
|
2290
2293
|
signature: Scalars['String'];
|
|
2291
2294
|
address: Scalars['String'];
|
|
2295
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
2292
2296
|
}>;
|
|
2293
2297
|
export type ISignInFlowMutation = {
|
|
2294
2298
|
signInFlow: Pick<IIdentity, 'userId' | 'wallets' | 'authToken' | 'refreshToken' | 'newUser'>;
|
|
2295
2299
|
};
|
|
2300
|
+
export type ISignInMetamaskMutationVariables = Exact<{
|
|
2301
|
+
signature: Scalars['String'];
|
|
2302
|
+
address: Scalars['String'];
|
|
2303
|
+
chainId: Scalars['String'];
|
|
2304
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
2305
|
+
}>;
|
|
2306
|
+
export type ISignInMetamaskMutation = {
|
|
2307
|
+
signInMetamask: Pick<IIdentity, 'userId' | 'wallets' | 'authToken' | 'refreshToken' | 'newUser'>;
|
|
2308
|
+
};
|
|
2296
2309
|
export type ISignInSolanaMutationVariables = Exact<{
|
|
2297
2310
|
signature: Scalars['String'];
|
|
2298
2311
|
pubkey: Scalars['String'];
|
|
2312
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
2299
2313
|
}>;
|
|
2300
2314
|
export type ISignInSolanaMutation = {
|
|
2301
2315
|
signInSolana: Pick<IIdentity, 'userId' | 'wallets' | 'authToken' | 'refreshToken' | 'newUser'>;
|
|
@@ -2303,6 +2317,7 @@ export type ISignInSolanaMutation = {
|
|
|
2303
2317
|
export type ISignInTezosMutationVariables = Exact<{
|
|
2304
2318
|
signature: Scalars['String'];
|
|
2305
2319
|
pubkey: Scalars['String'];
|
|
2320
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
2306
2321
|
}>;
|
|
2307
2322
|
export type ISignInTezosMutation = {
|
|
2308
2323
|
signInTezos: Pick<IIdentity, 'userId' | 'wallets' | 'authToken' | 'refreshToken' | 'newUser'>;
|
|
@@ -3849,35 +3864,6 @@ export declare function useFetchUserGalleriesV2LazyQuery(baseOptions?: Apollo.La
|
|
|
3849
3864
|
export type FetchUserGalleriesV2QueryHookResult = ReturnType<typeof useFetchUserGalleriesV2Query>;
|
|
3850
3865
|
export type FetchUserGalleriesV2LazyQueryHookResult = ReturnType<typeof useFetchUserGalleriesV2LazyQuery>;
|
|
3851
3866
|
export type FetchUserGalleriesV2QueryResult = Apollo.QueryResult<IFetchUserGalleriesV2Query, IFetchUserGalleriesV2QueryVariables>;
|
|
3852
|
-
export declare const SignInMetamaskDocument: Apollo.DocumentNode;
|
|
3853
|
-
export type ISignInMetamaskMutationFn = Apollo.MutationFunction<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>;
|
|
3854
|
-
/**
|
|
3855
|
-
* __useSignInMetamaskMutation__
|
|
3856
|
-
*
|
|
3857
|
-
* To run a mutation, you first call `useSignInMetamaskMutation` within a React component and pass it any options that fit your needs.
|
|
3858
|
-
* When your component renders, `useSignInMetamaskMutation` returns a tuple that includes:
|
|
3859
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
3860
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
3861
|
-
*
|
|
3862
|
-
* @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;
|
|
3863
|
-
*
|
|
3864
|
-
* @example
|
|
3865
|
-
* const [signInMetamaskMutation, { data, loading, error }] = useSignInMetamaskMutation({
|
|
3866
|
-
* variables: {
|
|
3867
|
-
* signature: // value for 'signature'
|
|
3868
|
-
* address: // value for 'address'
|
|
3869
|
-
* chainId: // value for 'chainId'
|
|
3870
|
-
* },
|
|
3871
|
-
* });
|
|
3872
|
-
*/
|
|
3873
|
-
export declare function useSignInMetamaskMutation(baseOptions?: Apollo.MutationHookOptions<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>): Apollo.MutationTuple<ISignInMetamaskMutation, Exact<{
|
|
3874
|
-
signature: string;
|
|
3875
|
-
address: string;
|
|
3876
|
-
chainId: string;
|
|
3877
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3878
|
-
export type SignInMetamaskMutationHookResult = ReturnType<typeof useSignInMetamaskMutation>;
|
|
3879
|
-
export type SignInMetamaskMutationResult = Apollo.MutationResult<ISignInMetamaskMutation>;
|
|
3880
|
-
export type SignInMetamaskMutationOptions = Apollo.BaseMutationOptions<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>;
|
|
3881
3867
|
export declare const AddWalletElrondDocument: Apollo.DocumentNode;
|
|
3882
3868
|
export type IAddWalletElrondMutationFn = Apollo.MutationFunction<IAddWalletElrondMutation, IAddWalletElrondMutationVariables>;
|
|
3883
3869
|
/**
|
|
@@ -4135,12 +4121,14 @@ export type ISignInElrondMutationFn = Apollo.MutationFunction<ISignInElrondMutat
|
|
|
4135
4121
|
* variables: {
|
|
4136
4122
|
* signature: // value for 'signature'
|
|
4137
4123
|
* address: // value for 'address'
|
|
4124
|
+
* inviteCode: // value for 'inviteCode'
|
|
4138
4125
|
* },
|
|
4139
4126
|
* });
|
|
4140
4127
|
*/
|
|
4141
4128
|
export declare function useSignInElrondMutation(baseOptions?: Apollo.MutationHookOptions<ISignInElrondMutation, ISignInElrondMutationVariables>): Apollo.MutationTuple<ISignInElrondMutation, Exact<{
|
|
4142
4129
|
signature: string;
|
|
4143
4130
|
address: string;
|
|
4131
|
+
inviteCode?: Maybe<string> | undefined;
|
|
4144
4132
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
4145
4133
|
export type SignInElrondMutationHookResult = ReturnType<typeof useSignInElrondMutation>;
|
|
4146
4134
|
export type SignInElrondMutationResult = Apollo.MutationResult<ISignInElrondMutation>;
|
|
@@ -4162,16 +4150,49 @@ export type ISignInFlowMutationFn = Apollo.MutationFunction<ISignInFlowMutation,
|
|
|
4162
4150
|
* variables: {
|
|
4163
4151
|
* signature: // value for 'signature'
|
|
4164
4152
|
* address: // value for 'address'
|
|
4153
|
+
* inviteCode: // value for 'inviteCode'
|
|
4165
4154
|
* },
|
|
4166
4155
|
* });
|
|
4167
4156
|
*/
|
|
4168
4157
|
export declare function useSignInFlowMutation(baseOptions?: Apollo.MutationHookOptions<ISignInFlowMutation, ISignInFlowMutationVariables>): Apollo.MutationTuple<ISignInFlowMutation, Exact<{
|
|
4169
4158
|
signature: string;
|
|
4170
4159
|
address: string;
|
|
4160
|
+
inviteCode?: Maybe<string> | undefined;
|
|
4171
4161
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
4172
4162
|
export type SignInFlowMutationHookResult = ReturnType<typeof useSignInFlowMutation>;
|
|
4173
4163
|
export type SignInFlowMutationResult = Apollo.MutationResult<ISignInFlowMutation>;
|
|
4174
4164
|
export type SignInFlowMutationOptions = Apollo.BaseMutationOptions<ISignInFlowMutation, ISignInFlowMutationVariables>;
|
|
4165
|
+
export declare const SignInMetamaskDocument: Apollo.DocumentNode;
|
|
4166
|
+
export type ISignInMetamaskMutationFn = Apollo.MutationFunction<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>;
|
|
4167
|
+
/**
|
|
4168
|
+
* __useSignInMetamaskMutation__
|
|
4169
|
+
*
|
|
4170
|
+
* To run a mutation, you first call `useSignInMetamaskMutation` within a React component and pass it any options that fit your needs.
|
|
4171
|
+
* When your component renders, `useSignInMetamaskMutation` returns a tuple that includes:
|
|
4172
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4173
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4174
|
+
*
|
|
4175
|
+
* @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;
|
|
4176
|
+
*
|
|
4177
|
+
* @example
|
|
4178
|
+
* const [signInMetamaskMutation, { data, loading, error }] = useSignInMetamaskMutation({
|
|
4179
|
+
* variables: {
|
|
4180
|
+
* signature: // value for 'signature'
|
|
4181
|
+
* address: // value for 'address'
|
|
4182
|
+
* chainId: // value for 'chainId'
|
|
4183
|
+
* inviteCode: // value for 'inviteCode'
|
|
4184
|
+
* },
|
|
4185
|
+
* });
|
|
4186
|
+
*/
|
|
4187
|
+
export declare function useSignInMetamaskMutation(baseOptions?: Apollo.MutationHookOptions<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>): Apollo.MutationTuple<ISignInMetamaskMutation, Exact<{
|
|
4188
|
+
signature: string;
|
|
4189
|
+
address: string;
|
|
4190
|
+
chainId: string;
|
|
4191
|
+
inviteCode?: Maybe<string> | undefined;
|
|
4192
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
4193
|
+
export type SignInMetamaskMutationHookResult = ReturnType<typeof useSignInMetamaskMutation>;
|
|
4194
|
+
export type SignInMetamaskMutationResult = Apollo.MutationResult<ISignInMetamaskMutation>;
|
|
4195
|
+
export type SignInMetamaskMutationOptions = Apollo.BaseMutationOptions<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>;
|
|
4175
4196
|
export declare const SignInSolanaDocument: Apollo.DocumentNode;
|
|
4176
4197
|
export type ISignInSolanaMutationFn = Apollo.MutationFunction<ISignInSolanaMutation, ISignInSolanaMutationVariables>;
|
|
4177
4198
|
/**
|
|
@@ -4189,12 +4210,14 @@ export type ISignInSolanaMutationFn = Apollo.MutationFunction<ISignInSolanaMutat
|
|
|
4189
4210
|
* variables: {
|
|
4190
4211
|
* signature: // value for 'signature'
|
|
4191
4212
|
* pubkey: // value for 'pubkey'
|
|
4213
|
+
* inviteCode: // value for 'inviteCode'
|
|
4192
4214
|
* },
|
|
4193
4215
|
* });
|
|
4194
4216
|
*/
|
|
4195
4217
|
export declare function useSignInSolanaMutation(baseOptions?: Apollo.MutationHookOptions<ISignInSolanaMutation, ISignInSolanaMutationVariables>): Apollo.MutationTuple<ISignInSolanaMutation, Exact<{
|
|
4196
4218
|
signature: string;
|
|
4197
4219
|
pubkey: string;
|
|
4220
|
+
inviteCode?: Maybe<string> | undefined;
|
|
4198
4221
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
4199
4222
|
export type SignInSolanaMutationHookResult = ReturnType<typeof useSignInSolanaMutation>;
|
|
4200
4223
|
export type SignInSolanaMutationResult = Apollo.MutationResult<ISignInSolanaMutation>;
|
|
@@ -4216,12 +4239,14 @@ export type ISignInTezosMutationFn = Apollo.MutationFunction<ISignInTezosMutatio
|
|
|
4216
4239
|
* variables: {
|
|
4217
4240
|
* signature: // value for 'signature'
|
|
4218
4241
|
* pubkey: // value for 'pubkey'
|
|
4242
|
+
* inviteCode: // value for 'inviteCode'
|
|
4219
4243
|
* },
|
|
4220
4244
|
* });
|
|
4221
4245
|
*/
|
|
4222
4246
|
export declare function useSignInTezosMutation(baseOptions?: Apollo.MutationHookOptions<ISignInTezosMutation, ISignInTezosMutationVariables>): Apollo.MutationTuple<ISignInTezosMutation, Exact<{
|
|
4223
4247
|
signature: string;
|
|
4224
4248
|
pubkey: string;
|
|
4249
|
+
inviteCode?: Maybe<string> | undefined;
|
|
4225
4250
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
4226
4251
|
export type SignInTezosMutationHookResult = ReturnType<typeof useSignInTezosMutation>;
|
|
4227
4252
|
export type SignInTezosMutationResult = Apollo.MutationResult<ISignInTezosMutation>;
|
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = 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
27
|
exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = 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 = void 0;
|
|
28
|
-
exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = 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.
|
|
28
|
+
exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = 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.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 = void 0;
|
|
29
29
|
exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = 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.useIsInviteCodeAvailableLazyQuery = exports.useIsInviteCodeAvailableQuery = exports.IsInviteCodeAvailableDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = void 0;
|
|
30
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.useFetchCreationsByItemTypeLazyQuery = exports.useFetchCreationsByItemTypeQuery = exports.FetchCreationsByItemTypeDocument = exports.useFetchCreationsLazyQuery = exports.useFetchCreationsQuery = exports.FetchCreationsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = void 0;
|
|
31
31
|
/* eslint-disable */
|
|
@@ -163,6 +163,7 @@ exports.FetchAssetDocument = (0, client_1.gql) `
|
|
|
163
163
|
creatorsProfiles {
|
|
164
164
|
username
|
|
165
165
|
}
|
|
166
|
+
category
|
|
166
167
|
}
|
|
167
168
|
}
|
|
168
169
|
`;
|
|
@@ -275,6 +276,7 @@ exports.FetchAssetByBlockchainDocument = (0, client_1.gql) `
|
|
|
275
276
|
creatorsProfiles {
|
|
276
277
|
username
|
|
277
278
|
}
|
|
279
|
+
category
|
|
278
280
|
}
|
|
279
281
|
}
|
|
280
282
|
`;
|
|
@@ -2108,40 +2110,6 @@ function useFetchUserGalleriesV2LazyQuery(baseOptions) {
|
|
|
2108
2110
|
return Apollo.useLazyQuery(exports.FetchUserGalleriesV2Document, baseOptions);
|
|
2109
2111
|
}
|
|
2110
2112
|
exports.useFetchUserGalleriesV2LazyQuery = useFetchUserGalleriesV2LazyQuery;
|
|
2111
|
-
exports.SignInMetamaskDocument = (0, client_1.gql) `
|
|
2112
|
-
mutation SignInMetamask($signature: String!, $address: String!, $chainId: String!) {
|
|
2113
|
-
signInMetamask(signature: $signature, address: $address, chainId: $chainId) {
|
|
2114
|
-
userId
|
|
2115
|
-
wallets
|
|
2116
|
-
authToken
|
|
2117
|
-
refreshToken
|
|
2118
|
-
newUser
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
`;
|
|
2122
|
-
/**
|
|
2123
|
-
* __useSignInMetamaskMutation__
|
|
2124
|
-
*
|
|
2125
|
-
* To run a mutation, you first call `useSignInMetamaskMutation` within a React component and pass it any options that fit your needs.
|
|
2126
|
-
* When your component renders, `useSignInMetamaskMutation` returns a tuple that includes:
|
|
2127
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
2128
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
2129
|
-
*
|
|
2130
|
-
* @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;
|
|
2131
|
-
*
|
|
2132
|
-
* @example
|
|
2133
|
-
* const [signInMetamaskMutation, { data, loading, error }] = useSignInMetamaskMutation({
|
|
2134
|
-
* variables: {
|
|
2135
|
-
* signature: // value for 'signature'
|
|
2136
|
-
* address: // value for 'address'
|
|
2137
|
-
* chainId: // value for 'chainId'
|
|
2138
|
-
* },
|
|
2139
|
-
* });
|
|
2140
|
-
*/
|
|
2141
|
-
function useSignInMetamaskMutation(baseOptions) {
|
|
2142
|
-
return Apollo.useMutation(exports.SignInMetamaskDocument, baseOptions);
|
|
2143
|
-
}
|
|
2144
|
-
exports.useSignInMetamaskMutation = useSignInMetamaskMutation;
|
|
2145
2113
|
exports.AddWalletElrondDocument = (0, client_1.gql) `
|
|
2146
2114
|
mutation AddWalletElrond($signature: String!, $address: String!) {
|
|
2147
2115
|
addWalletElrond(signature: $signature, address: $address)
|
|
@@ -2394,8 +2362,8 @@ function useRevokeTokenMutation(baseOptions) {
|
|
|
2394
2362
|
}
|
|
2395
2363
|
exports.useRevokeTokenMutation = useRevokeTokenMutation;
|
|
2396
2364
|
exports.SignInElrondDocument = (0, client_1.gql) `
|
|
2397
|
-
mutation SignInElrond($signature: String!, $address: String
|
|
2398
|
-
signInElrond(signature: $signature, address: $address) {
|
|
2365
|
+
mutation SignInElrond($signature: String!, $address: String!, $inviteCode: String) {
|
|
2366
|
+
signInElrond(signature: $signature, address: $address, inviteCode: $inviteCode) {
|
|
2399
2367
|
userId
|
|
2400
2368
|
wallets
|
|
2401
2369
|
authToken
|
|
@@ -2419,6 +2387,7 @@ exports.SignInElrondDocument = (0, client_1.gql) `
|
|
|
2419
2387
|
* variables: {
|
|
2420
2388
|
* signature: // value for 'signature'
|
|
2421
2389
|
* address: // value for 'address'
|
|
2390
|
+
* inviteCode: // value for 'inviteCode'
|
|
2422
2391
|
* },
|
|
2423
2392
|
* });
|
|
2424
2393
|
*/
|
|
@@ -2427,8 +2396,8 @@ function useSignInElrondMutation(baseOptions) {
|
|
|
2427
2396
|
}
|
|
2428
2397
|
exports.useSignInElrondMutation = useSignInElrondMutation;
|
|
2429
2398
|
exports.SignInFlowDocument = (0, client_1.gql) `
|
|
2430
|
-
mutation SignInFlow($signature: String!, $address: String
|
|
2431
|
-
signInFlow(signature: $signature, address: $address) {
|
|
2399
|
+
mutation SignInFlow($signature: String!, $address: String!, $inviteCode: String) {
|
|
2400
|
+
signInFlow(signature: $signature, address: $address, inviteCode: $inviteCode) {
|
|
2432
2401
|
userId
|
|
2433
2402
|
wallets
|
|
2434
2403
|
authToken
|
|
@@ -2452,6 +2421,7 @@ exports.SignInFlowDocument = (0, client_1.gql) `
|
|
|
2452
2421
|
* variables: {
|
|
2453
2422
|
* signature: // value for 'signature'
|
|
2454
2423
|
* address: // value for 'address'
|
|
2424
|
+
* inviteCode: // value for 'inviteCode'
|
|
2455
2425
|
* },
|
|
2456
2426
|
* });
|
|
2457
2427
|
*/
|
|
@@ -2459,9 +2429,49 @@ function useSignInFlowMutation(baseOptions) {
|
|
|
2459
2429
|
return Apollo.useMutation(exports.SignInFlowDocument, baseOptions);
|
|
2460
2430
|
}
|
|
2461
2431
|
exports.useSignInFlowMutation = useSignInFlowMutation;
|
|
2432
|
+
exports.SignInMetamaskDocument = (0, client_1.gql) `
|
|
2433
|
+
mutation SignInMetamask($signature: String!, $address: String!, $chainId: String!, $inviteCode: String) {
|
|
2434
|
+
signInMetamask(
|
|
2435
|
+
signature: $signature
|
|
2436
|
+
address: $address
|
|
2437
|
+
chainId: $chainId
|
|
2438
|
+
inviteCode: $inviteCode
|
|
2439
|
+
) {
|
|
2440
|
+
userId
|
|
2441
|
+
wallets
|
|
2442
|
+
authToken
|
|
2443
|
+
refreshToken
|
|
2444
|
+
newUser
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
`;
|
|
2448
|
+
/**
|
|
2449
|
+
* __useSignInMetamaskMutation__
|
|
2450
|
+
*
|
|
2451
|
+
* To run a mutation, you first call `useSignInMetamaskMutation` within a React component and pass it any options that fit your needs.
|
|
2452
|
+
* When your component renders, `useSignInMetamaskMutation` returns a tuple that includes:
|
|
2453
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2454
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2455
|
+
*
|
|
2456
|
+
* @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;
|
|
2457
|
+
*
|
|
2458
|
+
* @example
|
|
2459
|
+
* const [signInMetamaskMutation, { data, loading, error }] = useSignInMetamaskMutation({
|
|
2460
|
+
* variables: {
|
|
2461
|
+
* signature: // value for 'signature'
|
|
2462
|
+
* address: // value for 'address'
|
|
2463
|
+
* chainId: // value for 'chainId'
|
|
2464
|
+
* inviteCode: // value for 'inviteCode'
|
|
2465
|
+
* },
|
|
2466
|
+
* });
|
|
2467
|
+
*/
|
|
2468
|
+
function useSignInMetamaskMutation(baseOptions) {
|
|
2469
|
+
return Apollo.useMutation(exports.SignInMetamaskDocument, baseOptions);
|
|
2470
|
+
}
|
|
2471
|
+
exports.useSignInMetamaskMutation = useSignInMetamaskMutation;
|
|
2462
2472
|
exports.SignInSolanaDocument = (0, client_1.gql) `
|
|
2463
|
-
mutation SignInSolana($signature: String!, $pubkey: String
|
|
2464
|
-
signInSolana(signature: $signature, pubkey: $pubkey) {
|
|
2473
|
+
mutation SignInSolana($signature: String!, $pubkey: String!, $inviteCode: String) {
|
|
2474
|
+
signInSolana(signature: $signature, pubkey: $pubkey, inviteCode: $inviteCode) {
|
|
2465
2475
|
userId
|
|
2466
2476
|
wallets
|
|
2467
2477
|
authToken
|
|
@@ -2485,6 +2495,7 @@ exports.SignInSolanaDocument = (0, client_1.gql) `
|
|
|
2485
2495
|
* variables: {
|
|
2486
2496
|
* signature: // value for 'signature'
|
|
2487
2497
|
* pubkey: // value for 'pubkey'
|
|
2498
|
+
* inviteCode: // value for 'inviteCode'
|
|
2488
2499
|
* },
|
|
2489
2500
|
* });
|
|
2490
2501
|
*/
|
|
@@ -2493,8 +2504,8 @@ function useSignInSolanaMutation(baseOptions) {
|
|
|
2493
2504
|
}
|
|
2494
2505
|
exports.useSignInSolanaMutation = useSignInSolanaMutation;
|
|
2495
2506
|
exports.SignInTezosDocument = (0, client_1.gql) `
|
|
2496
|
-
mutation SignInTezos($signature: String!, $pubkey: String
|
|
2497
|
-
signInTezos(signature: $signature, pubkey: $pubkey) {
|
|
2507
|
+
mutation SignInTezos($signature: String!, $pubkey: String!, $inviteCode: String) {
|
|
2508
|
+
signInTezos(signature: $signature, pubkey: $pubkey, inviteCode: $inviteCode) {
|
|
2498
2509
|
userId
|
|
2499
2510
|
wallets
|
|
2500
2511
|
authToken
|
|
@@ -2518,6 +2529,7 @@ exports.SignInTezosDocument = (0, client_1.gql) `
|
|
|
2518
2529
|
* variables: {
|
|
2519
2530
|
* signature: // value for 'signature'
|
|
2520
2531
|
* pubkey: // value for 'pubkey'
|
|
2532
|
+
* inviteCode: // value for 'inviteCode'
|
|
2521
2533
|
* },
|
|
2522
2534
|
* });
|
|
2523
2535
|
*/
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
mutation SignInElrond($signature: String!, $address: String
|
|
2
|
-
signInElrond(signature: $signature, address: $address) {
|
|
1
|
+
mutation SignInElrond($signature: String!, $address: String!, $inviteCode: String) {
|
|
2
|
+
signInElrond(signature: $signature, address: $address, inviteCode: $inviteCode) {
|
|
3
3
|
userId
|
|
4
4
|
wallets
|
|
5
5
|
authToken
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
mutation SignInFlow($signature: String!, $address: String
|
|
2
|
-
signInFlow(signature: $signature, address: $address) {
|
|
1
|
+
mutation SignInFlow($signature: String!, $address: String!, $inviteCode: String) {
|
|
2
|
+
signInFlow(signature: $signature, address: $address, inviteCode: $inviteCode) {
|
|
3
3
|
userId
|
|
4
4
|
wallets
|
|
5
5
|
authToken
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
mutation SignInMetamask($signature: String!, $address: String!, $chainId: String
|
|
2
|
-
signInMetamask(signature: $signature, address: $address, chainId: $chainId) {
|
|
1
|
+
mutation SignInMetamask($signature: String!, $address: String!, $chainId: String!, $inviteCode: String) {
|
|
2
|
+
signInMetamask(signature: $signature, address: $address, chainId: $chainId, inviteCode: $inviteCode) {
|
|
3
3
|
userId
|
|
4
4
|
wallets
|
|
5
5
|
authToken
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
mutation SignInSolana($signature: String!, $pubkey: String
|
|
2
|
-
signInSolana(signature: $signature, pubkey: $pubkey) {
|
|
1
|
+
mutation SignInSolana($signature: String!, $pubkey: String!, $inviteCode: String) {
|
|
2
|
+
signInSolana(signature: $signature, pubkey: $pubkey, inviteCode: $inviteCode) {
|
|
3
3
|
userId
|
|
4
4
|
wallets
|
|
5
5
|
authToken
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
mutation SignInTezos($signature: String!, $pubkey: String
|
|
2
|
-
signInTezos(signature: $signature, pubkey: $pubkey) {
|
|
1
|
+
mutation SignInTezos($signature: String!, $pubkey: String!, $inviteCode: String) {
|
|
2
|
+
signInTezos(signature: $signature, pubkey: $pubkey, inviteCode: $inviteCode) {
|
|
3
3
|
userId
|
|
4
4
|
wallets
|
|
5
5
|
authToken
|
|
@@ -19,6 +19,7 @@ type Asset {
|
|
|
19
19
|
blockTimestamp: Long
|
|
20
20
|
blockchain: String
|
|
21
21
|
blurred: Boolean
|
|
22
|
+
category: String
|
|
22
23
|
chainId: String
|
|
23
24
|
collectionId: String
|
|
24
25
|
collectionMedias: [Media]
|
|
@@ -770,15 +771,15 @@ type Mutation {
|
|
|
770
771
|
showBannerAsset(id: String!): Boolean!
|
|
771
772
|
showShowcaseAsset(id: String!): Boolean!
|
|
772
773
|
signInAdminMetamask(signature: String!, address: String!, chainId: String): Identity!
|
|
773
|
-
signInBitcoin(signature: String!, address: String!, restore: Boolean): Identity!
|
|
774
|
-
signInElrond(signature: String!, address: String!, restore: Boolean): Identity!
|
|
775
|
-
signInFlow(signature: String!, address: String!, restore: Boolean): Identity!
|
|
776
|
-
signInMetamask(signature: String!, address: String!, chainId: String, restore: Boolean): Identity!
|
|
777
|
-
signInNear(signature: String!, address: String!, restore: Boolean): Identity!
|
|
778
|
-
signInSolana(signature: String!, pubkey: String!, restore: Boolean): Identity!
|
|
779
|
-
signInTerra(signature: String!, address: String!, restore: Boolean): Identity!
|
|
780
|
-
signInTezos(signature: String!, pubkey: String!, restore: Boolean): Identity!
|
|
781
|
-
signInWalletConnect(signature: String!, address: String!, restore: Boolean): Identity!
|
|
774
|
+
signInBitcoin(signature: String!, address: String!, restore: Boolean, inviteCode: String): Identity!
|
|
775
|
+
signInElrond(signature: String!, address: String!, restore: Boolean, inviteCode: String): Identity!
|
|
776
|
+
signInFlow(signature: String!, address: String!, restore: Boolean, inviteCode: String): Identity!
|
|
777
|
+
signInMetamask(signature: String!, address: String!, chainId: String, restore: Boolean, inviteCode: String): Identity!
|
|
778
|
+
signInNear(signature: String!, address: String!, restore: Boolean, inviteCode: String): Identity!
|
|
779
|
+
signInSolana(signature: String!, pubkey: String!, restore: Boolean, inviteCode: String): Identity!
|
|
780
|
+
signInTerra(signature: String!, address: String!, restore: Boolean, inviteCode: String): Identity!
|
|
781
|
+
signInTezos(signature: String!, pubkey: String!, restore: Boolean, inviteCode: String): Identity!
|
|
782
|
+
signInWalletConnect(signature: String!, address: String!, restore: Boolean, inviteCode: String): Identity!
|
|
782
783
|
submitAsset(address: String!): Boolean!
|
|
783
784
|
subscribeGallery(galleryId: ID!): Int!
|
|
784
785
|
unfollowProfile(followingUserId: ID!): Boolean!
|