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