@readyfor/api-client-readyfor-api 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.
Files changed (75) hide show
  1. package/dist/hooks/useV2ContributionsOrderInfo.d.mts +21 -149
  2. package/dist/hooks/useV2ContributionsOrderInfo.d.ts +21 -149
  3. package/dist/hooks/useV2ContributionsPaymentInfo.d.mts +9 -93
  4. package/dist/hooks/useV2ContributionsPaymentInfo.d.ts +9 -93
  5. package/dist/hooks/useV2ContributionsPaymentMethods.d.mts +21 -69
  6. package/dist/hooks/useV2ContributionsPaymentMethods.d.ts +21 -69
  7. package/dist/hooks/useV2ContributionsProjectInfo.d.mts +41 -185
  8. package/dist/hooks/useV2ContributionsProjectInfo.d.ts +41 -185
  9. package/dist/hooks/useV2ContributionsRecommendedProjects.d.mts +5 -85
  10. package/dist/hooks/useV2ContributionsRecommendedProjects.d.ts +5 -85
  11. package/dist/hooks/useV2ContributionsRecommendedTags.d.mts +5 -17
  12. package/dist/hooks/useV2ContributionsRecommendedTags.d.ts +5 -17
  13. package/dist/hooks/useV2ContributionsUserInfo.d.mts +25 -169
  14. package/dist/hooks/useV2ContributionsUserInfo.d.ts +25 -169
  15. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.mts +5 -21
  16. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.d.ts +5 -21
  17. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.mts +5 -21
  18. package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.d.ts +5 -21
  19. package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.mts +5 -21
  20. package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.d.ts +5 -21
  21. package/dist/hooks/useV2FundraisingContributors.d.mts +9 -89
  22. package/dist/hooks/useV2FundraisingContributors.d.ts +9 -89
  23. package/dist/hooks/useV2FundraisingContributorsCount.d.mts +5 -21
  24. package/dist/hooks/useV2FundraisingContributorsCount.d.ts +5 -21
  25. package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.mts +20 -20
  26. package/dist/hooks/useV2FundraisingContributorsCsvGenerations.d.ts +20 -20
  27. package/dist/hooks/useV2FundraisingContributorsUsers.d.mts +5 -21
  28. package/dist/hooks/useV2FundraisingContributorsUsers.d.ts +5 -21
  29. package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.mts +20 -20
  30. package/dist/hooks/useV2FundraisingOrdersCsvGenerations.d.ts +20 -20
  31. package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.mts +21 -69
  32. package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.d.ts +21 -69
  33. package/dist/hooks/useV2FundraisingRewards.d.mts +13 -169
  34. package/dist/hooks/useV2FundraisingRewards.d.ts +13 -169
  35. package/dist/hooks/useV2FundraisingRewardsAll.d.mts +5 -17
  36. package/dist/hooks/useV2FundraisingRewardsAll.d.ts +5 -17
  37. package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.mts +20 -20
  38. package/dist/hooks/useV2FundraisingRewardsCsvGenerations.d.ts +20 -20
  39. package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.mts +20 -20
  40. package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.d.ts +20 -20
  41. package/dist/hooks/useV2FundraisingRewardsRewardId.d.mts +45 -105
  42. package/dist/hooks/useV2FundraisingRewardsRewardId.d.ts +45 -105
  43. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.mts +13 -197
  44. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.d.ts +13 -197
  45. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.mts +5 -37
  46. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.d.ts +5 -37
  47. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.mts +45 -193
  48. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.d.ts +45 -193
  49. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +5 -25
  50. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +5 -25
  51. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.mts +5 -17
  52. package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.d.ts +5 -17
  53. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.mts +13 -153
  54. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.d.ts +13 -153
  55. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.mts +5 -37
  56. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.d.ts +5 -37
  57. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.mts +49 -169
  58. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.d.ts +49 -169
  59. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.mts +5 -25
  60. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.d.ts +5 -25
  61. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.mts +5 -17
  62. package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.d.ts +5 -17
  63. package/dist/hooks/useV2OwnerCrmContributorsOrders.d.mts +9 -149
  64. package/dist/hooks/useV2OwnerCrmContributorsOrders.d.ts +9 -149
  65. package/dist/hooks/useV2OwnerCrmContributorsProjects.d.mts +5 -25
  66. package/dist/hooks/useV2OwnerCrmContributorsProjects.d.ts +5 -25
  67. package/dist/hooks/useV2OwnerCrmContributorsUser.d.mts +40 -40
  68. package/dist/hooks/useV2OwnerCrmContributorsUser.d.ts +40 -40
  69. package/dist/hooks/useV2ResourcesBankBranches.d.mts +5 -29
  70. package/dist/hooks/useV2ResourcesBankBranches.d.ts +5 -29
  71. package/dist/hooks/useV2ResourcesBanks.d.mts +5 -21
  72. package/dist/hooks/useV2ResourcesBanks.d.ts +5 -21
  73. package/dist/hooks/useV2ResourcesUsers.d.mts +5 -29
  74. package/dist/hooks/useV2ResourcesUsers.d.ts +5 -29
  75. package/package.json +12 -11
@@ -1,8 +1,8 @@
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 { V2ContributionsProjectInfoGetQuery, V2ContributionsProjectInfoGetResponse } from '../fetch/v2ContributionsProjectInfo.js';
8
8
  import '@readyfor/api-client-base';
@@ -10,120 +10,48 @@ import '@readyfor/api-client-base';
10
10
  declare const useV2ContributionsProjectInfo: (query: V2ContributionsProjectInfoGetQuery, swrConfig?: Configuration<V2ContributionsProjectInfoGetResponse>) => {
11
11
  data: {
12
12
  id: number;
13
+ userId: number;
13
14
  title: string;
15
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
14
16
  expiredAt: string | null;
15
- fundingModel: 0 | 1 | 3 | 4;
16
- fundedPercent: number | null;
17
17
  fundingTypeNotation: string;
18
- image: {
19
- src: string;
20
- alt: string;
21
- };
22
- rewards: {
23
- price: number;
24
- stockCount: string;
25
- id: number;
26
- title: string;
27
- image: {
28
- src: string;
29
- alt: string;
30
- } | null;
31
- description: string;
32
- currentReservedStockCount: number | null;
33
- contributionLimit: number | null;
34
- deliverySchedule: string;
35
- requireDelivery: boolean;
36
- rewardOptions: {
37
- name: string;
38
- id: number;
39
- inputType: 0 | 5;
40
- selections?: {
41
- id: number;
42
- label: string;
43
- }[] | undefined;
44
- }[] | null;
45
- paymentType: "onetime" | "monthly";
46
- }[];
47
- userId: number;
48
- contributorSystemUsageFee: {
49
- totalAmount: number;
50
- fee: number;
51
- salesTax: number;
52
- } | null;
53
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
18
+ fundingModel: 0 | 1 | 3 | 4;
54
19
  rewardNotation: string;
55
20
  requiredPeopleNum: number | null;
56
21
  remainingDayOrTimeValue: string | null;
57
- paymentMethodRestriction: 0 | 4 | 2 | 6;
22
+ paymentMethodRestriction: 0 | 2 | 4 | 6;
58
23
  supportType: "charity" | "furusato" | "normal";
59
24
  ownerName: string;
60
- ownerImage: {
61
- src: string;
62
- alt: string;
63
- };
25
+ ownerImage: components["schemas"]["Common_Image"];
26
+ image: components["schemas"]["Common_Image"];
27
+ rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
64
28
  hashTags: string[];
65
- gmopgPaymentSetting: {
66
- shopId: string;
67
- };
29
+ contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
30
+ gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
31
+ fundedPercent: number | null;
68
32
  } | undefined;
69
33
  error: any;
70
34
  mutate: swr.KeyedMutator<{
71
35
  id: number;
36
+ userId: number;
72
37
  title: string;
38
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
73
39
  expiredAt: string | null;
74
- fundingModel: 0 | 1 | 3 | 4;
75
- fundedPercent: number | null;
76
40
  fundingTypeNotation: string;
77
- image: {
78
- src: string;
79
- alt: string;
80
- };
81
- rewards: {
82
- price: number;
83
- stockCount: string;
84
- id: number;
85
- title: string;
86
- image: {
87
- src: string;
88
- alt: string;
89
- } | null;
90
- description: string;
91
- currentReservedStockCount: number | null;
92
- contributionLimit: number | null;
93
- deliverySchedule: string;
94
- requireDelivery: boolean;
95
- rewardOptions: {
96
- name: string;
97
- id: number;
98
- inputType: 0 | 5;
99
- selections?: {
100
- id: number;
101
- label: string;
102
- }[] | undefined;
103
- }[] | null;
104
- paymentType: "onetime" | "monthly";
105
- }[];
106
- userId: number;
107
- contributorSystemUsageFee: {
108
- totalAmount: number;
109
- fee: number;
110
- salesTax: number;
111
- } | null;
112
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
41
+ fundingModel: 0 | 1 | 3 | 4;
113
42
  rewardNotation: string;
114
43
  requiredPeopleNum: number | null;
115
44
  remainingDayOrTimeValue: string | null;
116
- paymentMethodRestriction: 0 | 4 | 2 | 6;
45
+ paymentMethodRestriction: 0 | 2 | 4 | 6;
117
46
  supportType: "charity" | "furusato" | "normal";
118
47
  ownerName: string;
119
- ownerImage: {
120
- src: string;
121
- alt: string;
122
- };
48
+ ownerImage: components["schemas"]["Common_Image"];
49
+ image: components["schemas"]["Common_Image"];
50
+ rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
123
51
  hashTags: string[];
124
- gmopgPaymentSetting: {
125
- shopId: string;
126
- };
52
+ contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
53
+ gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
54
+ fundedPercent: number | null;
127
55
  }>;
128
56
  isValidating: boolean;
129
57
  isLoading: boolean;
@@ -132,120 +60,48 @@ declare const useV2ContributionsProjectInfo: (query: V2ContributionsProjectInfoG
132
60
  declare const useV2ContributionsProjectInfoImmutable: (query: V2ContributionsProjectInfoGetQuery, swrConfig?: Configuration<V2ContributionsProjectInfoGetResponse>) => {
133
61
  data: {
134
62
  id: number;
63
+ userId: number;
135
64
  title: string;
65
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
136
66
  expiredAt: string | null;
137
- fundingModel: 0 | 1 | 3 | 4;
138
- fundedPercent: number | null;
139
67
  fundingTypeNotation: string;
140
- image: {
141
- src: string;
142
- alt: string;
143
- };
144
- rewards: {
145
- price: number;
146
- stockCount: string;
147
- id: number;
148
- title: string;
149
- image: {
150
- src: string;
151
- alt: string;
152
- } | null;
153
- description: string;
154
- currentReservedStockCount: number | null;
155
- contributionLimit: number | null;
156
- deliverySchedule: string;
157
- requireDelivery: boolean;
158
- rewardOptions: {
159
- name: string;
160
- id: number;
161
- inputType: 0 | 5;
162
- selections?: {
163
- id: number;
164
- label: string;
165
- }[] | undefined;
166
- }[] | null;
167
- paymentType: "onetime" | "monthly";
168
- }[];
169
- userId: number;
170
- contributorSystemUsageFee: {
171
- totalAmount: number;
172
- fee: number;
173
- salesTax: number;
174
- } | null;
175
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
68
+ fundingModel: 0 | 1 | 3 | 4;
176
69
  rewardNotation: string;
177
70
  requiredPeopleNum: number | null;
178
71
  remainingDayOrTimeValue: string | null;
179
- paymentMethodRestriction: 0 | 4 | 2 | 6;
72
+ paymentMethodRestriction: 0 | 2 | 4 | 6;
180
73
  supportType: "charity" | "furusato" | "normal";
181
74
  ownerName: string;
182
- ownerImage: {
183
- src: string;
184
- alt: string;
185
- };
75
+ ownerImage: components["schemas"]["Common_Image"];
76
+ image: components["schemas"]["Common_Image"];
77
+ rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
186
78
  hashTags: string[];
187
- gmopgPaymentSetting: {
188
- shopId: string;
189
- };
79
+ contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
80
+ gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
81
+ fundedPercent: number | null;
190
82
  } | undefined;
191
83
  error: any;
192
84
  mutate: swr.KeyedMutator<{
193
85
  id: number;
86
+ userId: number;
194
87
  title: string;
88
+ prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
195
89
  expiredAt: string | null;
196
- fundingModel: 0 | 1 | 3 | 4;
197
- fundedPercent: number | null;
198
90
  fundingTypeNotation: string;
199
- image: {
200
- src: string;
201
- alt: string;
202
- };
203
- rewards: {
204
- price: number;
205
- stockCount: string;
206
- id: number;
207
- title: string;
208
- image: {
209
- src: string;
210
- alt: string;
211
- } | null;
212
- description: string;
213
- currentReservedStockCount: number | null;
214
- contributionLimit: number | null;
215
- deliverySchedule: string;
216
- requireDelivery: boolean;
217
- rewardOptions: {
218
- name: string;
219
- id: number;
220
- inputType: 0 | 5;
221
- selections?: {
222
- id: number;
223
- label: string;
224
- }[] | undefined;
225
- }[] | null;
226
- paymentType: "onetime" | "monthly";
227
- }[];
228
- userId: number;
229
- contributorSystemUsageFee: {
230
- totalAmount: number;
231
- fee: number;
232
- salesTax: number;
233
- } | null;
234
- prettyState: "closed_counting" | "closed_achieved" | "closed_not_achieved" | "open_achieved" | "open_not_achieved" | "not_published";
91
+ fundingModel: 0 | 1 | 3 | 4;
235
92
  rewardNotation: string;
236
93
  requiredPeopleNum: number | null;
237
94
  remainingDayOrTimeValue: string | null;
238
- paymentMethodRestriction: 0 | 4 | 2 | 6;
95
+ paymentMethodRestriction: 0 | 2 | 4 | 6;
239
96
  supportType: "charity" | "furusato" | "normal";
240
97
  ownerName: string;
241
- ownerImage: {
242
- src: string;
243
- alt: string;
244
- };
98
+ ownerImage: components["schemas"]["Common_Image"];
99
+ image: components["schemas"]["Common_Image"];
100
+ rewards: components["schemas"]["Contributions_ProjectInfo_Reward"][];
245
101
  hashTags: string[];
246
- gmopgPaymentSetting: {
247
- shopId: string;
248
- };
102
+ contributorSystemUsageFee: components["schemas"]["Contributions_ProjectInfo_contributorSystemUsageFee"];
103
+ gmopgPaymentSetting: components["schemas"]["Contributions_ProjectInfo_gmopgPaymentSetting"];
104
+ fundedPercent: number | null;
249
105
  }>;
250
106
  isValidating: boolean;
251
107
  isLoading: boolean;
@@ -1,58 +1,18 @@
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 { V2ContributionsRecommendedProjectsGetResponse } from '../fetch/v2ContributionsRecommendedProjects.mjs';
8
8
 
9
9
  declare const useV2ContributionsRecommendedProjects: (swrConfig?: Configuration<V2ContributionsRecommendedProjectsGetResponse>) => {
10
10
  data: {
11
- projects: {
12
- imageUrl: string;
13
- title: string;
14
- keyword: string;
15
- state: "new" | "successful" | "nextGoal" | "achieved" | "none";
16
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
17
- tagName: string;
18
- fundingTypeNotation: string;
19
- userImageUrl: string;
20
- userFullName: string;
21
- currentContributionCount: number;
22
- currentContributionAmount: number;
23
- expiryDateLabel: string;
24
- expiryDateValue: string;
25
- gaugeInfo: {
26
- fundedPercent: number | null;
27
- isStretchGoalDisplayed: boolean;
28
- progressRate1st: number;
29
- progressRate2st: number | null;
30
- };
31
- }[];
11
+ projects: components["schemas"]["Contributions_RecommendedProject"][];
32
12
  } | undefined;
33
13
  error: any;
34
14
  mutate: swr.KeyedMutator<{
35
- projects: {
36
- imageUrl: string;
37
- title: string;
38
- keyword: string;
39
- state: "new" | "successful" | "nextGoal" | "achieved" | "none";
40
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
41
- tagName: string;
42
- fundingTypeNotation: string;
43
- userImageUrl: string;
44
- userFullName: string;
45
- currentContributionCount: number;
46
- currentContributionAmount: number;
47
- expiryDateLabel: string;
48
- expiryDateValue: string;
49
- gaugeInfo: {
50
- fundedPercent: number | null;
51
- isStretchGoalDisplayed: boolean;
52
- progressRate1st: number;
53
- progressRate2st: number | null;
54
- };
55
- }[];
15
+ projects: components["schemas"]["Contributions_RecommendedProject"][];
56
16
  }>;
57
17
  isValidating: boolean;
58
18
  isLoading: boolean;
@@ -60,51 +20,11 @@ declare const useV2ContributionsRecommendedProjects: (swrConfig?: Configuration<
60
20
  };
61
21
  declare const useV2ContributionsRecommendedProjectsImmutable: (swrConfig?: Configuration<V2ContributionsRecommendedProjectsGetResponse>) => {
62
22
  data: {
63
- projects: {
64
- imageUrl: string;
65
- title: string;
66
- keyword: string;
67
- state: "new" | "successful" | "nextGoal" | "achieved" | "none";
68
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
69
- tagName: string;
70
- fundingTypeNotation: string;
71
- userImageUrl: string;
72
- userFullName: string;
73
- currentContributionCount: number;
74
- currentContributionAmount: number;
75
- expiryDateLabel: string;
76
- expiryDateValue: string;
77
- gaugeInfo: {
78
- fundedPercent: number | null;
79
- isStretchGoalDisplayed: boolean;
80
- progressRate1st: number;
81
- progressRate2st: number | null;
82
- };
83
- }[];
23
+ projects: components["schemas"]["Contributions_RecommendedProject"][];
84
24
  } | undefined;
85
25
  error: any;
86
26
  mutate: swr.KeyedMutator<{
87
- projects: {
88
- imageUrl: string;
89
- title: string;
90
- keyword: string;
91
- state: "new" | "successful" | "nextGoal" | "achieved" | "none";
92
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
93
- tagName: string;
94
- fundingTypeNotation: string;
95
- userImageUrl: string;
96
- userFullName: string;
97
- currentContributionCount: number;
98
- currentContributionAmount: number;
99
- expiryDateLabel: string;
100
- expiryDateValue: string;
101
- gaugeInfo: {
102
- fundedPercent: number | null;
103
- isStretchGoalDisplayed: boolean;
104
- progressRate1st: number;
105
- progressRate2st: number | null;
106
- };
107
- }[];
27
+ projects: components["schemas"]["Contributions_RecommendedProject"][];
108
28
  }>;
109
29
  isValidating: boolean;
110
30
  isLoading: boolean;
@@ -1,58 +1,18 @@
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 { V2ContributionsRecommendedProjectsGetResponse } from '../fetch/v2ContributionsRecommendedProjects.js';
8
8
 
9
9
  declare const useV2ContributionsRecommendedProjects: (swrConfig?: Configuration<V2ContributionsRecommendedProjectsGetResponse>) => {
10
10
  data: {
11
- projects: {
12
- imageUrl: string;
13
- title: string;
14
- keyword: string;
15
- state: "new" | "successful" | "nextGoal" | "achieved" | "none";
16
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
17
- tagName: string;
18
- fundingTypeNotation: string;
19
- userImageUrl: string;
20
- userFullName: string;
21
- currentContributionCount: number;
22
- currentContributionAmount: number;
23
- expiryDateLabel: string;
24
- expiryDateValue: string;
25
- gaugeInfo: {
26
- fundedPercent: number | null;
27
- isStretchGoalDisplayed: boolean;
28
- progressRate1st: number;
29
- progressRate2st: number | null;
30
- };
31
- }[];
11
+ projects: components["schemas"]["Contributions_RecommendedProject"][];
32
12
  } | undefined;
33
13
  error: any;
34
14
  mutate: swr.KeyedMutator<{
35
- projects: {
36
- imageUrl: string;
37
- title: string;
38
- keyword: string;
39
- state: "new" | "successful" | "nextGoal" | "achieved" | "none";
40
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
41
- tagName: string;
42
- fundingTypeNotation: string;
43
- userImageUrl: string;
44
- userFullName: string;
45
- currentContributionCount: number;
46
- currentContributionAmount: number;
47
- expiryDateLabel: string;
48
- expiryDateValue: string;
49
- gaugeInfo: {
50
- fundedPercent: number | null;
51
- isStretchGoalDisplayed: boolean;
52
- progressRate1st: number;
53
- progressRate2st: number | null;
54
- };
55
- }[];
15
+ projects: components["schemas"]["Contributions_RecommendedProject"][];
56
16
  }>;
57
17
  isValidating: boolean;
58
18
  isLoading: boolean;
@@ -60,51 +20,11 @@ declare const useV2ContributionsRecommendedProjects: (swrConfig?: Configuration<
60
20
  };
61
21
  declare const useV2ContributionsRecommendedProjectsImmutable: (swrConfig?: Configuration<V2ContributionsRecommendedProjectsGetResponse>) => {
62
22
  data: {
63
- projects: {
64
- imageUrl: string;
65
- title: string;
66
- keyword: string;
67
- state: "new" | "successful" | "nextGoal" | "achieved" | "none";
68
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
69
- tagName: string;
70
- fundingTypeNotation: string;
71
- userImageUrl: string;
72
- userFullName: string;
73
- currentContributionCount: number;
74
- currentContributionAmount: number;
75
- expiryDateLabel: string;
76
- expiryDateValue: string;
77
- gaugeInfo: {
78
- fundedPercent: number | null;
79
- isStretchGoalDisplayed: boolean;
80
- progressRate1st: number;
81
- progressRate2st: number | null;
82
- };
83
- }[];
23
+ projects: components["schemas"]["Contributions_RecommendedProject"][];
84
24
  } | undefined;
85
25
  error: any;
86
26
  mutate: swr.KeyedMutator<{
87
- projects: {
88
- imageUrl: string;
89
- title: string;
90
- keyword: string;
91
- state: "new" | "successful" | "nextGoal" | "achieved" | "none";
92
- fundingModel: "allOrNothing" | "keepItAll" | "regularSteady" | "featuredSteady";
93
- tagName: string;
94
- fundingTypeNotation: string;
95
- userImageUrl: string;
96
- userFullName: string;
97
- currentContributionCount: number;
98
- currentContributionAmount: number;
99
- expiryDateLabel: string;
100
- expiryDateValue: string;
101
- gaugeInfo: {
102
- fundedPercent: number | null;
103
- isStretchGoalDisplayed: boolean;
104
- progressRate1st: number;
105
- progressRate2st: number | null;
106
- };
107
- }[];
27
+ projects: components["schemas"]["Contributions_RecommendedProject"][];
108
28
  }>;
109
29
  isValidating: boolean;
110
30
  isLoading: boolean;
@@ -1,24 +1,18 @@
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 { V2ContributionsRecommendedTagsGetResponse } from '../fetch/v2ContributionsRecommendedTags.mjs';
8
8
 
9
9
  declare const useV2ContributionsRecommendedTags: (swrConfig?: Configuration<V2ContributionsRecommendedTagsGetResponse>) => {
10
10
  data: {
11
- tags: {
12
- name: string;
13
- keyword: string;
14
- }[];
11
+ tags: components["schemas"]["Contributions_RecommendedTag"][];
15
12
  } | undefined;
16
13
  error: any;
17
14
  mutate: swr.KeyedMutator<{
18
- tags: {
19
- name: string;
20
- keyword: string;
21
- }[];
15
+ tags: components["schemas"]["Contributions_RecommendedTag"][];
22
16
  }>;
23
17
  isValidating: boolean;
24
18
  isLoading: boolean;
@@ -26,17 +20,11 @@ declare const useV2ContributionsRecommendedTags: (swrConfig?: Configuration<V2Co
26
20
  };
27
21
  declare const useV2ContributionsRecommendedTagsImmutable: (swrConfig?: Configuration<V2ContributionsRecommendedTagsGetResponse>) => {
28
22
  data: {
29
- tags: {
30
- name: string;
31
- keyword: string;
32
- }[];
23
+ tags: components["schemas"]["Contributions_RecommendedTag"][];
33
24
  } | undefined;
34
25
  error: any;
35
26
  mutate: swr.KeyedMutator<{
36
- tags: {
37
- name: string;
38
- keyword: string;
39
- }[];
27
+ tags: components["schemas"]["Contributions_RecommendedTag"][];
40
28
  }>;
41
29
  isValidating: boolean;
42
30
  isLoading: boolean;
@@ -1,24 +1,18 @@
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 { V2ContributionsRecommendedTagsGetResponse } from '../fetch/v2ContributionsRecommendedTags.js';
8
8
 
9
9
  declare const useV2ContributionsRecommendedTags: (swrConfig?: Configuration<V2ContributionsRecommendedTagsGetResponse>) => {
10
10
  data: {
11
- tags: {
12
- name: string;
13
- keyword: string;
14
- }[];
11
+ tags: components["schemas"]["Contributions_RecommendedTag"][];
15
12
  } | undefined;
16
13
  error: any;
17
14
  mutate: swr.KeyedMutator<{
18
- tags: {
19
- name: string;
20
- keyword: string;
21
- }[];
15
+ tags: components["schemas"]["Contributions_RecommendedTag"][];
22
16
  }>;
23
17
  isValidating: boolean;
24
18
  isLoading: boolean;
@@ -26,17 +20,11 @@ declare const useV2ContributionsRecommendedTags: (swrConfig?: Configuration<V2Co
26
20
  };
27
21
  declare const useV2ContributionsRecommendedTagsImmutable: (swrConfig?: Configuration<V2ContributionsRecommendedTagsGetResponse>) => {
28
22
  data: {
29
- tags: {
30
- name: string;
31
- keyword: string;
32
- }[];
23
+ tags: components["schemas"]["Contributions_RecommendedTag"][];
33
24
  } | undefined;
34
25
  error: any;
35
26
  mutate: swr.KeyedMutator<{
36
- tags: {
37
- name: string;
38
- keyword: string;
39
- }[];
27
+ tags: components["schemas"]["Contributions_RecommendedTag"][];
40
28
  }>;
41
29
  isValidating: boolean;
42
30
  isLoading: boolean;