@ludo.ninja/api 2.8.95 → 2.8.97
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/config/index.js +3 -2
- package/build/cookies/index.d.ts +1 -1
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +34 -34
- package/build/graphql_tools/__generated__/adminHost/schema.js +68 -66
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/assetsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/authHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/collectionsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +9 -9
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +10 -10
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +28 -28
- package/build/graphql_tools/__generated__/extensionHost/schema.js +18 -18
- package/build/graphql_tools/__generated__/formsHost/schema.js +8 -8
- package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +46 -46
- package/build/graphql_tools/__generated__/galleriesHost/schema.js +21 -21
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +141 -63
- package/build/graphql_tools/__generated__/identityHost/schema.js +121 -31
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +5 -5
- package/build/graphql_tools/__generated__/mediasHost/schema.js +5 -5
- package/build/graphql_tools/__generated__/notificationsHost/schema.d.ts +4 -4
- package/build/graphql_tools/__generated__/notificationsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +7 -36
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +11 -37
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/preferencesHost/schema.js +23 -23
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +52 -48
- package/build/graphql_tools/__generated__/searchHost/schema.js +33 -33
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +6 -6
- package/build/graphql_tools/__generated__/tapHost/schema.js +12 -12
- package/build/index.d.ts +1238 -581
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/identityHost/schema.ts +145 -11
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +0 -37
- package/src/graphql_tools/__generated__/searchHost/schema.ts +4 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -23,39 +23,24 @@ 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.useAddWalletFlowMutation = useAddWalletFlowMutation;
|
|
29
|
-
exports.useAddWalletMetamaskMutation = useAddWalletMetamaskMutation;
|
|
30
|
-
exports.useAddWalletSolanaMutation = useAddWalletSolanaMutation;
|
|
31
|
-
exports.useAddWalletTezosMutation = useAddWalletTezosMutation;
|
|
32
|
-
exports.useAddWalletTonMutation = useAddWalletTonMutation;
|
|
33
|
-
exports.useCreateEvmNonceMutation = useCreateEvmNonceMutation;
|
|
34
|
-
exports.useCreateNonceMutation = useCreateNonceMutation;
|
|
35
|
-
exports.useCreateTonNonceMutation = useCreateTonNonceMutation;
|
|
36
|
-
exports.useGenerateNewInviteCodesMutation = useGenerateNewInviteCodesMutation;
|
|
37
|
-
exports.useUseInviteCodeMutation = useUseInviteCodeMutation;
|
|
38
|
-
exports.useRemoveWalletMutation = useRemoveWalletMutation;
|
|
39
|
-
exports.useSaveEmailOfJoinerMutation = useSaveEmailOfJoinerMutation;
|
|
40
|
-
exports.useSetMainWalletMutation = useSetMainWalletMutation;
|
|
41
|
-
exports.useSignInAdminMetamaskMutation = useSignInAdminMetamaskMutation;
|
|
42
|
-
exports.useSignInElrondMutation = useSignInElrondMutation;
|
|
43
|
-
exports.useSignInFlowMutation = useSignInFlowMutation;
|
|
44
|
-
exports.useSignInMetamaskMutation = useSignInMetamaskMutation;
|
|
45
|
-
exports.useSignInSolanaMutation = useSignInSolanaMutation;
|
|
46
|
-
exports.useSignInTezosMutation = useSignInTezosMutation;
|
|
47
|
-
exports.useSignInTonMutation = useSignInTonMutation;
|
|
48
|
-
exports.useUpdateProfileMutation = useUpdateProfileMutation;
|
|
49
|
-
exports.useFetchMultiversXAuditQuery = useFetchMultiversXAuditQuery;
|
|
50
|
-
exports.useFetchMultiversXAuditLazyQuery = useFetchMultiversXAuditLazyQuery;
|
|
51
|
-
exports.useFetchMyProfileV2Query = useFetchMyProfileV2Query;
|
|
52
|
-
exports.useFetchMyProfileV2LazyQuery = useFetchMyProfileV2LazyQuery;
|
|
53
|
-
exports.useFetchProfileQuery = useFetchProfileQuery;
|
|
54
|
-
exports.useFetchProfileLazyQuery = useFetchProfileLazyQuery;
|
|
55
|
-
exports.useFetchUserWalletsQuery = useFetchUserWalletsQuery;
|
|
56
|
-
exports.useFetchUserWalletsLazyQuery = useFetchUserWalletsLazyQuery;
|
|
26
|
+
exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = 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 = exports.IReftypeColor = void 0;
|
|
27
|
+
exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = void 0;
|
|
57
28
|
const client_1 = require("@apollo/client");
|
|
58
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
|
+
/** Sync with ReftypeColor.java */
|
|
31
|
+
var IReftypeColor;
|
|
32
|
+
(function (IReftypeColor) {
|
|
33
|
+
IReftypeColor["Red"] = "RED";
|
|
34
|
+
IReftypeColor["Green"] = "GREEN";
|
|
35
|
+
IReftypeColor["Blue"] = "BLUE";
|
|
36
|
+
IReftypeColor["Yellow"] = "YELLOW";
|
|
37
|
+
IReftypeColor["Orange"] = "ORANGE";
|
|
38
|
+
IReftypeColor["White"] = "WHITE";
|
|
39
|
+
IReftypeColor["Black"] = "BLACK";
|
|
40
|
+
IReftypeColor["Grey"] = "GREY";
|
|
41
|
+
IReftypeColor["Purple"] = "PURPLE";
|
|
42
|
+
IReftypeColor["Gold"] = "GOLD";
|
|
43
|
+
})(IReftypeColor || (exports.IReftypeColor = IReftypeColor = {}));
|
|
59
44
|
var IRole;
|
|
60
45
|
(function (IRole) {
|
|
61
46
|
IRole["Admin"] = "admin";
|
|
@@ -87,6 +72,7 @@ exports.AddWalletElrondDocument = (0, client_1.gql) `
|
|
|
87
72
|
function useAddWalletElrondMutation(baseOptions) {
|
|
88
73
|
return Apollo.useMutation(exports.AddWalletElrondDocument, baseOptions);
|
|
89
74
|
}
|
|
75
|
+
exports.useAddWalletElrondMutation = useAddWalletElrondMutation;
|
|
90
76
|
exports.AddWalletFlowDocument = (0, client_1.gql) `
|
|
91
77
|
mutation AddWalletFlow($signature: String!, $address: String!) {
|
|
92
78
|
addWalletFlow(signature: $signature, address: $address)
|
|
@@ -113,6 +99,7 @@ exports.AddWalletFlowDocument = (0, client_1.gql) `
|
|
|
113
99
|
function useAddWalletFlowMutation(baseOptions) {
|
|
114
100
|
return Apollo.useMutation(exports.AddWalletFlowDocument, baseOptions);
|
|
115
101
|
}
|
|
102
|
+
exports.useAddWalletFlowMutation = useAddWalletFlowMutation;
|
|
116
103
|
exports.AddWalletMetamaskDocument = (0, client_1.gql) `
|
|
117
104
|
mutation AddWalletMetamask($signature: String!, $address: String!, $chainId: String!) {
|
|
118
105
|
addWalletMetamask(signature: $signature, address: $address, chainId: $chainId)
|
|
@@ -140,6 +127,7 @@ exports.AddWalletMetamaskDocument = (0, client_1.gql) `
|
|
|
140
127
|
function useAddWalletMetamaskMutation(baseOptions) {
|
|
141
128
|
return Apollo.useMutation(exports.AddWalletMetamaskDocument, baseOptions);
|
|
142
129
|
}
|
|
130
|
+
exports.useAddWalletMetamaskMutation = useAddWalletMetamaskMutation;
|
|
143
131
|
exports.AddWalletSolanaDocument = (0, client_1.gql) `
|
|
144
132
|
mutation AddWalletSolana($signature: String!, $pubkey: String!) {
|
|
145
133
|
addWalletSolana(signature: $signature, pubkey: $pubkey)
|
|
@@ -166,6 +154,7 @@ exports.AddWalletSolanaDocument = (0, client_1.gql) `
|
|
|
166
154
|
function useAddWalletSolanaMutation(baseOptions) {
|
|
167
155
|
return Apollo.useMutation(exports.AddWalletSolanaDocument, baseOptions);
|
|
168
156
|
}
|
|
157
|
+
exports.useAddWalletSolanaMutation = useAddWalletSolanaMutation;
|
|
169
158
|
exports.AddWalletTezosDocument = (0, client_1.gql) `
|
|
170
159
|
mutation AddWalletTezos($signature: String!, $pubkey: String!) {
|
|
171
160
|
addWalletTezos(signature: $signature, pubkey: $pubkey)
|
|
@@ -192,6 +181,7 @@ exports.AddWalletTezosDocument = (0, client_1.gql) `
|
|
|
192
181
|
function useAddWalletTezosMutation(baseOptions) {
|
|
193
182
|
return Apollo.useMutation(exports.AddWalletTezosDocument, baseOptions);
|
|
194
183
|
}
|
|
184
|
+
exports.useAddWalletTezosMutation = useAddWalletTezosMutation;
|
|
195
185
|
exports.AddWalletTonDocument = (0, client_1.gql) `
|
|
196
186
|
mutation AddWalletTon($request: CheckTonProofRequest!) {
|
|
197
187
|
addWalletTon(request: $request)
|
|
@@ -217,6 +207,7 @@ exports.AddWalletTonDocument = (0, client_1.gql) `
|
|
|
217
207
|
function useAddWalletTonMutation(baseOptions) {
|
|
218
208
|
return Apollo.useMutation(exports.AddWalletTonDocument, baseOptions);
|
|
219
209
|
}
|
|
210
|
+
exports.useAddWalletTonMutation = useAddWalletTonMutation;
|
|
220
211
|
exports.CreateEvmNonceDocument = (0, client_1.gql) `
|
|
221
212
|
mutation CreateEvmNonce {
|
|
222
213
|
createEvmNonce
|
|
@@ -241,6 +232,7 @@ exports.CreateEvmNonceDocument = (0, client_1.gql) `
|
|
|
241
232
|
function useCreateEvmNonceMutation(baseOptions) {
|
|
242
233
|
return Apollo.useMutation(exports.CreateEvmNonceDocument, baseOptions);
|
|
243
234
|
}
|
|
235
|
+
exports.useCreateEvmNonceMutation = useCreateEvmNonceMutation;
|
|
244
236
|
exports.CreateNonceDocument = (0, client_1.gql) `
|
|
245
237
|
mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
246
238
|
createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
|
|
@@ -268,6 +260,7 @@ exports.CreateNonceDocument = (0, client_1.gql) `
|
|
|
268
260
|
function useCreateNonceMutation(baseOptions) {
|
|
269
261
|
return Apollo.useMutation(exports.CreateNonceDocument, baseOptions);
|
|
270
262
|
}
|
|
263
|
+
exports.useCreateNonceMutation = useCreateNonceMutation;
|
|
271
264
|
exports.CreateTonNonceDocument = (0, client_1.gql) `
|
|
272
265
|
mutation CreateTonNonce {
|
|
273
266
|
createTonNonce
|
|
@@ -292,6 +285,7 @@ exports.CreateTonNonceDocument = (0, client_1.gql) `
|
|
|
292
285
|
function useCreateTonNonceMutation(baseOptions) {
|
|
293
286
|
return Apollo.useMutation(exports.CreateTonNonceDocument, baseOptions);
|
|
294
287
|
}
|
|
288
|
+
exports.useCreateTonNonceMutation = useCreateTonNonceMutation;
|
|
295
289
|
exports.GenerateNewInviteCodesDocument = (0, client_1.gql) `
|
|
296
290
|
mutation GenerateNewInviteCodes($codesNum: Int!) {
|
|
297
291
|
generateNewInviteCodes(codesNum: $codesNum) {
|
|
@@ -322,6 +316,7 @@ exports.GenerateNewInviteCodesDocument = (0, client_1.gql) `
|
|
|
322
316
|
function useGenerateNewInviteCodesMutation(baseOptions) {
|
|
323
317
|
return Apollo.useMutation(exports.GenerateNewInviteCodesDocument, baseOptions);
|
|
324
318
|
}
|
|
319
|
+
exports.useGenerateNewInviteCodesMutation = useGenerateNewInviteCodesMutation;
|
|
325
320
|
exports.UseInviteCodeDocument = (0, client_1.gql) `
|
|
326
321
|
mutation UseInviteCode($inviteCode: String!) {
|
|
327
322
|
useInviteCode(inviteCode: $inviteCode)
|
|
@@ -347,6 +342,7 @@ exports.UseInviteCodeDocument = (0, client_1.gql) `
|
|
|
347
342
|
function useUseInviteCodeMutation(baseOptions) {
|
|
348
343
|
return Apollo.useMutation(exports.UseInviteCodeDocument, baseOptions);
|
|
349
344
|
}
|
|
345
|
+
exports.useUseInviteCodeMutation = useUseInviteCodeMutation;
|
|
350
346
|
exports.RemoveWalletDocument = (0, client_1.gql) `
|
|
351
347
|
mutation RemoveWallet($blockchain: String!, $address: String!, $chainId: String) {
|
|
352
348
|
removeWallet(blockchain: $blockchain, address: $address, chainId: $chainId)
|
|
@@ -374,6 +370,7 @@ exports.RemoveWalletDocument = (0, client_1.gql) `
|
|
|
374
370
|
function useRemoveWalletMutation(baseOptions) {
|
|
375
371
|
return Apollo.useMutation(exports.RemoveWalletDocument, baseOptions);
|
|
376
372
|
}
|
|
373
|
+
exports.useRemoveWalletMutation = useRemoveWalletMutation;
|
|
377
374
|
exports.SaveEmailOfJoinerDocument = (0, client_1.gql) `
|
|
378
375
|
mutation SaveEmailOfJoiner($email: String!, $isSubscribed: Boolean!) {
|
|
379
376
|
saveEmailOfJoiner(email: $email, isSubscribed: $isSubscribed)
|
|
@@ -400,6 +397,7 @@ exports.SaveEmailOfJoinerDocument = (0, client_1.gql) `
|
|
|
400
397
|
function useSaveEmailOfJoinerMutation(baseOptions) {
|
|
401
398
|
return Apollo.useMutation(exports.SaveEmailOfJoinerDocument, baseOptions);
|
|
402
399
|
}
|
|
400
|
+
exports.useSaveEmailOfJoinerMutation = useSaveEmailOfJoinerMutation;
|
|
403
401
|
exports.SetMainWalletDocument = (0, client_1.gql) `
|
|
404
402
|
mutation SetMainWallet($blockchain: String!, $address: String!, $chainId: String) {
|
|
405
403
|
setMainWallet(blockchain: $blockchain, address: $address, chainId: $chainId)
|
|
@@ -427,6 +425,7 @@ exports.SetMainWalletDocument = (0, client_1.gql) `
|
|
|
427
425
|
function useSetMainWalletMutation(baseOptions) {
|
|
428
426
|
return Apollo.useMutation(exports.SetMainWalletDocument, baseOptions);
|
|
429
427
|
}
|
|
428
|
+
exports.useSetMainWalletMutation = useSetMainWalletMutation;
|
|
430
429
|
exports.SignInAdminMetamaskDocument = (0, client_1.gql) `
|
|
431
430
|
mutation SignInAdminMetamask($signature: String!, $address: String!, $chainId: String!) {
|
|
432
431
|
signInAdminMetamask(signature: $signature, address: $address, chainId: $chainId) {
|
|
@@ -445,6 +444,9 @@ exports.SignInAdminMetamaskDocument = (0, client_1.gql) `
|
|
|
445
444
|
newUser
|
|
446
445
|
inviteCode
|
|
447
446
|
role
|
|
447
|
+
reftypeId
|
|
448
|
+
reftypeName
|
|
449
|
+
reftypeColor
|
|
448
450
|
}
|
|
449
451
|
}
|
|
450
452
|
`;
|
|
@@ -470,6 +472,7 @@ exports.SignInAdminMetamaskDocument = (0, client_1.gql) `
|
|
|
470
472
|
function useSignInAdminMetamaskMutation(baseOptions) {
|
|
471
473
|
return Apollo.useMutation(exports.SignInAdminMetamaskDocument, baseOptions);
|
|
472
474
|
}
|
|
475
|
+
exports.useSignInAdminMetamaskMutation = useSignInAdminMetamaskMutation;
|
|
473
476
|
exports.SignInElrondDocument = (0, client_1.gql) `
|
|
474
477
|
mutation SignInElrond($signature: String!, $address: String!) {
|
|
475
478
|
signInElrond(signature: $signature, address: $address) {
|
|
@@ -488,6 +491,9 @@ exports.SignInElrondDocument = (0, client_1.gql) `
|
|
|
488
491
|
newUser
|
|
489
492
|
inviteCode
|
|
490
493
|
role
|
|
494
|
+
reftypeId
|
|
495
|
+
reftypeName
|
|
496
|
+
reftypeColor
|
|
491
497
|
}
|
|
492
498
|
}
|
|
493
499
|
`;
|
|
@@ -512,6 +518,7 @@ exports.SignInElrondDocument = (0, client_1.gql) `
|
|
|
512
518
|
function useSignInElrondMutation(baseOptions) {
|
|
513
519
|
return Apollo.useMutation(exports.SignInElrondDocument, baseOptions);
|
|
514
520
|
}
|
|
521
|
+
exports.useSignInElrondMutation = useSignInElrondMutation;
|
|
515
522
|
exports.SignInFlowDocument = (0, client_1.gql) `
|
|
516
523
|
mutation SignInFlow($signature: String!, $address: String!) {
|
|
517
524
|
signInFlow(signature: $signature, address: $address) {
|
|
@@ -530,6 +537,9 @@ exports.SignInFlowDocument = (0, client_1.gql) `
|
|
|
530
537
|
newUser
|
|
531
538
|
inviteCode
|
|
532
539
|
role
|
|
540
|
+
reftypeId
|
|
541
|
+
reftypeName
|
|
542
|
+
reftypeColor
|
|
533
543
|
}
|
|
534
544
|
}
|
|
535
545
|
`;
|
|
@@ -554,6 +564,7 @@ exports.SignInFlowDocument = (0, client_1.gql) `
|
|
|
554
564
|
function useSignInFlowMutation(baseOptions) {
|
|
555
565
|
return Apollo.useMutation(exports.SignInFlowDocument, baseOptions);
|
|
556
566
|
}
|
|
567
|
+
exports.useSignInFlowMutation = useSignInFlowMutation;
|
|
557
568
|
exports.SignInMetamaskDocument = (0, client_1.gql) `
|
|
558
569
|
mutation SignInMetamask($signature: String!, $address: String!, $chainId: String!) {
|
|
559
570
|
signInMetamask(signature: $signature, address: $address, chainId: $chainId) {
|
|
@@ -572,6 +583,9 @@ exports.SignInMetamaskDocument = (0, client_1.gql) `
|
|
|
572
583
|
newUser
|
|
573
584
|
inviteCode
|
|
574
585
|
role
|
|
586
|
+
reftypeId
|
|
587
|
+
reftypeName
|
|
588
|
+
reftypeColor
|
|
575
589
|
}
|
|
576
590
|
}
|
|
577
591
|
`;
|
|
@@ -597,6 +611,7 @@ exports.SignInMetamaskDocument = (0, client_1.gql) `
|
|
|
597
611
|
function useSignInMetamaskMutation(baseOptions) {
|
|
598
612
|
return Apollo.useMutation(exports.SignInMetamaskDocument, baseOptions);
|
|
599
613
|
}
|
|
614
|
+
exports.useSignInMetamaskMutation = useSignInMetamaskMutation;
|
|
600
615
|
exports.SignInSolanaDocument = (0, client_1.gql) `
|
|
601
616
|
mutation SignInSolana($signature: String!, $pubkey: String!) {
|
|
602
617
|
signInSolana(signature: $signature, pubkey: $pubkey) {
|
|
@@ -615,6 +630,9 @@ exports.SignInSolanaDocument = (0, client_1.gql) `
|
|
|
615
630
|
newUser
|
|
616
631
|
inviteCode
|
|
617
632
|
role
|
|
633
|
+
reftypeId
|
|
634
|
+
reftypeName
|
|
635
|
+
reftypeColor
|
|
618
636
|
}
|
|
619
637
|
}
|
|
620
638
|
`;
|
|
@@ -639,6 +657,7 @@ exports.SignInSolanaDocument = (0, client_1.gql) `
|
|
|
639
657
|
function useSignInSolanaMutation(baseOptions) {
|
|
640
658
|
return Apollo.useMutation(exports.SignInSolanaDocument, baseOptions);
|
|
641
659
|
}
|
|
660
|
+
exports.useSignInSolanaMutation = useSignInSolanaMutation;
|
|
642
661
|
exports.SignInTezosDocument = (0, client_1.gql) `
|
|
643
662
|
mutation SignInTezos($signature: String!, $pubkey: String!) {
|
|
644
663
|
signInTezos(signature: $signature, pubkey: $pubkey) {
|
|
@@ -657,6 +676,9 @@ exports.SignInTezosDocument = (0, client_1.gql) `
|
|
|
657
676
|
newUser
|
|
658
677
|
inviteCode
|
|
659
678
|
role
|
|
679
|
+
reftypeId
|
|
680
|
+
reftypeName
|
|
681
|
+
reftypeColor
|
|
660
682
|
}
|
|
661
683
|
}
|
|
662
684
|
`;
|
|
@@ -681,6 +703,7 @@ exports.SignInTezosDocument = (0, client_1.gql) `
|
|
|
681
703
|
function useSignInTezosMutation(baseOptions) {
|
|
682
704
|
return Apollo.useMutation(exports.SignInTezosDocument, baseOptions);
|
|
683
705
|
}
|
|
706
|
+
exports.useSignInTezosMutation = useSignInTezosMutation;
|
|
684
707
|
exports.SignInTonDocument = (0, client_1.gql) `
|
|
685
708
|
mutation SignInTon($request: CheckTonProofRequest!, $restore: Boolean) {
|
|
686
709
|
signInTon(request: $request, restore: $restore) {
|
|
@@ -699,6 +722,9 @@ exports.SignInTonDocument = (0, client_1.gql) `
|
|
|
699
722
|
newUser
|
|
700
723
|
inviteCode
|
|
701
724
|
role
|
|
725
|
+
reftypeId
|
|
726
|
+
reftypeName
|
|
727
|
+
reftypeColor
|
|
702
728
|
}
|
|
703
729
|
}
|
|
704
730
|
`;
|
|
@@ -723,6 +749,7 @@ exports.SignInTonDocument = (0, client_1.gql) `
|
|
|
723
749
|
function useSignInTonMutation(baseOptions) {
|
|
724
750
|
return Apollo.useMutation(exports.SignInTonDocument, baseOptions);
|
|
725
751
|
}
|
|
752
|
+
exports.useSignInTonMutation = useSignInTonMutation;
|
|
726
753
|
exports.UpdateProfileDocument = (0, client_1.gql) `
|
|
727
754
|
mutation UpdateProfile($username: String, $about: String, $facebook: String, $twitter: String, $instagram: String, $website: String, $showNsfw: Boolean) {
|
|
728
755
|
updateProfile(
|
|
@@ -756,6 +783,55 @@ exports.UpdateProfileDocument = (0, client_1.gql) `
|
|
|
756
783
|
function useUpdateProfileMutation(baseOptions) {
|
|
757
784
|
return Apollo.useMutation(exports.UpdateProfileDocument, baseOptions);
|
|
758
785
|
}
|
|
786
|
+
exports.useUpdateProfileMutation = useUpdateProfileMutation;
|
|
787
|
+
exports.FetchAggregatedMultiversxAuditDocument = (0, client_1.gql) `
|
|
788
|
+
query FetchAggregatedMultiversxAudit($userId: ID!) {
|
|
789
|
+
fetchAggregatedMultiversxAudit(userId: $userId) {
|
|
790
|
+
delegated
|
|
791
|
+
interests {
|
|
792
|
+
name
|
|
793
|
+
items
|
|
794
|
+
percentage
|
|
795
|
+
}
|
|
796
|
+
nativeBalance
|
|
797
|
+
nftBalance {
|
|
798
|
+
nativeValue
|
|
799
|
+
totalNfts
|
|
800
|
+
collections {
|
|
801
|
+
collection
|
|
802
|
+
type
|
|
803
|
+
name
|
|
804
|
+
balance
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
tokenValue
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
`;
|
|
811
|
+
/**
|
|
812
|
+
* __useFetchAggregatedMultiversxAuditQuery__
|
|
813
|
+
*
|
|
814
|
+
* To run a query within a React component, call `useFetchAggregatedMultiversxAuditQuery` and pass it any options that fit your needs.
|
|
815
|
+
* When your component renders, `useFetchAggregatedMultiversxAuditQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
816
|
+
* you can use to render your UI.
|
|
817
|
+
*
|
|
818
|
+
* @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;
|
|
819
|
+
*
|
|
820
|
+
* @example
|
|
821
|
+
* const { data, loading, error } = useFetchAggregatedMultiversxAuditQuery({
|
|
822
|
+
* variables: {
|
|
823
|
+
* userId: // value for 'userId'
|
|
824
|
+
* },
|
|
825
|
+
* });
|
|
826
|
+
*/
|
|
827
|
+
function useFetchAggregatedMultiversxAuditQuery(baseOptions) {
|
|
828
|
+
return Apollo.useQuery(exports.FetchAggregatedMultiversxAuditDocument, baseOptions);
|
|
829
|
+
}
|
|
830
|
+
exports.useFetchAggregatedMultiversxAuditQuery = useFetchAggregatedMultiversxAuditQuery;
|
|
831
|
+
function useFetchAggregatedMultiversxAuditLazyQuery(baseOptions) {
|
|
832
|
+
return Apollo.useLazyQuery(exports.FetchAggregatedMultiversxAuditDocument, baseOptions);
|
|
833
|
+
}
|
|
834
|
+
exports.useFetchAggregatedMultiversxAuditLazyQuery = useFetchAggregatedMultiversxAuditLazyQuery;
|
|
759
835
|
exports.FetchMultiversXAuditDocument = (0, client_1.gql) `
|
|
760
836
|
query FetchMultiversXAudit($wallet: String!) {
|
|
761
837
|
fetchMultiversxAudit(wallet: $wallet) {
|
|
@@ -799,9 +875,11 @@ exports.FetchMultiversXAuditDocument = (0, client_1.gql) `
|
|
|
799
875
|
function useFetchMultiversXAuditQuery(baseOptions) {
|
|
800
876
|
return Apollo.useQuery(exports.FetchMultiversXAuditDocument, baseOptions);
|
|
801
877
|
}
|
|
878
|
+
exports.useFetchMultiversXAuditQuery = useFetchMultiversXAuditQuery;
|
|
802
879
|
function useFetchMultiversXAuditLazyQuery(baseOptions) {
|
|
803
880
|
return Apollo.useLazyQuery(exports.FetchMultiversXAuditDocument, baseOptions);
|
|
804
881
|
}
|
|
882
|
+
exports.useFetchMultiversXAuditLazyQuery = useFetchMultiversXAuditLazyQuery;
|
|
805
883
|
exports.FetchMyProfileV2Document = (0, client_1.gql) `
|
|
806
884
|
query FetchMyProfileV2 {
|
|
807
885
|
fetchMyProfileV2 {
|
|
@@ -847,6 +925,9 @@ exports.FetchMyProfileV2Document = (0, client_1.gql) `
|
|
|
847
925
|
usedAt
|
|
848
926
|
}
|
|
849
927
|
}
|
|
928
|
+
referralTypeId
|
|
929
|
+
referralTypeName
|
|
930
|
+
referralTypeColor
|
|
850
931
|
}
|
|
851
932
|
}
|
|
852
933
|
`;
|
|
@@ -868,9 +949,11 @@ exports.FetchMyProfileV2Document = (0, client_1.gql) `
|
|
|
868
949
|
function useFetchMyProfileV2Query(baseOptions) {
|
|
869
950
|
return Apollo.useQuery(exports.FetchMyProfileV2Document, baseOptions);
|
|
870
951
|
}
|
|
952
|
+
exports.useFetchMyProfileV2Query = useFetchMyProfileV2Query;
|
|
871
953
|
function useFetchMyProfileV2LazyQuery(baseOptions) {
|
|
872
954
|
return Apollo.useLazyQuery(exports.FetchMyProfileV2Document, baseOptions);
|
|
873
955
|
}
|
|
956
|
+
exports.useFetchMyProfileV2LazyQuery = useFetchMyProfileV2LazyQuery;
|
|
874
957
|
exports.FetchProfileDocument = (0, client_1.gql) `
|
|
875
958
|
query FetchProfile($userId: ID!) {
|
|
876
959
|
fetchProfile(userId: $userId) {
|
|
@@ -902,6 +985,9 @@ exports.FetchProfileDocument = (0, client_1.gql) `
|
|
|
902
985
|
blockchain
|
|
903
986
|
chainId
|
|
904
987
|
}
|
|
988
|
+
referralTypeId
|
|
989
|
+
referralTypeName
|
|
990
|
+
referralTypeColor
|
|
905
991
|
}
|
|
906
992
|
}
|
|
907
993
|
`;
|
|
@@ -924,9 +1010,11 @@ exports.FetchProfileDocument = (0, client_1.gql) `
|
|
|
924
1010
|
function useFetchProfileQuery(baseOptions) {
|
|
925
1011
|
return Apollo.useQuery(exports.FetchProfileDocument, baseOptions);
|
|
926
1012
|
}
|
|
1013
|
+
exports.useFetchProfileQuery = useFetchProfileQuery;
|
|
927
1014
|
function useFetchProfileLazyQuery(baseOptions) {
|
|
928
1015
|
return Apollo.useLazyQuery(exports.FetchProfileDocument, baseOptions);
|
|
929
1016
|
}
|
|
1017
|
+
exports.useFetchProfileLazyQuery = useFetchProfileLazyQuery;
|
|
930
1018
|
exports.FetchUserWalletsDocument = (0, client_1.gql) `
|
|
931
1019
|
query FetchUserWallets($userId: ID!) {
|
|
932
1020
|
fetchUserWallets(userId: $userId) {
|
|
@@ -958,6 +1046,8 @@ exports.FetchUserWalletsDocument = (0, client_1.gql) `
|
|
|
958
1046
|
function useFetchUserWalletsQuery(baseOptions) {
|
|
959
1047
|
return Apollo.useQuery(exports.FetchUserWalletsDocument, baseOptions);
|
|
960
1048
|
}
|
|
1049
|
+
exports.useFetchUserWalletsQuery = useFetchUserWalletsQuery;
|
|
961
1050
|
function useFetchUserWalletsLazyQuery(baseOptions) {
|
|
962
1051
|
return Apollo.useLazyQuery(exports.FetchUserWalletsDocument, baseOptions);
|
|
963
1052
|
}
|
|
1053
|
+
exports.useFetchUserWalletsLazyQuery = useFetchUserWalletsLazyQuery;
|
|
@@ -189,7 +189,7 @@ export type IDeleteGalleryBannerMutationFn = Apollo.MutationFunction<IDeleteGall
|
|
|
189
189
|
* });
|
|
190
190
|
*/
|
|
191
191
|
export declare function useDeleteGalleryBannerMutation(baseOptions?: Apollo.MutationHookOptions<IDeleteGalleryBannerMutation, IDeleteGalleryBannerMutationVariables>): Apollo.MutationTuple<IDeleteGalleryBannerMutation, Exact<{
|
|
192
|
-
galleryId:
|
|
192
|
+
galleryId: string;
|
|
193
193
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
194
194
|
export type DeleteGalleryBannerMutationHookResult = ReturnType<typeof useDeleteGalleryBannerMutation>;
|
|
195
195
|
export type DeleteGalleryBannerMutationResult = Apollo.MutationResult<IDeleteGalleryBannerMutation>;
|
|
@@ -215,8 +215,8 @@ export type IUploadGalleryBannerMutationFn = Apollo.MutationFunction<IUploadGall
|
|
|
215
215
|
* });
|
|
216
216
|
*/
|
|
217
217
|
export declare function useUploadGalleryBannerMutation(baseOptions?: Apollo.MutationHookOptions<IUploadGalleryBannerMutation, IUploadGalleryBannerMutationVariables>): Apollo.MutationTuple<IUploadGalleryBannerMutation, Exact<{
|
|
218
|
-
galleryId:
|
|
219
|
-
file:
|
|
218
|
+
galleryId: string;
|
|
219
|
+
file: any;
|
|
220
220
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
221
221
|
export type UploadGalleryBannerMutationHookResult = ReturnType<typeof useUploadGalleryBannerMutation>;
|
|
222
222
|
export type UploadGalleryBannerMutationResult = Apollo.MutationResult<IUploadGalleryBannerMutation>;
|
|
@@ -239,10 +239,10 @@ export declare const FetchUserpicDocument: Apollo.DocumentNode;
|
|
|
239
239
|
* });
|
|
240
240
|
*/
|
|
241
241
|
export declare function useFetchUserpicQuery(baseOptions: Apollo.QueryHookOptions<IFetchUserpicQuery, IFetchUserpicQueryVariables>): Apollo.QueryResult<IFetchUserpicQuery, Exact<{
|
|
242
|
-
userId:
|
|
242
|
+
userId: string;
|
|
243
243
|
}>>;
|
|
244
244
|
export declare function useFetchUserpicLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserpicQuery, IFetchUserpicQueryVariables>): Apollo.LazyQueryResultTuple<IFetchUserpicQuery, Exact<{
|
|
245
|
-
userId:
|
|
245
|
+
userId: string;
|
|
246
246
|
}>>;
|
|
247
247
|
export type FetchUserpicQueryHookResult = ReturnType<typeof useFetchUserpicQuery>;
|
|
248
248
|
export type FetchUserpicLazyQueryHookResult = ReturnType<typeof useFetchUserpicLazyQuery>;
|
|
@@ -23,11 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.FetchUserpicDocument = exports.UploadGalleryBannerDocument = exports.DeleteGalleryBannerDocument = void 0;
|
|
27
|
-
exports.useDeleteGalleryBannerMutation = useDeleteGalleryBannerMutation;
|
|
28
|
-
exports.useUploadGalleryBannerMutation = useUploadGalleryBannerMutation;
|
|
29
|
-
exports.useFetchUserpicQuery = useFetchUserpicQuery;
|
|
30
|
-
exports.useFetchUserpicLazyQuery = useFetchUserpicLazyQuery;
|
|
26
|
+
exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = void 0;
|
|
31
27
|
const client_1 = require("@apollo/client");
|
|
32
28
|
const Apollo = __importStar(require("@apollo/client"));
|
|
33
29
|
exports.DeleteGalleryBannerDocument = (0, client_1.gql) `
|
|
@@ -55,6 +51,7 @@ exports.DeleteGalleryBannerDocument = (0, client_1.gql) `
|
|
|
55
51
|
function useDeleteGalleryBannerMutation(baseOptions) {
|
|
56
52
|
return Apollo.useMutation(exports.DeleteGalleryBannerDocument, baseOptions);
|
|
57
53
|
}
|
|
54
|
+
exports.useDeleteGalleryBannerMutation = useDeleteGalleryBannerMutation;
|
|
58
55
|
exports.UploadGalleryBannerDocument = (0, client_1.gql) `
|
|
59
56
|
mutation UploadGalleryBanner($galleryId: ID!, $file: Upload!) {
|
|
60
57
|
uploadGalleryBanner(galleryId: $galleryId, file: $file)
|
|
@@ -81,6 +78,7 @@ exports.UploadGalleryBannerDocument = (0, client_1.gql) `
|
|
|
81
78
|
function useUploadGalleryBannerMutation(baseOptions) {
|
|
82
79
|
return Apollo.useMutation(exports.UploadGalleryBannerDocument, baseOptions);
|
|
83
80
|
}
|
|
81
|
+
exports.useUploadGalleryBannerMutation = useUploadGalleryBannerMutation;
|
|
84
82
|
exports.FetchUserpicDocument = (0, client_1.gql) `
|
|
85
83
|
query FetchUserpic($userId: ID!) {
|
|
86
84
|
fetchUserpic(userId: $userId)
|
|
@@ -105,6 +103,8 @@ exports.FetchUserpicDocument = (0, client_1.gql) `
|
|
|
105
103
|
function useFetchUserpicQuery(baseOptions) {
|
|
106
104
|
return Apollo.useQuery(exports.FetchUserpicDocument, baseOptions);
|
|
107
105
|
}
|
|
106
|
+
exports.useFetchUserpicQuery = useFetchUserpicQuery;
|
|
108
107
|
function useFetchUserpicLazyQuery(baseOptions) {
|
|
109
108
|
return Apollo.useLazyQuery(exports.FetchUserpicDocument, baseOptions);
|
|
110
109
|
}
|
|
110
|
+
exports.useFetchUserpicLazyQuery = useFetchUserpicLazyQuery;
|
|
@@ -182,7 +182,7 @@ export type IReadNotificationMutationFn = Apollo.MutationFunction<IReadNotificat
|
|
|
182
182
|
* });
|
|
183
183
|
*/
|
|
184
184
|
export declare function useReadNotificationMutation(baseOptions?: Apollo.MutationHookOptions<IReadNotificationMutation, IReadNotificationMutationVariables>): Apollo.MutationTuple<IReadNotificationMutation, Exact<{
|
|
185
|
-
notificationId:
|
|
185
|
+
notificationId: string;
|
|
186
186
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
187
187
|
export type ReadNotificationMutationHookResult = ReturnType<typeof useReadNotificationMutation>;
|
|
188
188
|
export type ReadNotificationMutationResult = Apollo.MutationResult<IReadNotificationMutation>;
|
|
@@ -209,10 +209,10 @@ export declare function useOnNotificationSubscription(baseOptions: Apollo.Subscr
|
|
|
209
209
|
restart(): void;
|
|
210
210
|
loading: boolean;
|
|
211
211
|
data?: IOnNotificationSubscription | undefined;
|
|
212
|
-
error?: Apollo.ApolloError;
|
|
212
|
+
error?: Apollo.ApolloError | undefined;
|
|
213
213
|
variables?: Exact<{
|
|
214
|
-
authToken:
|
|
215
|
-
notificationTypes:
|
|
214
|
+
authToken: string;
|
|
215
|
+
notificationTypes: INotificationType[];
|
|
216
216
|
}> | undefined;
|
|
217
217
|
};
|
|
218
218
|
export type OnNotificationSubscriptionHookResult = ReturnType<typeof useOnNotificationSubscription>;
|
|
@@ -23,9 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.OnNotificationDocument = exports.ReadNotificationDocument = exports.INotificationType = exports.IEventType = void 0;
|
|
27
|
-
exports.useReadNotificationMutation = useReadNotificationMutation;
|
|
28
|
-
exports.useOnNotificationSubscription = useOnNotificationSubscription;
|
|
26
|
+
exports.useOnNotificationSubscription = exports.OnNotificationDocument = exports.useReadNotificationMutation = exports.ReadNotificationDocument = exports.INotificationType = exports.IEventType = void 0;
|
|
29
27
|
const client_1 = require("@apollo/client");
|
|
30
28
|
const Apollo = __importStar(require("@apollo/client"));
|
|
31
29
|
var IEventType;
|
|
@@ -66,6 +64,7 @@ exports.ReadNotificationDocument = (0, client_1.gql) `
|
|
|
66
64
|
function useReadNotificationMutation(baseOptions) {
|
|
67
65
|
return Apollo.useMutation(exports.ReadNotificationDocument, baseOptions);
|
|
68
66
|
}
|
|
67
|
+
exports.useReadNotificationMutation = useReadNotificationMutation;
|
|
69
68
|
exports.OnNotificationDocument = (0, client_1.gql) `
|
|
70
69
|
subscription OnNotification($authToken: String!, $notificationTypes: [NotificationType!]!) {
|
|
71
70
|
onNotification(authToken: $authToken, notificationTypes: $notificationTypes) {
|
|
@@ -100,3 +99,4 @@ exports.OnNotificationDocument = (0, client_1.gql) `
|
|
|
100
99
|
function useOnNotificationSubscription(baseOptions) {
|
|
101
100
|
return Apollo.useSubscription(exports.OnNotificationDocument, baseOptions);
|
|
102
101
|
}
|
|
102
|
+
exports.useOnNotificationSubscription = useOnNotificationSubscription;
|
|
@@ -432,10 +432,6 @@ export type ICreateOpportunityMutationVariables = Exact<{
|
|
|
432
432
|
input: IOpportunityInput;
|
|
433
433
|
}>;
|
|
434
434
|
export type ICreateOpportunityMutation = Pick<IMutation, 'createOpportunity'>;
|
|
435
|
-
export type IHideOpportunityMutationVariables = Exact<{
|
|
436
|
-
opportunityId: Scalars['ID'];
|
|
437
|
-
}>;
|
|
438
|
-
export type IHideOpportunityMutation = Pick<IMutation, 'hideOpportunity'>;
|
|
439
435
|
export type IOpenOpportunityMutationVariables = Exact<{
|
|
440
436
|
opportunityId: Scalars['ID'];
|
|
441
437
|
}>;
|
|
@@ -481,7 +477,7 @@ export type IDislikeOpportunityMutationFn = Apollo.MutationFunction<IDislikeOppo
|
|
|
481
477
|
* });
|
|
482
478
|
*/
|
|
483
479
|
export declare function useDislikeOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IDislikeOpportunityMutation, IDislikeOpportunityMutationVariables>): Apollo.MutationTuple<IDislikeOpportunityMutation, Exact<{
|
|
484
|
-
opportunityId:
|
|
480
|
+
opportunityId: string;
|
|
485
481
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
486
482
|
export type DislikeOpportunityMutationHookResult = ReturnType<typeof useDislikeOpportunityMutation>;
|
|
487
483
|
export type DislikeOpportunityMutationResult = Apollo.MutationResult<IDislikeOpportunityMutation>;
|
|
@@ -506,7 +502,7 @@ export type ILikeOpportunityMutationFn = Apollo.MutationFunction<ILikeOpportunit
|
|
|
506
502
|
* });
|
|
507
503
|
*/
|
|
508
504
|
export declare function useLikeOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ILikeOpportunityMutation, ILikeOpportunityMutationVariables>): Apollo.MutationTuple<ILikeOpportunityMutation, Exact<{
|
|
509
|
-
opportunityId:
|
|
505
|
+
opportunityId: string;
|
|
510
506
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
511
507
|
export type LikeOpportunityMutationHookResult = ReturnType<typeof useLikeOpportunityMutation>;
|
|
512
508
|
export type LikeOpportunityMutationResult = Apollo.MutationResult<ILikeOpportunityMutation>;
|
|
@@ -536,31 +532,6 @@ export declare function useCreateOpportunityMutation(baseOptions?: Apollo.Mutati
|
|
|
536
532
|
export type CreateOpportunityMutationHookResult = ReturnType<typeof useCreateOpportunityMutation>;
|
|
537
533
|
export type CreateOpportunityMutationResult = Apollo.MutationResult<ICreateOpportunityMutation>;
|
|
538
534
|
export type CreateOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateOpportunityMutation, ICreateOpportunityMutationVariables>;
|
|
539
|
-
export declare const HideOpportunityDocument: Apollo.DocumentNode;
|
|
540
|
-
export type IHideOpportunityMutationFn = Apollo.MutationFunction<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
541
|
-
/**
|
|
542
|
-
* __useHideOpportunityMutation__
|
|
543
|
-
*
|
|
544
|
-
* To run a mutation, you first call `useHideOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
545
|
-
* When your component renders, `useHideOpportunityMutation` returns a tuple that includes:
|
|
546
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
547
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
548
|
-
*
|
|
549
|
-
* @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;
|
|
550
|
-
*
|
|
551
|
-
* @example
|
|
552
|
-
* const [hideOpportunityMutation, { data, loading, error }] = useHideOpportunityMutation({
|
|
553
|
-
* variables: {
|
|
554
|
-
* opportunityId: // value for 'opportunityId'
|
|
555
|
-
* },
|
|
556
|
-
* });
|
|
557
|
-
*/
|
|
558
|
-
export declare function useHideOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>): Apollo.MutationTuple<IHideOpportunityMutation, Exact<{
|
|
559
|
-
opportunityId: Scalars["ID"];
|
|
560
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
561
|
-
export type HideOpportunityMutationHookResult = ReturnType<typeof useHideOpportunityMutation>;
|
|
562
|
-
export type HideOpportunityMutationResult = Apollo.MutationResult<IHideOpportunityMutation>;
|
|
563
|
-
export type HideOpportunityMutationOptions = Apollo.BaseMutationOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
564
535
|
export declare const OpenOpportunityDocument: Apollo.DocumentNode;
|
|
565
536
|
export type IOpenOpportunityMutationFn = Apollo.MutationFunction<IOpenOpportunityMutation, IOpenOpportunityMutationVariables>;
|
|
566
537
|
/**
|
|
@@ -581,7 +552,7 @@ export type IOpenOpportunityMutationFn = Apollo.MutationFunction<IOpenOpportunit
|
|
|
581
552
|
* });
|
|
582
553
|
*/
|
|
583
554
|
export declare function useOpenOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IOpenOpportunityMutation, IOpenOpportunityMutationVariables>): Apollo.MutationTuple<IOpenOpportunityMutation, Exact<{
|
|
584
|
-
opportunityId:
|
|
555
|
+
opportunityId: string;
|
|
585
556
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
586
557
|
export type OpenOpportunityMutationHookResult = ReturnType<typeof useOpenOpportunityMutation>;
|
|
587
558
|
export type OpenOpportunityMutationResult = Apollo.MutationResult<IOpenOpportunityMutation>;
|
|
@@ -604,10 +575,10 @@ export declare const FetchOpportunitiesByIdsDocument: Apollo.DocumentNode;
|
|
|
604
575
|
* });
|
|
605
576
|
*/
|
|
606
577
|
export declare function useFetchOpportunitiesByIdsQuery(baseOptions: Apollo.QueryHookOptions<IFetchOpportunitiesByIdsQuery, IFetchOpportunitiesByIdsQueryVariables>): Apollo.QueryResult<IFetchOpportunitiesByIdsQuery, Exact<{
|
|
607
|
-
opportunityIds:
|
|
578
|
+
opportunityIds: string[];
|
|
608
579
|
}>>;
|
|
609
580
|
export declare function useFetchOpportunitiesByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchOpportunitiesByIdsQuery, IFetchOpportunitiesByIdsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchOpportunitiesByIdsQuery, Exact<{
|
|
610
|
-
opportunityIds:
|
|
581
|
+
opportunityIds: string[];
|
|
611
582
|
}>>;
|
|
612
583
|
export type FetchOpportunitiesByIdsQueryHookResult = ReturnType<typeof useFetchOpportunitiesByIdsQuery>;
|
|
613
584
|
export type FetchOpportunitiesByIdsLazyQueryHookResult = ReturnType<typeof useFetchOpportunitiesByIdsLazyQuery>;
|
|
@@ -655,10 +626,10 @@ export declare const FetchOpportunitiesDocument: Apollo.DocumentNode;
|
|
|
655
626
|
* });
|
|
656
627
|
*/
|
|
657
628
|
export declare function useFetchOpportunitiesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchOpportunitiesQuery, IFetchOpportunitiesQueryVariables>): Apollo.QueryResult<IFetchOpportunitiesQuery, Exact<{
|
|
658
|
-
domain?: Maybe<
|
|
629
|
+
domain?: Maybe<string> | undefined;
|
|
659
630
|
}>>;
|
|
660
631
|
export declare function useFetchOpportunitiesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchOpportunitiesQuery, IFetchOpportunitiesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchOpportunitiesQuery, Exact<{
|
|
661
|
-
domain?: Maybe<
|
|
632
|
+
domain?: Maybe<string> | undefined;
|
|
662
633
|
}>>;
|
|
663
634
|
export type FetchOpportunitiesQueryHookResult = ReturnType<typeof useFetchOpportunitiesQuery>;
|
|
664
635
|
export type FetchOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchOpportunitiesLazyQuery>;
|