@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,67 +1,21 @@
|
|
|
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 { V1ProjectsProjectIdCommentsGetPath, V1ProjectsProjectIdCommentsGetQuery, V1ProjectsProjectIdCommentsGetResponse } from '../fetch/v1ProjectsProjectIdComments.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1ProjectsProjectIdComments: (path: V1ProjectsProjectIdCommentsGetPath, query: V1ProjectsProjectIdCommentsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdCommentsGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
orders?:
|
|
13
|
-
|
|
14
|
-
user?: {
|
|
15
|
-
id?: number | undefined;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
my_image_url?: string | undefined;
|
|
18
|
-
my_url?: string | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
comment_text?: string | undefined;
|
|
21
|
-
commented_at_format?: string | undefined;
|
|
22
|
-
other_backed_count?: number | undefined;
|
|
23
|
-
reply?: {
|
|
24
|
-
id?: number | undefined;
|
|
25
|
-
comment_reply_text?: string | null | undefined;
|
|
26
|
-
comment_reply_at_format?: string | null | undefined;
|
|
27
|
-
reply_comment_url?: string | undefined;
|
|
28
|
-
} | undefined;
|
|
29
|
-
}[] | undefined;
|
|
30
|
-
meta?: {
|
|
31
|
-
current_page?: number | null | undefined;
|
|
32
|
-
next_page?: number | null | undefined;
|
|
33
|
-
prev_page?: number | null | undefined;
|
|
34
|
-
total_pages?: number | null | undefined;
|
|
35
|
-
total_count?: number | null | undefined;
|
|
36
|
-
} | undefined;
|
|
12
|
+
orders?: components["schemas"]["GetProjectComments_orders_inner"][];
|
|
13
|
+
meta?: components["schemas"]["GetProjectComments_meta"];
|
|
37
14
|
} | undefined;
|
|
38
15
|
error: any;
|
|
39
16
|
mutate: swr.KeyedMutator<{
|
|
40
|
-
orders?:
|
|
41
|
-
|
|
42
|
-
user?: {
|
|
43
|
-
id?: number | undefined;
|
|
44
|
-
name?: string | undefined;
|
|
45
|
-
my_image_url?: string | undefined;
|
|
46
|
-
my_url?: string | undefined;
|
|
47
|
-
} | undefined;
|
|
48
|
-
comment_text?: string | undefined;
|
|
49
|
-
commented_at_format?: string | undefined;
|
|
50
|
-
other_backed_count?: number | undefined;
|
|
51
|
-
reply?: {
|
|
52
|
-
id?: number | undefined;
|
|
53
|
-
comment_reply_text?: string | null | undefined;
|
|
54
|
-
comment_reply_at_format?: string | null | undefined;
|
|
55
|
-
reply_comment_url?: string | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
}[] | undefined;
|
|
58
|
-
meta?: {
|
|
59
|
-
current_page?: number | null | undefined;
|
|
60
|
-
next_page?: number | null | undefined;
|
|
61
|
-
prev_page?: number | null | undefined;
|
|
62
|
-
total_pages?: number | null | undefined;
|
|
63
|
-
total_count?: number | null | undefined;
|
|
64
|
-
} | undefined;
|
|
17
|
+
orders?: components["schemas"]["GetProjectComments_orders_inner"][];
|
|
18
|
+
meta?: components["schemas"]["GetProjectComments_meta"];
|
|
65
19
|
}>;
|
|
66
20
|
isValidating: boolean;
|
|
67
21
|
isLoading: boolean;
|
|
@@ -69,59 +23,13 @@ declare const useV1ProjectsProjectIdComments: (path: V1ProjectsProjectIdComments
|
|
|
69
23
|
};
|
|
70
24
|
declare const useV1ProjectsProjectIdCommentsImmutable: (path: V1ProjectsProjectIdCommentsGetPath, query: V1ProjectsProjectIdCommentsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdCommentsGetResponse>) => {
|
|
71
25
|
data: {
|
|
72
|
-
orders?:
|
|
73
|
-
|
|
74
|
-
user?: {
|
|
75
|
-
id?: number | undefined;
|
|
76
|
-
name?: string | undefined;
|
|
77
|
-
my_image_url?: string | undefined;
|
|
78
|
-
my_url?: string | undefined;
|
|
79
|
-
} | undefined;
|
|
80
|
-
comment_text?: string | undefined;
|
|
81
|
-
commented_at_format?: string | undefined;
|
|
82
|
-
other_backed_count?: number | undefined;
|
|
83
|
-
reply?: {
|
|
84
|
-
id?: number | undefined;
|
|
85
|
-
comment_reply_text?: string | null | undefined;
|
|
86
|
-
comment_reply_at_format?: string | null | undefined;
|
|
87
|
-
reply_comment_url?: string | undefined;
|
|
88
|
-
} | undefined;
|
|
89
|
-
}[] | undefined;
|
|
90
|
-
meta?: {
|
|
91
|
-
current_page?: number | null | undefined;
|
|
92
|
-
next_page?: number | null | undefined;
|
|
93
|
-
prev_page?: number | null | undefined;
|
|
94
|
-
total_pages?: number | null | undefined;
|
|
95
|
-
total_count?: number | null | undefined;
|
|
96
|
-
} | undefined;
|
|
26
|
+
orders?: components["schemas"]["GetProjectComments_orders_inner"][];
|
|
27
|
+
meta?: components["schemas"]["GetProjectComments_meta"];
|
|
97
28
|
} | undefined;
|
|
98
29
|
error: any;
|
|
99
30
|
mutate: swr.KeyedMutator<{
|
|
100
|
-
orders?:
|
|
101
|
-
|
|
102
|
-
user?: {
|
|
103
|
-
id?: number | undefined;
|
|
104
|
-
name?: string | undefined;
|
|
105
|
-
my_image_url?: string | undefined;
|
|
106
|
-
my_url?: string | undefined;
|
|
107
|
-
} | undefined;
|
|
108
|
-
comment_text?: string | undefined;
|
|
109
|
-
commented_at_format?: string | undefined;
|
|
110
|
-
other_backed_count?: number | undefined;
|
|
111
|
-
reply?: {
|
|
112
|
-
id?: number | undefined;
|
|
113
|
-
comment_reply_text?: string | null | undefined;
|
|
114
|
-
comment_reply_at_format?: string | null | undefined;
|
|
115
|
-
reply_comment_url?: string | undefined;
|
|
116
|
-
} | undefined;
|
|
117
|
-
}[] | undefined;
|
|
118
|
-
meta?: {
|
|
119
|
-
current_page?: number | null | undefined;
|
|
120
|
-
next_page?: number | null | undefined;
|
|
121
|
-
prev_page?: number | null | undefined;
|
|
122
|
-
total_pages?: number | null | undefined;
|
|
123
|
-
total_count?: number | null | undefined;
|
|
124
|
-
} | undefined;
|
|
31
|
+
orders?: components["schemas"]["GetProjectComments_orders_inner"][];
|
|
32
|
+
meta?: components["schemas"]["GetProjectComments_meta"];
|
|
125
33
|
}>;
|
|
126
34
|
isValidating: boolean;
|
|
127
35
|
isLoading: boolean;
|
|
@@ -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.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 { V1ProjectsProjectIdRewardsGetPath, V1ProjectsProjectIdRewardsGetQuery, V1ProjectsProjectIdRewardsGetResponse } from '../fetch/v1ProjectsProjectIdRewards.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
@@ -12,18 +12,15 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
|
|
|
12
12
|
id: number;
|
|
13
13
|
title: string | null;
|
|
14
14
|
description: string;
|
|
15
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
16
15
|
price: number;
|
|
17
16
|
href: string;
|
|
18
|
-
image:
|
|
19
|
-
src: string;
|
|
20
|
-
alt: string;
|
|
21
|
-
} | null;
|
|
17
|
+
image: components["schemas"]["Project_Reward_image"];
|
|
22
18
|
stockCount: number | null;
|
|
23
19
|
reservedStockCount: number;
|
|
24
20
|
shipmentSchedule: string | null;
|
|
25
21
|
isLikeSuspended: boolean;
|
|
26
22
|
notBuyable: boolean;
|
|
23
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
27
24
|
paymentType: "onetime" | "monthly";
|
|
28
25
|
sellingStopped: boolean;
|
|
29
26
|
likeCharity: boolean;
|
|
@@ -34,18 +31,15 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
|
|
|
34
31
|
id: number;
|
|
35
32
|
title: string | null;
|
|
36
33
|
description: string;
|
|
37
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
38
34
|
price: number;
|
|
39
35
|
href: string;
|
|
40
|
-
image:
|
|
41
|
-
src: string;
|
|
42
|
-
alt: string;
|
|
43
|
-
} | null;
|
|
36
|
+
image: components["schemas"]["Project_Reward_image"];
|
|
44
37
|
stockCount: number | null;
|
|
45
38
|
reservedStockCount: number;
|
|
46
39
|
shipmentSchedule: string | null;
|
|
47
40
|
isLikeSuspended: boolean;
|
|
48
41
|
notBuyable: boolean;
|
|
42
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
49
43
|
paymentType: "onetime" | "monthly";
|
|
50
44
|
sellingStopped: boolean;
|
|
51
45
|
likeCharity: boolean;
|
|
@@ -60,18 +54,15 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
|
|
|
60
54
|
id: number;
|
|
61
55
|
title: string | null;
|
|
62
56
|
description: string;
|
|
63
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
64
57
|
price: number;
|
|
65
58
|
href: string;
|
|
66
|
-
image:
|
|
67
|
-
src: string;
|
|
68
|
-
alt: string;
|
|
69
|
-
} | null;
|
|
59
|
+
image: components["schemas"]["Project_Reward_image"];
|
|
70
60
|
stockCount: number | null;
|
|
71
61
|
reservedStockCount: number;
|
|
72
62
|
shipmentSchedule: string | null;
|
|
73
63
|
isLikeSuspended: boolean;
|
|
74
64
|
notBuyable: boolean;
|
|
65
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
75
66
|
paymentType: "onetime" | "monthly";
|
|
76
67
|
sellingStopped: boolean;
|
|
77
68
|
likeCharity: boolean;
|
|
@@ -82,18 +73,15 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
|
|
|
82
73
|
id: number;
|
|
83
74
|
title: string | null;
|
|
84
75
|
description: string;
|
|
85
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
86
76
|
price: number;
|
|
87
77
|
href: string;
|
|
88
|
-
image:
|
|
89
|
-
src: string;
|
|
90
|
-
alt: string;
|
|
91
|
-
} | null;
|
|
78
|
+
image: components["schemas"]["Project_Reward_image"];
|
|
92
79
|
stockCount: number | null;
|
|
93
80
|
reservedStockCount: number;
|
|
94
81
|
shipmentSchedule: string | null;
|
|
95
82
|
isLikeSuspended: boolean;
|
|
96
83
|
notBuyable: boolean;
|
|
84
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
97
85
|
paymentType: "onetime" | "monthly";
|
|
98
86
|
sellingStopped: boolean;
|
|
99
87
|
likeCharity: boolean;
|
|
@@ -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 { V1ProjectsProjectIdRewardsGetPath, V1ProjectsProjectIdRewardsGetQuery, V1ProjectsProjectIdRewardsGetResponse } from '../fetch/v1ProjectsProjectIdRewards.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
@@ -12,18 +12,15 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
|
|
|
12
12
|
id: number;
|
|
13
13
|
title: string | null;
|
|
14
14
|
description: string;
|
|
15
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
16
15
|
price: number;
|
|
17
16
|
href: string;
|
|
18
|
-
image:
|
|
19
|
-
src: string;
|
|
20
|
-
alt: string;
|
|
21
|
-
} | null;
|
|
17
|
+
image: components["schemas"]["Project_Reward_image"];
|
|
22
18
|
stockCount: number | null;
|
|
23
19
|
reservedStockCount: number;
|
|
24
20
|
shipmentSchedule: string | null;
|
|
25
21
|
isLikeSuspended: boolean;
|
|
26
22
|
notBuyable: boolean;
|
|
23
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
27
24
|
paymentType: "onetime" | "monthly";
|
|
28
25
|
sellingStopped: boolean;
|
|
29
26
|
likeCharity: boolean;
|
|
@@ -34,18 +31,15 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
|
|
|
34
31
|
id: number;
|
|
35
32
|
title: string | null;
|
|
36
33
|
description: string;
|
|
37
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
38
34
|
price: number;
|
|
39
35
|
href: string;
|
|
40
|
-
image:
|
|
41
|
-
src: string;
|
|
42
|
-
alt: string;
|
|
43
|
-
} | null;
|
|
36
|
+
image: components["schemas"]["Project_Reward_image"];
|
|
44
37
|
stockCount: number | null;
|
|
45
38
|
reservedStockCount: number;
|
|
46
39
|
shipmentSchedule: string | null;
|
|
47
40
|
isLikeSuspended: boolean;
|
|
48
41
|
notBuyable: boolean;
|
|
42
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
49
43
|
paymentType: "onetime" | "monthly";
|
|
50
44
|
sellingStopped: boolean;
|
|
51
45
|
likeCharity: boolean;
|
|
@@ -60,18 +54,15 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
|
|
|
60
54
|
id: number;
|
|
61
55
|
title: string | null;
|
|
62
56
|
description: string;
|
|
63
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
64
57
|
price: number;
|
|
65
58
|
href: string;
|
|
66
|
-
image:
|
|
67
|
-
src: string;
|
|
68
|
-
alt: string;
|
|
69
|
-
} | null;
|
|
59
|
+
image: components["schemas"]["Project_Reward_image"];
|
|
70
60
|
stockCount: number | null;
|
|
71
61
|
reservedStockCount: number;
|
|
72
62
|
shipmentSchedule: string | null;
|
|
73
63
|
isLikeSuspended: boolean;
|
|
74
64
|
notBuyable: boolean;
|
|
65
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
75
66
|
paymentType: "onetime" | "monthly";
|
|
76
67
|
sellingStopped: boolean;
|
|
77
68
|
likeCharity: boolean;
|
|
@@ -82,18 +73,15 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
|
|
|
82
73
|
id: number;
|
|
83
74
|
title: string | null;
|
|
84
75
|
description: string;
|
|
85
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
86
76
|
price: number;
|
|
87
77
|
href: string;
|
|
88
|
-
image:
|
|
89
|
-
src: string;
|
|
90
|
-
alt: string;
|
|
91
|
-
} | null;
|
|
78
|
+
image: components["schemas"]["Project_Reward_image"];
|
|
92
79
|
stockCount: number | null;
|
|
93
80
|
reservedStockCount: number;
|
|
94
81
|
shipmentSchedule: string | null;
|
|
95
82
|
isLikeSuspended: boolean;
|
|
96
83
|
notBuyable: boolean;
|
|
84
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
97
85
|
paymentType: "onetime" | "monthly";
|
|
98
86
|
sellingStopped: boolean;
|
|
99
87
|
likeCharity: boolean;
|
|
@@ -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.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 { V1ProjectsProjectIdRewardsForPreviewGetPath, V1ProjectsProjectIdRewardsForPreviewGetQuery, V1ProjectsProjectIdRewardsForPreviewGetResponse } from '../fetch/v1ProjectsProjectIdRewardsForPreview.mjs';
|
|
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;
|