founder-schema 0.29.0 → 0.30.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/dist/domains/feed/feed.d.ts +3 -1
- package/dist/domains/feed/feed.d.ts.map +1 -1
- package/dist/domains/feed/feed.js +2 -0
- package/dist/domains/feed/feed.js.map +1 -1
- package/dist/domains/moderation/moderation.d.ts +4 -0
- package/dist/domains/moderation/moderation.d.ts.map +1 -1
- package/dist/domains/moderation/moderation.js +1 -0
- package/dist/domains/moderation/moderation.js.map +1 -1
- package/dist/domains/notifications/notifications.d.ts +13 -2
- package/dist/domains/notifications/notifications.d.ts.map +1 -1
- package/dist/domains/notifications/notifications.js +9 -1
- package/dist/domains/notifications/notifications.js.map +1 -1
- package/dist/domains/products/product-comments.d.ts +144 -0
- package/dist/domains/products/product-comments.d.ts.map +1 -0
- package/dist/domains/products/product-comments.js +77 -0
- package/dist/domains/products/product-comments.js.map +1 -0
- package/dist/domains/products/products.d.ts +289 -0
- package/dist/domains/products/products.d.ts.map +1 -1
- package/dist/domains/products/products.js +17 -0
- package/dist/domains/products/products.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -274,6 +274,12 @@ export declare const productCardViewerSchema: z.ZodObject<{
|
|
|
274
274
|
* A product on Discover, on a profile, in "my products". `cover` is the first
|
|
275
275
|
* screenshot. `openAsks` are the asks whose window is open now, by the
|
|
276
276
|
* server's clock ("Testers wanted").
|
|
277
|
+
*
|
|
278
|
+
* The card shows almost everything the page does (the user, 2026-11-24): the
|
|
279
|
+
* description (two lines, then Read more), its topics, every screenshot (a
|
|
280
|
+
* swipe gallery), its links and the demo video. OPTIONAL here so a card
|
|
281
|
+
* written before they were sent still parses; the page (`productSchema`)
|
|
282
|
+
* keeps them required.
|
|
277
283
|
*/
|
|
278
284
|
export declare const productCardSchema: z.ZodObject<{
|
|
279
285
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
@@ -304,6 +310,99 @@ export declare const productCardSchema: z.ZodObject<{
|
|
|
304
310
|
}, z.core.$strip>>;
|
|
305
311
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
306
312
|
}, z.core.$strip>>;
|
|
313
|
+
description: z.ZodOptional<z.ZodString>;
|
|
314
|
+
topics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
315
|
+
ai_ml: "ai_ml";
|
|
316
|
+
b2b_saas: "b2b_saas";
|
|
317
|
+
d2c: "d2c";
|
|
318
|
+
deeptech: "deeptech";
|
|
319
|
+
robotics: "robotics";
|
|
320
|
+
growth: "growth";
|
|
321
|
+
sales: "sales";
|
|
322
|
+
marketing: "marketing";
|
|
323
|
+
supply_chain: "supply_chain";
|
|
324
|
+
fundraising: "fundraising";
|
|
325
|
+
mentoring: "mentoring";
|
|
326
|
+
leadership: "leadership";
|
|
327
|
+
networking: "networking";
|
|
328
|
+
public_speaking: "public_speaking";
|
|
329
|
+
teaching: "teaching";
|
|
330
|
+
hiring_talent: "hiring_talent";
|
|
331
|
+
personal_branding: "personal_branding";
|
|
332
|
+
career_transition: "career_transition";
|
|
333
|
+
remote_work: "remote_work";
|
|
334
|
+
blockchain: "blockchain";
|
|
335
|
+
crypto_web3: "crypto_web3";
|
|
336
|
+
data_science: "data_science";
|
|
337
|
+
cybersecurity: "cybersecurity";
|
|
338
|
+
game_dev: "game_dev";
|
|
339
|
+
ux_design: "ux_design";
|
|
340
|
+
app_development: "app_development";
|
|
341
|
+
open_source: "open_source";
|
|
342
|
+
electronics: "electronics";
|
|
343
|
+
space_exploration: "space_exploration";
|
|
344
|
+
green_tech: "green_tech";
|
|
345
|
+
no_code: "no_code";
|
|
346
|
+
entrepreneurship: "entrepreneurship";
|
|
347
|
+
investing: "investing";
|
|
348
|
+
stock_trading: "stock_trading";
|
|
349
|
+
personal_finance: "personal_finance";
|
|
350
|
+
consulting: "consulting";
|
|
351
|
+
ecommerce: "ecommerce";
|
|
352
|
+
retail: "retail";
|
|
353
|
+
real_estate: "real_estate";
|
|
354
|
+
product_management: "product_management";
|
|
355
|
+
meditation: "meditation";
|
|
356
|
+
journaling: "journaling";
|
|
357
|
+
self_improvement: "self_improvement";
|
|
358
|
+
productivity: "productivity";
|
|
359
|
+
reading: "reading";
|
|
360
|
+
online_courses: "online_courses";
|
|
361
|
+
philosophy: "philosophy";
|
|
362
|
+
psychology: "psychology";
|
|
363
|
+
therapy: "therapy";
|
|
364
|
+
sleep_optimization: "sleep_optimization";
|
|
365
|
+
gym: "gym";
|
|
366
|
+
yoga: "yoga";
|
|
367
|
+
photography: "photography";
|
|
368
|
+
writing: "writing";
|
|
369
|
+
graphic_design: "graphic_design";
|
|
370
|
+
filmmaking: "filmmaking";
|
|
371
|
+
digital_art: "digital_art";
|
|
372
|
+
content_creation: "content_creation";
|
|
373
|
+
blogging: "blogging";
|
|
374
|
+
vlogging: "vlogging";
|
|
375
|
+
podcasts: "podcasts";
|
|
376
|
+
animation: "animation";
|
|
377
|
+
music_production: "music_production";
|
|
378
|
+
volunteering: "volunteering";
|
|
379
|
+
ngo_work: "ngo_work";
|
|
380
|
+
environmental: "environmental";
|
|
381
|
+
women_empowerment: "women_empowerment";
|
|
382
|
+
community_service: "community_service";
|
|
383
|
+
social_enterprise: "social_enterprise";
|
|
384
|
+
education_access: "education_access";
|
|
385
|
+
}>>>;
|
|
386
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
387
|
+
id: z.ZodString;
|
|
388
|
+
url: z.ZodURL;
|
|
389
|
+
width: z.ZodNumber;
|
|
390
|
+
height: z.ZodNumber;
|
|
391
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
392
|
+
width: z.ZodNumber;
|
|
393
|
+
height: z.ZodNumber;
|
|
394
|
+
url: z.ZodURL;
|
|
395
|
+
}, z.core.$strip>>;
|
|
396
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
397
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
398
|
+
}, z.core.$strip>>>;
|
|
399
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
website: z.ZodOptional<z.ZodURL>;
|
|
401
|
+
appStore: z.ZodOptional<z.ZodURL>;
|
|
402
|
+
playStore: z.ZodOptional<z.ZodURL>;
|
|
403
|
+
github: z.ZodOptional<z.ZodURL>;
|
|
404
|
+
}, z.core.$strip>>;
|
|
405
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
307
406
|
industry: z.ZodEnum<{
|
|
308
407
|
agritech: "agritech";
|
|
309
408
|
ai_ml: "ai_ml";
|
|
@@ -356,6 +455,7 @@ export declare const productCardSchema: z.ZodObject<{
|
|
|
356
455
|
average: z.ZodNullable<z.ZodNumber>;
|
|
357
456
|
}, z.core.$strip>;
|
|
358
457
|
upvoteCount: z.ZodNumber;
|
|
458
|
+
commentCount: z.ZodOptional<z.ZodNumber>;
|
|
359
459
|
openAsks: z.ZodArray<z.ZodEnum<{
|
|
360
460
|
feedback: "feedback";
|
|
361
461
|
testers: "testers";
|
|
@@ -524,6 +624,7 @@ export declare const productSchema: z.ZodObject<{
|
|
|
524
624
|
average: z.ZodNullable<z.ZodNumber>;
|
|
525
625
|
}, z.core.$strip>;
|
|
526
626
|
upvoteCount: z.ZodNumber;
|
|
627
|
+
commentCount: z.ZodOptional<z.ZodNumber>;
|
|
527
628
|
openAsks: z.ZodArray<z.ZodEnum<{
|
|
528
629
|
feedback: "feedback";
|
|
529
630
|
testers: "testers";
|
|
@@ -798,6 +899,99 @@ export declare const myProductsSchema: z.ZodObject<{
|
|
|
798
899
|
}, z.core.$strip>>;
|
|
799
900
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
800
901
|
}, z.core.$strip>>;
|
|
902
|
+
description: z.ZodOptional<z.ZodString>;
|
|
903
|
+
topics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
904
|
+
ai_ml: "ai_ml";
|
|
905
|
+
b2b_saas: "b2b_saas";
|
|
906
|
+
d2c: "d2c";
|
|
907
|
+
deeptech: "deeptech";
|
|
908
|
+
robotics: "robotics";
|
|
909
|
+
growth: "growth";
|
|
910
|
+
sales: "sales";
|
|
911
|
+
marketing: "marketing";
|
|
912
|
+
supply_chain: "supply_chain";
|
|
913
|
+
fundraising: "fundraising";
|
|
914
|
+
mentoring: "mentoring";
|
|
915
|
+
leadership: "leadership";
|
|
916
|
+
networking: "networking";
|
|
917
|
+
public_speaking: "public_speaking";
|
|
918
|
+
teaching: "teaching";
|
|
919
|
+
hiring_talent: "hiring_talent";
|
|
920
|
+
personal_branding: "personal_branding";
|
|
921
|
+
career_transition: "career_transition";
|
|
922
|
+
remote_work: "remote_work";
|
|
923
|
+
blockchain: "blockchain";
|
|
924
|
+
crypto_web3: "crypto_web3";
|
|
925
|
+
data_science: "data_science";
|
|
926
|
+
cybersecurity: "cybersecurity";
|
|
927
|
+
game_dev: "game_dev";
|
|
928
|
+
ux_design: "ux_design";
|
|
929
|
+
app_development: "app_development";
|
|
930
|
+
open_source: "open_source";
|
|
931
|
+
electronics: "electronics";
|
|
932
|
+
space_exploration: "space_exploration";
|
|
933
|
+
green_tech: "green_tech";
|
|
934
|
+
no_code: "no_code";
|
|
935
|
+
entrepreneurship: "entrepreneurship";
|
|
936
|
+
investing: "investing";
|
|
937
|
+
stock_trading: "stock_trading";
|
|
938
|
+
personal_finance: "personal_finance";
|
|
939
|
+
consulting: "consulting";
|
|
940
|
+
ecommerce: "ecommerce";
|
|
941
|
+
retail: "retail";
|
|
942
|
+
real_estate: "real_estate";
|
|
943
|
+
product_management: "product_management";
|
|
944
|
+
meditation: "meditation";
|
|
945
|
+
journaling: "journaling";
|
|
946
|
+
self_improvement: "self_improvement";
|
|
947
|
+
productivity: "productivity";
|
|
948
|
+
reading: "reading";
|
|
949
|
+
online_courses: "online_courses";
|
|
950
|
+
philosophy: "philosophy";
|
|
951
|
+
psychology: "psychology";
|
|
952
|
+
therapy: "therapy";
|
|
953
|
+
sleep_optimization: "sleep_optimization";
|
|
954
|
+
gym: "gym";
|
|
955
|
+
yoga: "yoga";
|
|
956
|
+
photography: "photography";
|
|
957
|
+
writing: "writing";
|
|
958
|
+
graphic_design: "graphic_design";
|
|
959
|
+
filmmaking: "filmmaking";
|
|
960
|
+
digital_art: "digital_art";
|
|
961
|
+
content_creation: "content_creation";
|
|
962
|
+
blogging: "blogging";
|
|
963
|
+
vlogging: "vlogging";
|
|
964
|
+
podcasts: "podcasts";
|
|
965
|
+
animation: "animation";
|
|
966
|
+
music_production: "music_production";
|
|
967
|
+
volunteering: "volunteering";
|
|
968
|
+
ngo_work: "ngo_work";
|
|
969
|
+
environmental: "environmental";
|
|
970
|
+
women_empowerment: "women_empowerment";
|
|
971
|
+
community_service: "community_service";
|
|
972
|
+
social_enterprise: "social_enterprise";
|
|
973
|
+
education_access: "education_access";
|
|
974
|
+
}>>>;
|
|
975
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
976
|
+
id: z.ZodString;
|
|
977
|
+
url: z.ZodURL;
|
|
978
|
+
width: z.ZodNumber;
|
|
979
|
+
height: z.ZodNumber;
|
|
980
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
981
|
+
width: z.ZodNumber;
|
|
982
|
+
height: z.ZodNumber;
|
|
983
|
+
url: z.ZodURL;
|
|
984
|
+
}, z.core.$strip>>;
|
|
985
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
986
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
987
|
+
}, z.core.$strip>>>;
|
|
988
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
989
|
+
website: z.ZodOptional<z.ZodURL>;
|
|
990
|
+
appStore: z.ZodOptional<z.ZodURL>;
|
|
991
|
+
playStore: z.ZodOptional<z.ZodURL>;
|
|
992
|
+
github: z.ZodOptional<z.ZodURL>;
|
|
993
|
+
}, z.core.$strip>>;
|
|
994
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
801
995
|
industry: z.ZodEnum<{
|
|
802
996
|
agritech: "agritech";
|
|
803
997
|
ai_ml: "ai_ml";
|
|
@@ -850,6 +1044,7 @@ export declare const myProductsSchema: z.ZodObject<{
|
|
|
850
1044
|
average: z.ZodNullable<z.ZodNumber>;
|
|
851
1045
|
}, z.core.$strip>;
|
|
852
1046
|
upvoteCount: z.ZodNumber;
|
|
1047
|
+
commentCount: z.ZodOptional<z.ZodNumber>;
|
|
853
1048
|
openAsks: z.ZodArray<z.ZodEnum<{
|
|
854
1049
|
feedback: "feedback";
|
|
855
1050
|
testers: "testers";
|
|
@@ -915,6 +1110,99 @@ export declare const productCardPageSchema: z.ZodObject<{
|
|
|
915
1110
|
}, z.core.$strip>>;
|
|
916
1111
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
917
1112
|
}, z.core.$strip>>;
|
|
1113
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
topics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1115
|
+
ai_ml: "ai_ml";
|
|
1116
|
+
b2b_saas: "b2b_saas";
|
|
1117
|
+
d2c: "d2c";
|
|
1118
|
+
deeptech: "deeptech";
|
|
1119
|
+
robotics: "robotics";
|
|
1120
|
+
growth: "growth";
|
|
1121
|
+
sales: "sales";
|
|
1122
|
+
marketing: "marketing";
|
|
1123
|
+
supply_chain: "supply_chain";
|
|
1124
|
+
fundraising: "fundraising";
|
|
1125
|
+
mentoring: "mentoring";
|
|
1126
|
+
leadership: "leadership";
|
|
1127
|
+
networking: "networking";
|
|
1128
|
+
public_speaking: "public_speaking";
|
|
1129
|
+
teaching: "teaching";
|
|
1130
|
+
hiring_talent: "hiring_talent";
|
|
1131
|
+
personal_branding: "personal_branding";
|
|
1132
|
+
career_transition: "career_transition";
|
|
1133
|
+
remote_work: "remote_work";
|
|
1134
|
+
blockchain: "blockchain";
|
|
1135
|
+
crypto_web3: "crypto_web3";
|
|
1136
|
+
data_science: "data_science";
|
|
1137
|
+
cybersecurity: "cybersecurity";
|
|
1138
|
+
game_dev: "game_dev";
|
|
1139
|
+
ux_design: "ux_design";
|
|
1140
|
+
app_development: "app_development";
|
|
1141
|
+
open_source: "open_source";
|
|
1142
|
+
electronics: "electronics";
|
|
1143
|
+
space_exploration: "space_exploration";
|
|
1144
|
+
green_tech: "green_tech";
|
|
1145
|
+
no_code: "no_code";
|
|
1146
|
+
entrepreneurship: "entrepreneurship";
|
|
1147
|
+
investing: "investing";
|
|
1148
|
+
stock_trading: "stock_trading";
|
|
1149
|
+
personal_finance: "personal_finance";
|
|
1150
|
+
consulting: "consulting";
|
|
1151
|
+
ecommerce: "ecommerce";
|
|
1152
|
+
retail: "retail";
|
|
1153
|
+
real_estate: "real_estate";
|
|
1154
|
+
product_management: "product_management";
|
|
1155
|
+
meditation: "meditation";
|
|
1156
|
+
journaling: "journaling";
|
|
1157
|
+
self_improvement: "self_improvement";
|
|
1158
|
+
productivity: "productivity";
|
|
1159
|
+
reading: "reading";
|
|
1160
|
+
online_courses: "online_courses";
|
|
1161
|
+
philosophy: "philosophy";
|
|
1162
|
+
psychology: "psychology";
|
|
1163
|
+
therapy: "therapy";
|
|
1164
|
+
sleep_optimization: "sleep_optimization";
|
|
1165
|
+
gym: "gym";
|
|
1166
|
+
yoga: "yoga";
|
|
1167
|
+
photography: "photography";
|
|
1168
|
+
writing: "writing";
|
|
1169
|
+
graphic_design: "graphic_design";
|
|
1170
|
+
filmmaking: "filmmaking";
|
|
1171
|
+
digital_art: "digital_art";
|
|
1172
|
+
content_creation: "content_creation";
|
|
1173
|
+
blogging: "blogging";
|
|
1174
|
+
vlogging: "vlogging";
|
|
1175
|
+
podcasts: "podcasts";
|
|
1176
|
+
animation: "animation";
|
|
1177
|
+
music_production: "music_production";
|
|
1178
|
+
volunteering: "volunteering";
|
|
1179
|
+
ngo_work: "ngo_work";
|
|
1180
|
+
environmental: "environmental";
|
|
1181
|
+
women_empowerment: "women_empowerment";
|
|
1182
|
+
community_service: "community_service";
|
|
1183
|
+
social_enterprise: "social_enterprise";
|
|
1184
|
+
education_access: "education_access";
|
|
1185
|
+
}>>>;
|
|
1186
|
+
screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1187
|
+
id: z.ZodString;
|
|
1188
|
+
url: z.ZodURL;
|
|
1189
|
+
width: z.ZodNumber;
|
|
1190
|
+
height: z.ZodNumber;
|
|
1191
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1192
|
+
width: z.ZodNumber;
|
|
1193
|
+
height: z.ZodNumber;
|
|
1194
|
+
url: z.ZodURL;
|
|
1195
|
+
}, z.core.$strip>>;
|
|
1196
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
}, z.core.$strip>>>;
|
|
1199
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
1200
|
+
website: z.ZodOptional<z.ZodURL>;
|
|
1201
|
+
appStore: z.ZodOptional<z.ZodURL>;
|
|
1202
|
+
playStore: z.ZodOptional<z.ZodURL>;
|
|
1203
|
+
github: z.ZodOptional<z.ZodURL>;
|
|
1204
|
+
}, z.core.$strip>>;
|
|
1205
|
+
videoUrl: z.ZodOptional<z.ZodURL>;
|
|
918
1206
|
industry: z.ZodEnum<{
|
|
919
1207
|
agritech: "agritech";
|
|
920
1208
|
ai_ml: "ai_ml";
|
|
@@ -967,6 +1255,7 @@ export declare const productCardPageSchema: z.ZodObject<{
|
|
|
967
1255
|
average: z.ZodNullable<z.ZodNumber>;
|
|
968
1256
|
}, z.core.$strip>;
|
|
969
1257
|
upvoteCount: z.ZodNumber;
|
|
1258
|
+
commentCount: z.ZodOptional<z.ZodNumber>;
|
|
970
1259
|
openAsks: z.ZodArray<z.ZodEnum<{
|
|
971
1260
|
feedback: "feedback";
|
|
972
1261
|
testers: "testers";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../src/domains/products/products.ts"],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BAA6B,CAAC,CAAC;AAEpF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;iBAAiD,CAAC;AAC7F,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB;;iBAAuC,CAAC;AAC9E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -247,6 +247,12 @@ export const productCardViewerSchema = z.object({
|
|
|
247
247
|
* A product on Discover, on a profile, in "my products". `cover` is the first
|
|
248
248
|
* screenshot. `openAsks` are the asks whose window is open now, by the
|
|
249
249
|
* server's clock ("Testers wanted").
|
|
250
|
+
*
|
|
251
|
+
* The card shows almost everything the page does (the user, 2026-11-24): the
|
|
252
|
+
* description (two lines, then Read more), its topics, every screenshot (a
|
|
253
|
+
* swipe gallery), its links and the demo video. OPTIONAL here so a card
|
|
254
|
+
* written before they were sent still parses; the page (`productSchema`)
|
|
255
|
+
* keeps them required.
|
|
250
256
|
*/
|
|
251
257
|
export const productCardSchema = z.object({
|
|
252
258
|
id: objectIdSchema,
|
|
@@ -255,6 +261,11 @@ export const productCardSchema = z.object({
|
|
|
255
261
|
tagline: z.string().optional(),
|
|
256
262
|
logo: mediaImageSchema.optional(),
|
|
257
263
|
cover: mediaImageSchema.optional(),
|
|
264
|
+
description: z.string().optional(),
|
|
265
|
+
topics: z.array(topicSchema).max(PRODUCT_TOPICS_MAX).optional(),
|
|
266
|
+
screenshots: z.array(productScreenshotSchema).max(PRODUCT_SCREENSHOTS_MAX).optional(),
|
|
267
|
+
links: productLinksReadSchema.optional(),
|
|
268
|
+
videoUrl: safeUrlSchema.optional(),
|
|
258
269
|
industry: industrySchema,
|
|
259
270
|
stage: productStageSchema,
|
|
260
271
|
platforms: z.array(productPlatformSchema),
|
|
@@ -262,6 +273,12 @@ export const productCardSchema = z.object({
|
|
|
262
273
|
status: productStatusSchema,
|
|
263
274
|
rating: productRatingSchema,
|
|
264
275
|
upvoteCount: z.number().int().nonnegative(),
|
|
276
|
+
/**
|
|
277
|
+
* Visible comments ON the product (2026-11-24, `product-comments.ts`), top
|
|
278
|
+
* level and replies. Not the Feedback count (comments on posts about it).
|
|
279
|
+
* Optional: a card from before reads as 0.
|
|
280
|
+
*/
|
|
281
|
+
commentCount: z.number().int().nonnegative().optional(),
|
|
265
282
|
openAsks: z.array(productAskSchema),
|
|
266
283
|
/**
|
|
267
284
|
* Staff hid it (0.7.0). Only ever on a card its team or staff can see (in
|