@readyfor/api-client-readyfor 0.207.1 → 0.207.2-pr974.caa0ee1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useV1BanksSearch.d.mts +4 -4
- package/dist/hooks/useV1BanksSearch.d.ts +4 -4
- package/dist/hooks/useV1BranchesSearch.d.mts +4 -4
- package/dist/hooks/useV1BranchesSearch.d.ts +4 -4
- package/dist/hooks/useV1EngagementProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementProjects.d.ts +145 -9
- package/dist/hooks/useV1EngagementSearchProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementSearchProjects.d.ts +145 -9
- package/dist/hooks/useV1EngagementTags.d.mts +4 -4
- package/dist/hooks/useV1EngagementTags.d.ts +4 -4
- package/dist/hooks/useV1EngagementTagsTagKeyword.d.mts +25 -9
- package/dist/hooks/useV1EngagementTagsTagKeyword.d.ts +25 -9
- package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.mts +145 -9
- package/dist/hooks/useV1EngagementTagsTagKeywordProjects.d.ts +145 -9
- package/dist/hooks/useV1MyBulkMessages.d.mts +29 -5
- package/dist/hooks/useV1MyBulkMessages.d.ts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.mts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageId.d.ts +29 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.mts +21 -5
- package/dist/hooks/useV1MyBulkMessagesBulkMessageIdToUsers.d.ts +21 -5
- package/dist/hooks/useV1MyEngagementFavoriteTags.d.mts +4 -4
- package/dist/hooks/useV1MyEngagementFavoriteTags.d.ts +4 -4
- package/dist/hooks/useV1MyFundraisingAnnouncements.d.mts +189 -9
- package/dist/hooks/useV1MyFundraisingAnnouncements.d.ts +189 -9
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.mts +33 -21
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementId.d.ts +33 -21
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.mts +21 -5
- package/dist/hooks/useV1MyFundraisingAnnouncementsAnnouncementPostableProjects.d.ts +21 -5
- package/dist/hooks/useV1MyFundraisingBulkMessages.d.mts +69 -9
- package/dist/hooks/useV1MyFundraisingBulkMessages.d.ts +69 -9
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.mts +29 -5
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageId.d.ts +29 -5
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.mts +77 -9
- package/dist/hooks/useV1MyFundraisingBulkMessagesBulkMessageIdSentUsers.d.ts +77 -9
- package/dist/hooks/useV1MyFundraisingHeader.d.mts +21 -13
- package/dist/hooks/useV1MyFundraisingHeader.d.ts +21 -13
- package/dist/hooks/useV1MyFundraisingMessageRooms.d.mts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRooms.d.ts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.mts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomId.d.ts +41 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.mts +89 -5
- package/dist/hooks/useV1MyFundraisingMessageRoomsMessageRoomIdMessages.d.ts +89 -5
- package/dist/hooks/useV1MyFundraisingProjects.d.mts +261 -9
- package/dist/hooks/useV1MyFundraisingProjects.d.ts +261 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.mts +397 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectId.d.ts +397 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.mts +125 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysis.d.ts +125 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.mts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisAchievementPercents.d.ts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.mts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnalysisNumberOfVisitors.d.ts +33 -9
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.mts +149 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdAnnouncements.d.ts +149 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.mts +37 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdEditingProgress.d.ts +37 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.mts +53 -21
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdFastPaymentApplication.d.ts +53 -21
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.mts +21 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdMonthlyBillingDetails.d.ts +21 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.mts +17 -5
- package/dist/hooks/useV1MyFundraisingProjectsProjectIdSummary.d.ts +17 -5
- package/dist/hooks/useV1MyMessagesExchangedUsers.d.mts +61 -9
- package/dist/hooks/useV1MyMessagesExchangedUsers.d.ts +61 -9
- package/dist/hooks/useV1MyMessagesTree.d.mts +65 -13
- package/dist/hooks/useV1MyMessagesTree.d.ts +65 -13
- package/dist/hooks/useV1MyProfile.d.mts +45 -9
- package/dist/hooks/useV1MyProfile.d.ts +45 -9
- package/dist/hooks/useV1MyProjectsOwners.d.mts +33 -5
- package/dist/hooks/useV1MyProjectsOwners.d.ts +33 -5
- package/dist/hooks/useV1MyProjectsProjectId.d.mts +209 -13
- package/dist/hooks/useV1MyProjectsProjectId.d.ts +209 -13
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.mts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdCommissions.d.ts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.mts +24 -24
- package/dist/hooks/useV1MyProjectsProjectIdConfirmations.d.ts +24 -24
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.mts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectCheckList.d.ts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.mts +57 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectFastPaymentApplication.d.ts +57 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.mts +53 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwner.d.ts +53 -9
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.mts +441 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwner.d.ts +441 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.mts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerActivity.d.ts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.mts +297 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerGroupProjectOwnerGroupProjectOwnerCheckList.d.ts +297 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.mts +133 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerTransferAccount.d.ts +133 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.mts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerOwnerUrls.d.ts +97 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.mts +169 -13
- package/dist/hooks/useV1MyProjectsProjectIdProjectOwnerPersonalProjectOwner.d.ts +169 -13
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.mts +69 -9
- package/dist/hooks/useV1MyProjectsProjectIdPublicationSchedule.d.ts +69 -9
- package/dist/hooks/useV1MyProjectsProjectIdRewards.d.mts +233 -17
- package/dist/hooks/useV1MyProjectsProjectIdRewards.d.ts +233 -17
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.mts +193 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRequestsRequestId.d.ts +193 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.mts +201 -13
- package/dist/hooks/useV1MyProjectsProjectIdRewardsRewardId.d.ts +201 -13
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.mts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdStatisticalEventsEditStart.d.ts +4 -4
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.mts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdSteadyCrowdfundingProjectCheckList.d.ts +253 -13
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.mts +105 -21
- package/dist/hooks/useV1MyProjectsProjectIdUserIdentification.d.ts +105 -21
- package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.mts +16 -16
- package/dist/hooks/useV1ProjectsProjectIdAnnouncements.d.ts +16 -16
- package/dist/hooks/useV1ProjectsProjectIdComments.d.mts +101 -9
- package/dist/hooks/useV1ProjectsProjectIdComments.d.ts +101 -9
- package/dist/hooks/useV1ProjectsProjectIdRewards.d.mts +21 -9
- package/dist/hooks/useV1ProjectsProjectIdRewards.d.ts +21 -9
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.mts +72 -48
- package/dist/hooks/useV1ProjectsProjectIdRewardsForPreview.d.ts +72 -48
- package/dist/hooks/useV1ResourcesCommonHeader.d.mts +129 -9
- package/dist/hooks/useV1ResourcesCommonHeader.d.ts +129 -9
- package/dist/hooks/useV1SearchProjectSuggestions.d.mts +25 -5
- package/dist/hooks/useV1SearchProjectSuggestions.d.ts +25 -5
- package/dist/hooks/useV1Tags.d.mts +4 -4
- package/dist/hooks/useV1Tags.d.ts +4 -4
- package/package.json +11 -12
|
@@ -1,21 +1,67 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.js';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { 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
|
-
|
|
12
|
+
orders?: {
|
|
13
|
+
id?: number | undefined;
|
|
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;
|
|
14
37
|
} | undefined;
|
|
15
38
|
error: any;
|
|
16
39
|
mutate: swr.KeyedMutator<{
|
|
17
|
-
orders?:
|
|
18
|
-
|
|
40
|
+
orders?: {
|
|
41
|
+
id?: number | undefined;
|
|
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;
|
|
19
65
|
}>;
|
|
20
66
|
isValidating: boolean;
|
|
21
67
|
isLoading: boolean;
|
|
@@ -23,13 +69,59 @@ declare const useV1ProjectsProjectIdComments: (path: V1ProjectsProjectIdComments
|
|
|
23
69
|
};
|
|
24
70
|
declare const useV1ProjectsProjectIdCommentsImmutable: (path: V1ProjectsProjectIdCommentsGetPath, query: V1ProjectsProjectIdCommentsGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdCommentsGetResponse>) => {
|
|
25
71
|
data: {
|
|
26
|
-
orders?:
|
|
27
|
-
|
|
72
|
+
orders?: {
|
|
73
|
+
id?: number | undefined;
|
|
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;
|
|
28
97
|
} | undefined;
|
|
29
98
|
error: any;
|
|
30
99
|
mutate: swr.KeyedMutator<{
|
|
31
|
-
orders?:
|
|
32
|
-
|
|
100
|
+
orders?: {
|
|
101
|
+
id?: number | undefined;
|
|
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;
|
|
33
125
|
}>;
|
|
34
126
|
isValidating: boolean;
|
|
35
127
|
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';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { V1ProjectsProjectIdRewardsGetPath, V1ProjectsProjectIdRewardsGetQuery, V1ProjectsProjectIdRewardsGetResponse } from '../fetch/v1ProjectsProjectIdRewards.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
@@ -12,15 +12,18 @@ 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";
|
|
15
16
|
price: number;
|
|
16
17
|
href: string;
|
|
17
|
-
image:
|
|
18
|
+
image: {
|
|
19
|
+
src: string;
|
|
20
|
+
alt: string;
|
|
21
|
+
} | null;
|
|
18
22
|
stockCount: number | null;
|
|
19
23
|
reservedStockCount: number;
|
|
20
24
|
shipmentSchedule: string | null;
|
|
21
25
|
isLikeSuspended: boolean;
|
|
22
26
|
notBuyable: boolean;
|
|
23
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
24
27
|
paymentType: "onetime" | "monthly";
|
|
25
28
|
sellingStopped: boolean;
|
|
26
29
|
likeCharity: boolean;
|
|
@@ -31,15 +34,18 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
|
|
|
31
34
|
id: number;
|
|
32
35
|
title: string | null;
|
|
33
36
|
description: string;
|
|
37
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
34
38
|
price: number;
|
|
35
39
|
href: string;
|
|
36
|
-
image:
|
|
40
|
+
image: {
|
|
41
|
+
src: string;
|
|
42
|
+
alt: string;
|
|
43
|
+
} | null;
|
|
37
44
|
stockCount: number | null;
|
|
38
45
|
reservedStockCount: number;
|
|
39
46
|
shipmentSchedule: string | null;
|
|
40
47
|
isLikeSuspended: boolean;
|
|
41
48
|
notBuyable: boolean;
|
|
42
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
43
49
|
paymentType: "onetime" | "monthly";
|
|
44
50
|
sellingStopped: boolean;
|
|
45
51
|
likeCharity: boolean;
|
|
@@ -54,15 +60,18 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
|
|
|
54
60
|
id: number;
|
|
55
61
|
title: string | null;
|
|
56
62
|
description: string;
|
|
63
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
57
64
|
price: number;
|
|
58
65
|
href: string;
|
|
59
|
-
image:
|
|
66
|
+
image: {
|
|
67
|
+
src: string;
|
|
68
|
+
alt: string;
|
|
69
|
+
} | null;
|
|
60
70
|
stockCount: number | null;
|
|
61
71
|
reservedStockCount: number;
|
|
62
72
|
shipmentSchedule: string | null;
|
|
63
73
|
isLikeSuspended: boolean;
|
|
64
74
|
notBuyable: boolean;
|
|
65
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
66
75
|
paymentType: "onetime" | "monthly";
|
|
67
76
|
sellingStopped: boolean;
|
|
68
77
|
likeCharity: boolean;
|
|
@@ -73,15 +82,18 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
|
|
|
73
82
|
id: number;
|
|
74
83
|
title: string | null;
|
|
75
84
|
description: string;
|
|
85
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
76
86
|
price: number;
|
|
77
87
|
href: string;
|
|
78
|
-
image:
|
|
88
|
+
image: {
|
|
89
|
+
src: string;
|
|
90
|
+
alt: string;
|
|
91
|
+
} | null;
|
|
79
92
|
stockCount: number | null;
|
|
80
93
|
reservedStockCount: number;
|
|
81
94
|
shipmentSchedule: string | null;
|
|
82
95
|
isLikeSuspended: boolean;
|
|
83
96
|
notBuyable: boolean;
|
|
84
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
85
97
|
paymentType: "onetime" | "monthly";
|
|
86
98
|
sellingStopped: boolean;
|
|
87
99
|
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';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.js';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { V1ProjectsProjectIdRewardsGetPath, V1ProjectsProjectIdRewardsGetQuery, V1ProjectsProjectIdRewardsGetResponse } from '../fetch/v1ProjectsProjectIdRewards.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
@@ -12,15 +12,18 @@ 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";
|
|
15
16
|
price: number;
|
|
16
17
|
href: string;
|
|
17
|
-
image:
|
|
18
|
+
image: {
|
|
19
|
+
src: string;
|
|
20
|
+
alt: string;
|
|
21
|
+
} | null;
|
|
18
22
|
stockCount: number | null;
|
|
19
23
|
reservedStockCount: number;
|
|
20
24
|
shipmentSchedule: string | null;
|
|
21
25
|
isLikeSuspended: boolean;
|
|
22
26
|
notBuyable: boolean;
|
|
23
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
24
27
|
paymentType: "onetime" | "monthly";
|
|
25
28
|
sellingStopped: boolean;
|
|
26
29
|
likeCharity: boolean;
|
|
@@ -31,15 +34,18 @@ declare const useV1ProjectsProjectIdRewards: (path: V1ProjectsProjectIdRewardsGe
|
|
|
31
34
|
id: number;
|
|
32
35
|
title: string | null;
|
|
33
36
|
description: string;
|
|
37
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
34
38
|
price: number;
|
|
35
39
|
href: string;
|
|
36
|
-
image:
|
|
40
|
+
image: {
|
|
41
|
+
src: string;
|
|
42
|
+
alt: string;
|
|
43
|
+
} | null;
|
|
37
44
|
stockCount: number | null;
|
|
38
45
|
reservedStockCount: number;
|
|
39
46
|
shipmentSchedule: string | null;
|
|
40
47
|
isLikeSuspended: boolean;
|
|
41
48
|
notBuyable: boolean;
|
|
42
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
43
49
|
paymentType: "onetime" | "monthly";
|
|
44
50
|
sellingStopped: boolean;
|
|
45
51
|
likeCharity: boolean;
|
|
@@ -54,15 +60,18 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
|
|
|
54
60
|
id: number;
|
|
55
61
|
title: string | null;
|
|
56
62
|
description: string;
|
|
63
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
57
64
|
price: number;
|
|
58
65
|
href: string;
|
|
59
|
-
image:
|
|
66
|
+
image: {
|
|
67
|
+
src: string;
|
|
68
|
+
alt: string;
|
|
69
|
+
} | null;
|
|
60
70
|
stockCount: number | null;
|
|
61
71
|
reservedStockCount: number;
|
|
62
72
|
shipmentSchedule: string | null;
|
|
63
73
|
isLikeSuspended: boolean;
|
|
64
74
|
notBuyable: boolean;
|
|
65
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
66
75
|
paymentType: "onetime" | "monthly";
|
|
67
76
|
sellingStopped: boolean;
|
|
68
77
|
likeCharity: boolean;
|
|
@@ -73,15 +82,18 @@ declare const useV1ProjectsProjectIdRewardsImmutable: (path: V1ProjectsProjectId
|
|
|
73
82
|
id: number;
|
|
74
83
|
title: string | null;
|
|
75
84
|
description: string;
|
|
85
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
76
86
|
price: number;
|
|
77
87
|
href: string;
|
|
78
|
-
image:
|
|
88
|
+
image: {
|
|
89
|
+
src: string;
|
|
90
|
+
alt: string;
|
|
91
|
+
} | null;
|
|
79
92
|
stockCount: number | null;
|
|
80
93
|
reservedStockCount: number;
|
|
81
94
|
shipmentSchedule: string | null;
|
|
82
95
|
isLikeSuspended: boolean;
|
|
83
96
|
notBuyable: boolean;
|
|
84
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
85
97
|
paymentType: "onetime" | "monthly";
|
|
86
98
|
sellingStopped: boolean;
|
|
87
99
|
likeCharity: boolean;
|
|
@@ -1,159 +1,183 @@
|
|
|
1
1
|
import * as swr_infinite from 'swr/infinite';
|
|
2
2
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
3
|
+
import { components } from '../schemaType.mjs';
|
|
3
4
|
import * as swr from 'swr';
|
|
4
5
|
import { Arguments } from 'swr';
|
|
5
|
-
import { components } from '../schemaType.mjs';
|
|
6
6
|
import { Configuration } from '@readyfor/api-client-base/react';
|
|
7
7
|
import { 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;
|
|
13
|
-
title: string | null;
|
|
14
|
-
description: string;
|
|
15
|
-
price: number;
|
|
16
|
-
href: string;
|
|
17
|
-
image: components["schemas"]["Project_Reward_image"];
|
|
18
|
-
stockCount: number | null;
|
|
19
|
-
reservedStockCount: number;
|
|
20
|
-
shipmentSchedule: string | null;
|
|
21
|
-
isLikeSuspended: boolean;
|
|
22
|
-
notBuyable: boolean;
|
|
23
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
24
|
-
paymentType: "onetime" | "monthly";
|
|
25
|
-
sellingStopped: boolean;
|
|
26
|
-
likeCharity: boolean;
|
|
27
|
-
isSystemUsageFeeCase: boolean;
|
|
28
|
-
} | {
|
|
29
12
|
id: number | null;
|
|
30
13
|
title: string | null;
|
|
31
14
|
description: string | null;
|
|
15
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
32
16
|
price: number | null;
|
|
33
17
|
href: string | null;
|
|
34
|
-
image:
|
|
18
|
+
image: {
|
|
19
|
+
src: string;
|
|
20
|
+
alt: string;
|
|
21
|
+
} | null;
|
|
35
22
|
stockCount: number | null;
|
|
36
23
|
reservedStockCount: number | null;
|
|
37
24
|
shipmentSchedule: string | null;
|
|
38
25
|
isLikeSuspended: boolean | null;
|
|
39
26
|
notBuyable: boolean;
|
|
40
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
41
27
|
paymentType: "onetime" | "monthly";
|
|
42
28
|
sellingStopped: boolean | null;
|
|
43
29
|
likeCharity: boolean | null;
|
|
44
30
|
isSystemUsageFeeCase: boolean | null;
|
|
45
|
-
}
|
|
46
|
-
error: any;
|
|
47
|
-
mutate: swr.KeyedMutator<({
|
|
31
|
+
} | {
|
|
48
32
|
id: number;
|
|
49
33
|
title: string | null;
|
|
50
34
|
description: string;
|
|
35
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
51
36
|
price: number;
|
|
52
37
|
href: string;
|
|
53
|
-
image:
|
|
38
|
+
image: {
|
|
39
|
+
src: string;
|
|
40
|
+
alt: string;
|
|
41
|
+
} | null;
|
|
54
42
|
stockCount: number | null;
|
|
55
43
|
reservedStockCount: number;
|
|
56
44
|
shipmentSchedule: string | null;
|
|
57
45
|
isLikeSuspended: boolean;
|
|
58
46
|
notBuyable: boolean;
|
|
59
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
60
47
|
paymentType: "onetime" | "monthly";
|
|
61
48
|
sellingStopped: boolean;
|
|
62
49
|
likeCharity: boolean;
|
|
63
50
|
isSystemUsageFeeCase: boolean;
|
|
64
|
-
} |
|
|
51
|
+
})[] | undefined;
|
|
52
|
+
error: any;
|
|
53
|
+
mutate: swr.KeyedMutator<({
|
|
65
54
|
id: number | null;
|
|
66
55
|
title: string | null;
|
|
67
56
|
description: string | null;
|
|
57
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
68
58
|
price: number | null;
|
|
69
59
|
href: string | null;
|
|
70
|
-
image:
|
|
60
|
+
image: {
|
|
61
|
+
src: string;
|
|
62
|
+
alt: string;
|
|
63
|
+
} | null;
|
|
71
64
|
stockCount: number | null;
|
|
72
65
|
reservedStockCount: number | null;
|
|
73
66
|
shipmentSchedule: string | null;
|
|
74
67
|
isLikeSuspended: boolean | null;
|
|
75
68
|
notBuyable: boolean;
|
|
76
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
77
69
|
paymentType: "onetime" | "monthly";
|
|
78
70
|
sellingStopped: boolean | null;
|
|
79
71
|
likeCharity: boolean | null;
|
|
80
72
|
isSystemUsageFeeCase: boolean | null;
|
|
81
|
-
}
|
|
82
|
-
isValidating: boolean;
|
|
83
|
-
isLoading: boolean;
|
|
84
|
-
key: string;
|
|
85
|
-
};
|
|
86
|
-
declare const useV1ProjectsProjectIdRewardsForPreviewImmutable: (path: V1ProjectsProjectIdRewardsForPreviewGetPath, query: V1ProjectsProjectIdRewardsForPreviewGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdRewardsForPreviewGetResponse>) => {
|
|
87
|
-
data: ({
|
|
73
|
+
} | {
|
|
88
74
|
id: number;
|
|
89
75
|
title: string | null;
|
|
90
76
|
description: string;
|
|
77
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
91
78
|
price: number;
|
|
92
79
|
href: string;
|
|
93
|
-
image:
|
|
80
|
+
image: {
|
|
81
|
+
src: string;
|
|
82
|
+
alt: string;
|
|
83
|
+
} | null;
|
|
94
84
|
stockCount: number | null;
|
|
95
85
|
reservedStockCount: number;
|
|
96
86
|
shipmentSchedule: string | null;
|
|
97
87
|
isLikeSuspended: boolean;
|
|
98
88
|
notBuyable: boolean;
|
|
99
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
100
89
|
paymentType: "onetime" | "monthly";
|
|
101
90
|
sellingStopped: boolean;
|
|
102
91
|
likeCharity: boolean;
|
|
103
92
|
isSystemUsageFeeCase: boolean;
|
|
104
|
-
}
|
|
93
|
+
})[]>;
|
|
94
|
+
isValidating: boolean;
|
|
95
|
+
isLoading: boolean;
|
|
96
|
+
key: string;
|
|
97
|
+
};
|
|
98
|
+
declare const useV1ProjectsProjectIdRewardsForPreviewImmutable: (path: V1ProjectsProjectIdRewardsForPreviewGetPath, query: V1ProjectsProjectIdRewardsForPreviewGetQuery, swrConfig?: Configuration<V1ProjectsProjectIdRewardsForPreviewGetResponse>) => {
|
|
99
|
+
data: ({
|
|
105
100
|
id: number | null;
|
|
106
101
|
title: string | null;
|
|
107
102
|
description: string | null;
|
|
103
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
108
104
|
price: number | null;
|
|
109
105
|
href: string | null;
|
|
110
|
-
image:
|
|
106
|
+
image: {
|
|
107
|
+
src: string;
|
|
108
|
+
alt: string;
|
|
109
|
+
} | null;
|
|
111
110
|
stockCount: number | null;
|
|
112
111
|
reservedStockCount: number | null;
|
|
113
112
|
shipmentSchedule: string | null;
|
|
114
113
|
isLikeSuspended: boolean | null;
|
|
115
114
|
notBuyable: boolean;
|
|
116
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
117
115
|
paymentType: "onetime" | "monthly";
|
|
118
116
|
sellingStopped: boolean | null;
|
|
119
117
|
likeCharity: boolean | null;
|
|
120
118
|
isSystemUsageFeeCase: boolean | null;
|
|
121
|
-
}
|
|
122
|
-
error: any;
|
|
123
|
-
mutate: swr.KeyedMutator<({
|
|
119
|
+
} | {
|
|
124
120
|
id: number;
|
|
125
121
|
title: string | null;
|
|
126
122
|
description: string;
|
|
123
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
127
124
|
price: number;
|
|
128
125
|
href: string;
|
|
129
|
-
image:
|
|
126
|
+
image: {
|
|
127
|
+
src: string;
|
|
128
|
+
alt: string;
|
|
129
|
+
} | null;
|
|
130
130
|
stockCount: number | null;
|
|
131
131
|
reservedStockCount: number;
|
|
132
132
|
shipmentSchedule: string | null;
|
|
133
133
|
isLikeSuspended: boolean;
|
|
134
134
|
notBuyable: boolean;
|
|
135
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
136
135
|
paymentType: "onetime" | "monthly";
|
|
137
136
|
sellingStopped: boolean;
|
|
138
137
|
likeCharity: boolean;
|
|
139
138
|
isSystemUsageFeeCase: boolean;
|
|
140
|
-
} |
|
|
139
|
+
})[] | undefined;
|
|
140
|
+
error: any;
|
|
141
|
+
mutate: swr.KeyedMutator<({
|
|
141
142
|
id: number | null;
|
|
142
143
|
title: string | null;
|
|
143
144
|
description: string | null;
|
|
145
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
144
146
|
price: number | null;
|
|
145
147
|
href: string | null;
|
|
146
|
-
image:
|
|
148
|
+
image: {
|
|
149
|
+
src: string;
|
|
150
|
+
alt: string;
|
|
151
|
+
} | null;
|
|
147
152
|
stockCount: number | null;
|
|
148
153
|
reservedStockCount: number | null;
|
|
149
154
|
shipmentSchedule: string | null;
|
|
150
155
|
isLikeSuspended: boolean | null;
|
|
151
156
|
notBuyable: boolean;
|
|
152
|
-
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
153
157
|
paymentType: "onetime" | "monthly";
|
|
154
158
|
sellingStopped: boolean | null;
|
|
155
159
|
likeCharity: boolean | null;
|
|
156
160
|
isSystemUsageFeeCase: boolean | null;
|
|
161
|
+
} | {
|
|
162
|
+
id: number;
|
|
163
|
+
title: string | null;
|
|
164
|
+
description: string;
|
|
165
|
+
fundingModel: "all_or_nothing" | "keep_it_all" | "permanent_support" | "regular_steady" | "featured_steady";
|
|
166
|
+
price: number;
|
|
167
|
+
href: string;
|
|
168
|
+
image: {
|
|
169
|
+
src: string;
|
|
170
|
+
alt: string;
|
|
171
|
+
} | null;
|
|
172
|
+
stockCount: number | null;
|
|
173
|
+
reservedStockCount: number;
|
|
174
|
+
shipmentSchedule: string | null;
|
|
175
|
+
isLikeSuspended: boolean;
|
|
176
|
+
notBuyable: boolean;
|
|
177
|
+
paymentType: "onetime" | "monthly";
|
|
178
|
+
sellingStopped: boolean;
|
|
179
|
+
likeCharity: boolean;
|
|
180
|
+
isSystemUsageFeeCase: boolean;
|
|
157
181
|
})[]>;
|
|
158
182
|
isValidating: boolean;
|
|
159
183
|
isLoading: boolean;
|