@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
|
@@ -480,6 +480,7 @@ export type IQuery = {
|
|
|
480
480
|
fetchInvestorInquiryPage: IInvestorInquiryPage;
|
|
481
481
|
fetchFormOpportunityPage: IFormOpportunityPage;
|
|
482
482
|
fetchPartnershipInquiryPage: IPartnershipInquiryPage;
|
|
483
|
+
fetchUserFeedbackPage: IUserFeedbackPage;
|
|
483
484
|
fetchAdminInvitesPage: IInvitesPage;
|
|
484
485
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
485
486
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
@@ -516,6 +517,11 @@ export type IQueryFetchPartnershipInquiryPageArgs = {
|
|
|
516
517
|
sort: IPartnershipInquirySortInput;
|
|
517
518
|
page: IAdminPageInput;
|
|
518
519
|
};
|
|
520
|
+
export type IQueryFetchUserFeedbackPageArgs = {
|
|
521
|
+
filter: IUserFeedbackFilterInput;
|
|
522
|
+
sort: IUserFeedbackSortInput;
|
|
523
|
+
page: IAdminPageInput;
|
|
524
|
+
};
|
|
519
525
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
520
526
|
filter: IInvitesFilterInput;
|
|
521
527
|
sort: IInvitesSortInput;
|
|
@@ -581,6 +587,34 @@ export declare enum ISortDirection {
|
|
|
581
587
|
Asc = "asc",
|
|
582
588
|
Desc = "desc"
|
|
583
589
|
}
|
|
590
|
+
export type IUserFeedback = {
|
|
591
|
+
id: Scalars['String'];
|
|
592
|
+
userId?: Maybe<Scalars['String']>;
|
|
593
|
+
email?: Maybe<Scalars['String']>;
|
|
594
|
+
satisfactionScore?: Maybe<Scalars['Int']>;
|
|
595
|
+
missedFeature?: Maybe<Scalars['String']>;
|
|
596
|
+
howEasyToUseScore?: Maybe<Scalars['String']>;
|
|
597
|
+
performanceScore?: Maybe<Scalars['Int']>;
|
|
598
|
+
whatToImprove?: Maybe<Scalars['String']>;
|
|
599
|
+
comments?: Maybe<Scalars['String']>;
|
|
600
|
+
};
|
|
601
|
+
export type IUserFeedbackFilterInput = {
|
|
602
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
603
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
604
|
+
emailTerm?: Maybe<Scalars['String']>;
|
|
605
|
+
missedFeatureTerm?: Maybe<Scalars['String']>;
|
|
606
|
+
howEasyToUseScoreTerm?: Maybe<Scalars['String']>;
|
|
607
|
+
};
|
|
608
|
+
export type IUserFeedbackPage = {
|
|
609
|
+
userFeedbacks: Array<IUserFeedback>;
|
|
610
|
+
nextPage?: Maybe<IAdminPage>;
|
|
611
|
+
};
|
|
612
|
+
export type IUserFeedbackSortInput = {
|
|
613
|
+
sortByUserId?: Maybe<ISort>;
|
|
614
|
+
sortByEmail?: Maybe<ISort>;
|
|
615
|
+
sortBySatisfactionScore?: Maybe<ISort>;
|
|
616
|
+
sortByPerformanceScore?: Maybe<ISort>;
|
|
617
|
+
};
|
|
584
618
|
export type IUsersFilterInput = {
|
|
585
619
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
586
620
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -726,6 +760,10 @@ export type IResolversTypes = {
|
|
|
726
760
|
Sort: ISort;
|
|
727
761
|
SortDirection: ISortDirection;
|
|
728
762
|
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
763
|
+
UserFeedback: ResolverTypeWrapper<IUserFeedback>;
|
|
764
|
+
UserFeedbackFilterInput: IUserFeedbackFilterInput;
|
|
765
|
+
UserFeedbackPage: ResolverTypeWrapper<IUserFeedbackPage>;
|
|
766
|
+
UserFeedbackSortInput: IUserFeedbackSortInput;
|
|
729
767
|
UsersFilterInput: IUsersFilterInput;
|
|
730
768
|
UsersPage: ResolverTypeWrapper<IUsersPage>;
|
|
731
769
|
UsersSortInput: IUsersSortInput;
|
|
@@ -795,6 +833,10 @@ export type IResolversParentTypes = {
|
|
|
795
833
|
ReferredUsersInfo: IReferredUsersInfo;
|
|
796
834
|
Sort: ISort;
|
|
797
835
|
Upload: Scalars['Upload'];
|
|
836
|
+
UserFeedback: IUserFeedback;
|
|
837
|
+
UserFeedbackFilterInput: IUserFeedbackFilterInput;
|
|
838
|
+
UserFeedbackPage: IUserFeedbackPage;
|
|
839
|
+
UserFeedbackSortInput: IUserFeedbackSortInput;
|
|
798
840
|
UsersFilterInput: IUsersFilterInput;
|
|
799
841
|
UsersPage: IUsersPage;
|
|
800
842
|
UsersSortInput: IUsersSortInput;
|
|
@@ -1050,6 +1092,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1050
1092
|
fetchInvestorInquiryPage?: Resolver<IResolversTypes['InvestorInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchInvestorInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1051
1093
|
fetchFormOpportunityPage?: Resolver<IResolversTypes['FormOpportunityPage'], ParentType, ContextType, RequireFields<IQueryFetchFormOpportunityPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1052
1094
|
fetchPartnershipInquiryPage?: Resolver<IResolversTypes['PartnershipInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchPartnershipInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1095
|
+
fetchUserFeedbackPage?: Resolver<IResolversTypes['UserFeedbackPage'], ParentType, ContextType, RequireFields<IQueryFetchUserFeedbackPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1053
1096
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1054
1097
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1055
1098
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
@@ -1075,6 +1118,23 @@ export type IReferredUsersInfoResolvers<ContextType = any, ParentType extends IR
|
|
|
1075
1118
|
export interface IUploadScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Upload'], any> {
|
|
1076
1119
|
name: 'Upload';
|
|
1077
1120
|
}
|
|
1121
|
+
export type IUserFeedbackResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserFeedback'] = IResolversParentTypes['UserFeedback']> = {
|
|
1122
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1123
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1124
|
+
email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1125
|
+
satisfactionScore?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1126
|
+
missedFeature?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1127
|
+
howEasyToUseScore?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1128
|
+
performanceScore?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1129
|
+
whatToImprove?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1130
|
+
comments?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1131
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1132
|
+
};
|
|
1133
|
+
export type IUserFeedbackPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserFeedbackPage'] = IResolversParentTypes['UserFeedbackPage']> = {
|
|
1134
|
+
userFeedbacks?: Resolver<Array<IResolversTypes['UserFeedback']>, ParentType, ContextType>;
|
|
1135
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1136
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1137
|
+
};
|
|
1078
1138
|
export type IUsersPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UsersPage'] = IResolversParentTypes['UsersPage']> = {
|
|
1079
1139
|
users?: Resolver<Array<IResolversTypes['AdminUser']>, ParentType, ContextType>;
|
|
1080
1140
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1122,6 +1182,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1122
1182
|
ReferralsPage?: IReferralsPageResolvers<ContextType>;
|
|
1123
1183
|
ReferredUsersInfo?: IReferredUsersInfoResolvers<ContextType>;
|
|
1124
1184
|
Upload?: GraphQLScalarType;
|
|
1185
|
+
UserFeedback?: IUserFeedbackResolvers<ContextType>;
|
|
1186
|
+
UserFeedbackPage?: IUserFeedbackPageResolvers<ContextType>;
|
|
1125
1187
|
UsersPage?: IUsersPageResolvers<ContextType>;
|
|
1126
1188
|
Wallet?: IWalletResolvers<ContextType>;
|
|
1127
1189
|
XpPage?: IXpPageResolvers<ContextType>;
|
|
@@ -1219,6 +1281,28 @@ export type IFetchInvestorInquiryPageQuery = {
|
|
|
1219
1281
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1220
1282
|
};
|
|
1221
1283
|
};
|
|
1284
|
+
export type IFetchPartnershipInquiryPageQueryVariables = Exact<{
|
|
1285
|
+
filter: IPartnershipInquiryFilterInput;
|
|
1286
|
+
sort: IPartnershipInquirySortInput;
|
|
1287
|
+
page: IAdminPageInput;
|
|
1288
|
+
}>;
|
|
1289
|
+
export type IFetchPartnershipInquiryPageQuery = {
|
|
1290
|
+
fetchPartnershipInquiryPage: {
|
|
1291
|
+
partnershipInquiries: Array<Pick<IAdminPartnershipInquiry, 'userId' | 'id' | 'email' | 'name' | 'projectName' | 'website' | 'aboutProject' | 'partnershipType' | 'ludoReferrerInfo'>>;
|
|
1292
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
export type IFetchUserFeedbackPageQueryVariables = Exact<{
|
|
1296
|
+
filter: IUserFeedbackFilterInput;
|
|
1297
|
+
sort: IUserFeedbackSortInput;
|
|
1298
|
+
page: IAdminPageInput;
|
|
1299
|
+
}>;
|
|
1300
|
+
export type IFetchUserFeedbackPageQuery = {
|
|
1301
|
+
fetchUserFeedbackPage: {
|
|
1302
|
+
userFeedbacks: Array<Pick<IUserFeedback, 'userId' | 'id' | 'email' | 'satisfactionScore' | 'missedFeature' | 'howEasyToUseScore' | 'performanceScore' | 'whatToImprove' | 'comments'>>;
|
|
1303
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1222
1306
|
export type IFetchAdminBrandsQueryVariables = Exact<{
|
|
1223
1307
|
[key: string]: never;
|
|
1224
1308
|
}>;
|
|
@@ -1691,6 +1775,70 @@ export declare function useFetchInvestorInquiryPageLazyQuery(baseOptions?: Apoll
|
|
|
1691
1775
|
export type FetchInvestorInquiryPageQueryHookResult = ReturnType<typeof useFetchInvestorInquiryPageQuery>;
|
|
1692
1776
|
export type FetchInvestorInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchInvestorInquiryPageLazyQuery>;
|
|
1693
1777
|
export type FetchInvestorInquiryPageQueryResult = Apollo.QueryResult<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>;
|
|
1778
|
+
export declare const FetchPartnershipInquiryPageDocument: Apollo.DocumentNode;
|
|
1779
|
+
/**
|
|
1780
|
+
* __useFetchPartnershipInquiryPageQuery__
|
|
1781
|
+
*
|
|
1782
|
+
* To run a query within a React component, call `useFetchPartnershipInquiryPageQuery` and pass it any options that fit your needs.
|
|
1783
|
+
* When your component renders, `useFetchPartnershipInquiryPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1784
|
+
* you can use to render your UI.
|
|
1785
|
+
*
|
|
1786
|
+
* @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;
|
|
1787
|
+
*
|
|
1788
|
+
* @example
|
|
1789
|
+
* const { data, loading, error } = useFetchPartnershipInquiryPageQuery({
|
|
1790
|
+
* variables: {
|
|
1791
|
+
* filter: // value for 'filter'
|
|
1792
|
+
* sort: // value for 'sort'
|
|
1793
|
+
* page: // value for 'page'
|
|
1794
|
+
* },
|
|
1795
|
+
* });
|
|
1796
|
+
*/
|
|
1797
|
+
export declare function useFetchPartnershipInquiryPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>): Apollo.QueryResult<IFetchPartnershipInquiryPageQuery, Exact<{
|
|
1798
|
+
filter: IPartnershipInquiryFilterInput;
|
|
1799
|
+
sort: IPartnershipInquirySortInput;
|
|
1800
|
+
page: IAdminPageInput;
|
|
1801
|
+
}>>;
|
|
1802
|
+
export declare function useFetchPartnershipInquiryPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchPartnershipInquiryPageQuery, Exact<{
|
|
1803
|
+
filter: IPartnershipInquiryFilterInput;
|
|
1804
|
+
sort: IPartnershipInquirySortInput;
|
|
1805
|
+
page: IAdminPageInput;
|
|
1806
|
+
}>>;
|
|
1807
|
+
export type FetchPartnershipInquiryPageQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageQuery>;
|
|
1808
|
+
export type FetchPartnershipInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageLazyQuery>;
|
|
1809
|
+
export type FetchPartnershipInquiryPageQueryResult = Apollo.QueryResult<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>;
|
|
1810
|
+
export declare const FetchUserFeedbackPageDocument: Apollo.DocumentNode;
|
|
1811
|
+
/**
|
|
1812
|
+
* __useFetchUserFeedbackPageQuery__
|
|
1813
|
+
*
|
|
1814
|
+
* To run a query within a React component, call `useFetchUserFeedbackPageQuery` and pass it any options that fit your needs.
|
|
1815
|
+
* When your component renders, `useFetchUserFeedbackPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1816
|
+
* you can use to render your UI.
|
|
1817
|
+
*
|
|
1818
|
+
* @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;
|
|
1819
|
+
*
|
|
1820
|
+
* @example
|
|
1821
|
+
* const { data, loading, error } = useFetchUserFeedbackPageQuery({
|
|
1822
|
+
* variables: {
|
|
1823
|
+
* filter: // value for 'filter'
|
|
1824
|
+
* sort: // value for 'sort'
|
|
1825
|
+
* page: // value for 'page'
|
|
1826
|
+
* },
|
|
1827
|
+
* });
|
|
1828
|
+
*/
|
|
1829
|
+
export declare function useFetchUserFeedbackPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>): Apollo.QueryResult<IFetchUserFeedbackPageQuery, Exact<{
|
|
1830
|
+
filter: IUserFeedbackFilterInput;
|
|
1831
|
+
sort: IUserFeedbackSortInput;
|
|
1832
|
+
page: IAdminPageInput;
|
|
1833
|
+
}>>;
|
|
1834
|
+
export declare function useFetchUserFeedbackPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchUserFeedbackPageQuery, Exact<{
|
|
1835
|
+
filter: IUserFeedbackFilterInput;
|
|
1836
|
+
sort: IUserFeedbackSortInput;
|
|
1837
|
+
page: IAdminPageInput;
|
|
1838
|
+
}>>;
|
|
1839
|
+
export type FetchUserFeedbackPageQueryHookResult = ReturnType<typeof useFetchUserFeedbackPageQuery>;
|
|
1840
|
+
export type FetchUserFeedbackPageLazyQueryHookResult = ReturnType<typeof useFetchUserFeedbackPageLazyQuery>;
|
|
1841
|
+
export type FetchUserFeedbackPageQueryResult = Apollo.QueryResult<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>;
|
|
1694
1842
|
export declare const FetchAdminBrandsDocument: Apollo.DocumentNode;
|
|
1695
1843
|
/**
|
|
1696
1844
|
* __useFetchAdminBrandsQuery__
|
|
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = void 0;
|
|
26
|
+
exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchPartnershipInquiryPageLazyQuery = exports.useFetchPartnershipInquiryPageQuery = exports.FetchPartnershipInquiryPageDocument = exports.useFetchInvestorInquiryPageLazyQuery = exports.useFetchInvestorInquiryPageQuery = exports.FetchInvestorInquiryPageDocument = exports.useFetchFormOpportunityPageLazyQuery = exports.useFetchFormOpportunityPageQuery = exports.FetchFormOpportunityPageDocument = exports.useFetchContentReportPageLazyQuery = exports.useFetchContentReportPageQuery = exports.FetchContentReportPageDocument = exports.useFetchContactSupportPageLazyQuery = exports.useFetchContactSupportPageQuery = exports.FetchContactSupportPageDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = void 0;
|
|
27
|
+
exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
30
|
/** front-end asked for lower case values */
|
|
@@ -474,6 +474,106 @@ function useFetchInvestorInquiryPageLazyQuery(baseOptions) {
|
|
|
474
474
|
return Apollo.useLazyQuery(exports.FetchInvestorInquiryPageDocument, baseOptions);
|
|
475
475
|
}
|
|
476
476
|
exports.useFetchInvestorInquiryPageLazyQuery = useFetchInvestorInquiryPageLazyQuery;
|
|
477
|
+
exports.FetchPartnershipInquiryPageDocument = (0, client_1.gql) `
|
|
478
|
+
query FetchPartnershipInquiryPage($filter: PartnershipInquiryFilterInput!, $sort: PartnershipInquirySortInput!, $page: AdminPageInput!) {
|
|
479
|
+
fetchPartnershipInquiryPage(filter: $filter, sort: $sort, page: $page) {
|
|
480
|
+
partnershipInquiries {
|
|
481
|
+
userId
|
|
482
|
+
id
|
|
483
|
+
email
|
|
484
|
+
name
|
|
485
|
+
projectName
|
|
486
|
+
website
|
|
487
|
+
aboutProject
|
|
488
|
+
partnershipType
|
|
489
|
+
ludoReferrerInfo
|
|
490
|
+
}
|
|
491
|
+
nextPage {
|
|
492
|
+
elements
|
|
493
|
+
lastNum
|
|
494
|
+
num
|
|
495
|
+
size
|
|
496
|
+
token
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
`;
|
|
501
|
+
/**
|
|
502
|
+
* __useFetchPartnershipInquiryPageQuery__
|
|
503
|
+
*
|
|
504
|
+
* To run a query within a React component, call `useFetchPartnershipInquiryPageQuery` and pass it any options that fit your needs.
|
|
505
|
+
* When your component renders, `useFetchPartnershipInquiryPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
506
|
+
* you can use to render your UI.
|
|
507
|
+
*
|
|
508
|
+
* @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;
|
|
509
|
+
*
|
|
510
|
+
* @example
|
|
511
|
+
* const { data, loading, error } = useFetchPartnershipInquiryPageQuery({
|
|
512
|
+
* variables: {
|
|
513
|
+
* filter: // value for 'filter'
|
|
514
|
+
* sort: // value for 'sort'
|
|
515
|
+
* page: // value for 'page'
|
|
516
|
+
* },
|
|
517
|
+
* });
|
|
518
|
+
*/
|
|
519
|
+
function useFetchPartnershipInquiryPageQuery(baseOptions) {
|
|
520
|
+
return Apollo.useQuery(exports.FetchPartnershipInquiryPageDocument, baseOptions);
|
|
521
|
+
}
|
|
522
|
+
exports.useFetchPartnershipInquiryPageQuery = useFetchPartnershipInquiryPageQuery;
|
|
523
|
+
function useFetchPartnershipInquiryPageLazyQuery(baseOptions) {
|
|
524
|
+
return Apollo.useLazyQuery(exports.FetchPartnershipInquiryPageDocument, baseOptions);
|
|
525
|
+
}
|
|
526
|
+
exports.useFetchPartnershipInquiryPageLazyQuery = useFetchPartnershipInquiryPageLazyQuery;
|
|
527
|
+
exports.FetchUserFeedbackPageDocument = (0, client_1.gql) `
|
|
528
|
+
query FetchUserFeedbackPage($filter: UserFeedbackFilterInput!, $sort: UserFeedbackSortInput!, $page: AdminPageInput!) {
|
|
529
|
+
fetchUserFeedbackPage(filter: $filter, sort: $sort, page: $page) {
|
|
530
|
+
userFeedbacks {
|
|
531
|
+
userId
|
|
532
|
+
id
|
|
533
|
+
email
|
|
534
|
+
satisfactionScore
|
|
535
|
+
missedFeature
|
|
536
|
+
howEasyToUseScore
|
|
537
|
+
performanceScore
|
|
538
|
+
whatToImprove
|
|
539
|
+
comments
|
|
540
|
+
}
|
|
541
|
+
nextPage {
|
|
542
|
+
elements
|
|
543
|
+
lastNum
|
|
544
|
+
num
|
|
545
|
+
size
|
|
546
|
+
token
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
`;
|
|
551
|
+
/**
|
|
552
|
+
* __useFetchUserFeedbackPageQuery__
|
|
553
|
+
*
|
|
554
|
+
* To run a query within a React component, call `useFetchUserFeedbackPageQuery` and pass it any options that fit your needs.
|
|
555
|
+
* When your component renders, `useFetchUserFeedbackPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
556
|
+
* you can use to render your UI.
|
|
557
|
+
*
|
|
558
|
+
* @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;
|
|
559
|
+
*
|
|
560
|
+
* @example
|
|
561
|
+
* const { data, loading, error } = useFetchUserFeedbackPageQuery({
|
|
562
|
+
* variables: {
|
|
563
|
+
* filter: // value for 'filter'
|
|
564
|
+
* sort: // value for 'sort'
|
|
565
|
+
* page: // value for 'page'
|
|
566
|
+
* },
|
|
567
|
+
* });
|
|
568
|
+
*/
|
|
569
|
+
function useFetchUserFeedbackPageQuery(baseOptions) {
|
|
570
|
+
return Apollo.useQuery(exports.FetchUserFeedbackPageDocument, baseOptions);
|
|
571
|
+
}
|
|
572
|
+
exports.useFetchUserFeedbackPageQuery = useFetchUserFeedbackPageQuery;
|
|
573
|
+
function useFetchUserFeedbackPageLazyQuery(baseOptions) {
|
|
574
|
+
return Apollo.useLazyQuery(exports.FetchUserFeedbackPageDocument, baseOptions);
|
|
575
|
+
}
|
|
576
|
+
exports.useFetchUserFeedbackPageLazyQuery = useFetchUserFeedbackPageLazyQuery;
|
|
477
577
|
exports.FetchAdminBrandsDocument = (0, client_1.gql) `
|
|
478
578
|
query FetchAdminBrands {
|
|
479
579
|
fetchAdminBrands {
|
package/build/index.d.ts
CHANGED
|
@@ -1206,6 +1206,42 @@ declare const schema: {
|
|
|
1206
1206
|
sort: adminSchema.IInvestorInquirySortInput;
|
|
1207
1207
|
page: adminSchema.IAdminPageInput;
|
|
1208
1208
|
}>>;
|
|
1209
|
+
useFetchPartnershipInquiryPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchPartnershipInquiryPageQuery, adminSchema.Exact<{
|
|
1210
|
+
filter: adminSchema.IPartnershipInquiryFilterInput;
|
|
1211
|
+
sort: adminSchema.IPartnershipInquirySortInput;
|
|
1212
|
+
page: adminSchema.IAdminPageInput;
|
|
1213
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchPartnershipInquiryPageQuery, adminSchema.Exact<{
|
|
1214
|
+
filter: adminSchema.IPartnershipInquiryFilterInput;
|
|
1215
|
+
sort: adminSchema.IPartnershipInquirySortInput;
|
|
1216
|
+
page: adminSchema.IAdminPageInput;
|
|
1217
|
+
}>>;
|
|
1218
|
+
useFetchPartnershipInquiryPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchPartnershipInquiryPageQuery, adminSchema.Exact<{
|
|
1219
|
+
filter: adminSchema.IPartnershipInquiryFilterInput;
|
|
1220
|
+
sort: adminSchema.IPartnershipInquirySortInput;
|
|
1221
|
+
page: adminSchema.IAdminPageInput;
|
|
1222
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchPartnershipInquiryPageQuery, adminSchema.Exact<{
|
|
1223
|
+
filter: adminSchema.IPartnershipInquiryFilterInput;
|
|
1224
|
+
sort: adminSchema.IPartnershipInquirySortInput;
|
|
1225
|
+
page: adminSchema.IAdminPageInput;
|
|
1226
|
+
}>>;
|
|
1227
|
+
useFetchUserFeedbackPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchUserFeedbackPageQuery, adminSchema.Exact<{
|
|
1228
|
+
filter: adminSchema.IUserFeedbackFilterInput;
|
|
1229
|
+
sort: adminSchema.IUserFeedbackSortInput;
|
|
1230
|
+
page: adminSchema.IAdminPageInput;
|
|
1231
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchUserFeedbackPageQuery, adminSchema.Exact<{
|
|
1232
|
+
filter: adminSchema.IUserFeedbackFilterInput;
|
|
1233
|
+
sort: adminSchema.IUserFeedbackSortInput;
|
|
1234
|
+
page: adminSchema.IAdminPageInput;
|
|
1235
|
+
}>>;
|
|
1236
|
+
useFetchUserFeedbackPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchUserFeedbackPageQuery, adminSchema.Exact<{
|
|
1237
|
+
filter: adminSchema.IUserFeedbackFilterInput;
|
|
1238
|
+
sort: adminSchema.IUserFeedbackSortInput;
|
|
1239
|
+
page: adminSchema.IAdminPageInput;
|
|
1240
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchUserFeedbackPageQuery, adminSchema.Exact<{
|
|
1241
|
+
filter: adminSchema.IUserFeedbackFilterInput;
|
|
1242
|
+
sort: adminSchema.IUserFeedbackSortInput;
|
|
1243
|
+
page: adminSchema.IAdminPageInput;
|
|
1244
|
+
}>>;
|
|
1209
1245
|
useFetchAdminBrandsQuery(baseOptions?: import("@apollo/client").QueryHookOptions<adminSchema.IFetchAdminBrandsQuery, adminSchema.Exact<{
|
|
1210
1246
|
[key: string]: never;
|
|
1211
1247
|
}>> | undefined): import("@apollo/client").QueryResult<adminSchema.IFetchAdminBrandsQuery, adminSchema.Exact<{
|
|
@@ -1376,6 +1412,8 @@ declare const schema: {
|
|
|
1376
1412
|
FetchContentReportPageDocument: import("graphql").DocumentNode;
|
|
1377
1413
|
FetchFormOpportunityPageDocument: import("graphql").DocumentNode;
|
|
1378
1414
|
FetchInvestorInquiryPageDocument: import("graphql").DocumentNode;
|
|
1415
|
+
FetchPartnershipInquiryPageDocument: import("graphql").DocumentNode;
|
|
1416
|
+
FetchUserFeedbackPageDocument: import("graphql").DocumentNode;
|
|
1379
1417
|
FetchAdminBrandsDocument: import("graphql").DocumentNode;
|
|
1380
1418
|
FetchAdminBrandsPageDocument: import("graphql").DocumentNode;
|
|
1381
1419
|
FetchAdminCategoriesDocument: import("graphql").DocumentNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ludo.ninja/api",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.55",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/apollo-upload-client": "^17.0.2",
|
|
24
24
|
"@types/lodash.isequal": "^4.5.8",
|
|
25
|
-
"@types/next": "9.0.0"
|
|
25
|
+
"@types/next": "9.0.0",
|
|
26
|
+
"typescript": "^5.1.3"
|
|
26
27
|
},
|
|
27
28
|
"types": "./build/index.d.ts",
|
|
28
29
|
"description": ""
|