@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,20 +1,62 @@
|
|
|
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 { V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetPath, V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetQuery, V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetResponse } from '../fetch/v1MyFundraisingMessageRoomsMessageRoomIdMessages.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1MyFundraisingMessageRoomsMessageRoomIdMessages: (path: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetPath, query: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
messages:
|
|
12
|
+
messages: ({
|
|
13
|
+
id: number;
|
|
14
|
+
body: string;
|
|
15
|
+
sentAt: string;
|
|
16
|
+
__type: "OtherMessage";
|
|
17
|
+
isRead: boolean;
|
|
18
|
+
user: {
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
imageUrl: string;
|
|
22
|
+
};
|
|
23
|
+
} | {
|
|
24
|
+
id: number;
|
|
25
|
+
body: string;
|
|
26
|
+
sentAt: string;
|
|
27
|
+
__type: "MyBulkMessage";
|
|
28
|
+
} | {
|
|
29
|
+
id: number;
|
|
30
|
+
body: string;
|
|
31
|
+
sentAt: string;
|
|
32
|
+
__type: "MyMessage";
|
|
33
|
+
})[];
|
|
13
34
|
hasNextMessages: boolean;
|
|
14
35
|
} | undefined;
|
|
15
36
|
error: any;
|
|
16
37
|
mutate: swr.KeyedMutator<{
|
|
17
|
-
messages:
|
|
38
|
+
messages: ({
|
|
39
|
+
id: number;
|
|
40
|
+
body: string;
|
|
41
|
+
sentAt: string;
|
|
42
|
+
__type: "OtherMessage";
|
|
43
|
+
isRead: boolean;
|
|
44
|
+
user: {
|
|
45
|
+
id: number;
|
|
46
|
+
name: string;
|
|
47
|
+
imageUrl: string;
|
|
48
|
+
};
|
|
49
|
+
} | {
|
|
50
|
+
id: number;
|
|
51
|
+
body: string;
|
|
52
|
+
sentAt: string;
|
|
53
|
+
__type: "MyBulkMessage";
|
|
54
|
+
} | {
|
|
55
|
+
id: number;
|
|
56
|
+
body: string;
|
|
57
|
+
sentAt: string;
|
|
58
|
+
__type: "MyMessage";
|
|
59
|
+
})[];
|
|
18
60
|
hasNextMessages: boolean;
|
|
19
61
|
}>;
|
|
20
62
|
isValidating: boolean;
|
|
@@ -23,12 +65,54 @@ declare const useV1MyFundraisingMessageRoomsMessageRoomIdMessages: (path: V1MyFu
|
|
|
23
65
|
};
|
|
24
66
|
declare const useV1MyFundraisingMessageRoomsMessageRoomIdMessagesImmutable: (path: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetPath, query: V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetQuery, swrConfig?: Configuration<V1MyFundraisingMessageRoomsMessageRoomIdMessagesGetResponse>) => {
|
|
25
67
|
data: {
|
|
26
|
-
messages:
|
|
68
|
+
messages: ({
|
|
69
|
+
id: number;
|
|
70
|
+
body: string;
|
|
71
|
+
sentAt: string;
|
|
72
|
+
__type: "OtherMessage";
|
|
73
|
+
isRead: boolean;
|
|
74
|
+
user: {
|
|
75
|
+
id: number;
|
|
76
|
+
name: string;
|
|
77
|
+
imageUrl: string;
|
|
78
|
+
};
|
|
79
|
+
} | {
|
|
80
|
+
id: number;
|
|
81
|
+
body: string;
|
|
82
|
+
sentAt: string;
|
|
83
|
+
__type: "MyBulkMessage";
|
|
84
|
+
} | {
|
|
85
|
+
id: number;
|
|
86
|
+
body: string;
|
|
87
|
+
sentAt: string;
|
|
88
|
+
__type: "MyMessage";
|
|
89
|
+
})[];
|
|
27
90
|
hasNextMessages: boolean;
|
|
28
91
|
} | undefined;
|
|
29
92
|
error: any;
|
|
30
93
|
mutate: swr.KeyedMutator<{
|
|
31
|
-
messages:
|
|
94
|
+
messages: ({
|
|
95
|
+
id: number;
|
|
96
|
+
body: string;
|
|
97
|
+
sentAt: string;
|
|
98
|
+
__type: "OtherMessage";
|
|
99
|
+
isRead: boolean;
|
|
100
|
+
user: {
|
|
101
|
+
id: number;
|
|
102
|
+
name: string;
|
|
103
|
+
imageUrl: string;
|
|
104
|
+
};
|
|
105
|
+
} | {
|
|
106
|
+
id: number;
|
|
107
|
+
body: string;
|
|
108
|
+
sentAt: string;
|
|
109
|
+
__type: "MyBulkMessage";
|
|
110
|
+
} | {
|
|
111
|
+
id: number;
|
|
112
|
+
body: string;
|
|
113
|
+
sentAt: string;
|
|
114
|
+
__type: "MyMessage";
|
|
115
|
+
})[];
|
|
32
116
|
hasNextMessages: boolean;
|
|
33
117
|
}>;
|
|
34
118
|
isValidating: boolean;
|
|
@@ -1,20 +1,146 @@
|
|
|
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 { V1MyFundraisingProjectsGetResponse } from '../fetch/v1MyFundraisingProjects.mjs';
|
|
8
8
|
|
|
9
9
|
declare const useV1MyFundraisingProjects: (swrConfig?: Configuration<V1MyFundraisingProjectsGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
-
projects:
|
|
12
|
-
|
|
11
|
+
projects: {
|
|
12
|
+
status: {
|
|
13
|
+
projectStatus: "draft" | "open" | "prepared";
|
|
14
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
15
|
+
} | {
|
|
16
|
+
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
17
|
+
};
|
|
18
|
+
id: number;
|
|
19
|
+
title: string | null;
|
|
20
|
+
updatedAt: string;
|
|
21
|
+
fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
|
|
22
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
23
|
+
displayPlanName: string;
|
|
24
|
+
hasPartnership: boolean;
|
|
25
|
+
imageUrl?: string | undefined;
|
|
26
|
+
}[];
|
|
27
|
+
openProjects: ({
|
|
28
|
+
status: {
|
|
29
|
+
projectStatus: "open";
|
|
30
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
31
|
+
};
|
|
32
|
+
id: number;
|
|
33
|
+
title: string;
|
|
34
|
+
__type: "RegularSteadyCrowdfundingProject";
|
|
35
|
+
fundingModel: "regularSteady";
|
|
36
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
37
|
+
displayPlanName: string;
|
|
38
|
+
currentNumberOfMonthlySupporters: number;
|
|
39
|
+
ordersCount: number;
|
|
40
|
+
imageUrl?: string | undefined;
|
|
41
|
+
} | {
|
|
42
|
+
status: {
|
|
43
|
+
projectStatus: "open";
|
|
44
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
45
|
+
};
|
|
46
|
+
id: number;
|
|
47
|
+
title: string;
|
|
48
|
+
__type: "FeaturedSteadyCrowdfundingProject";
|
|
49
|
+
fundingModel: "featuredSteady";
|
|
50
|
+
totalNumberOfSupporters: number;
|
|
51
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
52
|
+
displayPlanName: string;
|
|
53
|
+
goalNumberOfSupporters: number;
|
|
54
|
+
expiredAt: string;
|
|
55
|
+
ordersCount: number;
|
|
56
|
+
imageUrl?: string | undefined;
|
|
57
|
+
} | {
|
|
58
|
+
status: {
|
|
59
|
+
projectStatus: "open";
|
|
60
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
61
|
+
};
|
|
62
|
+
id: number;
|
|
63
|
+
title: string;
|
|
64
|
+
__type: "SpotCrowdfundingProject";
|
|
65
|
+
fundingModel: "allOrNothing" | "keepItAll";
|
|
66
|
+
payAmount: number;
|
|
67
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
68
|
+
displayPlanName: string;
|
|
69
|
+
expiredAt: string;
|
|
70
|
+
hasPartnership: boolean;
|
|
71
|
+
goalAmount: number;
|
|
72
|
+
ordersCount: number;
|
|
73
|
+
nextGoal?: number | undefined;
|
|
74
|
+
imageUrl?: string | undefined;
|
|
75
|
+
})[];
|
|
13
76
|
} | undefined;
|
|
14
77
|
error: any;
|
|
15
78
|
mutate: swr.KeyedMutator<{
|
|
16
|
-
projects:
|
|
17
|
-
|
|
79
|
+
projects: {
|
|
80
|
+
status: {
|
|
81
|
+
projectStatus: "draft" | "open" | "prepared";
|
|
82
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
83
|
+
} | {
|
|
84
|
+
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
85
|
+
};
|
|
86
|
+
id: number;
|
|
87
|
+
title: string | null;
|
|
88
|
+
updatedAt: string;
|
|
89
|
+
fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
|
|
90
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
91
|
+
displayPlanName: string;
|
|
92
|
+
hasPartnership: boolean;
|
|
93
|
+
imageUrl?: string | undefined;
|
|
94
|
+
}[];
|
|
95
|
+
openProjects: ({
|
|
96
|
+
status: {
|
|
97
|
+
projectStatus: "open";
|
|
98
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
99
|
+
};
|
|
100
|
+
id: number;
|
|
101
|
+
title: string;
|
|
102
|
+
__type: "RegularSteadyCrowdfundingProject";
|
|
103
|
+
fundingModel: "regularSteady";
|
|
104
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
105
|
+
displayPlanName: string;
|
|
106
|
+
currentNumberOfMonthlySupporters: number;
|
|
107
|
+
ordersCount: number;
|
|
108
|
+
imageUrl?: string | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
status: {
|
|
111
|
+
projectStatus: "open";
|
|
112
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
113
|
+
};
|
|
114
|
+
id: number;
|
|
115
|
+
title: string;
|
|
116
|
+
__type: "FeaturedSteadyCrowdfundingProject";
|
|
117
|
+
fundingModel: "featuredSteady";
|
|
118
|
+
totalNumberOfSupporters: number;
|
|
119
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
120
|
+
displayPlanName: string;
|
|
121
|
+
goalNumberOfSupporters: number;
|
|
122
|
+
expiredAt: string;
|
|
123
|
+
ordersCount: number;
|
|
124
|
+
imageUrl?: string | undefined;
|
|
125
|
+
} | {
|
|
126
|
+
status: {
|
|
127
|
+
projectStatus: "open";
|
|
128
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
129
|
+
};
|
|
130
|
+
id: number;
|
|
131
|
+
title: string;
|
|
132
|
+
__type: "SpotCrowdfundingProject";
|
|
133
|
+
fundingModel: "allOrNothing" | "keepItAll";
|
|
134
|
+
payAmount: number;
|
|
135
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
136
|
+
displayPlanName: string;
|
|
137
|
+
expiredAt: string;
|
|
138
|
+
hasPartnership: boolean;
|
|
139
|
+
goalAmount: number;
|
|
140
|
+
ordersCount: number;
|
|
141
|
+
nextGoal?: number | undefined;
|
|
142
|
+
imageUrl?: string | undefined;
|
|
143
|
+
})[];
|
|
18
144
|
}>;
|
|
19
145
|
isValidating: boolean;
|
|
20
146
|
isLoading: boolean;
|
|
@@ -22,13 +148,139 @@ declare const useV1MyFundraisingProjects: (swrConfig?: Configuration<V1MyFundrai
|
|
|
22
148
|
};
|
|
23
149
|
declare const useV1MyFundraisingProjectsImmutable: (swrConfig?: Configuration<V1MyFundraisingProjectsGetResponse>) => {
|
|
24
150
|
data: {
|
|
25
|
-
projects:
|
|
26
|
-
|
|
151
|
+
projects: {
|
|
152
|
+
status: {
|
|
153
|
+
projectStatus: "draft" | "open" | "prepared";
|
|
154
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
155
|
+
} | {
|
|
156
|
+
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
157
|
+
};
|
|
158
|
+
id: number;
|
|
159
|
+
title: string | null;
|
|
160
|
+
updatedAt: string;
|
|
161
|
+
fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
|
|
162
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
163
|
+
displayPlanName: string;
|
|
164
|
+
hasPartnership: boolean;
|
|
165
|
+
imageUrl?: string | undefined;
|
|
166
|
+
}[];
|
|
167
|
+
openProjects: ({
|
|
168
|
+
status: {
|
|
169
|
+
projectStatus: "open";
|
|
170
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
171
|
+
};
|
|
172
|
+
id: number;
|
|
173
|
+
title: string;
|
|
174
|
+
__type: "RegularSteadyCrowdfundingProject";
|
|
175
|
+
fundingModel: "regularSteady";
|
|
176
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
177
|
+
displayPlanName: string;
|
|
178
|
+
currentNumberOfMonthlySupporters: number;
|
|
179
|
+
ordersCount: number;
|
|
180
|
+
imageUrl?: string | undefined;
|
|
181
|
+
} | {
|
|
182
|
+
status: {
|
|
183
|
+
projectStatus: "open";
|
|
184
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
185
|
+
};
|
|
186
|
+
id: number;
|
|
187
|
+
title: string;
|
|
188
|
+
__type: "FeaturedSteadyCrowdfundingProject";
|
|
189
|
+
fundingModel: "featuredSteady";
|
|
190
|
+
totalNumberOfSupporters: number;
|
|
191
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
192
|
+
displayPlanName: string;
|
|
193
|
+
goalNumberOfSupporters: number;
|
|
194
|
+
expiredAt: string;
|
|
195
|
+
ordersCount: number;
|
|
196
|
+
imageUrl?: string | undefined;
|
|
197
|
+
} | {
|
|
198
|
+
status: {
|
|
199
|
+
projectStatus: "open";
|
|
200
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
201
|
+
};
|
|
202
|
+
id: number;
|
|
203
|
+
title: string;
|
|
204
|
+
__type: "SpotCrowdfundingProject";
|
|
205
|
+
fundingModel: "allOrNothing" | "keepItAll";
|
|
206
|
+
payAmount: number;
|
|
207
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
208
|
+
displayPlanName: string;
|
|
209
|
+
expiredAt: string;
|
|
210
|
+
hasPartnership: boolean;
|
|
211
|
+
goalAmount: number;
|
|
212
|
+
ordersCount: number;
|
|
213
|
+
nextGoal?: number | undefined;
|
|
214
|
+
imageUrl?: string | undefined;
|
|
215
|
+
})[];
|
|
27
216
|
} | undefined;
|
|
28
217
|
error: any;
|
|
29
218
|
mutate: swr.KeyedMutator<{
|
|
30
|
-
projects:
|
|
31
|
-
|
|
219
|
+
projects: {
|
|
220
|
+
status: {
|
|
221
|
+
projectStatus: "draft" | "open" | "prepared";
|
|
222
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
223
|
+
} | {
|
|
224
|
+
projectStatus: "scheduled" | "unsuccessful" | "successful" | "suspended" | "veiled" | "counting" | "interrupted";
|
|
225
|
+
};
|
|
226
|
+
id: number;
|
|
227
|
+
title: string | null;
|
|
228
|
+
updatedAt: string;
|
|
229
|
+
fundingModel: "regularSteady" | "featuredSteady" | "allOrNothing" | "keepItAll";
|
|
230
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
231
|
+
displayPlanName: string;
|
|
232
|
+
hasPartnership: boolean;
|
|
233
|
+
imageUrl?: string | undefined;
|
|
234
|
+
}[];
|
|
235
|
+
openProjects: ({
|
|
236
|
+
status: {
|
|
237
|
+
projectStatus: "open";
|
|
238
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
239
|
+
};
|
|
240
|
+
id: number;
|
|
241
|
+
title: string;
|
|
242
|
+
__type: "RegularSteadyCrowdfundingProject";
|
|
243
|
+
fundingModel: "regularSteady";
|
|
244
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
245
|
+
displayPlanName: string;
|
|
246
|
+
currentNumberOfMonthlySupporters: number;
|
|
247
|
+
ordersCount: number;
|
|
248
|
+
imageUrl?: string | undefined;
|
|
249
|
+
} | {
|
|
250
|
+
status: {
|
|
251
|
+
projectStatus: "open";
|
|
252
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
253
|
+
};
|
|
254
|
+
id: number;
|
|
255
|
+
title: string;
|
|
256
|
+
__type: "FeaturedSteadyCrowdfundingProject";
|
|
257
|
+
fundingModel: "featuredSteady";
|
|
258
|
+
totalNumberOfSupporters: number;
|
|
259
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
260
|
+
displayPlanName: string;
|
|
261
|
+
goalNumberOfSupporters: number;
|
|
262
|
+
expiredAt: string;
|
|
263
|
+
ordersCount: number;
|
|
264
|
+
imageUrl?: string | undefined;
|
|
265
|
+
} | {
|
|
266
|
+
status: {
|
|
267
|
+
projectStatus: "open";
|
|
268
|
+
reviewStatus: "none" | "ongoing" | "feedBack";
|
|
269
|
+
};
|
|
270
|
+
id: number;
|
|
271
|
+
title: string;
|
|
272
|
+
__type: "SpotCrowdfundingProject";
|
|
273
|
+
fundingModel: "allOrNothing" | "keepItAll";
|
|
274
|
+
payAmount: number;
|
|
275
|
+
plan: "basic" | "support" | "consulting" | "simple" | "fullSupport" | "simpleSteady" | "fullSupportSteady";
|
|
276
|
+
displayPlanName: string;
|
|
277
|
+
expiredAt: string;
|
|
278
|
+
hasPartnership: boolean;
|
|
279
|
+
goalAmount: number;
|
|
280
|
+
ordersCount: number;
|
|
281
|
+
nextGoal?: number | undefined;
|
|
282
|
+
imageUrl?: string | undefined;
|
|
283
|
+
})[];
|
|
32
284
|
}>;
|
|
33
285
|
isValidating: boolean;
|
|
34
286
|
isLoading: boolean;
|