@readyfor/api-client-readyfor 1.170.0 → 1.172.0-pr1553.bf7eed4
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/components.d.ts +7 -0
- package/dist/components.js +10 -1
- package/dist/components.mjs +10 -1
- package/dist/fetch/v1EngagementProjectsProjectKeyword.d.ts +6 -0
- package/dist/fetch/v1EngagementProjectsProjectParamIdentifier.d.ts +2 -0
- package/dist/hooks/useV1EngagementProjectsProjectKeyword.d.ts +15 -0
- package/dist/hooks/useV1EngagementProjectsProjectParamIdentifier.d.ts +5 -0
- package/dist/schemaType.d.ts +55 -12
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -2413,8 +2413,10 @@ export declare const Engagement_Project_AnnouncementSummary: z.ZodObject<{
|
|
|
2413
2413
|
}, z.core.$strip>;
|
|
2414
2414
|
export declare const Engagement_Project_SummaryTerminated: z.ZodObject<{
|
|
2415
2415
|
__type: z.ZodLiteral<"Terminated">;
|
|
2416
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2416
2417
|
title: z.ZodString;
|
|
2417
2418
|
fundingModel: z.ZodUnion<readonly [z.ZodLiteral<"allOrNothing">, z.ZodLiteral<"keepItAll">, z.ZodLiteral<"permanentSupport">, z.ZodLiteral<"regularSteady">]>;
|
|
2419
|
+
fundraisingStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"expired">]>>;
|
|
2418
2420
|
abstract: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
2419
2421
|
ogImageUrl: z.ZodString;
|
|
2420
2422
|
}, z.core.$strip>;
|
|
@@ -2426,6 +2428,7 @@ export declare const Engagement_Project_SummaryComingSoon: z.ZodObject<{
|
|
|
2426
2428
|
abstract: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
2427
2429
|
ogImageUrl: z.ZodString;
|
|
2428
2430
|
fundingModel: z.ZodUnion<readonly [z.ZodLiteral<"allOrNothing">, z.ZodLiteral<"keepItAll">, z.ZodLiteral<"permanentSupport">, z.ZodLiteral<"regularSteady">]>;
|
|
2431
|
+
fundraisingStatus: z.ZodOptional<z.ZodLiteral<"prepared">>;
|
|
2429
2432
|
projectType: z.ZodUnion<readonly [z.ZodLiteral<"normal">, z.ZodLiteral<"charity">, z.ZodLiteral<"emergency">, z.ZodLiteral<"furusatoTax">]>;
|
|
2430
2433
|
goalPrice: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
2431
2434
|
twitterHashTags: z.ZodString;
|
|
@@ -5304,6 +5307,7 @@ export declare const Engagement_Project_Owner: z.ZodIntersection<z.ZodObject<{
|
|
|
5304
5307
|
export declare const Engagement_Project_Identifier: z.ZodObject<{
|
|
5305
5308
|
id: z.ZodNumber;
|
|
5306
5309
|
keyword: z.ZodString;
|
|
5310
|
+
publicationStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"published">, z.ZodLiteral<"comingSoon">, z.ZodLiteral<"terminated">, z.ZodLiteral<"unpublished">]>>;
|
|
5307
5311
|
}, z.core.$strip>;
|
|
5308
5312
|
export declare const Engagement_Project_Content: z.ZodObject<{
|
|
5309
5313
|
description: z.ZodString;
|
|
@@ -5508,13 +5512,16 @@ export declare const Engagement_Project_Summary: z.ZodUnion<readonly [z.ZodInter
|
|
|
5508
5512
|
abstract: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
5509
5513
|
ogImageUrl: z.ZodString;
|
|
5510
5514
|
fundingModel: z.ZodUnion<readonly [z.ZodLiteral<"allOrNothing">, z.ZodLiteral<"keepItAll">, z.ZodLiteral<"permanentSupport">, z.ZodLiteral<"regularSteady">]>;
|
|
5515
|
+
fundraisingStatus: z.ZodOptional<z.ZodLiteral<"prepared">>;
|
|
5511
5516
|
projectType: z.ZodUnion<readonly [z.ZodLiteral<"normal">, z.ZodLiteral<"charity">, z.ZodLiteral<"emergency">, z.ZodLiteral<"furusatoTax">]>;
|
|
5512
5517
|
goalPrice: z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>;
|
|
5513
5518
|
twitterHashTags: z.ZodString;
|
|
5514
5519
|
}, z.core.$strip>, z.ZodObject<{
|
|
5515
5520
|
__type: z.ZodLiteral<"Terminated">;
|
|
5521
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
5516
5522
|
title: z.ZodString;
|
|
5517
5523
|
fundingModel: z.ZodUnion<readonly [z.ZodLiteral<"allOrNothing">, z.ZodLiteral<"keepItAll">, z.ZodLiteral<"permanentSupport">, z.ZodLiteral<"regularSteady">]>;
|
|
5524
|
+
fundraisingStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"expired">]>>;
|
|
5518
5525
|
abstract: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
5519
5526
|
ogImageUrl: z.ZodString;
|
|
5520
5527
|
}, z.core.$strip>]>;
|
package/dist/components.js
CHANGED
|
@@ -1805,6 +1805,7 @@ const Engagement_Project_AnnouncementSummary = zod.z.object({
|
|
|
1805
1805
|
});
|
|
1806
1806
|
const Engagement_Project_SummaryTerminated = zod.z.object({
|
|
1807
1807
|
__type: zod.z.literal("Terminated"),
|
|
1808
|
+
id: zod.z.optional(zod.z.number()),
|
|
1808
1809
|
title: zod.z.string(),
|
|
1809
1810
|
fundingModel: zod.z.union([
|
|
1810
1811
|
zod.z.literal("allOrNothing"),
|
|
@@ -1812,6 +1813,7 @@ const Engagement_Project_SummaryTerminated = zod.z.object({
|
|
|
1812
1813
|
zod.z.literal("permanentSupport"),
|
|
1813
1814
|
zod.z.literal("regularSteady")
|
|
1814
1815
|
]),
|
|
1816
|
+
fundraisingStatus: zod.z.optional(zod.z.union([zod.z.literal("open"), zod.z.literal("expired")])),
|
|
1815
1817
|
abstract: zod.z.union([zod.z.string(), zod.z.null()]),
|
|
1816
1818
|
ogImageUrl: zod.z.string()
|
|
1817
1819
|
});
|
|
@@ -1828,6 +1830,7 @@ const Engagement_Project_SummaryComingSoon = zod.z.object({
|
|
|
1828
1830
|
zod.z.literal("permanentSupport"),
|
|
1829
1831
|
zod.z.literal("regularSteady")
|
|
1830
1832
|
]),
|
|
1833
|
+
fundraisingStatus: zod.z.optional(zod.z.literal("prepared")),
|
|
1831
1834
|
projectType: zod.z.union([
|
|
1832
1835
|
zod.z.literal("normal"),
|
|
1833
1836
|
zod.z.literal("charity"),
|
|
@@ -2807,7 +2810,13 @@ const Engagement_Project_Owner = zod.z.intersection(Engagement_UserProfile, zod.
|
|
|
2807
2810
|
}));
|
|
2808
2811
|
const Engagement_Project_Identifier = zod.z.object({
|
|
2809
2812
|
id: zod.z.number(),
|
|
2810
|
-
keyword: zod.z.string()
|
|
2813
|
+
keyword: zod.z.string(),
|
|
2814
|
+
publicationStatus: zod.z.optional(zod.z.union([
|
|
2815
|
+
zod.z.literal("published"),
|
|
2816
|
+
zod.z.literal("comingSoon"),
|
|
2817
|
+
zod.z.literal("terminated"),
|
|
2818
|
+
zod.z.literal("unpublished")
|
|
2819
|
+
]))
|
|
2811
2820
|
});
|
|
2812
2821
|
const Engagement_Project_Content = zod.z.object({
|
|
2813
2822
|
description: zod.z.string(),
|
package/dist/components.mjs
CHANGED
|
@@ -1804,6 +1804,7 @@ const Engagement_Project_AnnouncementSummary = z.object({
|
|
|
1804
1804
|
});
|
|
1805
1805
|
const Engagement_Project_SummaryTerminated = z.object({
|
|
1806
1806
|
__type: z.literal("Terminated"),
|
|
1807
|
+
id: z.optional(z.number()),
|
|
1807
1808
|
title: z.string(),
|
|
1808
1809
|
fundingModel: z.union([
|
|
1809
1810
|
z.literal("allOrNothing"),
|
|
@@ -1811,6 +1812,7 @@ const Engagement_Project_SummaryTerminated = z.object({
|
|
|
1811
1812
|
z.literal("permanentSupport"),
|
|
1812
1813
|
z.literal("regularSteady")
|
|
1813
1814
|
]),
|
|
1815
|
+
fundraisingStatus: z.optional(z.union([z.literal("open"), z.literal("expired")])),
|
|
1814
1816
|
abstract: z.union([z.string(), z.null()]),
|
|
1815
1817
|
ogImageUrl: z.string()
|
|
1816
1818
|
});
|
|
@@ -1827,6 +1829,7 @@ const Engagement_Project_SummaryComingSoon = z.object({
|
|
|
1827
1829
|
z.literal("permanentSupport"),
|
|
1828
1830
|
z.literal("regularSteady")
|
|
1829
1831
|
]),
|
|
1832
|
+
fundraisingStatus: z.optional(z.literal("prepared")),
|
|
1830
1833
|
projectType: z.union([
|
|
1831
1834
|
z.literal("normal"),
|
|
1832
1835
|
z.literal("charity"),
|
|
@@ -2806,7 +2809,13 @@ const Engagement_Project_Owner = z.intersection(Engagement_UserProfile, z.object
|
|
|
2806
2809
|
}));
|
|
2807
2810
|
const Engagement_Project_Identifier = z.object({
|
|
2808
2811
|
id: z.number(),
|
|
2809
|
-
keyword: z.string()
|
|
2812
|
+
keyword: z.string(),
|
|
2813
|
+
publicationStatus: z.optional(z.union([
|
|
2814
|
+
z.literal("published"),
|
|
2815
|
+
z.literal("comingSoon"),
|
|
2816
|
+
z.literal("terminated"),
|
|
2817
|
+
z.literal("unpublished")
|
|
2818
|
+
]))
|
|
2810
2819
|
});
|
|
2811
2820
|
const Engagement_Project_Content = z.object({
|
|
2812
2821
|
description: z.string(),
|
|
@@ -8,6 +8,8 @@ export declare const buildV1EngagementProjectsProjectKeywordGetFetcher: (request
|
|
|
8
8
|
fundingModel: "regularSteady" | "allOrNothing" | "keepItAll" | "permanentSupport";
|
|
9
9
|
abstract: string | null;
|
|
10
10
|
ogImageUrl: string;
|
|
11
|
+
id?: number | undefined;
|
|
12
|
+
fundraisingStatus?: "open" | "expired" | undefined;
|
|
11
13
|
} | {
|
|
12
14
|
__type: "ComingSoon";
|
|
13
15
|
id: number;
|
|
@@ -19,6 +21,7 @@ export declare const buildV1EngagementProjectsProjectKeywordGetFetcher: (request
|
|
|
19
21
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
20
22
|
goalPrice: number | null;
|
|
21
23
|
twitterHashTags: string;
|
|
24
|
+
fundraisingStatus?: "prepared" | undefined;
|
|
22
25
|
} | ({
|
|
23
26
|
id: number;
|
|
24
27
|
keyword: string;
|
|
@@ -119,6 +122,8 @@ export declare const getV1EngagementProjectsProjectKeyword: (path: V1EngagementP
|
|
|
119
122
|
fundingModel: "regularSteady" | "allOrNothing" | "keepItAll" | "permanentSupport";
|
|
120
123
|
abstract: string | null;
|
|
121
124
|
ogImageUrl: string;
|
|
125
|
+
id?: number | undefined;
|
|
126
|
+
fundraisingStatus?: "open" | "expired" | undefined;
|
|
122
127
|
} | {
|
|
123
128
|
__type: "ComingSoon";
|
|
124
129
|
id: number;
|
|
@@ -130,6 +135,7 @@ export declare const getV1EngagementProjectsProjectKeyword: (path: V1EngagementP
|
|
|
130
135
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
131
136
|
goalPrice: number | null;
|
|
132
137
|
twitterHashTags: string;
|
|
138
|
+
fundraisingStatus?: "prepared" | undefined;
|
|
133
139
|
} | ({
|
|
134
140
|
id: number;
|
|
135
141
|
keyword: string;
|
|
@@ -5,10 +5,12 @@ export type V1EngagementProjectsProjectParamIdentifierGetResponse = V1Engagement
|
|
|
5
5
|
export declare const buildV1EngagementProjectsProjectParamIdentifierGetFetcher: (requestInit?: RequestInit, options?: FetcherOptions) => (input: RequestInfo, requestInit?: RequestInit) => Promise<{
|
|
6
6
|
id: number;
|
|
7
7
|
keyword: string;
|
|
8
|
+
publicationStatus?: "published" | "comingSoon" | "terminated" | "unpublished" | undefined;
|
|
8
9
|
}>;
|
|
9
10
|
export type V1EngagementProjectsProjectParamIdentifierGetPath = ForceDig<V1EngagementProjectsProjectParamIdentifierGetOperation, ["parameters", "path"]>;
|
|
10
11
|
export declare const getV1EngagementProjectsProjectParamIdentifier: (path: V1EngagementProjectsProjectParamIdentifierGetPath, customRequestInit?: RequestInit, options?: FetcherOptions) => Promise<{
|
|
11
12
|
id: number;
|
|
12
13
|
keyword: string;
|
|
14
|
+
publicationStatus?: "published" | "comingSoon" | "terminated" | "unpublished" | undefined;
|
|
13
15
|
}>;
|
|
14
16
|
export {};
|
|
@@ -99,13 +99,16 @@ export declare const useV1EngagementProjectsProjectKeyword: (path: V1EngagementP
|
|
|
99
99
|
abstract: string | null;
|
|
100
100
|
ogImageUrl: string;
|
|
101
101
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
102
|
+
fundraisingStatus?: "prepared";
|
|
102
103
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
103
104
|
goalPrice: number | null;
|
|
104
105
|
twitterHashTags: string;
|
|
105
106
|
} | {
|
|
106
107
|
__type: "Terminated";
|
|
108
|
+
id?: number;
|
|
107
109
|
title: string;
|
|
108
110
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
111
|
+
fundraisingStatus?: "open" | "expired";
|
|
109
112
|
abstract: string | null;
|
|
110
113
|
ogImageUrl: string;
|
|
111
114
|
} | undefined;
|
|
@@ -204,13 +207,16 @@ export declare const useV1EngagementProjectsProjectKeyword: (path: V1EngagementP
|
|
|
204
207
|
abstract: string | null;
|
|
205
208
|
ogImageUrl: string;
|
|
206
209
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
210
|
+
fundraisingStatus?: "prepared";
|
|
207
211
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
208
212
|
goalPrice: number | null;
|
|
209
213
|
twitterHashTags: string;
|
|
210
214
|
} | {
|
|
211
215
|
__type: "Terminated";
|
|
216
|
+
id?: number;
|
|
212
217
|
title: string;
|
|
213
218
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
219
|
+
fundraisingStatus?: "open" | "expired";
|
|
214
220
|
abstract: string | null;
|
|
215
221
|
ogImageUrl: string;
|
|
216
222
|
}>;
|
|
@@ -313,13 +319,16 @@ export declare const useV1EngagementProjectsProjectKeywordImmutable: (path: V1En
|
|
|
313
319
|
abstract: string | null;
|
|
314
320
|
ogImageUrl: string;
|
|
315
321
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
322
|
+
fundraisingStatus?: "prepared";
|
|
316
323
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
317
324
|
goalPrice: number | null;
|
|
318
325
|
twitterHashTags: string;
|
|
319
326
|
} | {
|
|
320
327
|
__type: "Terminated";
|
|
328
|
+
id?: number;
|
|
321
329
|
title: string;
|
|
322
330
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
331
|
+
fundraisingStatus?: "open" | "expired";
|
|
323
332
|
abstract: string | null;
|
|
324
333
|
ogImageUrl: string;
|
|
325
334
|
} | undefined;
|
|
@@ -418,13 +427,16 @@ export declare const useV1EngagementProjectsProjectKeywordImmutable: (path: V1En
|
|
|
418
427
|
abstract: string | null;
|
|
419
428
|
ogImageUrl: string;
|
|
420
429
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
430
|
+
fundraisingStatus?: "prepared";
|
|
421
431
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
422
432
|
goalPrice: number | null;
|
|
423
433
|
twitterHashTags: string;
|
|
424
434
|
} | {
|
|
425
435
|
__type: "Terminated";
|
|
436
|
+
id?: number;
|
|
426
437
|
title: string;
|
|
427
438
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
439
|
+
fundraisingStatus?: "open" | "expired";
|
|
428
440
|
abstract: string | null;
|
|
429
441
|
ogImageUrl: string;
|
|
430
442
|
}>;
|
|
@@ -526,13 +538,16 @@ export declare const useV1EngagementProjectsProjectKeywordInfinite: <Args extend
|
|
|
526
538
|
abstract: string | null;
|
|
527
539
|
ogImageUrl: string;
|
|
528
540
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
541
|
+
fundraisingStatus?: "prepared";
|
|
529
542
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
530
543
|
goalPrice: number | null;
|
|
531
544
|
twitterHashTags: string;
|
|
532
545
|
} | {
|
|
533
546
|
__type: "Terminated";
|
|
547
|
+
id?: number;
|
|
534
548
|
title: string;
|
|
535
549
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
550
|
+
fundraisingStatus?: "open" | "expired";
|
|
536
551
|
abstract: string | null;
|
|
537
552
|
ogImageUrl: string;
|
|
538
553
|
}, any>;
|
|
@@ -7,11 +7,13 @@ export declare const useV1EngagementProjectsProjectParamIdentifier: (path: V1Eng
|
|
|
7
7
|
data: {
|
|
8
8
|
id: number;
|
|
9
9
|
keyword: string;
|
|
10
|
+
publicationStatus?: "published" | "comingSoon" | "terminated" | "unpublished";
|
|
10
11
|
} | undefined;
|
|
11
12
|
error: any;
|
|
12
13
|
mutate: import("swr").KeyedMutator<{
|
|
13
14
|
id: number;
|
|
14
15
|
keyword: string;
|
|
16
|
+
publicationStatus?: "published" | "comingSoon" | "terminated" | "unpublished";
|
|
15
17
|
}>;
|
|
16
18
|
isValidating: boolean;
|
|
17
19
|
isLoading: boolean;
|
|
@@ -21,11 +23,13 @@ export declare const useV1EngagementProjectsProjectParamIdentifierImmutable: (pa
|
|
|
21
23
|
data: {
|
|
22
24
|
id: number;
|
|
23
25
|
keyword: string;
|
|
26
|
+
publicationStatus?: "published" | "comingSoon" | "terminated" | "unpublished";
|
|
24
27
|
} | undefined;
|
|
25
28
|
error: any;
|
|
26
29
|
mutate: import("swr").KeyedMutator<{
|
|
27
30
|
id: number;
|
|
28
31
|
keyword: string;
|
|
32
|
+
publicationStatus?: "published" | "comingSoon" | "terminated" | "unpublished";
|
|
29
33
|
}>;
|
|
30
34
|
isValidating: boolean;
|
|
31
35
|
isLoading: boolean;
|
|
@@ -34,4 +38,5 @@ export declare const useV1EngagementProjectsProjectParamIdentifierImmutable: (pa
|
|
|
34
38
|
export declare const useV1EngagementProjectsProjectParamIdentifierInfinite: <Args extends Arguments>(getKey: (keyBuilder: (path: V1EngagementProjectsProjectParamIdentifierGetPath) => string) => SWRInfiniteKeyLoader<V1EngagementProjectsProjectParamIdentifierGetResponse, Args>, swrConfig?: SWRInfiniteConfiguration<V1EngagementProjectsProjectParamIdentifierGetResponse>) => import("swr/infinite").SWRInfiniteResponse<{
|
|
35
39
|
id: number;
|
|
36
40
|
keyword: string;
|
|
41
|
+
publicationStatus?: "published" | "comingSoon" | "terminated" | "unpublished";
|
|
37
42
|
}, any>;
|
package/dist/schemaType.d.ts
CHANGED
|
@@ -3879,6 +3879,7 @@ export interface paths {
|
|
|
3879
3879
|
* 全角数字の id は解決できない。全角数字が keyword に一致する場合のみ 3 で解決する。
|
|
3880
3880
|
*
|
|
3881
3881
|
* プロジェクトの公開状態では絞り込まない。非公開・公開準備中・掲載終了のいずれも解決対象に含める。
|
|
3882
|
+
* 公開状態は応答の publicationStatus で返す。
|
|
3882
3883
|
* 公開ページとして表示してよいかの判定は、解決後に各ページの API が行う。
|
|
3883
3884
|
*
|
|
3884
3885
|
* 同一パスのサマリ API(v1-engagement-projects-project_keyword.yaml)は非公開・掲載終了・公開準備中を
|
|
@@ -10538,6 +10539,17 @@ export interface components {
|
|
|
10538
10539
|
PatchMyUserTwoFactorAuthenticationBackupCodes: {
|
|
10539
10540
|
backupCodes: string[];
|
|
10540
10541
|
};
|
|
10542
|
+
/**
|
|
10543
|
+
* HttpErrorInvalidAuthenticityToken
|
|
10544
|
+
* @description 422 - InvalidAuthenticityToken
|
|
10545
|
+
* @example {
|
|
10546
|
+
* "error": "error"
|
|
10547
|
+
* }
|
|
10548
|
+
*/
|
|
10549
|
+
HttpErrorInvalidAuthenticityToken: {
|
|
10550
|
+
/** @description CSRF 検証に失敗したことを示す文言 */
|
|
10551
|
+
error: string;
|
|
10552
|
+
};
|
|
10541
10553
|
/**
|
|
10542
10554
|
* SearchProjectSuggestions
|
|
10543
10555
|
* @example {
|
|
@@ -11030,6 +11042,7 @@ export interface components {
|
|
|
11030
11042
|
* Engagement_Project_Identifier
|
|
11031
11043
|
* @description プロジェクトの識別子
|
|
11032
11044
|
* @example {
|
|
11045
|
+
* "publicationStatus": "published",
|
|
11033
11046
|
* "id": 1,
|
|
11034
11047
|
* "keyword": "keyword"
|
|
11035
11048
|
* }
|
|
@@ -11042,6 +11055,19 @@ export interface components {
|
|
|
11042
11055
|
id: number;
|
|
11043
11056
|
/** @description 正規の keyword */
|
|
11044
11057
|
keyword: string;
|
|
11058
|
+
/**
|
|
11059
|
+
* @description プロジェクトの公開状態。公開準備中かどうかを最初に判定し、そうでなければ公開中かどうかと掲載終了かどうかで決める。
|
|
11060
|
+
*
|
|
11061
|
+
* - `comingSoon`: 公開準備中
|
|
11062
|
+
* - `unpublished`: 公開準備中でも公開中でもない
|
|
11063
|
+
* - `terminated`: 公開中で、掲載終了している
|
|
11064
|
+
* - `published`: 公開中で、掲載終了していない
|
|
11065
|
+
*
|
|
11066
|
+
* 公開準備中の判定は最終更新からの経過時間を含むため、プロジェクトに変化が無くても時間の経過だけで値が変わる。
|
|
11067
|
+
*
|
|
11068
|
+
* @enum {string}
|
|
11069
|
+
*/
|
|
11070
|
+
publicationStatus?: "published" | "comingSoon" | "terminated" | "unpublished";
|
|
11045
11071
|
};
|
|
11046
11072
|
/**
|
|
11047
11073
|
* Engagement_Project_Owner
|
|
@@ -11865,17 +11891,6 @@ export interface components {
|
|
|
11865
11891
|
*/
|
|
11866
11892
|
totalCount: number;
|
|
11867
11893
|
};
|
|
11868
|
-
/**
|
|
11869
|
-
* HttpErrorInvalidAuthenticityToken
|
|
11870
|
-
* @description 422 - InvalidAuthenticityToken
|
|
11871
|
-
* @example {
|
|
11872
|
-
* "error": "error"
|
|
11873
|
-
* }
|
|
11874
|
-
*/
|
|
11875
|
-
HttpErrorInvalidAuthenticityToken: {
|
|
11876
|
-
/** @description CSRF 検証に失敗したことを示す文言 */
|
|
11877
|
-
error: string;
|
|
11878
|
-
};
|
|
11879
11894
|
/**
|
|
11880
11895
|
* GetEngagementWatchedProjects
|
|
11881
11896
|
* @example {
|
|
@@ -17294,6 +17309,13 @@ export interface components {
|
|
|
17294
17309
|
* @enum {string}
|
|
17295
17310
|
*/
|
|
17296
17311
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
17312
|
+
/**
|
|
17313
|
+
* @description `Project#fundraising_status` の値をそのまま返す。GTM の dataLayer に積む値で、画面には出さない。
|
|
17314
|
+
* 公開準備中は下書きなので prepared だけになる。
|
|
17315
|
+
*
|
|
17316
|
+
* @enum {string}
|
|
17317
|
+
*/
|
|
17318
|
+
fundraisingStatus?: "prepared";
|
|
17297
17319
|
/** @enum {string} */
|
|
17298
17320
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
17299
17321
|
/**
|
|
@@ -17314,6 +17336,7 @@ export interface components {
|
|
|
17314
17336
|
* @description 掲載を終了したプロジェクト。画面は固定の文言だけだが、移植元は OGP と canonical を
|
|
17315
17337
|
* 出しているため、その組み立てに要る項目だけを返す。
|
|
17316
17338
|
* ⚠️ 画面に出る値はひとつも無い。描画に使わないこと。
|
|
17339
|
+
* id と fundraisingStatus は GTM の dataLayer に積む計測用の値で、これも画面には出さない。
|
|
17317
17340
|
*
|
|
17318
17341
|
* 判定は `public?` かつ `veiled_at` が非 null。state が veiled かどうかは見ない。
|
|
17319
17342
|
* veiled は STATE_PUBLIC に含まれ、`veiled_at` が null のまま state だけ veiled の
|
|
@@ -17322,6 +17345,11 @@ export interface components {
|
|
|
17322
17345
|
Engagement_Project_SummaryTerminated: {
|
|
17323
17346
|
/** @enum {string} */
|
|
17324
17347
|
__type: "Terminated";
|
|
17348
|
+
/**
|
|
17349
|
+
* Format: int64
|
|
17350
|
+
* @description GTM の dataLayer の projectId に積む。画面には出さない
|
|
17351
|
+
*/
|
|
17352
|
+
id?: number;
|
|
17325
17353
|
/**
|
|
17326
17354
|
* @description og:title に使う。画面には出ない。
|
|
17327
17355
|
* 公開準備中と同じく、未入力のときは null ではなく空文字になる
|
|
@@ -17334,6 +17362,14 @@ export interface components {
|
|
|
17334
17362
|
* @enum {string}
|
|
17335
17363
|
*/
|
|
17336
17364
|
fundingModel: "allOrNothing" | "keepItAll" | "permanentSupport" | "regularSteady";
|
|
17365
|
+
/**
|
|
17366
|
+
* @description `Project#fundraising_status` の値をそのまま返す。GTM の dataLayer に積む値で、画面には出さない。
|
|
17367
|
+
* veiled_at は募集を終えた state でしか立たないため通常は expired になるが、
|
|
17368
|
+
* model の値をそのまま返してレスポンス検証で落とさないよう open も残す。
|
|
17369
|
+
*
|
|
17370
|
+
* @enum {string}
|
|
17371
|
+
*/
|
|
17372
|
+
fundraisingStatus?: "open" | "expired";
|
|
17337
17373
|
/**
|
|
17338
17374
|
* @description 実行者が入力したプロジェクト概要の生値。HTML ではなくプレーンテキスト。
|
|
17339
17375
|
* og:description に使う。
|
|
@@ -18399,7 +18435,7 @@ export interface components {
|
|
|
18399
18435
|
projectType: "normal" | "charity" | "emergency" | "furusatoTax";
|
|
18400
18436
|
/**
|
|
18401
18437
|
* @description open は募集中、expired は募集終了。
|
|
18402
|
-
* 移植元は下書きに prepared
|
|
18438
|
+
* 移植元は下書きに prepared を返すが、Spot / Steady は公開中のプロジェクトだけなので出てこない。
|
|
18403
18439
|
*
|
|
18404
18440
|
* @enum {string}
|
|
18405
18441
|
*/
|
|
@@ -23520,6 +23556,12 @@ export interface operations {
|
|
|
23520
23556
|
"application/json": components["schemas"]["HttpErrorUnauthenticated"];
|
|
23521
23557
|
};
|
|
23522
23558
|
};
|
|
23559
|
+
/** @description Bearer トークンが無い、または一致せず CSRF 検証に失敗した場合に返す */
|
|
23560
|
+
422: {
|
|
23561
|
+
content: {
|
|
23562
|
+
"application/json": components["schemas"]["HttpErrorInvalidAuthenticityToken"];
|
|
23563
|
+
};
|
|
23564
|
+
};
|
|
23523
23565
|
};
|
|
23524
23566
|
};
|
|
23525
23567
|
/**
|
|
@@ -23881,6 +23923,7 @@ export interface operations {
|
|
|
23881
23923
|
* 全角数字の id は解決できない。全角数字が keyword に一致する場合のみ 3 で解決する。
|
|
23882
23924
|
*
|
|
23883
23925
|
* プロジェクトの公開状態では絞り込まない。非公開・公開準備中・掲載終了のいずれも解決対象に含める。
|
|
23926
|
+
* 公開状態は応答の publicationStatus で返す。
|
|
23884
23927
|
* 公開ページとして表示してよいかの判定は、解決後に各ページの API が行う。
|
|
23885
23928
|
*
|
|
23886
23929
|
* 同一パスのサマリ API(v1-engagement-projects-project_keyword.yaml)は非公開・掲載終了・公開準備中を
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readyfor/api-client-readyfor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.172.0-pr1553.bf7eed4",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"swr": "2.5.1",
|
|
37
37
|
"use-sync-external-store": "1.7.0",
|
|
38
38
|
"zod": "^4.3.6",
|
|
39
|
-
"@readyfor/api-client-base": "1.
|
|
39
|
+
"@readyfor/api-client-base": "1.172.0-pr1553.bf7eed4"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"qs": "^6",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"swr": "^2.3.3",
|
|
45
45
|
"use-sync-external-store": "^1.2.2",
|
|
46
46
|
"zod": "^4",
|
|
47
|
-
"@readyfor/api-client-base": "1.
|
|
47
|
+
"@readyfor/api-client-base": "1.172.0-pr1553.bf7eed4"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"react": {
|