@ludo.ninja/api 2.8.53 → 2.8.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +148 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +102 -2
- package/build/index.d.ts +38 -0
- package/package.json +3 -2
- package/src/graphql_tools/__generated__/adminHost/schema.ts +192 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -553,6 +553,7 @@ export type IQuery = {
|
|
|
553
553
|
fetchInvestorInquiryPage: IInvestorInquiryPage;
|
|
554
554
|
fetchFormOpportunityPage: IFormOpportunityPage;
|
|
555
555
|
fetchPartnershipInquiryPage: IPartnershipInquiryPage;
|
|
556
|
+
fetchUserFeedbackPage: IUserFeedbackPage;
|
|
556
557
|
fetchAdminInvitesPage: IInvitesPage;
|
|
557
558
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
558
559
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
@@ -601,6 +602,13 @@ export type IQueryFetchPartnershipInquiryPageArgs = {
|
|
|
601
602
|
};
|
|
602
603
|
|
|
603
604
|
|
|
605
|
+
export type IQueryFetchUserFeedbackPageArgs = {
|
|
606
|
+
filter: IUserFeedbackFilterInput;
|
|
607
|
+
sort: IUserFeedbackSortInput;
|
|
608
|
+
page: IAdminPageInput;
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
|
|
604
612
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
605
613
|
filter: IInvitesFilterInput;
|
|
606
614
|
sort: IInvitesSortInput;
|
|
@@ -686,6 +694,38 @@ export enum ISortDirection {
|
|
|
686
694
|
}
|
|
687
695
|
|
|
688
696
|
|
|
697
|
+
export type IUserFeedback = {
|
|
698
|
+
id: Scalars['String'];
|
|
699
|
+
userId?: Maybe<Scalars['String']>;
|
|
700
|
+
email?: Maybe<Scalars['String']>;
|
|
701
|
+
satisfactionScore?: Maybe<Scalars['Int']>;
|
|
702
|
+
missedFeature?: Maybe<Scalars['String']>;
|
|
703
|
+
howEasyToUseScore?: Maybe<Scalars['String']>;
|
|
704
|
+
performanceScore?: Maybe<Scalars['Int']>;
|
|
705
|
+
whatToImprove?: Maybe<Scalars['String']>;
|
|
706
|
+
comments?: Maybe<Scalars['String']>;
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
export type IUserFeedbackFilterInput = {
|
|
710
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
711
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
712
|
+
emailTerm?: Maybe<Scalars['String']>;
|
|
713
|
+
missedFeatureTerm?: Maybe<Scalars['String']>;
|
|
714
|
+
howEasyToUseScoreTerm?: Maybe<Scalars['String']>;
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
export type IUserFeedbackPage = {
|
|
718
|
+
userFeedbacks: Array<IUserFeedback>;
|
|
719
|
+
nextPage?: Maybe<IAdminPage>;
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
export type IUserFeedbackSortInput = {
|
|
723
|
+
sortByUserId?: Maybe<ISort>;
|
|
724
|
+
sortByEmail?: Maybe<ISort>;
|
|
725
|
+
sortBySatisfactionScore?: Maybe<ISort>;
|
|
726
|
+
sortByPerformanceScore?: Maybe<ISort>;
|
|
727
|
+
};
|
|
728
|
+
|
|
689
729
|
export type IUsersFilterInput = {
|
|
690
730
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
691
731
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -879,6 +919,10 @@ export type IResolversTypes = {
|
|
|
879
919
|
Sort: ISort;
|
|
880
920
|
SortDirection: ISortDirection;
|
|
881
921
|
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
922
|
+
UserFeedback: ResolverTypeWrapper<IUserFeedback>;
|
|
923
|
+
UserFeedbackFilterInput: IUserFeedbackFilterInput;
|
|
924
|
+
UserFeedbackPage: ResolverTypeWrapper<IUserFeedbackPage>;
|
|
925
|
+
UserFeedbackSortInput: IUserFeedbackSortInput;
|
|
882
926
|
UsersFilterInput: IUsersFilterInput;
|
|
883
927
|
UsersPage: ResolverTypeWrapper<IUsersPage>;
|
|
884
928
|
UsersSortInput: IUsersSortInput;
|
|
@@ -949,6 +993,10 @@ export type IResolversParentTypes = {
|
|
|
949
993
|
ReferredUsersInfo: IReferredUsersInfo;
|
|
950
994
|
Sort: ISort;
|
|
951
995
|
Upload: Scalars['Upload'];
|
|
996
|
+
UserFeedback: IUserFeedback;
|
|
997
|
+
UserFeedbackFilterInput: IUserFeedbackFilterInput;
|
|
998
|
+
UserFeedbackPage: IUserFeedbackPage;
|
|
999
|
+
UserFeedbackSortInput: IUserFeedbackSortInput;
|
|
952
1000
|
UsersFilterInput: IUsersFilterInput;
|
|
953
1001
|
UsersPage: IUsersPage;
|
|
954
1002
|
UsersSortInput: IUsersSortInput;
|
|
@@ -1236,6 +1284,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1236
1284
|
fetchInvestorInquiryPage?: Resolver<IResolversTypes['InvestorInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchInvestorInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1237
1285
|
fetchFormOpportunityPage?: Resolver<IResolversTypes['FormOpportunityPage'], ParentType, ContextType, RequireFields<IQueryFetchFormOpportunityPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1238
1286
|
fetchPartnershipInquiryPage?: Resolver<IResolversTypes['PartnershipInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchPartnershipInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1287
|
+
fetchUserFeedbackPage?: Resolver<IResolversTypes['UserFeedbackPage'], ParentType, ContextType, RequireFields<IQueryFetchUserFeedbackPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1239
1288
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1240
1289
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1241
1290
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
@@ -1265,6 +1314,25 @@ export interface IUploadScalarConfig extends GraphQLScalarTypeConfig<IResolversT
|
|
|
1265
1314
|
name: 'Upload';
|
|
1266
1315
|
}
|
|
1267
1316
|
|
|
1317
|
+
export type IUserFeedbackResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserFeedback'] = IResolversParentTypes['UserFeedback']> = {
|
|
1318
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1319
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1320
|
+
email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1321
|
+
satisfactionScore?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1322
|
+
missedFeature?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1323
|
+
howEasyToUseScore?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1324
|
+
performanceScore?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1325
|
+
whatToImprove?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1326
|
+
comments?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1327
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1330
|
+
export type IUserFeedbackPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserFeedbackPage'] = IResolversParentTypes['UserFeedbackPage']> = {
|
|
1331
|
+
userFeedbacks?: Resolver<Array<IResolversTypes['UserFeedback']>, ParentType, ContextType>;
|
|
1332
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1333
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1268
1336
|
export type IUsersPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UsersPage'] = IResolversParentTypes['UsersPage']> = {
|
|
1269
1337
|
users?: Resolver<Array<IResolversTypes['AdminUser']>, ParentType, ContextType>;
|
|
1270
1338
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1315,6 +1383,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1315
1383
|
ReferralsPage?: IReferralsPageResolvers<ContextType>;
|
|
1316
1384
|
ReferredUsersInfo?: IReferredUsersInfoResolvers<ContextType>;
|
|
1317
1385
|
Upload?: GraphQLScalarType;
|
|
1386
|
+
UserFeedback?: IUserFeedbackResolvers<ContextType>;
|
|
1387
|
+
UserFeedbackPage?: IUserFeedbackPageResolvers<ContextType>;
|
|
1318
1388
|
UsersPage?: IUsersPageResolvers<ContextType>;
|
|
1319
1389
|
Wallet?: IWalletResolvers<ContextType>;
|
|
1320
1390
|
XpPage?: IXpPageResolvers<ContextType>;
|
|
@@ -1433,6 +1503,24 @@ export type IFetchInvestorInquiryPageQueryVariables = Exact<{
|
|
|
1433
1503
|
|
|
1434
1504
|
export type IFetchInvestorInquiryPageQuery = { fetchInvestorInquiryPage: { investorInquiries: Array<Pick<IAdminInvestorInquiry, 'userId' | 'id' | 'email' | 'name' | 'phoneNumber' | 'telegramId' | 'investorType' | 'investmentAmount' | 'investmentExperience' | 'assistanceRequest' | 'ludoReferrerInfo'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1435
1505
|
|
|
1506
|
+
export type IFetchPartnershipInquiryPageQueryVariables = Exact<{
|
|
1507
|
+
filter: IPartnershipInquiryFilterInput;
|
|
1508
|
+
sort: IPartnershipInquirySortInput;
|
|
1509
|
+
page: IAdminPageInput;
|
|
1510
|
+
}>;
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
export type IFetchPartnershipInquiryPageQuery = { fetchPartnershipInquiryPage: { partnershipInquiries: Array<Pick<IAdminPartnershipInquiry, 'userId' | 'id' | 'email' | 'name' | 'projectName' | 'website' | 'aboutProject' | 'partnershipType' | 'ludoReferrerInfo'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1514
|
+
|
|
1515
|
+
export type IFetchUserFeedbackPageQueryVariables = Exact<{
|
|
1516
|
+
filter: IUserFeedbackFilterInput;
|
|
1517
|
+
sort: IUserFeedbackSortInput;
|
|
1518
|
+
page: IAdminPageInput;
|
|
1519
|
+
}>;
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
export type IFetchUserFeedbackPageQuery = { fetchUserFeedbackPage: { userFeedbacks: Array<Pick<IUserFeedback, 'userId' | 'id' | 'email' | 'satisfactionScore' | 'missedFeature' | 'howEasyToUseScore' | 'performanceScore' | 'whatToImprove' | 'comments'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1523
|
+
|
|
1436
1524
|
export type IFetchAdminBrandsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1437
1525
|
|
|
1438
1526
|
|
|
@@ -2009,6 +2097,110 @@ export function useFetchInvestorInquiryPageLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
2009
2097
|
export type FetchInvestorInquiryPageQueryHookResult = ReturnType<typeof useFetchInvestorInquiryPageQuery>;
|
|
2010
2098
|
export type FetchInvestorInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchInvestorInquiryPageLazyQuery>;
|
|
2011
2099
|
export type FetchInvestorInquiryPageQueryResult = Apollo.QueryResult<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>;
|
|
2100
|
+
export const FetchPartnershipInquiryPageDocument = gql`
|
|
2101
|
+
query FetchPartnershipInquiryPage($filter: PartnershipInquiryFilterInput!, $sort: PartnershipInquirySortInput!, $page: AdminPageInput!) {
|
|
2102
|
+
fetchPartnershipInquiryPage(filter: $filter, sort: $sort, page: $page) {
|
|
2103
|
+
partnershipInquiries {
|
|
2104
|
+
userId
|
|
2105
|
+
id
|
|
2106
|
+
email
|
|
2107
|
+
name
|
|
2108
|
+
projectName
|
|
2109
|
+
website
|
|
2110
|
+
aboutProject
|
|
2111
|
+
partnershipType
|
|
2112
|
+
ludoReferrerInfo
|
|
2113
|
+
}
|
|
2114
|
+
nextPage {
|
|
2115
|
+
elements
|
|
2116
|
+
lastNum
|
|
2117
|
+
num
|
|
2118
|
+
size
|
|
2119
|
+
token
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
`;
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* __useFetchPartnershipInquiryPageQuery__
|
|
2127
|
+
*
|
|
2128
|
+
* To run a query within a React component, call `useFetchPartnershipInquiryPageQuery` and pass it any options that fit your needs.
|
|
2129
|
+
* When your component renders, `useFetchPartnershipInquiryPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2130
|
+
* you can use to render your UI.
|
|
2131
|
+
*
|
|
2132
|
+
* @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;
|
|
2133
|
+
*
|
|
2134
|
+
* @example
|
|
2135
|
+
* const { data, loading, error } = useFetchPartnershipInquiryPageQuery({
|
|
2136
|
+
* variables: {
|
|
2137
|
+
* filter: // value for 'filter'
|
|
2138
|
+
* sort: // value for 'sort'
|
|
2139
|
+
* page: // value for 'page'
|
|
2140
|
+
* },
|
|
2141
|
+
* });
|
|
2142
|
+
*/
|
|
2143
|
+
export function useFetchPartnershipInquiryPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>) {
|
|
2144
|
+
return Apollo.useQuery<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>(FetchPartnershipInquiryPageDocument, baseOptions);
|
|
2145
|
+
}
|
|
2146
|
+
export function useFetchPartnershipInquiryPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>) {
|
|
2147
|
+
return Apollo.useLazyQuery<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>(FetchPartnershipInquiryPageDocument, baseOptions);
|
|
2148
|
+
}
|
|
2149
|
+
export type FetchPartnershipInquiryPageQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageQuery>;
|
|
2150
|
+
export type FetchPartnershipInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageLazyQuery>;
|
|
2151
|
+
export type FetchPartnershipInquiryPageQueryResult = Apollo.QueryResult<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>;
|
|
2152
|
+
export const FetchUserFeedbackPageDocument = gql`
|
|
2153
|
+
query FetchUserFeedbackPage($filter: UserFeedbackFilterInput!, $sort: UserFeedbackSortInput!, $page: AdminPageInput!) {
|
|
2154
|
+
fetchUserFeedbackPage(filter: $filter, sort: $sort, page: $page) {
|
|
2155
|
+
userFeedbacks {
|
|
2156
|
+
userId
|
|
2157
|
+
id
|
|
2158
|
+
email
|
|
2159
|
+
satisfactionScore
|
|
2160
|
+
missedFeature
|
|
2161
|
+
howEasyToUseScore
|
|
2162
|
+
performanceScore
|
|
2163
|
+
whatToImprove
|
|
2164
|
+
comments
|
|
2165
|
+
}
|
|
2166
|
+
nextPage {
|
|
2167
|
+
elements
|
|
2168
|
+
lastNum
|
|
2169
|
+
num
|
|
2170
|
+
size
|
|
2171
|
+
token
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
`;
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* __useFetchUserFeedbackPageQuery__
|
|
2179
|
+
*
|
|
2180
|
+
* To run a query within a React component, call `useFetchUserFeedbackPageQuery` and pass it any options that fit your needs.
|
|
2181
|
+
* When your component renders, `useFetchUserFeedbackPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2182
|
+
* you can use to render your UI.
|
|
2183
|
+
*
|
|
2184
|
+
* @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;
|
|
2185
|
+
*
|
|
2186
|
+
* @example
|
|
2187
|
+
* const { data, loading, error } = useFetchUserFeedbackPageQuery({
|
|
2188
|
+
* variables: {
|
|
2189
|
+
* filter: // value for 'filter'
|
|
2190
|
+
* sort: // value for 'sort'
|
|
2191
|
+
* page: // value for 'page'
|
|
2192
|
+
* },
|
|
2193
|
+
* });
|
|
2194
|
+
*/
|
|
2195
|
+
export function useFetchUserFeedbackPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>) {
|
|
2196
|
+
return Apollo.useQuery<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>(FetchUserFeedbackPageDocument, baseOptions);
|
|
2197
|
+
}
|
|
2198
|
+
export function useFetchUserFeedbackPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>) {
|
|
2199
|
+
return Apollo.useLazyQuery<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>(FetchUserFeedbackPageDocument, baseOptions);
|
|
2200
|
+
}
|
|
2201
|
+
export type FetchUserFeedbackPageQueryHookResult = ReturnType<typeof useFetchUserFeedbackPageQuery>;
|
|
2202
|
+
export type FetchUserFeedbackPageLazyQueryHookResult = ReturnType<typeof useFetchUserFeedbackPageLazyQuery>;
|
|
2203
|
+
export type FetchUserFeedbackPageQueryResult = Apollo.QueryResult<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>;
|
|
2012
2204
|
export const FetchAdminBrandsDocument = gql`
|
|
2013
2205
|
query FetchAdminBrands {
|
|
2014
2206
|
fetchAdminBrands {
|