founder-schema 0.25.0 → 0.26.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/communities/communities.d.ts +9 -9
- package/dist/domains/discover/discover.d.ts +88 -0
- package/dist/domains/discover/discover.d.ts.map +1 -1
- package/dist/domains/feed/feed.d.ts +11 -11
- package/dist/domains/follows/follows.d.ts +186 -3
- package/dist/domains/follows/follows.d.ts.map +1 -1
- package/dist/domains/follows/follows.js +15 -4
- package/dist/domains/follows/follows.js.map +1 -1
- package/dist/domains/follows/relation.d.ts +24 -0
- package/dist/domains/follows/relation.d.ts.map +1 -1
- package/dist/domains/follows/relation.js +24 -0
- package/dist/domains/follows/relation.js.map +1 -1
- package/dist/domains/onboarding/onboarding-answers.d.ts +12 -8
- package/dist/domains/onboarding/onboarding-answers.d.ts.map +1 -1
- package/dist/domains/onboarding/onboarding-answers.js +20 -21
- package/dist/domains/onboarding/onboarding-answers.js.map +1 -1
- package/dist/domains/onboarding/onboarding.d.ts +210 -174
- package/dist/domains/onboarding/onboarding.d.ts.map +1 -1
- package/dist/domains/onboarding/onboarding.js +104 -70
- package/dist/domains/onboarding/onboarding.js.map +1 -1
- package/dist/domains/products/products.d.ts +3 -3
- package/dist/domains/profile/founder-profile.d.ts +143 -1
- package/dist/domains/profile/founder-profile.d.ts.map +1 -1
- package/dist/domains/profile/founder-profile.js +44 -1
- package/dist/domains/profile/founder-profile.js.map +1 -1
- package/dist/domains/profile/my-profile.d.ts +119 -40
- package/dist/domains/profile/my-profile.d.ts.map +1 -1
- package/dist/domains/profile/my-profile.js +28 -14
- package/dist/domains/profile/my-profile.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -266,7 +266,6 @@ export declare const communityCardSchema: z.ZodObject<{
|
|
|
266
266
|
marketing: "marketing";
|
|
267
267
|
supply_chain: "supply_chain";
|
|
268
268
|
fundraising: "fundraising";
|
|
269
|
-
social_enterprise: "social_enterprise";
|
|
270
269
|
mentoring: "mentoring";
|
|
271
270
|
leadership: "leadership";
|
|
272
271
|
networking: "networking";
|
|
@@ -325,6 +324,7 @@ export declare const communityCardSchema: z.ZodObject<{
|
|
|
325
324
|
environmental: "environmental";
|
|
326
325
|
women_empowerment: "women_empowerment";
|
|
327
326
|
community_service: "community_service";
|
|
327
|
+
social_enterprise: "social_enterprise";
|
|
328
328
|
education_access: "education_access";
|
|
329
329
|
}>>;
|
|
330
330
|
memberCount: z.ZodNumber;
|
|
@@ -439,7 +439,6 @@ export declare const communitySchema: z.ZodObject<{
|
|
|
439
439
|
marketing: "marketing";
|
|
440
440
|
supply_chain: "supply_chain";
|
|
441
441
|
fundraising: "fundraising";
|
|
442
|
-
social_enterprise: "social_enterprise";
|
|
443
442
|
mentoring: "mentoring";
|
|
444
443
|
leadership: "leadership";
|
|
445
444
|
networking: "networking";
|
|
@@ -498,6 +497,7 @@ export declare const communitySchema: z.ZodObject<{
|
|
|
498
497
|
environmental: "environmental";
|
|
499
498
|
women_empowerment: "women_empowerment";
|
|
500
499
|
community_service: "community_service";
|
|
500
|
+
social_enterprise: "social_enterprise";
|
|
501
501
|
education_access: "education_access";
|
|
502
502
|
}>>;
|
|
503
503
|
memberCount: z.ZodNumber;
|
|
@@ -701,7 +701,6 @@ export declare const communitySuggestionSchema: z.ZodObject<{
|
|
|
701
701
|
marketing: "marketing";
|
|
702
702
|
supply_chain: "supply_chain";
|
|
703
703
|
fundraising: "fundraising";
|
|
704
|
-
social_enterprise: "social_enterprise";
|
|
705
704
|
mentoring: "mentoring";
|
|
706
705
|
leadership: "leadership";
|
|
707
706
|
networking: "networking";
|
|
@@ -760,6 +759,7 @@ export declare const communitySuggestionSchema: z.ZodObject<{
|
|
|
760
759
|
environmental: "environmental";
|
|
761
760
|
women_empowerment: "women_empowerment";
|
|
762
761
|
community_service: "community_service";
|
|
762
|
+
social_enterprise: "social_enterprise";
|
|
763
763
|
education_access: "education_access";
|
|
764
764
|
}>>;
|
|
765
765
|
status: z.ZodEnum<{
|
|
@@ -831,7 +831,6 @@ export declare const communityCardPageSchema: z.ZodObject<{
|
|
|
831
831
|
marketing: "marketing";
|
|
832
832
|
supply_chain: "supply_chain";
|
|
833
833
|
fundraising: "fundraising";
|
|
834
|
-
social_enterprise: "social_enterprise";
|
|
835
834
|
mentoring: "mentoring";
|
|
836
835
|
leadership: "leadership";
|
|
837
836
|
networking: "networking";
|
|
@@ -890,6 +889,7 @@ export declare const communityCardPageSchema: z.ZodObject<{
|
|
|
890
889
|
environmental: "environmental";
|
|
891
890
|
women_empowerment: "women_empowerment";
|
|
892
891
|
community_service: "community_service";
|
|
892
|
+
social_enterprise: "social_enterprise";
|
|
893
893
|
education_access: "education_access";
|
|
894
894
|
}>>;
|
|
895
895
|
memberCount: z.ZodNumber;
|
|
@@ -1032,7 +1032,6 @@ export declare const communitySuggestionPageSchema: z.ZodObject<{
|
|
|
1032
1032
|
marketing: "marketing";
|
|
1033
1033
|
supply_chain: "supply_chain";
|
|
1034
1034
|
fundraising: "fundraising";
|
|
1035
|
-
social_enterprise: "social_enterprise";
|
|
1036
1035
|
mentoring: "mentoring";
|
|
1037
1036
|
leadership: "leadership";
|
|
1038
1037
|
networking: "networking";
|
|
@@ -1091,6 +1090,7 @@ export declare const communitySuggestionPageSchema: z.ZodObject<{
|
|
|
1091
1090
|
environmental: "environmental";
|
|
1092
1091
|
women_empowerment: "women_empowerment";
|
|
1093
1092
|
community_service: "community_service";
|
|
1093
|
+
social_enterprise: "social_enterprise";
|
|
1094
1094
|
education_access: "education_access";
|
|
1095
1095
|
}>>;
|
|
1096
1096
|
status: z.ZodEnum<{
|
|
@@ -1146,7 +1146,6 @@ export declare const communityDiscoverQuerySchema: z.ZodObject<{
|
|
|
1146
1146
|
marketing: "marketing";
|
|
1147
1147
|
supply_chain: "supply_chain";
|
|
1148
1148
|
fundraising: "fundraising";
|
|
1149
|
-
social_enterprise: "social_enterprise";
|
|
1150
1149
|
mentoring: "mentoring";
|
|
1151
1150
|
leadership: "leadership";
|
|
1152
1151
|
networking: "networking";
|
|
@@ -1205,6 +1204,7 @@ export declare const communityDiscoverQuerySchema: z.ZodObject<{
|
|
|
1205
1204
|
environmental: "environmental";
|
|
1206
1205
|
women_empowerment: "women_empowerment";
|
|
1207
1206
|
community_service: "community_service";
|
|
1207
|
+
social_enterprise: "social_enterprise";
|
|
1208
1208
|
education_access: "education_access";
|
|
1209
1209
|
}>>>, unknown>;
|
|
1210
1210
|
}, z.core.$strip>;
|
|
@@ -1289,7 +1289,6 @@ export declare const createCommunityBodySchema: z.ZodObject<{
|
|
|
1289
1289
|
marketing: "marketing";
|
|
1290
1290
|
supply_chain: "supply_chain";
|
|
1291
1291
|
fundraising: "fundraising";
|
|
1292
|
-
social_enterprise: "social_enterprise";
|
|
1293
1292
|
mentoring: "mentoring";
|
|
1294
1293
|
leadership: "leadership";
|
|
1295
1294
|
networking: "networking";
|
|
@@ -1348,6 +1347,7 @@ export declare const createCommunityBodySchema: z.ZodObject<{
|
|
|
1348
1347
|
environmental: "environmental";
|
|
1349
1348
|
women_empowerment: "women_empowerment";
|
|
1350
1349
|
community_service: "community_service";
|
|
1350
|
+
social_enterprise: "social_enterprise";
|
|
1351
1351
|
education_access: "education_access";
|
|
1352
1352
|
}>>>;
|
|
1353
1353
|
iconMediaId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
@@ -1369,7 +1369,6 @@ export declare const updateCommunityBodySchema: z.ZodObject<{
|
|
|
1369
1369
|
marketing: "marketing";
|
|
1370
1370
|
supply_chain: "supply_chain";
|
|
1371
1371
|
fundraising: "fundraising";
|
|
1372
|
-
social_enterprise: "social_enterprise";
|
|
1373
1372
|
mentoring: "mentoring";
|
|
1374
1373
|
leadership: "leadership";
|
|
1375
1374
|
networking: "networking";
|
|
@@ -1428,6 +1427,7 @@ export declare const updateCommunityBodySchema: z.ZodObject<{
|
|
|
1428
1427
|
environmental: "environmental";
|
|
1429
1428
|
women_empowerment: "women_empowerment";
|
|
1430
1429
|
community_service: "community_service";
|
|
1430
|
+
social_enterprise: "social_enterprise";
|
|
1431
1431
|
education_access: "education_access";
|
|
1432
1432
|
}>>>;
|
|
1433
1433
|
}, z.core.$strip>;
|
|
@@ -1521,7 +1521,6 @@ export declare const createCommunitySuggestionBodySchema: z.ZodObject<{
|
|
|
1521
1521
|
marketing: "marketing";
|
|
1522
1522
|
supply_chain: "supply_chain";
|
|
1523
1523
|
fundraising: "fundraising";
|
|
1524
|
-
social_enterprise: "social_enterprise";
|
|
1525
1524
|
mentoring: "mentoring";
|
|
1526
1525
|
leadership: "leadership";
|
|
1527
1526
|
networking: "networking";
|
|
@@ -1580,6 +1579,7 @@ export declare const createCommunitySuggestionBodySchema: z.ZodObject<{
|
|
|
1580
1579
|
environmental: "environmental";
|
|
1581
1580
|
women_empowerment: "women_empowerment";
|
|
1582
1581
|
community_service: "community_service";
|
|
1582
|
+
social_enterprise: "social_enterprise";
|
|
1583
1583
|
education_access: "education_access";
|
|
1584
1584
|
}>>>;
|
|
1585
1585
|
}, z.core.$strip>;
|
|
@@ -135,6 +135,17 @@ export declare const discoverPageSchema: z.ZodObject<{
|
|
|
135
135
|
profitable: "profitable";
|
|
136
136
|
exited: "exited";
|
|
137
137
|
}>;
|
|
138
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
139
|
+
founder: "founder";
|
|
140
|
+
other: "other";
|
|
141
|
+
co_founder: "co_founder";
|
|
142
|
+
ceo: "ceo";
|
|
143
|
+
cto: "cto";
|
|
144
|
+
coo: "coo";
|
|
145
|
+
cfo: "cfo";
|
|
146
|
+
cmo: "cmo";
|
|
147
|
+
cpo: "cpo";
|
|
148
|
+
}>>>;
|
|
138
149
|
teamSize: z.ZodOptional<z.ZodNumber>;
|
|
139
150
|
foundedYear: z.ZodOptional<z.ZodNumber>;
|
|
140
151
|
}, z.core.$strip>>;
|
|
@@ -175,6 +186,78 @@ export declare const discoverPageSchema: z.ZodObject<{
|
|
|
175
186
|
find_service_providers: "find_service_providers";
|
|
176
187
|
attend_events: "attend_events";
|
|
177
188
|
}>>>;
|
|
189
|
+
interests: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
190
|
+
ai_ml: "ai_ml";
|
|
191
|
+
b2b_saas: "b2b_saas";
|
|
192
|
+
d2c: "d2c";
|
|
193
|
+
deeptech: "deeptech";
|
|
194
|
+
robotics: "robotics";
|
|
195
|
+
growth: "growth";
|
|
196
|
+
sales: "sales";
|
|
197
|
+
marketing: "marketing";
|
|
198
|
+
supply_chain: "supply_chain";
|
|
199
|
+
fundraising: "fundraising";
|
|
200
|
+
mentoring: "mentoring";
|
|
201
|
+
leadership: "leadership";
|
|
202
|
+
networking: "networking";
|
|
203
|
+
public_speaking: "public_speaking";
|
|
204
|
+
teaching: "teaching";
|
|
205
|
+
hiring_talent: "hiring_talent";
|
|
206
|
+
personal_branding: "personal_branding";
|
|
207
|
+
career_transition: "career_transition";
|
|
208
|
+
remote_work: "remote_work";
|
|
209
|
+
blockchain: "blockchain";
|
|
210
|
+
crypto_web3: "crypto_web3";
|
|
211
|
+
data_science: "data_science";
|
|
212
|
+
cybersecurity: "cybersecurity";
|
|
213
|
+
game_dev: "game_dev";
|
|
214
|
+
ux_design: "ux_design";
|
|
215
|
+
app_development: "app_development";
|
|
216
|
+
open_source: "open_source";
|
|
217
|
+
electronics: "electronics";
|
|
218
|
+
space_exploration: "space_exploration";
|
|
219
|
+
green_tech: "green_tech";
|
|
220
|
+
no_code: "no_code";
|
|
221
|
+
entrepreneurship: "entrepreneurship";
|
|
222
|
+
investing: "investing";
|
|
223
|
+
stock_trading: "stock_trading";
|
|
224
|
+
personal_finance: "personal_finance";
|
|
225
|
+
consulting: "consulting";
|
|
226
|
+
ecommerce: "ecommerce";
|
|
227
|
+
retail: "retail";
|
|
228
|
+
real_estate: "real_estate";
|
|
229
|
+
product_management: "product_management";
|
|
230
|
+
meditation: "meditation";
|
|
231
|
+
journaling: "journaling";
|
|
232
|
+
self_improvement: "self_improvement";
|
|
233
|
+
productivity: "productivity";
|
|
234
|
+
reading: "reading";
|
|
235
|
+
online_courses: "online_courses";
|
|
236
|
+
philosophy: "philosophy";
|
|
237
|
+
psychology: "psychology";
|
|
238
|
+
therapy: "therapy";
|
|
239
|
+
sleep_optimization: "sleep_optimization";
|
|
240
|
+
gym: "gym";
|
|
241
|
+
yoga: "yoga";
|
|
242
|
+
photography: "photography";
|
|
243
|
+
writing: "writing";
|
|
244
|
+
graphic_design: "graphic_design";
|
|
245
|
+
filmmaking: "filmmaking";
|
|
246
|
+
digital_art: "digital_art";
|
|
247
|
+
content_creation: "content_creation";
|
|
248
|
+
blogging: "blogging";
|
|
249
|
+
vlogging: "vlogging";
|
|
250
|
+
podcasts: "podcasts";
|
|
251
|
+
animation: "animation";
|
|
252
|
+
music_production: "music_production";
|
|
253
|
+
volunteering: "volunteering";
|
|
254
|
+
ngo_work: "ngo_work";
|
|
255
|
+
environmental: "environmental";
|
|
256
|
+
women_empowerment: "women_empowerment";
|
|
257
|
+
community_service: "community_service";
|
|
258
|
+
social_enterprise: "social_enterprise";
|
|
259
|
+
education_access: "education_access";
|
|
260
|
+
}>>>;
|
|
178
261
|
follow: z.ZodObject<{
|
|
179
262
|
following: z.ZodBoolean;
|
|
180
263
|
followsYou: z.ZodBoolean;
|
|
@@ -182,6 +265,11 @@ export declare const discoverPageSchema: z.ZodObject<{
|
|
|
182
265
|
firstName: z.ZodNullable<z.ZodString>;
|
|
183
266
|
others: z.ZodNumber;
|
|
184
267
|
}, z.core.$strip>;
|
|
268
|
+
mutuals: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
count: z.ZodNumber;
|
|
270
|
+
sampleNames: z.ZodArray<z.ZodString>;
|
|
271
|
+
avatars: z.ZodArray<z.ZodNullable<z.ZodURL>>;
|
|
272
|
+
}, z.core.$strip>>;
|
|
185
273
|
}, z.core.$strip>;
|
|
186
274
|
}, z.core.$strip>>;
|
|
187
275
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../../src/domains/discover/discover.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../../src/domains/discover/discover.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoC,CAAC;AACpE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAM9D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -430,7 +430,6 @@ export declare const feedPostSchema: z.ZodObject<{
|
|
|
430
430
|
marketing: "marketing";
|
|
431
431
|
supply_chain: "supply_chain";
|
|
432
432
|
fundraising: "fundraising";
|
|
433
|
-
social_enterprise: "social_enterprise";
|
|
434
433
|
mentoring: "mentoring";
|
|
435
434
|
leadership: "leadership";
|
|
436
435
|
networking: "networking";
|
|
@@ -489,6 +488,7 @@ export declare const feedPostSchema: z.ZodObject<{
|
|
|
489
488
|
environmental: "environmental";
|
|
490
489
|
women_empowerment: "women_empowerment";
|
|
491
490
|
community_service: "community_service";
|
|
491
|
+
social_enterprise: "social_enterprise";
|
|
492
492
|
education_access: "education_access";
|
|
493
493
|
}>>;
|
|
494
494
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -649,7 +649,6 @@ export declare const feedPollSchema: z.ZodObject<{
|
|
|
649
649
|
marketing: "marketing";
|
|
650
650
|
supply_chain: "supply_chain";
|
|
651
651
|
fundraising: "fundraising";
|
|
652
|
-
social_enterprise: "social_enterprise";
|
|
653
652
|
mentoring: "mentoring";
|
|
654
653
|
leadership: "leadership";
|
|
655
654
|
networking: "networking";
|
|
@@ -708,6 +707,7 @@ export declare const feedPollSchema: z.ZodObject<{
|
|
|
708
707
|
environmental: "environmental";
|
|
709
708
|
women_empowerment: "women_empowerment";
|
|
710
709
|
community_service: "community_service";
|
|
710
|
+
social_enterprise: "social_enterprise";
|
|
711
711
|
education_access: "education_access";
|
|
712
712
|
}>>;
|
|
713
713
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -814,7 +814,6 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
814
814
|
marketing: "marketing";
|
|
815
815
|
supply_chain: "supply_chain";
|
|
816
816
|
fundraising: "fundraising";
|
|
817
|
-
social_enterprise: "social_enterprise";
|
|
818
817
|
mentoring: "mentoring";
|
|
819
818
|
leadership: "leadership";
|
|
820
819
|
networking: "networking";
|
|
@@ -873,6 +872,7 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
873
872
|
environmental: "environmental";
|
|
874
873
|
women_empowerment: "women_empowerment";
|
|
875
874
|
community_service: "community_service";
|
|
875
|
+
social_enterprise: "social_enterprise";
|
|
876
876
|
education_access: "education_access";
|
|
877
877
|
}>>;
|
|
878
878
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1012,7 +1012,6 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1012
1012
|
marketing: "marketing";
|
|
1013
1013
|
supply_chain: "supply_chain";
|
|
1014
1014
|
fundraising: "fundraising";
|
|
1015
|
-
social_enterprise: "social_enterprise";
|
|
1016
1015
|
mentoring: "mentoring";
|
|
1017
1016
|
leadership: "leadership";
|
|
1018
1017
|
networking: "networking";
|
|
@@ -1071,6 +1070,7 @@ export declare const feedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1071
1070
|
environmental: "environmental";
|
|
1072
1071
|
women_empowerment: "women_empowerment";
|
|
1073
1072
|
community_service: "community_service";
|
|
1073
|
+
social_enterprise: "social_enterprise";
|
|
1074
1074
|
education_access: "education_access";
|
|
1075
1075
|
}>>;
|
|
1076
1076
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1334,7 +1334,6 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1334
1334
|
marketing: "marketing";
|
|
1335
1335
|
supply_chain: "supply_chain";
|
|
1336
1336
|
fundraising: "fundraising";
|
|
1337
|
-
social_enterprise: "social_enterprise";
|
|
1338
1337
|
mentoring: "mentoring";
|
|
1339
1338
|
leadership: "leadership";
|
|
1340
1339
|
networking: "networking";
|
|
@@ -1393,6 +1392,7 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1393
1392
|
environmental: "environmental";
|
|
1394
1393
|
women_empowerment: "women_empowerment";
|
|
1395
1394
|
community_service: "community_service";
|
|
1395
|
+
social_enterprise: "social_enterprise";
|
|
1396
1396
|
education_access: "education_access";
|
|
1397
1397
|
}>>;
|
|
1398
1398
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1532,7 +1532,6 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1532
1532
|
marketing: "marketing";
|
|
1533
1533
|
supply_chain: "supply_chain";
|
|
1534
1534
|
fundraising: "fundraising";
|
|
1535
|
-
social_enterprise: "social_enterprise";
|
|
1536
1535
|
mentoring: "mentoring";
|
|
1537
1536
|
leadership: "leadership";
|
|
1538
1537
|
networking: "networking";
|
|
@@ -1591,6 +1590,7 @@ export declare const feedPageSchema: z.ZodObject<{
|
|
|
1591
1590
|
environmental: "environmental";
|
|
1592
1591
|
women_empowerment: "women_empowerment";
|
|
1593
1592
|
community_service: "community_service";
|
|
1593
|
+
social_enterprise: "social_enterprise";
|
|
1594
1594
|
education_access: "education_access";
|
|
1595
1595
|
}>>;
|
|
1596
1596
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1699,7 +1699,6 @@ export declare const pinnedItemsSchema: z.ZodObject<{
|
|
|
1699
1699
|
marketing: "marketing";
|
|
1700
1700
|
supply_chain: "supply_chain";
|
|
1701
1701
|
fundraising: "fundraising";
|
|
1702
|
-
social_enterprise: "social_enterprise";
|
|
1703
1702
|
mentoring: "mentoring";
|
|
1704
1703
|
leadership: "leadership";
|
|
1705
1704
|
networking: "networking";
|
|
@@ -1758,6 +1757,7 @@ export declare const pinnedItemsSchema: z.ZodObject<{
|
|
|
1758
1757
|
environmental: "environmental";
|
|
1759
1758
|
women_empowerment: "women_empowerment";
|
|
1760
1759
|
community_service: "community_service";
|
|
1760
|
+
social_enterprise: "social_enterprise";
|
|
1761
1761
|
education_access: "education_access";
|
|
1762
1762
|
}>>;
|
|
1763
1763
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -1897,7 +1897,6 @@ export declare const pinnedItemsSchema: z.ZodObject<{
|
|
|
1897
1897
|
marketing: "marketing";
|
|
1898
1898
|
supply_chain: "supply_chain";
|
|
1899
1899
|
fundraising: "fundraising";
|
|
1900
|
-
social_enterprise: "social_enterprise";
|
|
1901
1900
|
mentoring: "mentoring";
|
|
1902
1901
|
leadership: "leadership";
|
|
1903
1902
|
networking: "networking";
|
|
@@ -1956,6 +1955,7 @@ export declare const pinnedItemsSchema: z.ZodObject<{
|
|
|
1956
1955
|
environmental: "environmental";
|
|
1957
1956
|
women_empowerment: "women_empowerment";
|
|
1958
1957
|
community_service: "community_service";
|
|
1958
|
+
social_enterprise: "social_enterprise";
|
|
1959
1959
|
education_access: "education_access";
|
|
1960
1960
|
}>>;
|
|
1961
1961
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -2310,7 +2310,6 @@ export declare const createPostBodySchema: z.ZodObject<{
|
|
|
2310
2310
|
marketing: "marketing";
|
|
2311
2311
|
supply_chain: "supply_chain";
|
|
2312
2312
|
fundraising: "fundraising";
|
|
2313
|
-
social_enterprise: "social_enterprise";
|
|
2314
2313
|
mentoring: "mentoring";
|
|
2315
2314
|
leadership: "leadership";
|
|
2316
2315
|
networking: "networking";
|
|
@@ -2369,6 +2368,7 @@ export declare const createPostBodySchema: z.ZodObject<{
|
|
|
2369
2368
|
environmental: "environmental";
|
|
2370
2369
|
women_empowerment: "women_empowerment";
|
|
2371
2370
|
community_service: "community_service";
|
|
2371
|
+
social_enterprise: "social_enterprise";
|
|
2372
2372
|
education_access: "education_access";
|
|
2373
2373
|
}>>>;
|
|
2374
2374
|
}, z.core.$strip>;
|
|
@@ -2409,7 +2409,6 @@ export declare const createPollBodySchema: z.ZodObject<{
|
|
|
2409
2409
|
marketing: "marketing";
|
|
2410
2410
|
supply_chain: "supply_chain";
|
|
2411
2411
|
fundraising: "fundraising";
|
|
2412
|
-
social_enterprise: "social_enterprise";
|
|
2413
2412
|
mentoring: "mentoring";
|
|
2414
2413
|
leadership: "leadership";
|
|
2415
2414
|
networking: "networking";
|
|
@@ -2468,6 +2467,7 @@ export declare const createPollBodySchema: z.ZodObject<{
|
|
|
2468
2467
|
environmental: "environmental";
|
|
2469
2468
|
women_empowerment: "women_empowerment";
|
|
2470
2469
|
community_service: "community_service";
|
|
2470
|
+
social_enterprise: "social_enterprise";
|
|
2471
2471
|
education_access: "education_access";
|
|
2472
2472
|
}>>>;
|
|
2473
2473
|
}, z.core.$strip>;
|
|
@@ -2695,7 +2695,6 @@ export declare const castVoteResponseSchema: z.ZodObject<{
|
|
|
2695
2695
|
marketing: "marketing";
|
|
2696
2696
|
supply_chain: "supply_chain";
|
|
2697
2697
|
fundraising: "fundraising";
|
|
2698
|
-
social_enterprise: "social_enterprise";
|
|
2699
2698
|
mentoring: "mentoring";
|
|
2700
2699
|
leadership: "leadership";
|
|
2701
2700
|
networking: "networking";
|
|
@@ -2754,6 +2753,7 @@ export declare const castVoteResponseSchema: z.ZodObject<{
|
|
|
2754
2753
|
environmental: "environmental";
|
|
2755
2754
|
women_empowerment: "women_empowerment";
|
|
2756
2755
|
community_service: "community_service";
|
|
2756
|
+
social_enterprise: "social_enterprise";
|
|
2757
2757
|
education_access: "education_access";
|
|
2758
2758
|
}>>;
|
|
2759
2759
|
product: z.ZodOptional<z.ZodObject<{
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* @module founder-schema/domains/follows
|
|
18
18
|
*/
|
|
19
19
|
import { z } from 'zod';
|
|
20
|
-
export { type FollowCounts, type FollowedBy, type FollowRelation, followCountsSchema, followedBySchema, followRelationSchema, } from './relation.js';
|
|
20
|
+
export { type FollowCounts, type FollowedBy, type FollowRelation, followCountsSchema, followedBySchema, followRelationSchema, MUTUALS_SAMPLE_SIZE, type Mutuals, mutualsSchema, } from './relation.js';
|
|
21
21
|
/** Whom to follow or stop following: the MEMBER's id (`userId`), as chats and bylines key on. */
|
|
22
22
|
export declare const followTargetParamsSchema: z.ZodObject<{
|
|
23
23
|
userId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
@@ -32,8 +32,15 @@ export declare const followAnswerSchema: z.ZodObject<{
|
|
|
32
32
|
export type FollowAnswer = z.infer<typeof followAnswerSchema>;
|
|
33
33
|
/**
|
|
34
34
|
* A person on a list (Discover's People, someone's followers and following):
|
|
35
|
-
* their card, and how the viewer relates to them, for the
|
|
36
|
-
* and its Follow button.
|
|
35
|
+
* their card, their interests, and how the viewer relates to them, for the
|
|
36
|
+
* card's mutuals line and its Follow button.
|
|
37
|
+
*
|
|
38
|
+
* `interests` (2026-11-22, the user's People card): the topics the member
|
|
39
|
+
* picked, in their order, each once. ON THIS CARD ONLY: not on
|
|
40
|
+
* `founderCardSchema` (other cards, the member page) and not on
|
|
41
|
+
* `founderProfileSchema` (the owner reads theirs from `GET /profiles/me/interests`).
|
|
42
|
+
* It lives here and not in `domains/profile` because the topics are
|
|
43
|
+
* onboarding's, and onboarding imports the profile.
|
|
37
44
|
*/
|
|
38
45
|
export declare const personCardSchema: z.ZodObject<{
|
|
39
46
|
id: z.ZodString;
|
|
@@ -88,6 +95,17 @@ export declare const personCardSchema: z.ZodObject<{
|
|
|
88
95
|
profitable: "profitable";
|
|
89
96
|
exited: "exited";
|
|
90
97
|
}>;
|
|
98
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
99
|
+
founder: "founder";
|
|
100
|
+
other: "other";
|
|
101
|
+
co_founder: "co_founder";
|
|
102
|
+
ceo: "ceo";
|
|
103
|
+
cto: "cto";
|
|
104
|
+
coo: "coo";
|
|
105
|
+
cfo: "cfo";
|
|
106
|
+
cmo: "cmo";
|
|
107
|
+
cpo: "cpo";
|
|
108
|
+
}>>>;
|
|
91
109
|
teamSize: z.ZodOptional<z.ZodNumber>;
|
|
92
110
|
foundedYear: z.ZodOptional<z.ZodNumber>;
|
|
93
111
|
}, z.core.$strip>>;
|
|
@@ -128,6 +146,78 @@ export declare const personCardSchema: z.ZodObject<{
|
|
|
128
146
|
find_service_providers: "find_service_providers";
|
|
129
147
|
attend_events: "attend_events";
|
|
130
148
|
}>>>;
|
|
149
|
+
interests: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
150
|
+
ai_ml: "ai_ml";
|
|
151
|
+
b2b_saas: "b2b_saas";
|
|
152
|
+
d2c: "d2c";
|
|
153
|
+
deeptech: "deeptech";
|
|
154
|
+
robotics: "robotics";
|
|
155
|
+
growth: "growth";
|
|
156
|
+
sales: "sales";
|
|
157
|
+
marketing: "marketing";
|
|
158
|
+
supply_chain: "supply_chain";
|
|
159
|
+
fundraising: "fundraising";
|
|
160
|
+
mentoring: "mentoring";
|
|
161
|
+
leadership: "leadership";
|
|
162
|
+
networking: "networking";
|
|
163
|
+
public_speaking: "public_speaking";
|
|
164
|
+
teaching: "teaching";
|
|
165
|
+
hiring_talent: "hiring_talent";
|
|
166
|
+
personal_branding: "personal_branding";
|
|
167
|
+
career_transition: "career_transition";
|
|
168
|
+
remote_work: "remote_work";
|
|
169
|
+
blockchain: "blockchain";
|
|
170
|
+
crypto_web3: "crypto_web3";
|
|
171
|
+
data_science: "data_science";
|
|
172
|
+
cybersecurity: "cybersecurity";
|
|
173
|
+
game_dev: "game_dev";
|
|
174
|
+
ux_design: "ux_design";
|
|
175
|
+
app_development: "app_development";
|
|
176
|
+
open_source: "open_source";
|
|
177
|
+
electronics: "electronics";
|
|
178
|
+
space_exploration: "space_exploration";
|
|
179
|
+
green_tech: "green_tech";
|
|
180
|
+
no_code: "no_code";
|
|
181
|
+
entrepreneurship: "entrepreneurship";
|
|
182
|
+
investing: "investing";
|
|
183
|
+
stock_trading: "stock_trading";
|
|
184
|
+
personal_finance: "personal_finance";
|
|
185
|
+
consulting: "consulting";
|
|
186
|
+
ecommerce: "ecommerce";
|
|
187
|
+
retail: "retail";
|
|
188
|
+
real_estate: "real_estate";
|
|
189
|
+
product_management: "product_management";
|
|
190
|
+
meditation: "meditation";
|
|
191
|
+
journaling: "journaling";
|
|
192
|
+
self_improvement: "self_improvement";
|
|
193
|
+
productivity: "productivity";
|
|
194
|
+
reading: "reading";
|
|
195
|
+
online_courses: "online_courses";
|
|
196
|
+
philosophy: "philosophy";
|
|
197
|
+
psychology: "psychology";
|
|
198
|
+
therapy: "therapy";
|
|
199
|
+
sleep_optimization: "sleep_optimization";
|
|
200
|
+
gym: "gym";
|
|
201
|
+
yoga: "yoga";
|
|
202
|
+
photography: "photography";
|
|
203
|
+
writing: "writing";
|
|
204
|
+
graphic_design: "graphic_design";
|
|
205
|
+
filmmaking: "filmmaking";
|
|
206
|
+
digital_art: "digital_art";
|
|
207
|
+
content_creation: "content_creation";
|
|
208
|
+
blogging: "blogging";
|
|
209
|
+
vlogging: "vlogging";
|
|
210
|
+
podcasts: "podcasts";
|
|
211
|
+
animation: "animation";
|
|
212
|
+
music_production: "music_production";
|
|
213
|
+
volunteering: "volunteering";
|
|
214
|
+
ngo_work: "ngo_work";
|
|
215
|
+
environmental: "environmental";
|
|
216
|
+
women_empowerment: "women_empowerment";
|
|
217
|
+
community_service: "community_service";
|
|
218
|
+
social_enterprise: "social_enterprise";
|
|
219
|
+
education_access: "education_access";
|
|
220
|
+
}>>>;
|
|
131
221
|
follow: z.ZodObject<{
|
|
132
222
|
following: z.ZodBoolean;
|
|
133
223
|
followsYou: z.ZodBoolean;
|
|
@@ -135,6 +225,11 @@ export declare const personCardSchema: z.ZodObject<{
|
|
|
135
225
|
firstName: z.ZodNullable<z.ZodString>;
|
|
136
226
|
others: z.ZodNumber;
|
|
137
227
|
}, z.core.$strip>;
|
|
228
|
+
mutuals: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
count: z.ZodNumber;
|
|
230
|
+
sampleNames: z.ZodArray<z.ZodString>;
|
|
231
|
+
avatars: z.ZodArray<z.ZodNullable<z.ZodURL>>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
138
233
|
}, z.core.$strip>;
|
|
139
234
|
}, z.core.$strip>;
|
|
140
235
|
export type PersonCard = z.infer<typeof personCardSchema>;
|
|
@@ -193,6 +288,17 @@ export declare const personPageSchema: z.ZodObject<{
|
|
|
193
288
|
profitable: "profitable";
|
|
194
289
|
exited: "exited";
|
|
195
290
|
}>;
|
|
291
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
292
|
+
founder: "founder";
|
|
293
|
+
other: "other";
|
|
294
|
+
co_founder: "co_founder";
|
|
295
|
+
ceo: "ceo";
|
|
296
|
+
cto: "cto";
|
|
297
|
+
coo: "coo";
|
|
298
|
+
cfo: "cfo";
|
|
299
|
+
cmo: "cmo";
|
|
300
|
+
cpo: "cpo";
|
|
301
|
+
}>>>;
|
|
196
302
|
teamSize: z.ZodOptional<z.ZodNumber>;
|
|
197
303
|
foundedYear: z.ZodOptional<z.ZodNumber>;
|
|
198
304
|
}, z.core.$strip>>;
|
|
@@ -233,6 +339,78 @@ export declare const personPageSchema: z.ZodObject<{
|
|
|
233
339
|
find_service_providers: "find_service_providers";
|
|
234
340
|
attend_events: "attend_events";
|
|
235
341
|
}>>>;
|
|
342
|
+
interests: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
343
|
+
ai_ml: "ai_ml";
|
|
344
|
+
b2b_saas: "b2b_saas";
|
|
345
|
+
d2c: "d2c";
|
|
346
|
+
deeptech: "deeptech";
|
|
347
|
+
robotics: "robotics";
|
|
348
|
+
growth: "growth";
|
|
349
|
+
sales: "sales";
|
|
350
|
+
marketing: "marketing";
|
|
351
|
+
supply_chain: "supply_chain";
|
|
352
|
+
fundraising: "fundraising";
|
|
353
|
+
mentoring: "mentoring";
|
|
354
|
+
leadership: "leadership";
|
|
355
|
+
networking: "networking";
|
|
356
|
+
public_speaking: "public_speaking";
|
|
357
|
+
teaching: "teaching";
|
|
358
|
+
hiring_talent: "hiring_talent";
|
|
359
|
+
personal_branding: "personal_branding";
|
|
360
|
+
career_transition: "career_transition";
|
|
361
|
+
remote_work: "remote_work";
|
|
362
|
+
blockchain: "blockchain";
|
|
363
|
+
crypto_web3: "crypto_web3";
|
|
364
|
+
data_science: "data_science";
|
|
365
|
+
cybersecurity: "cybersecurity";
|
|
366
|
+
game_dev: "game_dev";
|
|
367
|
+
ux_design: "ux_design";
|
|
368
|
+
app_development: "app_development";
|
|
369
|
+
open_source: "open_source";
|
|
370
|
+
electronics: "electronics";
|
|
371
|
+
space_exploration: "space_exploration";
|
|
372
|
+
green_tech: "green_tech";
|
|
373
|
+
no_code: "no_code";
|
|
374
|
+
entrepreneurship: "entrepreneurship";
|
|
375
|
+
investing: "investing";
|
|
376
|
+
stock_trading: "stock_trading";
|
|
377
|
+
personal_finance: "personal_finance";
|
|
378
|
+
consulting: "consulting";
|
|
379
|
+
ecommerce: "ecommerce";
|
|
380
|
+
retail: "retail";
|
|
381
|
+
real_estate: "real_estate";
|
|
382
|
+
product_management: "product_management";
|
|
383
|
+
meditation: "meditation";
|
|
384
|
+
journaling: "journaling";
|
|
385
|
+
self_improvement: "self_improvement";
|
|
386
|
+
productivity: "productivity";
|
|
387
|
+
reading: "reading";
|
|
388
|
+
online_courses: "online_courses";
|
|
389
|
+
philosophy: "philosophy";
|
|
390
|
+
psychology: "psychology";
|
|
391
|
+
therapy: "therapy";
|
|
392
|
+
sleep_optimization: "sleep_optimization";
|
|
393
|
+
gym: "gym";
|
|
394
|
+
yoga: "yoga";
|
|
395
|
+
photography: "photography";
|
|
396
|
+
writing: "writing";
|
|
397
|
+
graphic_design: "graphic_design";
|
|
398
|
+
filmmaking: "filmmaking";
|
|
399
|
+
digital_art: "digital_art";
|
|
400
|
+
content_creation: "content_creation";
|
|
401
|
+
blogging: "blogging";
|
|
402
|
+
vlogging: "vlogging";
|
|
403
|
+
podcasts: "podcasts";
|
|
404
|
+
animation: "animation";
|
|
405
|
+
music_production: "music_production";
|
|
406
|
+
volunteering: "volunteering";
|
|
407
|
+
ngo_work: "ngo_work";
|
|
408
|
+
environmental: "environmental";
|
|
409
|
+
women_empowerment: "women_empowerment";
|
|
410
|
+
community_service: "community_service";
|
|
411
|
+
social_enterprise: "social_enterprise";
|
|
412
|
+
education_access: "education_access";
|
|
413
|
+
}>>>;
|
|
236
414
|
follow: z.ZodObject<{
|
|
237
415
|
following: z.ZodBoolean;
|
|
238
416
|
followsYou: z.ZodBoolean;
|
|
@@ -240,6 +418,11 @@ export declare const personPageSchema: z.ZodObject<{
|
|
|
240
418
|
firstName: z.ZodNullable<z.ZodString>;
|
|
241
419
|
others: z.ZodNumber;
|
|
242
420
|
}, z.core.$strip>;
|
|
421
|
+
mutuals: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
count: z.ZodNumber;
|
|
423
|
+
sampleNames: z.ZodArray<z.ZodString>;
|
|
424
|
+
avatars: z.ZodArray<z.ZodNullable<z.ZodURL>>;
|
|
425
|
+
}, z.core.$strip>>;
|
|
243
426
|
}, z.core.$strip>;
|
|
244
427
|
}, z.core.$strip>>;
|
|
245
428
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"follows.d.ts","sourceRoot":"","sources":["../../../src/domains/follows/follows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"follows.d.ts","sourceRoot":"","sources":["../../../src/domains/follows/follows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,OAAO,EACZ,aAAa,GACd,MAAM,eAAe,CAAC;AAEvB,iGAAiG;AACjG,eAAO,MAAM,wBAAwB;;iBAAuC,CAAC;AAC7E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,0FAA0F;AAC1F,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,kFAAkF;AAClF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoC,CAAC;AAClE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|