@ludo.ninja/api 2.8.96 → 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 +101 -65
- package/build/graphql_tools/__generated__/identityHost/schema.js +75 -33
- 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 +1237 -587
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/identityHost/schema.ts +75 -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
package/package.json
CHANGED
|
@@ -76,8 +76,9 @@ export type IIdentity = {
|
|
|
76
76
|
role: IRole;
|
|
77
77
|
newUser?: Maybe<Scalars['Boolean']>;
|
|
78
78
|
inviteCode?: Maybe<Scalars['String']>;
|
|
79
|
-
|
|
79
|
+
reftypeId?: Maybe<Scalars['ID']>;
|
|
80
80
|
reftypeName?: Maybe<Scalars['String']>;
|
|
81
|
+
reftypeColor?: Maybe<IReftypeColor>;
|
|
81
82
|
};
|
|
82
83
|
|
|
83
84
|
export type IInputProfile = {
|
|
@@ -305,6 +306,11 @@ export type IMyProfileV2 = {
|
|
|
305
306
|
levelMinXps?: Maybe<Scalars['Int']>;
|
|
306
307
|
levelMaxXps?: Maybe<Scalars['Int']>;
|
|
307
308
|
inviteCodes?: Maybe<Array<Maybe<IInviteCode>>>;
|
|
309
|
+
referralTypeId?: Maybe<Scalars['ID']>;
|
|
310
|
+
referralTypeName?: Maybe<Scalars['String']>;
|
|
311
|
+
referralTypeColor?: Maybe<IReftypeColor>;
|
|
312
|
+
tierId?: Maybe<Scalars['String']>;
|
|
313
|
+
tierName?: Maybe<Scalars['String']>;
|
|
308
314
|
};
|
|
309
315
|
|
|
310
316
|
export type IProfile = {
|
|
@@ -327,6 +333,11 @@ export type IProfile = {
|
|
|
327
333
|
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
328
334
|
xps?: Maybe<Scalars['Int']>;
|
|
329
335
|
level?: Maybe<Scalars['Int']>;
|
|
336
|
+
referralTypeId?: Maybe<Scalars['ID']>;
|
|
337
|
+
referralTypeName?: Maybe<Scalars['String']>;
|
|
338
|
+
referralTypeColor?: Maybe<IReftypeColor>;
|
|
339
|
+
tierId?: Maybe<Scalars['String']>;
|
|
340
|
+
tierName?: Maybe<Scalars['String']>;
|
|
330
341
|
};
|
|
331
342
|
|
|
332
343
|
export type IProof = {
|
|
@@ -384,6 +395,20 @@ export type IQueryFetchFollowingStatusesArgs = {
|
|
|
384
395
|
userIds: Array<Scalars['ID']>;
|
|
385
396
|
};
|
|
386
397
|
|
|
398
|
+
/** Sync with ReftypeColor.java */
|
|
399
|
+
export enum IReftypeColor {
|
|
400
|
+
Red = 'RED',
|
|
401
|
+
Green = 'GREEN',
|
|
402
|
+
Blue = 'BLUE',
|
|
403
|
+
Yellow = 'YELLOW',
|
|
404
|
+
Orange = 'ORANGE',
|
|
405
|
+
White = 'WHITE',
|
|
406
|
+
Black = 'BLACK',
|
|
407
|
+
Grey = 'GREY',
|
|
408
|
+
Purple = 'PURPLE',
|
|
409
|
+
Gold = 'GOLD'
|
|
410
|
+
}
|
|
411
|
+
|
|
387
412
|
export enum IRole {
|
|
388
413
|
Admin = 'admin',
|
|
389
414
|
Plain = 'plain'
|
|
@@ -515,6 +540,7 @@ export type IResolversTypes = {
|
|
|
515
540
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
516
541
|
Proof: IProof;
|
|
517
542
|
Query: ResolverTypeWrapper<{}>;
|
|
543
|
+
ReftypeColor: IReftypeColor;
|
|
518
544
|
Role: IRole;
|
|
519
545
|
Social: ResolverTypeWrapper<ISocial>;
|
|
520
546
|
TokenPair: ResolverTypeWrapper<ITokenPair>;
|
|
@@ -634,8 +660,9 @@ export type IIdentityResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
634
660
|
role?: Resolver<IResolversTypes['Role'], ParentType, ContextType>;
|
|
635
661
|
newUser?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
636
662
|
inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
637
|
-
|
|
663
|
+
reftypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
638
664
|
reftypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
665
|
+
reftypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
639
666
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
640
667
|
};
|
|
641
668
|
|
|
@@ -718,6 +745,11 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
718
745
|
levelMinXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
719
746
|
levelMaxXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
720
747
|
inviteCodes?: Resolver<Maybe<Array<Maybe<IResolversTypes['InviteCode']>>>, ParentType, ContextType>;
|
|
748
|
+
referralTypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
749
|
+
referralTypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
750
|
+
referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
751
|
+
tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
752
|
+
tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
721
753
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
722
754
|
};
|
|
723
755
|
|
|
@@ -741,6 +773,11 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
741
773
|
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
742
774
|
xps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
743
775
|
level?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
776
|
+
referralTypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
777
|
+
referralTypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
778
|
+
referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
779
|
+
tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
780
|
+
tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
744
781
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
745
782
|
};
|
|
746
783
|
|
|
@@ -939,7 +976,7 @@ export type ISignInAdminMetamaskMutationVariables = Exact<{
|
|
|
939
976
|
|
|
940
977
|
|
|
941
978
|
export type ISignInAdminMetamaskMutation = { signInAdminMetamask: (
|
|
942
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
979
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
943
980
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
944
981
|
) };
|
|
945
982
|
|
|
@@ -950,7 +987,7 @@ export type ISignInElrondMutationVariables = Exact<{
|
|
|
950
987
|
|
|
951
988
|
|
|
952
989
|
export type ISignInElrondMutation = { signInElrond: (
|
|
953
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
990
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
954
991
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
955
992
|
) };
|
|
956
993
|
|
|
@@ -961,7 +998,7 @@ export type ISignInFlowMutationVariables = Exact<{
|
|
|
961
998
|
|
|
962
999
|
|
|
963
1000
|
export type ISignInFlowMutation = { signInFlow: (
|
|
964
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1001
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
965
1002
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
966
1003
|
) };
|
|
967
1004
|
|
|
@@ -973,7 +1010,7 @@ export type ISignInMetamaskMutationVariables = Exact<{
|
|
|
973
1010
|
|
|
974
1011
|
|
|
975
1012
|
export type ISignInMetamaskMutation = { signInMetamask: (
|
|
976
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1013
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
977
1014
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
978
1015
|
) };
|
|
979
1016
|
|
|
@@ -984,7 +1021,7 @@ export type ISignInSolanaMutationVariables = Exact<{
|
|
|
984
1021
|
|
|
985
1022
|
|
|
986
1023
|
export type ISignInSolanaMutation = { signInSolana: (
|
|
987
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1024
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
988
1025
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
989
1026
|
) };
|
|
990
1027
|
|
|
@@ -995,7 +1032,7 @@ export type ISignInTezosMutationVariables = Exact<{
|
|
|
995
1032
|
|
|
996
1033
|
|
|
997
1034
|
export type ISignInTezosMutation = { signInTezos: (
|
|
998
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1035
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
999
1036
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
1000
1037
|
) };
|
|
1001
1038
|
|
|
@@ -1006,7 +1043,7 @@ export type ISignInTonMutationVariables = Exact<{
|
|
|
1006
1043
|
|
|
1007
1044
|
|
|
1008
1045
|
export type ISignInTonMutation = { signInTon: (
|
|
1009
|
-
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
|
|
1046
|
+
Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role' | 'reftypeId' | 'reftypeName' | 'reftypeColor'>
|
|
1010
1047
|
& { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
|
|
1011
1048
|
) };
|
|
1012
1049
|
|
|
@@ -1053,7 +1090,7 @@ export type IFetchMyProfileV2QueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
1053
1090
|
|
|
1054
1091
|
|
|
1055
1092
|
export type IFetchMyProfileV2Query = { fetchMyProfileV2: (
|
|
1056
|
-
Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>
|
|
1093
|
+
Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
|
|
1057
1094
|
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>, inviteCodes?: Maybe<Array<Maybe<(
|
|
1058
1095
|
Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'>
|
|
1059
1096
|
& { codeUsers: Array<Pick<IInviteCodeUser, 'inviteeId' | 'usedAt'>> }
|
|
@@ -1066,7 +1103,7 @@ export type IFetchProfileQueryVariables = Exact<{
|
|
|
1066
1103
|
|
|
1067
1104
|
|
|
1068
1105
|
export type IFetchProfileQuery = { fetchProfile: (
|
|
1069
|
-
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw'>
|
|
1106
|
+
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
|
|
1070
1107
|
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>> }
|
|
1071
1108
|
) };
|
|
1072
1109
|
|
|
@@ -1532,6 +1569,9 @@ export const SignInAdminMetamaskDocument = gql`
|
|
|
1532
1569
|
newUser
|
|
1533
1570
|
inviteCode
|
|
1534
1571
|
role
|
|
1572
|
+
reftypeId
|
|
1573
|
+
reftypeName
|
|
1574
|
+
reftypeColor
|
|
1535
1575
|
}
|
|
1536
1576
|
}
|
|
1537
1577
|
`;
|
|
@@ -1580,6 +1620,9 @@ export const SignInElrondDocument = gql`
|
|
|
1580
1620
|
newUser
|
|
1581
1621
|
inviteCode
|
|
1582
1622
|
role
|
|
1623
|
+
reftypeId
|
|
1624
|
+
reftypeName
|
|
1625
|
+
reftypeColor
|
|
1583
1626
|
}
|
|
1584
1627
|
}
|
|
1585
1628
|
`;
|
|
@@ -1627,6 +1670,9 @@ export const SignInFlowDocument = gql`
|
|
|
1627
1670
|
newUser
|
|
1628
1671
|
inviteCode
|
|
1629
1672
|
role
|
|
1673
|
+
reftypeId
|
|
1674
|
+
reftypeName
|
|
1675
|
+
reftypeColor
|
|
1630
1676
|
}
|
|
1631
1677
|
}
|
|
1632
1678
|
`;
|
|
@@ -1674,6 +1720,9 @@ export const SignInMetamaskDocument = gql`
|
|
|
1674
1720
|
newUser
|
|
1675
1721
|
inviteCode
|
|
1676
1722
|
role
|
|
1723
|
+
reftypeId
|
|
1724
|
+
reftypeName
|
|
1725
|
+
reftypeColor
|
|
1677
1726
|
}
|
|
1678
1727
|
}
|
|
1679
1728
|
`;
|
|
@@ -1722,6 +1771,9 @@ export const SignInSolanaDocument = gql`
|
|
|
1722
1771
|
newUser
|
|
1723
1772
|
inviteCode
|
|
1724
1773
|
role
|
|
1774
|
+
reftypeId
|
|
1775
|
+
reftypeName
|
|
1776
|
+
reftypeColor
|
|
1725
1777
|
}
|
|
1726
1778
|
}
|
|
1727
1779
|
`;
|
|
@@ -1769,6 +1821,9 @@ export const SignInTezosDocument = gql`
|
|
|
1769
1821
|
newUser
|
|
1770
1822
|
inviteCode
|
|
1771
1823
|
role
|
|
1824
|
+
reftypeId
|
|
1825
|
+
reftypeName
|
|
1826
|
+
reftypeColor
|
|
1772
1827
|
}
|
|
1773
1828
|
}
|
|
1774
1829
|
`;
|
|
@@ -1816,6 +1871,9 @@ export const SignInTonDocument = gql`
|
|
|
1816
1871
|
newUser
|
|
1817
1872
|
inviteCode
|
|
1818
1873
|
role
|
|
1874
|
+
reftypeId
|
|
1875
|
+
reftypeName
|
|
1876
|
+
reftypeColor
|
|
1819
1877
|
}
|
|
1820
1878
|
}
|
|
1821
1879
|
`;
|
|
@@ -2028,6 +2086,9 @@ export const FetchMyProfileV2Document = gql`
|
|
|
2028
2086
|
usedAt
|
|
2029
2087
|
}
|
|
2030
2088
|
}
|
|
2089
|
+
referralTypeId
|
|
2090
|
+
referralTypeName
|
|
2091
|
+
referralTypeColor
|
|
2031
2092
|
}
|
|
2032
2093
|
}
|
|
2033
2094
|
`;
|
|
@@ -2087,6 +2148,9 @@ export const FetchProfileDocument = gql`
|
|
|
2087
2148
|
blockchain
|
|
2088
2149
|
chainId
|
|
2089
2150
|
}
|
|
2151
|
+
referralTypeId
|
|
2152
|
+
referralTypeName
|
|
2153
|
+
referralTypeColor
|
|
2090
2154
|
}
|
|
2091
2155
|
}
|
|
2092
2156
|
`;
|
|
@@ -535,13 +535,6 @@ export type ICreateOpportunityMutationVariables = Exact<{
|
|
|
535
535
|
|
|
536
536
|
export type ICreateOpportunityMutation = Pick<IMutation, 'createOpportunity'>;
|
|
537
537
|
|
|
538
|
-
export type IHideOpportunityMutationVariables = Exact<{
|
|
539
|
-
opportunityId: Scalars['ID'];
|
|
540
|
-
}>;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
export type IHideOpportunityMutation = Pick<IMutation, 'hideOpportunity'>;
|
|
544
|
-
|
|
545
538
|
export type IOpenOpportunityMutationVariables = Exact<{
|
|
546
539
|
opportunityId: Scalars['ID'];
|
|
547
540
|
}>;
|
|
@@ -659,36 +652,6 @@ export function useCreateOpportunityMutation(baseOptions?: Apollo.MutationHookOp
|
|
|
659
652
|
export type CreateOpportunityMutationHookResult = ReturnType<typeof useCreateOpportunityMutation>;
|
|
660
653
|
export type CreateOpportunityMutationResult = Apollo.MutationResult<ICreateOpportunityMutation>;
|
|
661
654
|
export type CreateOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateOpportunityMutation, ICreateOpportunityMutationVariables>;
|
|
662
|
-
export const HideOpportunityDocument = gql`
|
|
663
|
-
mutation HideOpportunity($opportunityId: ID!) {
|
|
664
|
-
hideOpportunity(opportunityId: $opportunityId)
|
|
665
|
-
}
|
|
666
|
-
`;
|
|
667
|
-
export type IHideOpportunityMutationFn = Apollo.MutationFunction<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* __useHideOpportunityMutation__
|
|
671
|
-
*
|
|
672
|
-
* To run a mutation, you first call `useHideOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
673
|
-
* When your component renders, `useHideOpportunityMutation` returns a tuple that includes:
|
|
674
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
675
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
676
|
-
*
|
|
677
|
-
* @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;
|
|
678
|
-
*
|
|
679
|
-
* @example
|
|
680
|
-
* const [hideOpportunityMutation, { data, loading, error }] = useHideOpportunityMutation({
|
|
681
|
-
* variables: {
|
|
682
|
-
* opportunityId: // value for 'opportunityId'
|
|
683
|
-
* },
|
|
684
|
-
* });
|
|
685
|
-
*/
|
|
686
|
-
export function useHideOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>) {
|
|
687
|
-
return Apollo.useMutation<IHideOpportunityMutation, IHideOpportunityMutationVariables>(HideOpportunityDocument, baseOptions);
|
|
688
|
-
}
|
|
689
|
-
export type HideOpportunityMutationHookResult = ReturnType<typeof useHideOpportunityMutation>;
|
|
690
|
-
export type HideOpportunityMutationResult = Apollo.MutationResult<IHideOpportunityMutation>;
|
|
691
|
-
export type HideOpportunityMutationOptions = Apollo.BaseMutationOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
692
655
|
export const OpenOpportunityDocument = gql`
|
|
693
656
|
mutation OpenOpportunity($opportunityId: ID!) {
|
|
694
657
|
openOpportunity(opportunityId: $opportunityId)
|
|
@@ -255,6 +255,8 @@ export type IProfile = {
|
|
|
255
255
|
visible?: Maybe<Scalars['Boolean']>;
|
|
256
256
|
views?: Maybe<Scalars['Int']>;
|
|
257
257
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
258
|
+
referralTypeName?: Maybe<Scalars['String']>;
|
|
259
|
+
referralTypeColor?: Maybe<Scalars['String']>;
|
|
258
260
|
};
|
|
259
261
|
|
|
260
262
|
export type IProfilePage = {
|
|
@@ -745,6 +747,8 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
745
747
|
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
746
748
|
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
747
749
|
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
750
|
+
referralTypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
751
|
+
referralTypeColor?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
748
752
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
749
753
|
};
|
|
750
754
|
|