founder-schema 0.4.0 → 0.6.0
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/README.md +64 -1
- package/dist/access/permissions.d.ts +24 -2
- package/dist/access/permissions.d.ts.map +1 -1
- package/dist/access/permissions.js +9 -0
- package/dist/access/permissions.js.map +1 -1
- package/dist/core/common.d.ts +37 -0
- package/dist/core/common.d.ts.map +1 -1
- package/dist/core/common.js +49 -0
- package/dist/core/common.js.map +1 -1
- package/dist/core/errors.d.ts +41 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +75 -4
- package/dist/core/errors.js.map +1 -1
- package/dist/core/limits.d.ts +76 -4
- package/dist/core/limits.d.ts.map +1 -1
- package/dist/core/limits.js +80 -4
- package/dist/core/limits.js.map +1 -1
- package/dist/core/responses.d.ts +55 -0
- package/dist/core/responses.d.ts.map +1 -1
- package/dist/core/responses.js +3 -1
- package/dist/core/responses.js.map +1 -1
- package/dist/core/validation.d.ts +16 -0
- package/dist/core/validation.d.ts.map +1 -1
- package/dist/core/validation.js +16 -0
- package/dist/core/validation.js.map +1 -1
- package/dist/domains/account/account.d.ts +2 -0
- package/dist/domains/account/account.d.ts.map +1 -1
- package/dist/domains/account/account.js +2 -0
- package/dist/domains/account/account.js.map +1 -1
- package/dist/domains/audit/audit.d.ts +4 -0
- package/dist/domains/audit/audit.d.ts.map +1 -1
- package/dist/domains/audit/audit.js +6 -3
- package/dist/domains/audit/audit.js.map +1 -1
- package/dist/domains/contributions/contributions.d.ts +158 -0
- package/dist/domains/contributions/contributions.d.ts.map +1 -0
- package/dist/domains/contributions/contributions.js +93 -0
- package/dist/domains/contributions/contributions.js.map +1 -0
- package/dist/domains/discover/discover.d.ts +5 -0
- package/dist/domains/discover/discover.d.ts.map +1 -1
- package/dist/domains/discover/discover.js +3 -13
- package/dist/domains/discover/discover.js.map +1 -1
- package/dist/domains/feed/feed.d.ts +293 -32
- package/dist/domains/feed/feed.d.ts.map +1 -1
- package/dist/domains/feed/feed.js +109 -38
- package/dist/domains/feed/feed.js.map +1 -1
- package/dist/domains/media/media.d.ts +159 -0
- package/dist/domains/media/media.d.ts.map +1 -0
- package/dist/domains/media/media.js +136 -0
- package/dist/domains/media/media.js.map +1 -0
- package/dist/domains/members/members.d.ts +5 -5
- package/dist/domains/moderation/moderation.d.ts +53 -3
- package/dist/domains/moderation/moderation.d.ts.map +1 -1
- package/dist/domains/moderation/moderation.js +47 -8
- package/dist/domains/moderation/moderation.js.map +1 -1
- package/dist/domains/notifications/notifications.d.ts +212 -0
- package/dist/domains/notifications/notifications.d.ts.map +1 -0
- package/dist/domains/notifications/notifications.js +144 -0
- package/dist/domains/notifications/notifications.js.map +1 -0
- package/dist/domains/onboarding/onboarding.d.ts +21 -24
- package/dist/domains/onboarding/onboarding.d.ts.map +1 -1
- package/dist/domains/onboarding/onboarding.js +21 -20
- package/dist/domains/onboarding/onboarding.js.map +1 -1
- package/dist/domains/products/products.d.ts +1449 -0
- package/dist/domains/products/products.d.ts.map +1 -0
- package/dist/domains/products/products.js +453 -0
- package/dist/domains/products/products.js.map +1 -0
- package/dist/domains/profile/founder-profile.d.ts +66 -0
- package/dist/domains/profile/founder-profile.d.ts.map +1 -1
- package/dist/domains/profile/founder-profile.js +70 -1
- package/dist/domains/profile/founder-profile.js.map +1 -1
- package/dist/domains/reviews/reviews.d.ts +184 -0
- package/dist/domains/reviews/reviews.d.ts.map +1 -0
- package/dist/domains/reviews/reviews.js +99 -0
- package/dist/domains/reviews/reviews.js.map +1 -0
- package/dist/domains/uploads/uploads.d.ts +54 -64
- package/dist/domains/uploads/uploads.d.ts.map +1 -1
- package/dist/domains/uploads/uploads.js +43 -60
- package/dist/domains/uploads/uploads.js.map +1 -1
- package/dist/index.d.ts +11 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
* DELIBERATELY NOT PORTED, so nobody "restores" them:
|
|
15
15
|
* - the five civic verticals (lost_found, suggestions_complaints,
|
|
16
16
|
* donate_item, crowdfunding, event). `contentKind` here is post | poll
|
|
17
|
-
* only; comment threads and bookmarks key off it,
|
|
18
|
-
* reports off
|
|
17
|
+
* only; comment threads and bookmarks key off it, reactions off the same
|
|
18
|
+
* union plus `comment`, and reports off that plus a product and a review
|
|
19
|
+
* (`reportTargetKindSchema`, 0.6.0).
|
|
19
20
|
* - official communities, designations, identity verification badges.
|
|
20
21
|
* - social score, and the whole area-proximity ranking vocabulary
|
|
21
22
|
* (local / district / state / national / global).
|
|
@@ -102,6 +103,20 @@ export declare const engagementTargetKindSchema: z.ZodEnum<{
|
|
|
102
103
|
comment: "comment";
|
|
103
104
|
}>;
|
|
104
105
|
export type EngagementTargetKind = z.infer<typeof engagementTargetKindSchema>;
|
|
106
|
+
/**
|
|
107
|
+
* What a member can REPORT (0.6.0): everything a reaction can reach, plus a
|
|
108
|
+
* product page and a review. Each has its own report route; the answer and the
|
|
109
|
+
* moderation queue use this one list.
|
|
110
|
+
*/
|
|
111
|
+
export declare const REPORT_TARGET_KIND_VALUES: readonly ["post", "poll", "comment", "product", "review"];
|
|
112
|
+
export declare const reportTargetKindSchema: z.ZodEnum<{
|
|
113
|
+
product: "product";
|
|
114
|
+
post: "post";
|
|
115
|
+
poll: "poll";
|
|
116
|
+
comment: "comment";
|
|
117
|
+
review: "review";
|
|
118
|
+
}>;
|
|
119
|
+
export type ReportTargetKind = z.infer<typeof reportTargetKindSchema>;
|
|
105
120
|
/**
|
|
106
121
|
* Reactions. Jansathi's `support` is dropped: it exists for reacting to a
|
|
107
122
|
* civic complaint or a lost-and-found notice, which this feed does not carry.
|
|
@@ -151,7 +166,8 @@ export declare const reactionCountsSchema: z.ZodRecord<z.ZodEnum<{
|
|
|
151
166
|
}> & z.core.$partial, z.ZodNumber>;
|
|
152
167
|
export type ReactionCounts = z.infer<typeof reactionCountsSchema>;
|
|
153
168
|
/**
|
|
154
|
-
* The author as a card renders them.
|
|
169
|
+
* The author as a card renders them: the shared `memberBylineSchema` (0.6.0),
|
|
170
|
+
* which products, reviews and notifications name members with too.
|
|
155
171
|
*
|
|
156
172
|
* Every field here is LIVE, joined against the profile at read time rather
|
|
157
173
|
* than frozen onto the post at write time. So a renamed handle, a new avatar
|
|
@@ -171,20 +187,32 @@ export declare const feedAuthorSchema: z.ZodObject<{
|
|
|
171
187
|
}, z.core.$strip>;
|
|
172
188
|
export type FeedAuthor = z.infer<typeof feedAuthorSchema>;
|
|
173
189
|
/**
|
|
190
|
+
* A post's image: a processed `mediaImageSchema` (every stored size, ready for
|
|
191
|
+
* `srcset`, plus a placeholder) with the post's own alt text.
|
|
192
|
+
*
|
|
174
193
|
* `width` and `height` are required so a card can reserve the right box before
|
|
175
194
|
* the image loads. Without them every image arrival shifts the feed under the
|
|
176
195
|
* reader's thumb.
|
|
177
196
|
*
|
|
197
|
+
* `thumbnailUrl` is the smallest stored size, for a grid or a notification.
|
|
198
|
+
*
|
|
178
199
|
* URLs here come from our own upload pipeline, so they take a plain `z.url()`
|
|
179
200
|
* rather than `httpUrlSchema`. ⚠️ If a "paste an image link" path is ever
|
|
180
201
|
* added, these become member-supplied and must move to `httpUrlSchema`.
|
|
181
202
|
*/
|
|
182
203
|
export declare const feedImageSchema: z.ZodObject<{
|
|
183
|
-
|
|
204
|
+
id: z.ZodString;
|
|
184
205
|
url: z.ZodURL;
|
|
185
|
-
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
186
206
|
width: z.ZodNumber;
|
|
187
207
|
height: z.ZodNumber;
|
|
208
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
209
|
+
width: z.ZodNumber;
|
|
210
|
+
height: z.ZodNumber;
|
|
211
|
+
url: z.ZodURL;
|
|
212
|
+
}, z.core.$strip>>;
|
|
213
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
214
|
+
kind: z.ZodLiteral<"image">;
|
|
215
|
+
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
188
216
|
alt: z.ZodOptional<z.ZodString>;
|
|
189
217
|
}, z.core.$strip>;
|
|
190
218
|
export type FeedImage = z.infer<typeof feedImageSchema>;
|
|
@@ -203,11 +231,18 @@ export type FeedVideo = z.infer<typeof feedVideoSchema>;
|
|
|
203
231
|
* without inspecting fields.
|
|
204
232
|
*/
|
|
205
233
|
export declare const feedMediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
206
|
-
|
|
234
|
+
id: z.ZodString;
|
|
207
235
|
url: z.ZodURL;
|
|
208
|
-
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
209
236
|
width: z.ZodNumber;
|
|
210
237
|
height: z.ZodNumber;
|
|
238
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
239
|
+
width: z.ZodNumber;
|
|
240
|
+
height: z.ZodNumber;
|
|
241
|
+
url: z.ZodURL;
|
|
242
|
+
}, z.core.$strip>>;
|
|
243
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
244
|
+
kind: z.ZodLiteral<"image">;
|
|
245
|
+
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
211
246
|
alt: z.ZodOptional<z.ZodString>;
|
|
212
247
|
}, z.core.$strip>, z.ZodObject<{
|
|
213
248
|
kind: z.ZodLiteral<"video">;
|
|
@@ -283,11 +318,18 @@ export declare const feedPostSchema: z.ZodObject<{
|
|
|
283
318
|
}, z.core.$strip>;
|
|
284
319
|
text: z.ZodString;
|
|
285
320
|
media: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
286
|
-
|
|
321
|
+
id: z.ZodString;
|
|
287
322
|
url: z.ZodURL;
|
|
288
|
-
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
289
323
|
width: z.ZodNumber;
|
|
290
324
|
height: z.ZodNumber;
|
|
325
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
326
|
+
width: z.ZodNumber;
|
|
327
|
+
height: z.ZodNumber;
|
|
328
|
+
url: z.ZodURL;
|
|
329
|
+
}, z.core.$strip>>;
|
|
330
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
331
|
+
kind: z.ZodLiteral<"image">;
|
|
332
|
+
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
291
333
|
alt: z.ZodOptional<z.ZodString>;
|
|
292
334
|
}, z.core.$strip>, z.ZodObject<{
|
|
293
335
|
kind: z.ZodLiteral<"video">;
|
|
@@ -375,6 +417,18 @@ export declare const feedPostSchema: z.ZodObject<{
|
|
|
375
417
|
social_enterprise: "social_enterprise";
|
|
376
418
|
education_access: "education_access";
|
|
377
419
|
}>>;
|
|
420
|
+
product: z.ZodOptional<z.ZodObject<{
|
|
421
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
422
|
+
slug: z.ZodString;
|
|
423
|
+
name: z.ZodString;
|
|
424
|
+
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
425
|
+
}, z.core.$strip>>;
|
|
426
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
427
|
+
feedback: "feedback";
|
|
428
|
+
testers: "testers";
|
|
429
|
+
launch: "launch";
|
|
430
|
+
ideas: "ideas";
|
|
431
|
+
}>>;
|
|
378
432
|
commentCount: z.ZodNumber;
|
|
379
433
|
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
380
434
|
like: "like";
|
|
@@ -510,6 +564,18 @@ export declare const feedPollSchema: z.ZodObject<{
|
|
|
510
564
|
social_enterprise: "social_enterprise";
|
|
511
565
|
education_access: "education_access";
|
|
512
566
|
}>>;
|
|
567
|
+
product: z.ZodOptional<z.ZodObject<{
|
|
568
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
569
|
+
slug: z.ZodString;
|
|
570
|
+
name: z.ZodString;
|
|
571
|
+
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
572
|
+
}, z.core.$strip>>;
|
|
573
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
574
|
+
feedback: "feedback";
|
|
575
|
+
testers: "testers";
|
|
576
|
+
launch: "launch";
|
|
577
|
+
ideas: "ideas";
|
|
578
|
+
}>>;
|
|
513
579
|
commentCount: z.ZodNumber;
|
|
514
580
|
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
515
581
|
like: "like";
|
|
@@ -552,11 +618,18 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
552
618
|
}, z.core.$strip>;
|
|
553
619
|
text: z.ZodString;
|
|
554
620
|
media: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
555
|
-
|
|
621
|
+
id: z.ZodString;
|
|
556
622
|
url: z.ZodURL;
|
|
557
|
-
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
558
623
|
width: z.ZodNumber;
|
|
559
624
|
height: z.ZodNumber;
|
|
625
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
626
|
+
width: z.ZodNumber;
|
|
627
|
+
height: z.ZodNumber;
|
|
628
|
+
url: z.ZodURL;
|
|
629
|
+
}, z.core.$strip>>;
|
|
630
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
631
|
+
kind: z.ZodLiteral<"image">;
|
|
632
|
+
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
560
633
|
alt: z.ZodOptional<z.ZodString>;
|
|
561
634
|
}, z.core.$strip>, z.ZodObject<{
|
|
562
635
|
kind: z.ZodLiteral<"video">;
|
|
@@ -644,6 +717,18 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
644
717
|
social_enterprise: "social_enterprise";
|
|
645
718
|
education_access: "education_access";
|
|
646
719
|
}>>;
|
|
720
|
+
product: z.ZodOptional<z.ZodObject<{
|
|
721
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
722
|
+
slug: z.ZodString;
|
|
723
|
+
name: z.ZodString;
|
|
724
|
+
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
725
|
+
}, z.core.$strip>>;
|
|
726
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
727
|
+
feedback: "feedback";
|
|
728
|
+
testers: "testers";
|
|
729
|
+
launch: "launch";
|
|
730
|
+
ideas: "ideas";
|
|
731
|
+
}>>;
|
|
647
732
|
commentCount: z.ZodNumber;
|
|
648
733
|
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
649
734
|
like: "like";
|
|
@@ -758,6 +843,18 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
758
843
|
social_enterprise: "social_enterprise";
|
|
759
844
|
education_access: "education_access";
|
|
760
845
|
}>>;
|
|
846
|
+
product: z.ZodOptional<z.ZodObject<{
|
|
847
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
848
|
+
slug: z.ZodString;
|
|
849
|
+
name: z.ZodString;
|
|
850
|
+
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
851
|
+
}, z.core.$strip>>;
|
|
852
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
853
|
+
feedback: "feedback";
|
|
854
|
+
testers: "testers";
|
|
855
|
+
launch: "launch";
|
|
856
|
+
ideas: "ideas";
|
|
857
|
+
}>>;
|
|
761
858
|
commentCount: z.ZodNumber;
|
|
762
859
|
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
763
860
|
like: "like";
|
|
@@ -811,9 +908,13 @@ export declare const feedCommentSchema: z.ZodObject<{
|
|
|
811
908
|
insightful: "insightful";
|
|
812
909
|
curious: "curious";
|
|
813
910
|
}> & z.core.$partial, z.ZodNumber>;
|
|
911
|
+
helpfulAt: z.ZodNullable<z.ZodISODateTime>;
|
|
814
912
|
createdAt: z.ZodISODateTime;
|
|
815
913
|
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
816
914
|
viewer: z.ZodOptional<z.ZodObject<{
|
|
915
|
+
canEdit: z.ZodBoolean;
|
|
916
|
+
canDelete: z.ZodBoolean;
|
|
917
|
+
canReport: z.ZodBoolean;
|
|
817
918
|
reaction: z.ZodNullable<z.ZodEnum<{
|
|
818
919
|
like: "like";
|
|
819
920
|
celebrate: "celebrate";
|
|
@@ -821,9 +922,7 @@ export declare const feedCommentSchema: z.ZodObject<{
|
|
|
821
922
|
curious: "curious";
|
|
822
923
|
}>>;
|
|
823
924
|
isAuthor: z.ZodBoolean;
|
|
824
|
-
|
|
825
|
-
canDelete: z.ZodBoolean;
|
|
826
|
-
canReport: z.ZodBoolean;
|
|
925
|
+
canMarkHelpful: z.ZodBoolean;
|
|
827
926
|
}, z.core.$strip>>;
|
|
828
927
|
}, z.core.$strip>;
|
|
829
928
|
export type FeedComment = z.infer<typeof feedCommentSchema>;
|
|
@@ -927,11 +1026,18 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
927
1026
|
}, z.core.$strip>;
|
|
928
1027
|
text: z.ZodString;
|
|
929
1028
|
media: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
930
|
-
|
|
1029
|
+
id: z.ZodString;
|
|
931
1030
|
url: z.ZodURL;
|
|
932
|
-
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
933
1031
|
width: z.ZodNumber;
|
|
934
1032
|
height: z.ZodNumber;
|
|
1033
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1034
|
+
width: z.ZodNumber;
|
|
1035
|
+
height: z.ZodNumber;
|
|
1036
|
+
url: z.ZodURL;
|
|
1037
|
+
}, z.core.$strip>>;
|
|
1038
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1039
|
+
kind: z.ZodLiteral<"image">;
|
|
1040
|
+
thumbnailUrl: z.ZodOptional<z.ZodURL>;
|
|
935
1041
|
alt: z.ZodOptional<z.ZodString>;
|
|
936
1042
|
}, z.core.$strip>, z.ZodObject<{
|
|
937
1043
|
kind: z.ZodLiteral<"video">;
|
|
@@ -1019,6 +1125,18 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1019
1125
|
social_enterprise: "social_enterprise";
|
|
1020
1126
|
education_access: "education_access";
|
|
1021
1127
|
}>>;
|
|
1128
|
+
product: z.ZodOptional<z.ZodObject<{
|
|
1129
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1130
|
+
slug: z.ZodString;
|
|
1131
|
+
name: z.ZodString;
|
|
1132
|
+
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
1133
|
+
}, z.core.$strip>>;
|
|
1134
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
1135
|
+
feedback: "feedback";
|
|
1136
|
+
testers: "testers";
|
|
1137
|
+
launch: "launch";
|
|
1138
|
+
ideas: "ideas";
|
|
1139
|
+
}>>;
|
|
1022
1140
|
commentCount: z.ZodNumber;
|
|
1023
1141
|
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
1024
1142
|
like: "like";
|
|
@@ -1133,6 +1251,18 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1133
1251
|
social_enterprise: "social_enterprise";
|
|
1134
1252
|
education_access: "education_access";
|
|
1135
1253
|
}>>;
|
|
1254
|
+
product: z.ZodOptional<z.ZodObject<{
|
|
1255
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1256
|
+
slug: z.ZodString;
|
|
1257
|
+
name: z.ZodString;
|
|
1258
|
+
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
1259
|
+
}, z.core.$strip>>;
|
|
1260
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
1261
|
+
feedback: "feedback";
|
|
1262
|
+
testers: "testers";
|
|
1263
|
+
launch: "launch";
|
|
1264
|
+
ideas: "ideas";
|
|
1265
|
+
}>>;
|
|
1136
1266
|
commentCount: z.ZodNumber;
|
|
1137
1267
|
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
1138
1268
|
like: "like";
|
|
@@ -1185,9 +1315,13 @@ export declare const commentPageSchema: z.ZodObject<{
|
|
|
1185
1315
|
insightful: "insightful";
|
|
1186
1316
|
curious: "curious";
|
|
1187
1317
|
}> & z.core.$partial, z.ZodNumber>;
|
|
1318
|
+
helpfulAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1188
1319
|
createdAt: z.ZodISODateTime;
|
|
1189
1320
|
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1190
1321
|
viewer: z.ZodOptional<z.ZodObject<{
|
|
1322
|
+
canEdit: z.ZodBoolean;
|
|
1323
|
+
canDelete: z.ZodBoolean;
|
|
1324
|
+
canReport: z.ZodBoolean;
|
|
1191
1325
|
reaction: z.ZodNullable<z.ZodEnum<{
|
|
1192
1326
|
like: "like";
|
|
1193
1327
|
celebrate: "celebrate";
|
|
@@ -1195,14 +1329,105 @@ export declare const commentPageSchema: z.ZodObject<{
|
|
|
1195
1329
|
curious: "curious";
|
|
1196
1330
|
}>>;
|
|
1197
1331
|
isAuthor: z.ZodBoolean;
|
|
1332
|
+
canMarkHelpful: z.ZodBoolean;
|
|
1333
|
+
}, z.core.$strip>>;
|
|
1334
|
+
}, z.core.$strip>>;
|
|
1335
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1336
|
+
}, z.core.$strip>;
|
|
1337
|
+
export type CommentPage = z.infer<typeof commentPageSchema>;
|
|
1338
|
+
/**
|
|
1339
|
+
* A comment on a product's Feedback tab (`GET /products/:id/feedback`): the
|
|
1340
|
+
* comment as a thread shows it, plus whether its writer is already a
|
|
1341
|
+
* confirmed tester, so the team's "Confirm as tester" knows without paging
|
|
1342
|
+
* through `/testers`.
|
|
1343
|
+
*/
|
|
1344
|
+
export declare const productFeedbackItemSchema: z.ZodObject<{
|
|
1345
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1346
|
+
contentKind: z.ZodEnum<{
|
|
1347
|
+
post: "post";
|
|
1348
|
+
poll: "poll";
|
|
1349
|
+
}>;
|
|
1350
|
+
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1351
|
+
parentCommentId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1352
|
+
author: z.ZodObject<{
|
|
1353
|
+
userId: z.ZodString;
|
|
1354
|
+
username: z.ZodString;
|
|
1355
|
+
displayName: z.ZodString;
|
|
1356
|
+
avatarUrl: z.ZodOptional<z.ZodURL>;
|
|
1357
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
}, z.core.$strip>;
|
|
1359
|
+
text: z.ZodString;
|
|
1360
|
+
replyCount: z.ZodNumber;
|
|
1361
|
+
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
1362
|
+
like: "like";
|
|
1363
|
+
celebrate: "celebrate";
|
|
1364
|
+
insightful: "insightful";
|
|
1365
|
+
curious: "curious";
|
|
1366
|
+
}> & z.core.$partial, z.ZodNumber>;
|
|
1367
|
+
helpfulAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1368
|
+
createdAt: z.ZodISODateTime;
|
|
1369
|
+
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1370
|
+
viewer: z.ZodOptional<z.ZodObject<{
|
|
1371
|
+
canEdit: z.ZodBoolean;
|
|
1372
|
+
canDelete: z.ZodBoolean;
|
|
1373
|
+
canReport: z.ZodBoolean;
|
|
1374
|
+
reaction: z.ZodNullable<z.ZodEnum<{
|
|
1375
|
+
like: "like";
|
|
1376
|
+
celebrate: "celebrate";
|
|
1377
|
+
insightful: "insightful";
|
|
1378
|
+
curious: "curious";
|
|
1379
|
+
}>>;
|
|
1380
|
+
isAuthor: z.ZodBoolean;
|
|
1381
|
+
canMarkHelpful: z.ZodBoolean;
|
|
1382
|
+
}, z.core.$strip>>;
|
|
1383
|
+
authorIsTester: z.ZodBoolean;
|
|
1384
|
+
}, z.core.$strip>;
|
|
1385
|
+
export type ProductFeedbackItem = z.infer<typeof productFeedbackItemSchema>;
|
|
1386
|
+
export declare const productFeedbackPageSchema: z.ZodObject<{
|
|
1387
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1388
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1389
|
+
contentKind: z.ZodEnum<{
|
|
1390
|
+
post: "post";
|
|
1391
|
+
poll: "poll";
|
|
1392
|
+
}>;
|
|
1393
|
+
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1394
|
+
parentCommentId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1395
|
+
author: z.ZodObject<{
|
|
1396
|
+
userId: z.ZodString;
|
|
1397
|
+
username: z.ZodString;
|
|
1398
|
+
displayName: z.ZodString;
|
|
1399
|
+
avatarUrl: z.ZodOptional<z.ZodURL>;
|
|
1400
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
1401
|
+
}, z.core.$strip>;
|
|
1402
|
+
text: z.ZodString;
|
|
1403
|
+
replyCount: z.ZodNumber;
|
|
1404
|
+
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
1405
|
+
like: "like";
|
|
1406
|
+
celebrate: "celebrate";
|
|
1407
|
+
insightful: "insightful";
|
|
1408
|
+
curious: "curious";
|
|
1409
|
+
}> & z.core.$partial, z.ZodNumber>;
|
|
1410
|
+
helpfulAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1411
|
+
createdAt: z.ZodISODateTime;
|
|
1412
|
+
editedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1413
|
+
viewer: z.ZodOptional<z.ZodObject<{
|
|
1198
1414
|
canEdit: z.ZodBoolean;
|
|
1199
1415
|
canDelete: z.ZodBoolean;
|
|
1200
1416
|
canReport: z.ZodBoolean;
|
|
1417
|
+
reaction: z.ZodNullable<z.ZodEnum<{
|
|
1418
|
+
like: "like";
|
|
1419
|
+
celebrate: "celebrate";
|
|
1420
|
+
insightful: "insightful";
|
|
1421
|
+
curious: "curious";
|
|
1422
|
+
}>>;
|
|
1423
|
+
isAuthor: z.ZodBoolean;
|
|
1424
|
+
canMarkHelpful: z.ZodBoolean;
|
|
1201
1425
|
}, z.core.$strip>>;
|
|
1426
|
+
authorIsTester: z.ZodBoolean;
|
|
1202
1427
|
}, z.core.$strip>>;
|
|
1203
1428
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1204
1429
|
}, z.core.$strip>;
|
|
1205
|
-
export type
|
|
1430
|
+
export type ProductFeedbackPage = z.infer<typeof productFeedbackPageSchema>;
|
|
1206
1431
|
/**
|
|
1207
1432
|
* ⚠️ Every write body below is its own object with NO defaults, and none of
|
|
1208
1433
|
* them is built with `.pick().partial()`. `.partial()` does not switch off
|
|
@@ -1210,28 +1435,25 @@ export type CommentPage = z.infer<typeof commentPageSchema>;
|
|
|
1210
1435
|
* every request. See `updateFounderProfileBodySchema` for the incident.
|
|
1211
1436
|
*/
|
|
1212
1437
|
/**
|
|
1213
|
-
* An attachment on the way IN:
|
|
1214
|
-
* deliberately not a URL.
|
|
1215
|
-
*
|
|
1216
|
-
* Upload happens first, straight to storage, and the composer sends back the
|
|
1217
|
-
* key it was given (`uploadKeySchema`, in `uploads`). The server resolves that
|
|
1218
|
-
* key to the URL, dimensions and poster frame it reads from the object itself,
|
|
1219
|
-
* and those become the read shape.
|
|
1438
|
+
* An attachment on the way IN: the id of an image already uploaded and
|
|
1439
|
+
* completed (`media`), and deliberately not a URL.
|
|
1220
1440
|
*
|
|
1221
1441
|
* ⚠ The first draft of this took the full read shape, URL included. That is
|
|
1222
1442
|
* the same hole that was closed on the profile: a URL in a write body is a
|
|
1223
1443
|
* member-supplied URL, so a post could have carried `javascript:` in an image
|
|
1224
1444
|
* source, and nothing downstream re-checks a value the server itself stored.
|
|
1225
|
-
* Taking
|
|
1226
|
-
* also stops a member pointing a post at somebody else's file.
|
|
1445
|
+
* Taking an id instead removes the question rather than validating it.
|
|
1227
1446
|
*
|
|
1228
|
-
* `width`, `height` and
|
|
1229
|
-
*
|
|
1230
|
-
*
|
|
1231
|
-
*
|
|
1447
|
+
* `width`, `height` and the URLs are NOT accepted either: the server measured
|
|
1448
|
+
* them when it processed the upload, and taking them from the client would let
|
|
1449
|
+
* a caller claim a 1x1 image and collapse the card.
|
|
1450
|
+
*
|
|
1451
|
+
* The server attaches each id only if it is the caller's, processed, uploaded
|
|
1452
|
+
* for a post, and not attached anywhere yet (`UPLOAD_NOT_ATTACHABLE`
|
|
1453
|
+
* otherwise), so one upload can never appear on two posts.
|
|
1232
1454
|
*/
|
|
1233
1455
|
export declare const attachedMediaSchema: z.ZodObject<{
|
|
1234
|
-
|
|
1456
|
+
mediaId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1235
1457
|
alt: z.ZodOptional<z.ZodString>;
|
|
1236
1458
|
}, z.core.$strip>;
|
|
1237
1459
|
export type AttachedMedia = z.infer<typeof attachedMediaSchema>;
|
|
@@ -1240,9 +1462,16 @@ export type AttachedMedia = z.infer<typeof attachedMediaSchema>;
|
|
|
1240
1462
|
* refused here rather than reaching the feed as a blank card.
|
|
1241
1463
|
*/
|
|
1242
1464
|
export declare const createPostBodySchema: z.ZodObject<{
|
|
1465
|
+
productId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1466
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
1467
|
+
feedback: "feedback";
|
|
1468
|
+
testers: "testers";
|
|
1469
|
+
launch: "launch";
|
|
1470
|
+
ideas: "ideas";
|
|
1471
|
+
}>>;
|
|
1243
1472
|
text: z.ZodOptional<z.ZodString>;
|
|
1244
1473
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1245
|
-
|
|
1474
|
+
mediaId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1246
1475
|
alt: z.ZodOptional<z.ZodString>;
|
|
1247
1476
|
}, z.core.$strip>>>;
|
|
1248
1477
|
topics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -1326,6 +1555,13 @@ export declare const updatePostBodySchema: z.ZodObject<{
|
|
|
1326
1555
|
}, z.core.$strip>;
|
|
1327
1556
|
export type UpdatePostBody = z.infer<typeof updatePostBodySchema>;
|
|
1328
1557
|
export declare const createPollBodySchema: z.ZodObject<{
|
|
1558
|
+
productId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
1559
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
1560
|
+
feedback: "feedback";
|
|
1561
|
+
testers: "testers";
|
|
1562
|
+
launch: "launch";
|
|
1563
|
+
ideas: "ideas";
|
|
1564
|
+
}>>;
|
|
1329
1565
|
question: z.ZodString;
|
|
1330
1566
|
options: z.ZodArray<z.ZodObject<{
|
|
1331
1567
|
label: z.ZodString;
|
|
@@ -1516,14 +1752,27 @@ export type CreateReportBody = z.infer<typeof createReportBodySchema>;
|
|
|
1516
1752
|
*/
|
|
1517
1753
|
export declare const createReportResponseSchema: z.ZodObject<{
|
|
1518
1754
|
contentKind: z.ZodEnum<{
|
|
1755
|
+
product: "product";
|
|
1519
1756
|
post: "post";
|
|
1520
1757
|
poll: "poll";
|
|
1521
1758
|
comment: "comment";
|
|
1759
|
+
review: "review";
|
|
1522
1760
|
}>;
|
|
1523
1761
|
contentId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1524
1762
|
alreadyReported: z.ZodBoolean;
|
|
1525
1763
|
}, z.core.$strip>;
|
|
1526
1764
|
export type CreateReportResponse = z.infer<typeof createReportResponseSchema>;
|
|
1765
|
+
/**
|
|
1766
|
+
* `PUT|DELETE /api/v1/feed/comments/:commentId/helpful`: the product's team
|
|
1767
|
+
* marks (or unmarks) a comment as feedback that helped. Answers the state it
|
|
1768
|
+
* settled on. `FEEDBACK_NOT_MARKABLE` when the comment is not feedback on a
|
|
1769
|
+
* product the caller is on the team of.
|
|
1770
|
+
*/
|
|
1771
|
+
export declare const commentHelpfulResponseSchema: z.ZodObject<{
|
|
1772
|
+
commentId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1773
|
+
helpfulAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1774
|
+
}, z.core.$strip>;
|
|
1775
|
+
export type CommentHelpfulResponse = z.infer<typeof commentHelpfulResponseSchema>;
|
|
1527
1776
|
/** The bookmark endpoint is a toggle and returns the state it settled on. */
|
|
1528
1777
|
export declare const toggleBookmarkResponseSchema: z.ZodObject<{
|
|
1529
1778
|
contentKind: z.ZodEnum<{
|
|
@@ -1629,6 +1878,18 @@ export declare const castVoteResponseSchema: z.ZodObject<{
|
|
|
1629
1878
|
social_enterprise: "social_enterprise";
|
|
1630
1879
|
education_access: "education_access";
|
|
1631
1880
|
}>>;
|
|
1881
|
+
product: z.ZodOptional<z.ZodObject<{
|
|
1882
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1883
|
+
slug: z.ZodString;
|
|
1884
|
+
name: z.ZodString;
|
|
1885
|
+
logoUrl: z.ZodOptional<z.ZodURL>;
|
|
1886
|
+
}, z.core.$strip>>;
|
|
1887
|
+
ask: z.ZodOptional<z.ZodEnum<{
|
|
1888
|
+
feedback: "feedback";
|
|
1889
|
+
testers: "testers";
|
|
1890
|
+
launch: "launch";
|
|
1891
|
+
ideas: "ideas";
|
|
1892
|
+
}>>;
|
|
1632
1893
|
commentCount: z.ZodNumber;
|
|
1633
1894
|
reactionCounts: z.ZodRecord<z.ZodEnum<{
|
|
1634
1895
|
like: "like";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../src/domains/feed/feed.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../src/domains/feed/feed.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,OAAO,CAAC;AACxC;;;;;;;;G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