@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,27 +1,19 @@
|
|
|
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 { V1MyBulkMessagesBulkMessageIdToUsersGetPath, V1MyBulkMessagesBulkMessageIdToUsersGetResponse } from '../fetch/v1MyBulkMessagesBulkMessageIdToUsers.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1MyBulkMessagesBulkMessageIdToUsers: (path: V1MyBulkMessagesBulkMessageIdToUsersGetPath, swrConfig?: Configuration<V1MyBulkMessagesBulkMessageIdToUsersGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
users:
|
|
13
|
-
id: number;
|
|
14
|
-
name: string;
|
|
15
|
-
iconUrl: string;
|
|
16
|
-
}[];
|
|
12
|
+
users: components["schemas"]["ToUser"][];
|
|
17
13
|
} | undefined;
|
|
18
14
|
error: any;
|
|
19
15
|
mutate: swr.KeyedMutator<{
|
|
20
|
-
users:
|
|
21
|
-
id: number;
|
|
22
|
-
name: string;
|
|
23
|
-
iconUrl: string;
|
|
24
|
-
}[];
|
|
16
|
+
users: components["schemas"]["ToUser"][];
|
|
25
17
|
}>;
|
|
26
18
|
isValidating: boolean;
|
|
27
19
|
isLoading: boolean;
|
|
@@ -29,19 +21,11 @@ declare const useV1MyBulkMessagesBulkMessageIdToUsers: (path: V1MyBulkMessagesBu
|
|
|
29
21
|
};
|
|
30
22
|
declare const useV1MyBulkMessagesBulkMessageIdToUsersImmutable: (path: V1MyBulkMessagesBulkMessageIdToUsersGetPath, swrConfig?: Configuration<V1MyBulkMessagesBulkMessageIdToUsersGetResponse>) => {
|
|
31
23
|
data: {
|
|
32
|
-
users:
|
|
33
|
-
id: number;
|
|
34
|
-
name: string;
|
|
35
|
-
iconUrl: string;
|
|
36
|
-
}[];
|
|
24
|
+
users: components["schemas"]["ToUser"][];
|
|
37
25
|
} | undefined;
|
|
38
26
|
error: any;
|
|
39
27
|
mutate: swr.KeyedMutator<{
|
|
40
|
-
users:
|
|
41
|
-
id: number;
|
|
42
|
-
name: string;
|
|
43
|
-
iconUrl: string;
|
|
44
|
-
}[];
|
|
28
|
+
users: components["schemas"]["ToUser"][];
|
|
45
29
|
}>;
|
|
46
30
|
isValidating: boolean;
|
|
47
31
|
isLoading: boolean;
|
|
@@ -8,19 +8,19 @@ import '../schemaType.mjs';
|
|
|
8
8
|
|
|
9
9
|
declare const useV1MyEngagementFavoriteTags: (swrConfig?: Configuration<V1MyEngagementFavoriteTagsGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
-
type: 0 | 1 | 2 | 3;
|
|
12
11
|
id: number;
|
|
13
12
|
name: string;
|
|
14
13
|
keyword: string;
|
|
15
14
|
parentIds: number[];
|
|
15
|
+
type: 0 | 1 | 2 | 3;
|
|
16
16
|
}[] | undefined;
|
|
17
17
|
error: any;
|
|
18
18
|
mutate: swr.KeyedMutator<{
|
|
19
|
-
type: 0 | 1 | 2 | 3;
|
|
20
19
|
id: number;
|
|
21
20
|
name: string;
|
|
22
21
|
keyword: string;
|
|
23
22
|
parentIds: number[];
|
|
23
|
+
type: 0 | 1 | 2 | 3;
|
|
24
24
|
}[]>;
|
|
25
25
|
isValidating: boolean;
|
|
26
26
|
isLoading: boolean;
|
|
@@ -28,19 +28,19 @@ declare const useV1MyEngagementFavoriteTags: (swrConfig?: Configuration<V1MyEnga
|
|
|
28
28
|
};
|
|
29
29
|
declare const useV1MyEngagementFavoriteTagsImmutable: (swrConfig?: Configuration<V1MyEngagementFavoriteTagsGetResponse>) => {
|
|
30
30
|
data: {
|
|
31
|
-
type: 0 | 1 | 2 | 3;
|
|
32
31
|
id: number;
|
|
33
32
|
name: string;
|
|
34
33
|
keyword: string;
|
|
35
34
|
parentIds: number[];
|
|
35
|
+
type: 0 | 1 | 2 | 3;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
error: any;
|
|
38
38
|
mutate: swr.KeyedMutator<{
|
|
39
|
-
type: 0 | 1 | 2 | 3;
|
|
40
39
|
id: number;
|
|
41
40
|
name: string;
|
|
42
41
|
keyword: string;
|
|
43
42
|
parentIds: number[];
|
|
43
|
+
type: 0 | 1 | 2 | 3;
|
|
44
44
|
}[]>;
|
|
45
45
|
isValidating: boolean;
|
|
46
46
|
isLoading: boolean;
|
|
@@ -8,19 +8,19 @@ import '../schemaType.js';
|
|
|
8
8
|
|
|
9
9
|
declare const useV1MyEngagementFavoriteTags: (swrConfig?: Configuration<V1MyEngagementFavoriteTagsGetResponse>) => {
|
|
10
10
|
data: {
|
|
11
|
-
type: 0 | 1 | 2 | 3;
|
|
12
11
|
id: number;
|
|
13
12
|
name: string;
|
|
14
13
|
keyword: string;
|
|
15
14
|
parentIds: number[];
|
|
15
|
+
type: 0 | 1 | 2 | 3;
|
|
16
16
|
}[] | undefined;
|
|
17
17
|
error: any;
|
|
18
18
|
mutate: swr.KeyedMutator<{
|
|
19
|
-
type: 0 | 1 | 2 | 3;
|
|
20
19
|
id: number;
|
|
21
20
|
name: string;
|
|
22
21
|
keyword: string;
|
|
23
22
|
parentIds: number[];
|
|
23
|
+
type: 0 | 1 | 2 | 3;
|
|
24
24
|
}[]>;
|
|
25
25
|
isValidating: boolean;
|
|
26
26
|
isLoading: boolean;
|
|
@@ -28,19 +28,19 @@ declare const useV1MyEngagementFavoriteTags: (swrConfig?: Configuration<V1MyEnga
|
|
|
28
28
|
};
|
|
29
29
|
declare const useV1MyEngagementFavoriteTagsImmutable: (swrConfig?: Configuration<V1MyEngagementFavoriteTagsGetResponse>) => {
|
|
30
30
|
data: {
|
|
31
|
-
type: 0 | 1 | 2 | 3;
|
|
32
31
|
id: number;
|
|
33
32
|
name: string;
|
|
34
33
|
keyword: string;
|
|
35
34
|
parentIds: number[];
|
|
35
|
+
type: 0 | 1 | 2 | 3;
|
|
36
36
|
}[] | undefined;
|
|
37
37
|
error: any;
|
|
38
38
|
mutate: swr.KeyedMutator<{
|
|
39
|
-
type: 0 | 1 | 2 | 3;
|
|
40
39
|
id: number;
|
|
41
40
|
name: string;
|
|
42
41
|
keyword: string;
|
|
43
42
|
parentIds: number[];
|
|
43
|
+
type: 0 | 1 | 2 | 3;
|
|
44
44
|
}[]>;
|
|
45
45
|
isValidating: boolean;
|
|
46
46
|
isLoading: boolean;
|
|
@@ -1,111 +1,21 @@
|
|
|
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 { V1MyFundraisingAnnouncementsGetQuery, V1MyFundraisingAnnouncementsGetResponse } from '../fetch/v1MyFundraisingAnnouncements.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1MyFundraisingAnnouncements: (query: V1MyFundraisingAnnouncementsGetQuery, swrConfig?: Configuration<V1MyFundraisingAnnouncementsGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
totalCount: number;
|
|
15
|
-
totalPages: number;
|
|
16
|
-
currentPerPage: number;
|
|
17
|
-
isFirstPage: boolean;
|
|
18
|
-
isLastPage: boolean;
|
|
19
|
-
prevPage?: number | undefined;
|
|
20
|
-
nextPage?: number | undefined;
|
|
21
|
-
};
|
|
22
|
-
announcements: ({
|
|
23
|
-
status: "open";
|
|
24
|
-
id: number;
|
|
25
|
-
title: string;
|
|
26
|
-
postedAt: string;
|
|
27
|
-
project: {
|
|
28
|
-
id: number;
|
|
29
|
-
keyword: string;
|
|
30
|
-
title: string;
|
|
31
|
-
};
|
|
32
|
-
imageUrl?: string | undefined;
|
|
33
|
-
} | {
|
|
34
|
-
status: "scheduled";
|
|
35
|
-
id: number;
|
|
36
|
-
title: string;
|
|
37
|
-
project: {
|
|
38
|
-
id: number;
|
|
39
|
-
keyword: string;
|
|
40
|
-
title: string;
|
|
41
|
-
};
|
|
42
|
-
postScheduledAt: string;
|
|
43
|
-
updatedAt: string;
|
|
44
|
-
imageUrl?: string | undefined;
|
|
45
|
-
} | {
|
|
46
|
-
status: "draft";
|
|
47
|
-
id: number;
|
|
48
|
-
title: string;
|
|
49
|
-
description: string;
|
|
50
|
-
project: {
|
|
51
|
-
id: number;
|
|
52
|
-
keyword: string;
|
|
53
|
-
title: string;
|
|
54
|
-
};
|
|
55
|
-
updatedAt: string;
|
|
56
|
-
createdAt: string;
|
|
57
|
-
imageUrl?: string | undefined;
|
|
58
|
-
})[];
|
|
12
|
+
announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
|
|
13
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
59
14
|
} | undefined;
|
|
60
15
|
error: any;
|
|
61
16
|
mutate: swr.KeyedMutator<{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
totalCount: number;
|
|
65
|
-
totalPages: number;
|
|
66
|
-
currentPerPage: number;
|
|
67
|
-
isFirstPage: boolean;
|
|
68
|
-
isLastPage: boolean;
|
|
69
|
-
prevPage?: number | undefined;
|
|
70
|
-
nextPage?: number | undefined;
|
|
71
|
-
};
|
|
72
|
-
announcements: ({
|
|
73
|
-
status: "open";
|
|
74
|
-
id: number;
|
|
75
|
-
title: string;
|
|
76
|
-
postedAt: string;
|
|
77
|
-
project: {
|
|
78
|
-
id: number;
|
|
79
|
-
keyword: string;
|
|
80
|
-
title: string;
|
|
81
|
-
};
|
|
82
|
-
imageUrl?: string | undefined;
|
|
83
|
-
} | {
|
|
84
|
-
status: "scheduled";
|
|
85
|
-
id: number;
|
|
86
|
-
title: string;
|
|
87
|
-
project: {
|
|
88
|
-
id: number;
|
|
89
|
-
keyword: string;
|
|
90
|
-
title: string;
|
|
91
|
-
};
|
|
92
|
-
postScheduledAt: string;
|
|
93
|
-
updatedAt: string;
|
|
94
|
-
imageUrl?: string | undefined;
|
|
95
|
-
} | {
|
|
96
|
-
status: "draft";
|
|
97
|
-
id: number;
|
|
98
|
-
title: string;
|
|
99
|
-
description: string;
|
|
100
|
-
project: {
|
|
101
|
-
id: number;
|
|
102
|
-
keyword: string;
|
|
103
|
-
title: string;
|
|
104
|
-
};
|
|
105
|
-
updatedAt: string;
|
|
106
|
-
createdAt: string;
|
|
107
|
-
imageUrl?: string | undefined;
|
|
108
|
-
})[];
|
|
17
|
+
announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
|
|
18
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
109
19
|
}>;
|
|
110
20
|
isValidating: boolean;
|
|
111
21
|
isLoading: boolean;
|
|
@@ -113,103 +23,13 @@ declare const useV1MyFundraisingAnnouncements: (query: V1MyFundraisingAnnounceme
|
|
|
113
23
|
};
|
|
114
24
|
declare const useV1MyFundraisingAnnouncementsImmutable: (query: V1MyFundraisingAnnouncementsGetQuery, swrConfig?: Configuration<V1MyFundraisingAnnouncementsGetResponse>) => {
|
|
115
25
|
data: {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
totalCount: number;
|
|
119
|
-
totalPages: number;
|
|
120
|
-
currentPerPage: number;
|
|
121
|
-
isFirstPage: boolean;
|
|
122
|
-
isLastPage: boolean;
|
|
123
|
-
prevPage?: number | undefined;
|
|
124
|
-
nextPage?: number | undefined;
|
|
125
|
-
};
|
|
126
|
-
announcements: ({
|
|
127
|
-
status: "open";
|
|
128
|
-
id: number;
|
|
129
|
-
title: string;
|
|
130
|
-
postedAt: string;
|
|
131
|
-
project: {
|
|
132
|
-
id: number;
|
|
133
|
-
keyword: string;
|
|
134
|
-
title: string;
|
|
135
|
-
};
|
|
136
|
-
imageUrl?: string | undefined;
|
|
137
|
-
} | {
|
|
138
|
-
status: "scheduled";
|
|
139
|
-
id: number;
|
|
140
|
-
title: string;
|
|
141
|
-
project: {
|
|
142
|
-
id: number;
|
|
143
|
-
keyword: string;
|
|
144
|
-
title: string;
|
|
145
|
-
};
|
|
146
|
-
postScheduledAt: string;
|
|
147
|
-
updatedAt: string;
|
|
148
|
-
imageUrl?: string | undefined;
|
|
149
|
-
} | {
|
|
150
|
-
status: "draft";
|
|
151
|
-
id: number;
|
|
152
|
-
title: string;
|
|
153
|
-
description: string;
|
|
154
|
-
project: {
|
|
155
|
-
id: number;
|
|
156
|
-
keyword: string;
|
|
157
|
-
title: string;
|
|
158
|
-
};
|
|
159
|
-
updatedAt: string;
|
|
160
|
-
createdAt: string;
|
|
161
|
-
imageUrl?: string | undefined;
|
|
162
|
-
})[];
|
|
26
|
+
announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
|
|
27
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
163
28
|
} | undefined;
|
|
164
29
|
error: any;
|
|
165
30
|
mutate: swr.KeyedMutator<{
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
totalCount: number;
|
|
169
|
-
totalPages: number;
|
|
170
|
-
currentPerPage: number;
|
|
171
|
-
isFirstPage: boolean;
|
|
172
|
-
isLastPage: boolean;
|
|
173
|
-
prevPage?: number | undefined;
|
|
174
|
-
nextPage?: number | undefined;
|
|
175
|
-
};
|
|
176
|
-
announcements: ({
|
|
177
|
-
status: "open";
|
|
178
|
-
id: number;
|
|
179
|
-
title: string;
|
|
180
|
-
postedAt: string;
|
|
181
|
-
project: {
|
|
182
|
-
id: number;
|
|
183
|
-
keyword: string;
|
|
184
|
-
title: string;
|
|
185
|
-
};
|
|
186
|
-
imageUrl?: string | undefined;
|
|
187
|
-
} | {
|
|
188
|
-
status: "scheduled";
|
|
189
|
-
id: number;
|
|
190
|
-
title: string;
|
|
191
|
-
project: {
|
|
192
|
-
id: number;
|
|
193
|
-
keyword: string;
|
|
194
|
-
title: string;
|
|
195
|
-
};
|
|
196
|
-
postScheduledAt: string;
|
|
197
|
-
updatedAt: string;
|
|
198
|
-
imageUrl?: string | undefined;
|
|
199
|
-
} | {
|
|
200
|
-
status: "draft";
|
|
201
|
-
id: number;
|
|
202
|
-
title: string;
|
|
203
|
-
description: string;
|
|
204
|
-
project: {
|
|
205
|
-
id: number;
|
|
206
|
-
keyword: string;
|
|
207
|
-
title: string;
|
|
208
|
-
};
|
|
209
|
-
updatedAt: string;
|
|
210
|
-
createdAt: string;
|
|
211
|
-
imageUrl?: string | undefined;
|
|
212
|
-
})[];
|
|
31
|
+
announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
|
|
32
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
213
33
|
}>;
|
|
214
34
|
isValidating: boolean;
|
|
215
35
|
isLoading: boolean;
|
|
@@ -1,111 +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 { V1MyFundraisingAnnouncementsGetQuery, V1MyFundraisingAnnouncementsGetResponse } from '../fetch/v1MyFundraisingAnnouncements.js';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
9
9
|
|
|
10
10
|
declare const useV1MyFundraisingAnnouncements: (query: V1MyFundraisingAnnouncementsGetQuery, swrConfig?: Configuration<V1MyFundraisingAnnouncementsGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
totalCount: number;
|
|
15
|
-
totalPages: number;
|
|
16
|
-
currentPerPage: number;
|
|
17
|
-
isFirstPage: boolean;
|
|
18
|
-
isLastPage: boolean;
|
|
19
|
-
prevPage?: number | undefined;
|
|
20
|
-
nextPage?: number | undefined;
|
|
21
|
-
};
|
|
22
|
-
announcements: ({
|
|
23
|
-
status: "open";
|
|
24
|
-
id: number;
|
|
25
|
-
title: string;
|
|
26
|
-
postedAt: string;
|
|
27
|
-
project: {
|
|
28
|
-
id: number;
|
|
29
|
-
keyword: string;
|
|
30
|
-
title: string;
|
|
31
|
-
};
|
|
32
|
-
imageUrl?: string | undefined;
|
|
33
|
-
} | {
|
|
34
|
-
status: "scheduled";
|
|
35
|
-
id: number;
|
|
36
|
-
title: string;
|
|
37
|
-
project: {
|
|
38
|
-
id: number;
|
|
39
|
-
keyword: string;
|
|
40
|
-
title: string;
|
|
41
|
-
};
|
|
42
|
-
postScheduledAt: string;
|
|
43
|
-
updatedAt: string;
|
|
44
|
-
imageUrl?: string | undefined;
|
|
45
|
-
} | {
|
|
46
|
-
status: "draft";
|
|
47
|
-
id: number;
|
|
48
|
-
title: string;
|
|
49
|
-
description: string;
|
|
50
|
-
project: {
|
|
51
|
-
id: number;
|
|
52
|
-
keyword: string;
|
|
53
|
-
title: string;
|
|
54
|
-
};
|
|
55
|
-
updatedAt: string;
|
|
56
|
-
createdAt: string;
|
|
57
|
-
imageUrl?: string | undefined;
|
|
58
|
-
})[];
|
|
12
|
+
announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
|
|
13
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
59
14
|
} | undefined;
|
|
60
15
|
error: any;
|
|
61
16
|
mutate: swr.KeyedMutator<{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
totalCount: number;
|
|
65
|
-
totalPages: number;
|
|
66
|
-
currentPerPage: number;
|
|
67
|
-
isFirstPage: boolean;
|
|
68
|
-
isLastPage: boolean;
|
|
69
|
-
prevPage?: number | undefined;
|
|
70
|
-
nextPage?: number | undefined;
|
|
71
|
-
};
|
|
72
|
-
announcements: ({
|
|
73
|
-
status: "open";
|
|
74
|
-
id: number;
|
|
75
|
-
title: string;
|
|
76
|
-
postedAt: string;
|
|
77
|
-
project: {
|
|
78
|
-
id: number;
|
|
79
|
-
keyword: string;
|
|
80
|
-
title: string;
|
|
81
|
-
};
|
|
82
|
-
imageUrl?: string | undefined;
|
|
83
|
-
} | {
|
|
84
|
-
status: "scheduled";
|
|
85
|
-
id: number;
|
|
86
|
-
title: string;
|
|
87
|
-
project: {
|
|
88
|
-
id: number;
|
|
89
|
-
keyword: string;
|
|
90
|
-
title: string;
|
|
91
|
-
};
|
|
92
|
-
postScheduledAt: string;
|
|
93
|
-
updatedAt: string;
|
|
94
|
-
imageUrl?: string | undefined;
|
|
95
|
-
} | {
|
|
96
|
-
status: "draft";
|
|
97
|
-
id: number;
|
|
98
|
-
title: string;
|
|
99
|
-
description: string;
|
|
100
|
-
project: {
|
|
101
|
-
id: number;
|
|
102
|
-
keyword: string;
|
|
103
|
-
title: string;
|
|
104
|
-
};
|
|
105
|
-
updatedAt: string;
|
|
106
|
-
createdAt: string;
|
|
107
|
-
imageUrl?: string | undefined;
|
|
108
|
-
})[];
|
|
17
|
+
announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
|
|
18
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
109
19
|
}>;
|
|
110
20
|
isValidating: boolean;
|
|
111
21
|
isLoading: boolean;
|
|
@@ -113,103 +23,13 @@ declare const useV1MyFundraisingAnnouncements: (query: V1MyFundraisingAnnounceme
|
|
|
113
23
|
};
|
|
114
24
|
declare const useV1MyFundraisingAnnouncementsImmutable: (query: V1MyFundraisingAnnouncementsGetQuery, swrConfig?: Configuration<V1MyFundraisingAnnouncementsGetResponse>) => {
|
|
115
25
|
data: {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
totalCount: number;
|
|
119
|
-
totalPages: number;
|
|
120
|
-
currentPerPage: number;
|
|
121
|
-
isFirstPage: boolean;
|
|
122
|
-
isLastPage: boolean;
|
|
123
|
-
prevPage?: number | undefined;
|
|
124
|
-
nextPage?: number | undefined;
|
|
125
|
-
};
|
|
126
|
-
announcements: ({
|
|
127
|
-
status: "open";
|
|
128
|
-
id: number;
|
|
129
|
-
title: string;
|
|
130
|
-
postedAt: string;
|
|
131
|
-
project: {
|
|
132
|
-
id: number;
|
|
133
|
-
keyword: string;
|
|
134
|
-
title: string;
|
|
135
|
-
};
|
|
136
|
-
imageUrl?: string | undefined;
|
|
137
|
-
} | {
|
|
138
|
-
status: "scheduled";
|
|
139
|
-
id: number;
|
|
140
|
-
title: string;
|
|
141
|
-
project: {
|
|
142
|
-
id: number;
|
|
143
|
-
keyword: string;
|
|
144
|
-
title: string;
|
|
145
|
-
};
|
|
146
|
-
postScheduledAt: string;
|
|
147
|
-
updatedAt: string;
|
|
148
|
-
imageUrl?: string | undefined;
|
|
149
|
-
} | {
|
|
150
|
-
status: "draft";
|
|
151
|
-
id: number;
|
|
152
|
-
title: string;
|
|
153
|
-
description: string;
|
|
154
|
-
project: {
|
|
155
|
-
id: number;
|
|
156
|
-
keyword: string;
|
|
157
|
-
title: string;
|
|
158
|
-
};
|
|
159
|
-
updatedAt: string;
|
|
160
|
-
createdAt: string;
|
|
161
|
-
imageUrl?: string | undefined;
|
|
162
|
-
})[];
|
|
26
|
+
announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
|
|
27
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
163
28
|
} | undefined;
|
|
164
29
|
error: any;
|
|
165
30
|
mutate: swr.KeyedMutator<{
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
totalCount: number;
|
|
169
|
-
totalPages: number;
|
|
170
|
-
currentPerPage: number;
|
|
171
|
-
isFirstPage: boolean;
|
|
172
|
-
isLastPage: boolean;
|
|
173
|
-
prevPage?: number | undefined;
|
|
174
|
-
nextPage?: number | undefined;
|
|
175
|
-
};
|
|
176
|
-
announcements: ({
|
|
177
|
-
status: "open";
|
|
178
|
-
id: number;
|
|
179
|
-
title: string;
|
|
180
|
-
postedAt: string;
|
|
181
|
-
project: {
|
|
182
|
-
id: number;
|
|
183
|
-
keyword: string;
|
|
184
|
-
title: string;
|
|
185
|
-
};
|
|
186
|
-
imageUrl?: string | undefined;
|
|
187
|
-
} | {
|
|
188
|
-
status: "scheduled";
|
|
189
|
-
id: number;
|
|
190
|
-
title: string;
|
|
191
|
-
project: {
|
|
192
|
-
id: number;
|
|
193
|
-
keyword: string;
|
|
194
|
-
title: string;
|
|
195
|
-
};
|
|
196
|
-
postScheduledAt: string;
|
|
197
|
-
updatedAt: string;
|
|
198
|
-
imageUrl?: string | undefined;
|
|
199
|
-
} | {
|
|
200
|
-
status: "draft";
|
|
201
|
-
id: number;
|
|
202
|
-
title: string;
|
|
203
|
-
description: string;
|
|
204
|
-
project: {
|
|
205
|
-
id: number;
|
|
206
|
-
keyword: string;
|
|
207
|
-
title: string;
|
|
208
|
-
};
|
|
209
|
-
updatedAt: string;
|
|
210
|
-
createdAt: string;
|
|
211
|
-
imageUrl?: string | undefined;
|
|
212
|
-
})[];
|
|
31
|
+
announcements: components["schemas"]["GetMyFundraisingProject_Announcement_announcements_inner"][];
|
|
32
|
+
pagination: components["schemas"]["Fundraising_Pagination"];
|
|
213
33
|
}>;
|
|
214
34
|
isValidating: boolean;
|
|
215
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 { V1MyFundraisingAnnouncementsAnnouncementIdGetPath, V1MyFundraisingAnnouncementsAnnouncementIdGetResponse } from '../fetch/v1MyFundraisingAnnouncementsAnnouncementId.mjs';
|
|
8
8
|
import '@readyfor/api-client-base';
|
|
@@ -10,34 +10,28 @@ import '@readyfor/api-client-base';
|
|
|
10
10
|
declare const useV1MyFundraisingAnnouncementsAnnouncementId: (path: V1MyFundraisingAnnouncementsAnnouncementIdGetPath, swrConfig?: Configuration<V1MyFundraisingAnnouncementsAnnouncementIdGetResponse>) => {
|
|
11
11
|
data: {
|
|
12
12
|
id: number;
|
|
13
|
+
thumbnailUrl?: string;
|
|
13
14
|
title: string | null;
|
|
14
|
-
state: "draft" | "scheduled" | "open";
|
|
15
15
|
description: string;
|
|
16
|
+
state: components["schemas"]["Fundraising_Announcements_AnnouncementState"];
|
|
17
|
+
project: components["schemas"]["Fundraising_Announcements_Announcement_project"];
|
|
16
18
|
audience: "public" | "activeRecurringContributors";
|
|
17
|
-
|
|
18
|
-
project: {
|
|
19
|
-
id: number;
|
|
20
|
-
title: string;
|
|
21
|
-
};
|
|
19
|
+
postedAt?: string | null;
|
|
22
20
|
updatedAt: string;
|
|
23
|
-
|
|
24
|
-
thumbnailUrl?: string | undefined;
|
|
21
|
+
isEmailNotificationEnabled: boolean;
|
|
25
22
|
} | undefined;
|
|
26
23
|
error: any;
|
|
27
24
|
mutate: swr.KeyedMutator<{
|
|
28
25
|
id: number;
|
|
26
|
+
thumbnailUrl?: string;
|
|
29
27
|
title: string | null;
|
|
30
|
-
state: "draft" | "scheduled" | "open";
|
|
31
28
|
description: string;
|
|
29
|
+
state: components["schemas"]["Fundraising_Announcements_AnnouncementState"];
|
|
30
|
+
project: components["schemas"]["Fundraising_Announcements_Announcement_project"];
|
|
32
31
|
audience: "public" | "activeRecurringContributors";
|
|
33
|
-
|
|
34
|
-
project: {
|
|
35
|
-
id: number;
|
|
36
|
-
title: string;
|
|
37
|
-
};
|
|
32
|
+
postedAt?: string | null;
|
|
38
33
|
updatedAt: string;
|
|
39
|
-
|
|
40
|
-
thumbnailUrl?: string | undefined;
|
|
34
|
+
isEmailNotificationEnabled: boolean;
|
|
41
35
|
}>;
|
|
42
36
|
isValidating: boolean;
|
|
43
37
|
isLoading: boolean;
|
|
@@ -46,34 +40,28 @@ declare const useV1MyFundraisingAnnouncementsAnnouncementId: (path: V1MyFundrais
|
|
|
46
40
|
declare const useV1MyFundraisingAnnouncementsAnnouncementIdImmutable: (path: V1MyFundraisingAnnouncementsAnnouncementIdGetPath, swrConfig?: Configuration<V1MyFundraisingAnnouncementsAnnouncementIdGetResponse>) => {
|
|
47
41
|
data: {
|
|
48
42
|
id: number;
|
|
43
|
+
thumbnailUrl?: string;
|
|
49
44
|
title: string | null;
|
|
50
|
-
state: "draft" | "scheduled" | "open";
|
|
51
45
|
description: string;
|
|
46
|
+
state: components["schemas"]["Fundraising_Announcements_AnnouncementState"];
|
|
47
|
+
project: components["schemas"]["Fundraising_Announcements_Announcement_project"];
|
|
52
48
|
audience: "public" | "activeRecurringContributors";
|
|
53
|
-
|
|
54
|
-
project: {
|
|
55
|
-
id: number;
|
|
56
|
-
title: string;
|
|
57
|
-
};
|
|
49
|
+
postedAt?: string | null;
|
|
58
50
|
updatedAt: string;
|
|
59
|
-
|
|
60
|
-
thumbnailUrl?: string | undefined;
|
|
51
|
+
isEmailNotificationEnabled: boolean;
|
|
61
52
|
} | undefined;
|
|
62
53
|
error: any;
|
|
63
54
|
mutate: swr.KeyedMutator<{
|
|
64
55
|
id: number;
|
|
56
|
+
thumbnailUrl?: string;
|
|
65
57
|
title: string | null;
|
|
66
|
-
state: "draft" | "scheduled" | "open";
|
|
67
58
|
description: string;
|
|
59
|
+
state: components["schemas"]["Fundraising_Announcements_AnnouncementState"];
|
|
60
|
+
project: components["schemas"]["Fundraising_Announcements_Announcement_project"];
|
|
68
61
|
audience: "public" | "activeRecurringContributors";
|
|
69
|
-
|
|
70
|
-
project: {
|
|
71
|
-
id: number;
|
|
72
|
-
title: string;
|
|
73
|
-
};
|
|
62
|
+
postedAt?: string | null;
|
|
74
63
|
updatedAt: string;
|
|
75
|
-
|
|
76
|
-
thumbnailUrl?: string | undefined;
|
|
64
|
+
isEmailNotificationEnabled: boolean;
|
|
77
65
|
}>;
|
|
78
66
|
isValidating: boolean;
|
|
79
67
|
isLoading: boolean;
|