@readyfor/api-client-readyfor 0.207.1 → 0.207.2-pr974.caa0ee1
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/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useV1BanksSearch.d.mts +4 -4
- package/dist/hooks/useV1BanksSearch.d.ts +4 -4
- package/dist/hooks/useV1BranchesSearch.d.mts +4 -4
- package/dist/hooks/useV1BranchesSearch.d.ts +4 -4
- package/dist/hooks/useV1EngagementProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementProjects.d.ts +145 -9
- package/dist/hooks/useV1EngagementSearchProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementSearchProjects.d.ts +145 -9
- package/dist/hooks/useV1EngagementTags.d.mts +4 -4
- package/dist/hooks/useV1EngagementTags.d.ts +4 -4
- package/dist/hooks/useV1EngagementTagsTagKeyword.d.mts +25 -9
- package/dist/hooks/useV1EngagementTagsTagKeyword.d.ts +25 -9
- package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.ts +145 -9
- package/dist/hooks/useV1MyBulkMessages.d.mts +29 -5
- package/dist/hooks/useV1MyBulkMessages.d.ts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.mts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.ts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.mts +21 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.ts +21 -5
- package/dist/hooks/useV1MyEngagementFavoriteTags.d.mts +4 -4
- package/dist/hooks/useV1MyEngagementFavoriteTags.d.ts +4 -4
- package/dist/hooks/useV1MyFundraisingAnnouncements.d.mts +189 -9
- package/dist/hooks/useV1MyFundraisingAnnouncements.d.ts +189 -9
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.mts +33 -21
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.ts +33 -21
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.mts +21 -5
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +21 -5
- package/dist/hooks/useV1MyFundraisingBulkMessages.d.mts +69 -9
- package/dist/hooks/useV1MyFundraisingBulkMessages.d.ts +69 -9
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.mts +29 -5
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.ts +29 -5
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.mts +77 -9
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.ts +77 -9
- package/dist/hooks/useV1MyFundraisingHeader.d.mts +21 -13
- package/dist/hooks/useV1MyFundraisingHeader.d.ts +21 -13
- package/dist/hooks/useV1MyFundraisingMessageRooms.d.mts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRooms.d.ts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.mts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.ts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.mts +89 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +89 -5
- package/dist/hooks/useV1MyFundraisingProjects.d.mts +261 -9
- package/dist/hooks/useV1MyFundraisingProjects.d.ts +261 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.mts +397 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.ts +397 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.mts +125 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.ts +125 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.mts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.ts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.mts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.ts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.mts +149 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.ts +149 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.mts +37 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.ts +37 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.mts +53 -21
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +53 -21
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.mts +21 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.ts +21 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.mts +17 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.ts +17 -5
- package/dist/hooks/useV1MyMessagesExchangedUsers.d.mts +61 -9
- package/dist/hooks/useV1MyMessagesExchangedUsers.d.ts +61 -9
- package/dist/hooks/useV1MyMessagesTree.d.mts +65 -13
- package/dist/hooks/useV1MyMessagesTree.d.ts +65 -13
- package/dist/hooks/useV1MyProfile.d.mts +45 -9
- package/dist/hooks/useV1MyProfile.d.ts +45 -9
- package/dist/hooks/useV1MyProjectsOwners.d.mts +33 -5
- package/dist/hooks/useV1MyProjectsOwners.d.ts +33 -5
- package/dist/hooks/useV1MyProjectsProjectId.d.mts +209 -13
- package/dist/hooks/useV1MyProjectsProjectId.d.ts +209 -13
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.mts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.ts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.mts +24 -24
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.ts +24 -24
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.mts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.ts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.mts +57 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +57 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.mts +53 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.ts +53 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.mts +441 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.ts +441 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.mts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.ts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.mts +297 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.ts +297 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.mts +133 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.ts +133 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.mts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.ts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.mts +169 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.ts +169 -13
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.mts +69 -9
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.ts +69 -9
- package/dist/hooks/useV1MyProjectsProjectIdRewards.d.mts +233 -17
- package/dist/hooks/useV1MyProjectsProjectIdRewards.d.ts +233 -17
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.mts +193 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.ts +193 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.mts +201 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.ts +201 -13
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.mts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.ts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.mts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.ts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.mts +105 -21
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.ts +105 -21
- package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.mts +16 -16
- package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.ts +16 -16
- package/dist/hooks/useV1ProjectsProjectIdComments.d.mts +101 -9
- package/dist/hooks/useV1ProjectsProjectIdComments.d.ts +101 -9
- package/dist/hooks/useV1ProjectsProjectIdRewards.d.mts +21 -9
- package/dist/hooks/useV1ProjectsProjectIdRewards.d.ts +21 -9
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.mts +72 -48
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.ts +72 -48
- package/dist/hooks/useV1ResourcesCommonHeader.d.mts +129 -9
- package/dist/hooks/useV1ResourcesCommonHeader.d.ts +129 -9
- package/dist/hooks/useV1SearchProjectSuggestions.d.mts +25 -5
- package/dist/hooks/useV1SearchProjectSuggestions.d.ts +25 -5
- package/dist/hooks/useV1Tags.d.mts +4 -4
- package/dist/hooks/useV1Tags.d.ts +4 -4
- package/package.json +11 -12
|
@@ -1,159 +1,183 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { V1ProjectsProjectIdRewardsForPreviewGetPath, V1ProjectsProjectIdRewardsForPreviewGetQuery, V1ProjectsProjectIdRewardsForPreviewGetResponse } from '../fetch/v1ProjectsProjectIdRewardsForPreview.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1ProjectsProjectIdRewardsForPreview: (path: V1ProjectsProjectIdRewardsForPreviewGetPath, query: V1ProjectsProjectIdRewardsForPreviewGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdRewardsForPreviewGetResponse>) => {
|
|
11
11
|
data: ({
|
|
12
|
-
id: number;
|
|
13
|
-
title: string | null;
|
|
14
|
-
description: string;
|
|
15
|
-
price: number;
|
|
16
|
-
href: string;
|
|
17
|
-
image: components["schemas"]["Project_Reward_image"];
|
|
18
|
-
stockCount: number | null;
|
|
19
|
-
reservedStockCount: number;
|
|
20
|
-
shipmentSchedule: string | null;
|
|
21
|
-
isLikeSuspended: boolean;
|
|
22
|
-
notBuyable: boolean;
|
|
23
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
24
|
-
paymentType: "onetime" | "monthly";
|
|
25
|
-
sellingStopped: boolean;
|
|
26
|
-
likeCharity: boolean;
|
|
27
|
-
isSystemUsageFeeCase: boolean;
|
|
28
|
-
} | {
|
|
29
12
|
id: number | null;
|
|
30
13
|
title: string | null;
|
|
31
14
|
description: string | null;
|
|
15
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
32
16
|
price: number | null;
|
|
33
17
|
href: string | null;
|
|
34
|
-
image:
|
|
18
|
+
image: {
|
|
19
|
+
src: string;
|
|
20
|
+
alt: string;
|
|
21
|
+
} | null;
|
|
35
22
|
stockCount: number | null;
|
|
36
23
|
reservedStockCount: number | null;
|
|
37
24
|
shipmentSchedule: string | null;
|
|
38
25
|
isLikeSuspended: boolean | null;
|
|
39
26
|
notBuyable: boolean;
|
|
40
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
41
27
|
paymentType: "onetime" | "monthly";
|
|
42
28
|
sellingStopped: boolean | null;
|
|
43
29
|
likeCharity: boolean | null;
|
|
44
30
|
isSystemUsageFeeCase: boolean | null;
|
|
45
|
-
}
|
|
46
|
-
error: any;
|
|
47
|
-
mutate: swr.KeyedMutator<({
|
|
31
|
+
} | {
|
|
48
32
|
id: number;
|
|
49
33
|
title: string | null;
|
|
50
34
|
description: string;
|
|
35
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
51
36
|
price: number;
|
|
52
37
|
href: string;
|
|
53
|
-
image:
|
|
38
|
+
image: {
|
|
39
|
+
src: string;
|
|
40
|
+
alt: string;
|
|
41
|
+
} | null;
|
|
54
42
|
stockCount: number | null;
|
|
55
43
|
reservedStockCount: number;
|
|
56
44
|
shipmentSchedule: string | null;
|
|
57
45
|
isLikeSuspended: boolean;
|
|
58
46
|
notBuyable: boolean;
|
|
59
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
60
47
|
paymentType: "onetime" | "monthly";
|
|
61
48
|
sellingStopped: boolean;
|
|
62
49
|
likeCharity: boolean;
|
|
63
50
|
isSystemUsageFeeCase: boolean;
|
|
64
|
-
} |
|
|
51
|
+
})[] | undefined;
|
|
52
|
+
error: any;
|
|
53
|
+
mutate: swr.KeyedMutator<({
|
|
65
54
|
id: number | null;
|
|
66
55
|
title: string | null;
|
|
67
56
|
description: string | null;
|
|
57
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
68
58
|
price: number | null;
|
|
69
59
|
href: string | null;
|
|
70
|
-
image:
|
|
60
|
+
image: {
|
|
61
|
+
src: string;
|
|
62
|
+
alt: string;
|
|
63
|
+
} | null;
|
|
71
64
|
stockCount: number | null;
|
|
72
65
|
reservedStockCount: number | null;
|
|
73
66
|
shipmentSchedule: string | null;
|
|
74
67
|
isLikeSuspended: boolean | null;
|
|
75
68
|
notBuyable: boolean;
|
|
76
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
77
69
|
paymentType: "onetime" | "monthly";
|
|
78
70
|
sellingStopped: boolean | null;
|
|
79
71
|
likeCharity: boolean | null;
|
|
80
72
|
isSystemUsageFeeCase: boolean | null;
|
|
81
|
-
}
|
|
82
|
-
isValidating: boolean;
|
|
83
|
-
isLoading: boolean;
|
|
84
|
-
key: string;
|
|
85
|
-
};
|
|
86
|
-
declare const useV1ProjectsProjectIdRewardsForPreviewImmutable: (path: V1ProjectsProjectIdRewardsForPreviewGetPath, query: V1ProjectsProjectIdRewardsForPreviewGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdRewardsForPreviewGetResponse>) => {
|
|
87
|
-
data: ({
|
|
73
|
+
} | {
|
|
88
74
|
id: number;
|
|
89
75
|
title: string | null;
|
|
90
76
|
description: string;
|
|
77
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
91
78
|
price: number;
|
|
92
79
|
href: string;
|
|
93
|
-
image:
|
|
80
|
+
image: {
|
|
81
|
+
src: string;
|
|
82
|
+
alt: string;
|
|
83
|
+
} | null;
|
|
94
84
|
stockCount: number | null;
|
|
95
85
|
reservedStockCount: number;
|
|
96
86
|
shipmentSchedule: string | null;
|
|
97
87
|
isLikeSuspended: boolean;
|
|
98
88
|
notBuyable: boolean;
|
|
99
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
100
89
|
paymentType: "onetime" | "monthly";
|
|
101
90
|
sellingStopped: boolean;
|
|
102
91
|
likeCharity: boolean;
|
|
103
92
|
isSystemUsageFeeCase: boolean;
|
|
104
|
-
}
|
|
93
|
+
})[]>;
|
|
94
|
+
isValidating: boolean;
|
|
95
|
+
isLoading: boolean;
|
|
96
|
+
key: string;
|
|
97
|
+
};
|
|
98
|
+
declare const useV1ProjectsProjectIdRewardsForPreviewImmutable: (path: V1ProjectsProjectIdRewardsForPreviewGetPath, query: V1ProjectsProjectIdRewardsForPreviewGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdRewardsForPreviewGetResponse>) => {
|
|
99
|
+
data: ({
|
|
105
100
|
id: number | null;
|
|
106
101
|
title: string | null;
|
|
107
102
|
description: string | null;
|
|
103
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
108
104
|
price: number | null;
|
|
109
105
|
href: string | null;
|
|
110
|
-
image:
|
|
106
|
+
image: {
|
|
107
|
+
src: string;
|
|
108
|
+
alt: string;
|
|
109
|
+
} | null;
|
|
111
110
|
stockCount: number | null;
|
|
112
111
|
reservedStockCount: number | null;
|
|
113
112
|
shipmentSchedule: string | null;
|
|
114
113
|
isLikeSuspended: boolean | null;
|
|
115
114
|
notBuyable: boolean;
|
|
116
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
117
115
|
paymentType: "onetime" | "monthly";
|
|
118
116
|
sellingStopped: boolean | null;
|
|
119
117
|
likeCharity: boolean | null;
|
|
120
118
|
isSystemUsageFeeCase: boolean | null;
|
|
121
|
-
}
|
|
122
|
-
error: any;
|
|
123
|
-
mutate: swr.KeyedMutator<({
|
|
119
|
+
} | {
|
|
124
120
|
id: number;
|
|
125
121
|
title: string | null;
|
|
126
122
|
description: string;
|
|
123
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
127
124
|
price: number;
|
|
128
125
|
href: string;
|
|
129
|
-
image:
|
|
126
|
+
image: {
|
|
127
|
+
src: string;
|
|
128
|
+
alt: string;
|
|
129
|
+
} | null;
|
|
130
130
|
stockCount: number | null;
|
|
131
131
|
reservedStockCount: number;
|
|
132
132
|
shipmentSchedule: string | null;
|
|
133
133
|
isLikeSuspended: boolean;
|
|
134
134
|
notBuyable: boolean;
|
|
135
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
136
135
|
paymentType: "onetime" | "monthly";
|
|
137
136
|
sellingStopped: boolean;
|
|
138
137
|
likeCharity: boolean;
|
|
139
138
|
isSystemUsageFeeCase: boolean;
|
|
140
|
-
} |
|
|
139
|
+
})[] | undefined;
|
|
140
|
+
error: any;
|
|
141
|
+
mutate: swr.KeyedMutator<({
|
|
141
142
|
id: number | null;
|
|
142
143
|
title: string | null;
|
|
143
144
|
description: string | null;
|
|
145
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
144
146
|
price: number | null;
|
|
145
147
|
href: string | null;
|
|
146
|
-
image:
|
|
148
|
+
image: {
|
|
149
|
+
src: string;
|
|
150
|
+
alt: string;
|
|
151
|
+
} | null;
|
|
147
152
|
stockCount: number | null;
|
|
148
153
|
reservedStockCount: number | null;
|
|
149
154
|
shipmentSchedule: string | null;
|
|
150
155
|
isLikeSuspended: boolean | null;
|
|
151
156
|
notBuyable: boolean;
|
|
152
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
153
157
|
paymentType: "onetime" | "monthly";
|
|
154
158
|
sellingStopped: boolean | null;
|
|
155
159
|
likeCharity: boolean | null;
|
|
156
160
|
isSystemUsageFeeCase: boolean | null;
|
|
161
|
+
} | {
|
|
162
|
+
id: number;
|
|
163
|
+
title: string | null;
|
|
164
|
+
description: string;
|
|
165
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
166
|
+
price: number;
|
|
167
|
+
href: string;
|
|
168
|
+
image: {
|
|
169
|
+
src: string;
|
|
170
|
+
alt: string;
|
|
171
|
+
} | null;
|
|
172
|
+
stockCount: number | null;
|
|
173
|
+
reservedStockCount: number;
|
|
174
|
+
shipmentSchedule: string | null;
|
|
175
|
+
isLikeSuspended: boolean;
|
|
176
|
+
notBuyable: boolean;
|
|
177
|
+
paymentType: "onetime" | "monthly";
|
|
178
|
+
sellingStopped: boolean;
|
|
179
|
+
likeCharity: boolean;
|
|
180
|
+
isSystemUsageFeeCase: boolean;
|
|
157
181
|
})[]>;
|
|
158
182
|
isValidating: boolean;
|
|
159
183
|
isLoading: boolean;
|
|
@@ -1,35 +1,95 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { V1ResourcesCommonHeaderGetResponse } from '../fetch/v1ResourcesCommonHeader.mjs';
|
|
8
8
|
|
|
9
9
|
declare const useV1ResourcesCommonHeader: (swrConfig?: Configuration<V1ResourcesCommonHeaderGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
+
links: {
|
|
12
|
+
projects: string;
|
|
13
|
+
about: string;
|
|
14
|
+
intro: string;
|
|
15
|
+
login: string;
|
|
16
|
+
search: string;
|
|
17
|
+
top: string;
|
|
18
|
+
userMenuLinks: {
|
|
19
|
+
history: string;
|
|
20
|
+
message: string;
|
|
21
|
+
edit: string;
|
|
22
|
+
follow: string;
|
|
23
|
+
logout: string;
|
|
24
|
+
myProjects: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
11
27
|
hasProject: boolean;
|
|
12
28
|
messageCount: number;
|
|
13
|
-
searchMenuList:
|
|
29
|
+
searchMenuList: {
|
|
30
|
+
category: string;
|
|
31
|
+
groups: {
|
|
32
|
+
subCategory: string;
|
|
33
|
+
links: {
|
|
34
|
+
title: string;
|
|
35
|
+
url: string;
|
|
36
|
+
}[];
|
|
37
|
+
}[];
|
|
38
|
+
section: number;
|
|
39
|
+
columnTypes: {
|
|
40
|
+
sm: "1" | "2" | "auto";
|
|
41
|
+
md: "1" | "2" | "auto";
|
|
42
|
+
lg: "1" | "2" | "auto";
|
|
43
|
+
};
|
|
44
|
+
}[];
|
|
14
45
|
searchDefaultValue: string;
|
|
15
46
|
userImage: string;
|
|
16
47
|
userName: string;
|
|
17
48
|
userSignedIn: boolean;
|
|
18
|
-
links: components["schemas"]["Resources_CommonHeader_Links"];
|
|
19
49
|
unreadMessageCountAsContributor: number;
|
|
20
50
|
hasUnreadMessageAsFundraiser: boolean;
|
|
21
51
|
settingNotificationCount: number;
|
|
22
52
|
} | undefined;
|
|
23
53
|
error: any;
|
|
24
54
|
mutate: swr.KeyedMutator<{
|
|
55
|
+
links: {
|
|
56
|
+
projects: string;
|
|
57
|
+
about: string;
|
|
58
|
+
intro: string;
|
|
59
|
+
login: string;
|
|
60
|
+
search: string;
|
|
61
|
+
top: string;
|
|
62
|
+
userMenuLinks: {
|
|
63
|
+
history: string;
|
|
64
|
+
message: string;
|
|
65
|
+
edit: string;
|
|
66
|
+
follow: string;
|
|
67
|
+
logout: string;
|
|
68
|
+
myProjects: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
25
71
|
hasProject: boolean;
|
|
26
72
|
messageCount: number;
|
|
27
|
-
searchMenuList:
|
|
73
|
+
searchMenuList: {
|
|
74
|
+
category: string;
|
|
75
|
+
groups: {
|
|
76
|
+
subCategory: string;
|
|
77
|
+
links: {
|
|
78
|
+
title: string;
|
|
79
|
+
url: string;
|
|
80
|
+
}[];
|
|
81
|
+
}[];
|
|
82
|
+
section: number;
|
|
83
|
+
columnTypes: {
|
|
84
|
+
sm: "1" | "2" | "auto";
|
|
85
|
+
md: "1" | "2" | "auto";
|
|
86
|
+
lg: "1" | "2" | "auto";
|
|
87
|
+
};
|
|
88
|
+
}[];
|
|
28
89
|
searchDefaultValue: string;
|
|
29
90
|
userImage: string;
|
|
30
91
|
userName: string;
|
|
31
92
|
userSignedIn: boolean;
|
|
32
|
-
links: components["schemas"]["Resources_CommonHeader_Links"];
|
|
33
93
|
unreadMessageCountAsContributor: number;
|
|
34
94
|
hasUnreadMessageAsFundraiser: boolean;
|
|
35
95
|
settingNotificationCount: number;
|
|
@@ -40,28 +100,88 @@ declare const useV1ResourcesCommonHeader: (swrConfig?: Configuration<V1Resources
|
|
|
40
100
|
};
|
|
41
101
|
declare const useV1ResourcesCommonHeaderImmutable: (swrConfig?: Configuration<V1ResourcesCommonHeaderGetResponse>) => {
|
|
42
102
|
data: {
|
|
103
|
+
links: {
|
|
104
|
+
projects: string;
|
|
105
|
+
about: string;
|
|
106
|
+
intro: string;
|
|
107
|
+
login: string;
|
|
108
|
+
search: string;
|
|
109
|
+
top: string;
|
|
110
|
+
userMenuLinks: {
|
|
111
|
+
history: string;
|
|
112
|
+
message: string;
|
|
113
|
+
edit: string;
|
|
114
|
+
follow: string;
|
|
115
|
+
logout: string;
|
|
116
|
+
myProjects: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
43
119
|
hasProject: boolean;
|
|
44
120
|
messageCount: number;
|
|
45
|
-
searchMenuList:
|
|
121
|
+
searchMenuList: {
|
|
122
|
+
category: string;
|
|
123
|
+
groups: {
|
|
124
|
+
subCategory: string;
|
|
125
|
+
links: {
|
|
126
|
+
title: string;
|
|
127
|
+
url: string;
|
|
128
|
+
}[];
|
|
129
|
+
}[];
|
|
130
|
+
section: number;
|
|
131
|
+
columnTypes: {
|
|
132
|
+
sm: "1" | "2" | "auto";
|
|
133
|
+
md: "1" | "2" | "auto";
|
|
134
|
+
lg: "1" | "2" | "auto";
|
|
135
|
+
};
|
|
136
|
+
}[];
|
|
46
137
|
searchDefaultValue: string;
|
|
47
138
|
userImage: string;
|
|
48
139
|
userName: string;
|
|
49
140
|
userSignedIn: boolean;
|
|
50
|
-
links: components["schemas"]["Resources_CommonHeader_Links"];
|
|
51
141
|
unreadMessageCountAsContributor: number;
|
|
52
142
|
hasUnreadMessageAsFundraiser: boolean;
|
|
53
143
|
settingNotificationCount: number;
|
|
54
144
|
} | undefined;
|
|
55
145
|
error: any;
|
|
56
146
|
mutate: swr.KeyedMutator<{
|
|
147
|
+
links: {
|
|
148
|
+
projects: string;
|
|
149
|
+
about: string;
|
|
150
|
+
intro: string;
|
|
151
|
+
login: string;
|
|
152
|
+
search: string;
|
|
153
|
+
top: string;
|
|
154
|
+
userMenuLinks: {
|
|
155
|
+
history: string;
|
|
156
|
+
message: string;
|
|
157
|
+
edit: string;
|
|
158
|
+
follow: string;
|
|
159
|
+
logout: string;
|
|
160
|
+
myProjects: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
57
163
|
hasProject: boolean;
|
|
58
164
|
messageCount: number;
|
|
59
|
-
searchMenuList:
|
|
165
|
+
searchMenuList: {
|
|
166
|
+
category: string;
|
|
167
|
+
groups: {
|
|
168
|
+
subCategory: string;
|
|
169
|
+
links: {
|
|
170
|
+
title: string;
|
|
171
|
+
url: string;
|
|
172
|
+
}[];
|
|
173
|
+
}[];
|
|
174
|
+
section: number;
|
|
175
|
+
columnTypes: {
|
|
176
|
+
sm: "1" | "2" | "auto";
|
|
177
|
+
md: "1" | "2" | "auto";
|
|
178
|
+
lg: "1" | "2" | "auto";
|
|
179
|
+
};
|
|
180
|
+
}[];
|
|
60
181
|
searchDefaultValue: string;
|
|
61
182
|
userImage: string;
|
|
62
183
|
userName: string;
|
|
63
184
|
userSignedIn: boolean;
|
|
64
|
-
links: components["schemas"]["Resources_CommonHeader_Links"];
|
|
65
185
|
unreadMessageCountAsContributor: number;
|
|
66
186
|
hasUnreadMessageAsFundraiser: boolean;
|
|
67
187
|
settingNotificationCount: number;
|
|
@@ -1,35 +1,95 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { V1ResourcesCommonHeaderGetResponse } from '../fetch/v1ResourcesCommonHeader.js';
|
|
8
8
|
|
|
9
9
|
declare const useV1ResourcesCommonHeader: (swrConfig?: Configuration<V1ResourcesCommonHeaderGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
+
links: {
|
|
12
|
+
projects: string;
|
|
13
|
+
about: string;
|
|
14
|
+
intro: string;
|
|
15
|
+
login: string;
|
|
16
|
+
search: string;
|
|
17
|
+
top: string;
|
|
18
|
+
userMenuLinks: {
|
|
19
|
+
history: string;
|
|
20
|
+
message: string;
|
|
21
|
+
edit: string;
|
|
22
|
+
follow: string;
|
|
23
|
+
logout: string;
|
|
24
|
+
myProjects: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
11
27
|
hasProject: boolean;
|
|
12
28
|
messageCount: number;
|
|
13
|
-
searchMenuList:
|
|
29
|
+
searchMenuList: {
|
|
30
|
+
category: string;
|
|
31
|
+
groups: {
|
|
32
|
+
subCategory: string;
|
|
33
|
+
links: {
|
|
34
|
+
title: string;
|
|
35
|
+
url: string;
|
|
36
|
+
}[];
|
|
37
|
+
}[];
|
|
38
|
+
section: number;
|
|
39
|
+
columnTypes: {
|
|
40
|
+
sm: "1" | "2" | "auto";
|
|
41
|
+
md: "1" | "2" | "auto";
|
|
42
|
+
lg: "1" | "2" | "auto";
|
|
43
|
+
};
|
|
44
|
+
}[];
|
|
14
45
|
searchDefaultValue: string;
|
|
15
46
|
userImage: string;
|
|
16
47
|
userName: string;
|
|
17
48
|
userSignedIn: boolean;
|
|
18
|
-
links: components["schemas"]["Resources_CommonHeader_Links"];
|
|
19
49
|
unreadMessageCountAsContributor: number;
|
|
20
50
|
hasUnreadMessageAsFundraiser: boolean;
|
|
21
51
|
settingNotificationCount: number;
|
|
22
52
|
} | undefined;
|
|
23
53
|
error: any;
|
|
24
54
|
mutate: swr.KeyedMutator<{
|
|
55
|
+
links: {
|
|
56
|
+
projects: string;
|
|
57
|
+
about: string;
|
|
58
|
+
intro: string;
|
|
59
|
+
login: string;
|
|
60
|
+
search: string;
|
|
61
|
+
top: string;
|
|
62
|
+
userMenuLinks: {
|
|
63
|
+
history: string;
|
|
64
|
+
message: string;
|
|
65
|
+
edit: string;
|
|
66
|
+
follow: string;
|
|
67
|
+
logout: string;
|
|
68
|
+
myProjects: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
25
71
|
hasProject: boolean;
|
|
26
72
|
messageCount: number;
|
|
27
|
-
searchMenuList:
|
|
73
|
+
searchMenuList: {
|
|
74
|
+
category: string;
|
|
75
|
+
groups: {
|
|
76
|
+
subCategory: string;
|
|
77
|
+
links: {
|
|
78
|
+
title: string;
|
|
79
|
+
url: string;
|
|
80
|
+
}[];
|
|
81
|
+
}[];
|
|
82
|
+
section: number;
|
|
83
|
+
columnTypes: {
|
|
84
|
+
sm: "1" | "2" | "auto";
|
|
85
|
+
md: "1" | "2" | "auto";
|
|
86
|
+
lg: "1" | "2" | "auto";
|
|
87
|
+
};
|
|
88
|
+
}[];
|
|
28
89
|
searchDefaultValue: string;
|
|
29
90
|
userImage: string;
|
|
30
91
|
userName: string;
|
|
31
92
|
userSignedIn: boolean;
|
|
32
|
-
links: components["schemas"]["Resources_CommonHeader_Links"];
|
|
33
93
|
unreadMessageCountAsContributor: number;
|
|
34
94
|
hasUnreadMessageAsFundraiser: boolean;
|
|
35
95
|
settingNotificationCount: number;
|
|
@@ -40,28 +100,88 @@ declare const useV1ResourcesCommonHeader: (swrConfig?: Configuration<V1Resources
|
|
|
40
100
|
};
|
|
41
101
|
declare const useV1ResourcesCommonHeaderImmutable: (swrConfig?: Configuration<V1ResourcesCommonHeaderGetResponse>) => {
|
|
42
102
|
data: {
|
|
103
|
+
links: {
|
|
104
|
+
projects: string;
|
|
105
|
+
about: string;
|
|
106
|
+
intro: string;
|
|
107
|
+
login: string;
|
|
108
|
+
search: string;
|
|
109
|
+
top: string;
|
|
110
|
+
userMenuLinks: {
|
|
111
|
+
history: string;
|
|
112
|
+
message: string;
|
|
113
|
+
edit: string;
|
|
114
|
+
follow: string;
|
|
115
|
+
logout: string;
|
|
116
|
+
myProjects: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
43
119
|
hasProject: boolean;
|
|
44
120
|
messageCount: number;
|
|
45
|
-
searchMenuList:
|
|
121
|
+
searchMenuList: {
|
|
122
|
+
category: string;
|
|
123
|
+
groups: {
|
|
124
|
+
subCategory: string;
|
|
125
|
+
links: {
|
|
126
|
+
title: string;
|
|
127
|
+
url: string;
|
|
128
|
+
}[];
|
|
129
|
+
}[];
|
|
130
|
+
section: number;
|
|
131
|
+
columnTypes: {
|
|
132
|
+
sm: "1" | "2" | "auto";
|
|
133
|
+
md: "1" | "2" | "auto";
|
|
134
|
+
lg: "1" | "2" | "auto";
|
|
135
|
+
};
|
|
136
|
+
}[];
|
|
46
137
|
searchDefaultValue: string;
|
|
47
138
|
userImage: string;
|
|
48
139
|
userName: string;
|
|
49
140
|
userSignedIn: boolean;
|
|
50
|
-
links: components["schemas"]["Resources_CommonHeader_Links"];
|
|
51
141
|
unreadMessageCountAsContributor: number;
|
|
52
142
|
hasUnreadMessageAsFundraiser: boolean;
|
|
53
143
|
settingNotificationCount: number;
|
|
54
144
|
} | undefined;
|
|
55
145
|
error: any;
|
|
56
146
|
mutate: swr.KeyedMutator<{
|
|
147
|
+
links: {
|
|
148
|
+
projects: string;
|
|
149
|
+
about: string;
|
|
150
|
+
intro: string;
|
|
151
|
+
login: string;
|
|
152
|
+
search: string;
|
|
153
|
+
top: string;
|
|
154
|
+
userMenuLinks: {
|
|
155
|
+
history: string;
|
|
156
|
+
message: string;
|
|
157
|
+
edit: string;
|
|
158
|
+
follow: string;
|
|
159
|
+
logout: string;
|
|
160
|
+
myProjects: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
57
163
|
hasProject: boolean;
|
|
58
164
|
messageCount: number;
|
|
59
|
-
searchMenuList:
|
|
165
|
+
searchMenuList: {
|
|
166
|
+
category: string;
|
|
167
|
+
groups: {
|
|
168
|
+
subCategory: string;
|
|
169
|
+
links: {
|
|
170
|
+
title: string;
|
|
171
|
+
url: string;
|
|
172
|
+
}[];
|
|
173
|
+
}[];
|
|
174
|
+
section: number;
|
|
175
|
+
columnTypes: {
|
|
176
|
+
sm: "1" | "2" | "auto";
|
|
177
|
+
md: "1" | "2" | "auto";
|
|
178
|
+
lg: "1" | "2" | "auto";
|
|
179
|
+
};
|
|
180
|
+
}[];
|
|
60
181
|
searchDefaultValue: string;
|
|
61
182
|
userImage: string;
|
|
62
183
|
userName: string;
|
|
63
184
|
userSignedIn: boolean;
|
|
64
|
-
links: components["schemas"]["Resources_CommonHeader_Links"];
|
|
65
185
|
unreadMessageCountAsContributor: number;
|
|
66
186
|
hasUnreadMessageAsFundraiser: boolean;
|
|
67
187
|
settingNotificationCount: number;
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { V1SearchProjectSuggestionsGetQuery, V1SearchProjectSuggestionsGetResponse } from '../fetch/v1SearchProjectSuggestions.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1SearchProjectSuggestions: (query: V1SearchProjectSuggestionsGetQuery, swrConfig?: Configuration<V1SearchProjectSuggestionsGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
projects:
|
|
12
|
+
projects: {
|
|
13
|
+
id: string;
|
|
14
|
+
imageUrl: string;
|
|
15
|
+
title: string;
|
|
16
|
+
href: string;
|
|
17
|
+
}[];
|
|
13
18
|
} | undefined;
|
|
14
19
|
error: any;
|
|
15
20
|
mutate: swr.KeyedMutator<{
|
|
16
|
-
projects:
|
|
21
|
+
projects: {
|
|
22
|
+
id: string;
|
|
23
|
+
imageUrl: string;
|
|
24
|
+
title: string;
|
|
25
|
+
href: string;
|
|
26
|
+
}[];
|
|
17
27
|
}>;
|
|
18
28
|
isValidating: boolean;
|
|
19
29
|
isLoading: boolean;
|
|
@@ -21,11 +31,21 @@ declare const useV1SearchProjectSuggestions: (query: V1SearchProjectSuggestionsG
|
|
|
21
31
|
};
|
|
22
32
|
declare const useV1SearchProjectSuggestionsImmutable: (query: V1SearchProjectSuggestionsGetQuery, swrConfig?: Configuration<V1SearchProjectSuggestionsGetResponse>) => {
|
|
23
33
|
data: {
|
|
24
|
-
projects:
|
|
34
|
+
projects: {
|
|
35
|
+
id: string;
|
|
36
|
+
imageUrl: string;
|
|
37
|
+
title: string;
|
|
38
|
+
href: string;
|
|
39
|
+
}[];
|
|
25
40
|
} | undefined;
|
|
26
41
|
error: any;
|
|
27
42
|
mutate: swr.KeyedMutator<{
|
|
28
|
-
projects:
|
|
43
|
+
projects: {
|
|
44
|
+
id: string;
|
|
45
|
+
imageUrl: string;
|
|
46
|
+
title: string;
|
|
47
|
+
href: string;
|
|
48
|
+
}[];
|
|
29
49
|
}>;
|
|
30
50
|
isValidating: boolean;
|
|
31
51
|
isLoading: boolean;
|