founder-schema 0.25.0 → 0.27.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/core/errors.d.ts +3 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +5 -0
- package/dist/core/errors.js.map +1 -1
- package/dist/core/limits.d.ts +8 -0
- package/dist/core/limits.d.ts.map +1 -1
- package/dist/core/limits.js +8 -0
- package/dist/core/limits.js.map +1 -1
- package/dist/core/responses.d.ts +2 -0
- package/dist/core/responses.d.ts.map +1 -1
- package/dist/core/validation.d.ts +5 -0
- package/dist/core/validation.d.ts.map +1 -1
- package/dist/core/validation.js +5 -0
- package/dist/core/validation.js.map +1 -1
- package/dist/domains/audit/audit.d.ts +4 -1
- package/dist/domains/audit/audit.d.ts.map +1 -1
- package/dist/domains/audit/audit.js +6 -0
- package/dist/domains/audit/audit.js.map +1 -1
- package/dist/domains/blocks/blocks.d.ts +64 -0
- package/dist/domains/blocks/blocks.d.ts.map +1 -0
- package/dist/domains/blocks/blocks.js +44 -0
- package/dist/domains/blocks/blocks.js.map +1 -0
- package/dist/domains/communities/communities.d.ts +9 -9
- package/dist/domains/contributions/contributions.d.ts +21 -3
- package/dist/domains/contributions/contributions.d.ts.map +1 -1
- package/dist/domains/contributions/contributions.js +21 -4
- package/dist/domains/contributions/contributions.js.map +1 -1
- 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 +583 -35
- package/dist/domains/feed/feed.d.ts.map +1 -1
- package/dist/domains/feed/feed.js +214 -28
- package/dist/domains/feed/feed.js.map +1 -1
- package/dist/domains/feed/mentions.d.ts +86 -0
- package/dist/domains/feed/mentions.d.ts.map +1 -0
- package/dist/domains/feed/mentions.js +93 -0
- package/dist/domains/feed/mentions.js.map +1 -0
- 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/moderation/moderation.d.ts +9 -2
- package/dist/domains/moderation/moderation.d.ts.map +1 -1
- package/dist/domains/moderation/moderation.js +6 -2
- package/dist/domains/moderation/moderation.js.map +1 -1
- package/dist/domains/notifications/notifications.d.ts +28 -2
- package/dist/domains/notifications/notifications.d.ts.map +1 -1
- package/dist/domains/notifications/notifications.js +24 -0
- package/dist/domains/notifications/notifications.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 +144 -1
- package/dist/domains/profile/founder-profile.d.ts.map +1 -1
- package/dist/domains/profile/founder-profile.js +55 -2
- 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 +9 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* @module founder-schema/domains/onboarding
|
|
27
27
|
*/
|
|
28
28
|
import { z } from 'zod';
|
|
29
|
-
import { type Goal } from '../../core/common.js';
|
|
29
|
+
import { type Goal, skillSchema } from '../../core/common.js';
|
|
30
30
|
/**
|
|
31
31
|
* 18, ruled by the user 2026-09-21. Under-18 would pull in parental-consent
|
|
32
32
|
* duties under the DPDP Act, which is a different and larger problem than a
|
|
@@ -97,30 +97,6 @@ export declare const dateToIsoDate: (date: Date) => IsoDate;
|
|
|
97
97
|
*/
|
|
98
98
|
export declare const dateOfBirthSchema: z.ZodString;
|
|
99
99
|
export type DateOfBirth = z.infer<typeof dateOfBirthSchema>;
|
|
100
|
-
/**
|
|
101
|
-
* What KIND of business it is, which is not how it is registered
|
|
102
|
-
* (`LEGAL_STRUCTURE_VALUES`): a freelancer may be a sole proprietorship, a
|
|
103
|
-
* startup a private limited company, a social enterprise a Section 8 company.
|
|
104
|
-
*
|
|
105
|
-
* 0.16.0 (the user, 2026-10-18: "check what more business types we can use")
|
|
106
|
-
* added the kinds an Indian founder network meets beyond the three it had: the
|
|
107
|
-
* independent professional, the services firm, the social enterprise, the
|
|
108
|
-
* family business and the franchise. `sme` is India's MSME.
|
|
109
|
-
*
|
|
110
|
-
* ⚠ Stored on the profile's venture and a Mongoose enum. Append only.
|
|
111
|
-
*/
|
|
112
|
-
export declare const BUSINESS_TYPE_VALUES: readonly ["startup", "sme", "enterprise", "freelancer", "agency", "social_enterprise", "family_business", "franchise"];
|
|
113
|
-
export declare const businessTypeSchema: z.ZodEnum<{
|
|
114
|
-
startup: "startup";
|
|
115
|
-
sme: "sme";
|
|
116
|
-
enterprise: "enterprise";
|
|
117
|
-
freelancer: "freelancer";
|
|
118
|
-
agency: "agency";
|
|
119
|
-
social_enterprise: "social_enterprise";
|
|
120
|
-
family_business: "family_business";
|
|
121
|
-
franchise: "franchise";
|
|
122
|
-
}>;
|
|
123
|
-
export type BusinessType = z.infer<typeof businessTypeSchema>;
|
|
124
100
|
/**
|
|
125
101
|
* How the business is registered in India, or that it is not yet (0.16.0, the
|
|
126
102
|
* user, 2026-10-18: "the categories that we have in India like private
|
|
@@ -134,8 +110,8 @@ export type BusinessType = z.infer<typeof businessTypeSchema>;
|
|
|
134
110
|
* registered yet (an idea, or a side project), and registered outside India
|
|
135
111
|
* (an Indian team whose company is incorporated abroad, often in the US).
|
|
136
112
|
*
|
|
137
|
-
* Optional,
|
|
138
|
-
*
|
|
113
|
+
* Optional, and private to the member: nothing here verifies it (documents
|
|
114
|
+
* are a settings matter, by the user's ruling).
|
|
139
115
|
*
|
|
140
116
|
* ⚠ Stored on the profile's venture and a Mongoose enum. Append only.
|
|
141
117
|
*/
|
|
@@ -195,7 +171,6 @@ export declare const topicSchema: z.ZodEnum<{
|
|
|
195
171
|
marketing: "marketing";
|
|
196
172
|
supply_chain: "supply_chain";
|
|
197
173
|
fundraising: "fundraising";
|
|
198
|
-
social_enterprise: "social_enterprise";
|
|
199
174
|
mentoring: "mentoring";
|
|
200
175
|
leadership: "leadership";
|
|
201
176
|
networking: "networking";
|
|
@@ -254,6 +229,7 @@ export declare const topicSchema: z.ZodEnum<{
|
|
|
254
229
|
environmental: "environmental";
|
|
255
230
|
women_empowerment: "women_empowerment";
|
|
256
231
|
community_service: "community_service";
|
|
232
|
+
social_enterprise: "social_enterprise";
|
|
257
233
|
education_access: "education_access";
|
|
258
234
|
}>;
|
|
259
235
|
export type Topic = z.infer<typeof topicSchema>;
|
|
@@ -325,7 +301,6 @@ export declare const interestsSchema: z.ZodArray<z.ZodEnum<{
|
|
|
325
301
|
marketing: "marketing";
|
|
326
302
|
supply_chain: "supply_chain";
|
|
327
303
|
fundraising: "fundraising";
|
|
328
|
-
social_enterprise: "social_enterprise";
|
|
329
304
|
mentoring: "mentoring";
|
|
330
305
|
leadership: "leadership";
|
|
331
306
|
networking: "networking";
|
|
@@ -384,6 +359,7 @@ export declare const interestsSchema: z.ZodArray<z.ZodEnum<{
|
|
|
384
359
|
environmental: "environmental";
|
|
385
360
|
women_empowerment: "women_empowerment";
|
|
386
361
|
community_service: "community_service";
|
|
362
|
+
social_enterprise: "social_enterprise";
|
|
387
363
|
education_access: "education_access";
|
|
388
364
|
}>>;
|
|
389
365
|
/**
|
|
@@ -397,12 +373,17 @@ export declare const interestsSchema: z.ZodArray<z.ZodEnum<{
|
|
|
397
373
|
* (the photo alone) and `professional` (title, about, skills). Nine steps, up
|
|
398
374
|
* from seven.
|
|
399
375
|
*
|
|
376
|
+
* 2026-11-22 (the user: "lets remove this step from onboring"): `professional`
|
|
377
|
+
* went. Eight steps. The title, about and skills stay on the profile, edited
|
|
378
|
+
* in Me; a member who typed them into a draft before keeps them (the server
|
|
379
|
+
* carries them at finish, `legacyProfessionalAnswers`).
|
|
380
|
+
*
|
|
400
381
|
* ⚠ THE SERVER'S RESUME CURSOR IS AN INDEX INTO THIS LIST, so re-ordering it
|
|
401
|
-
* moves every member who stopped part-way. A cursor saved under
|
|
402
|
-
* is translated by the backend (its progress rows carry the
|
|
403
|
-
* any further change needs the same.
|
|
382
|
+
* moves every member who stopped part-way. A cursor saved under an older list
|
|
383
|
+
* is translated by the backend, by step NAME (its progress rows carry the
|
|
384
|
+
* list's version); any further change needs the same.
|
|
404
385
|
*/
|
|
405
|
-
export declare const ONBOARDING_STEP_KEYS: readonly ["basics", "photo", "
|
|
386
|
+
export declare const ONBOARDING_STEP_KEYS: readonly ["basics", "photo", "contact", "location", "goals", "interests", "business", "guidelines"];
|
|
406
387
|
export type OnboardingStepKey = (typeof ONBOARDING_STEP_KEYS)[number];
|
|
407
388
|
/**
|
|
408
389
|
* The community guidelines a member agrees to at the last step, by version.
|
|
@@ -480,26 +461,7 @@ export declare const onboardingFormSchema: z.ZodObject<{
|
|
|
480
461
|
prefer_not_to_say: "prefer_not_to_say";
|
|
481
462
|
}>>;
|
|
482
463
|
dateOfBirth: z.ZodString;
|
|
483
|
-
headline: z.ZodString;
|
|
484
|
-
about: z.ZodString;
|
|
485
464
|
avatarMediaId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
486
|
-
skills: z.ZodArray<z.ZodEnum<{
|
|
487
|
-
engineering: "engineering";
|
|
488
|
-
product: "product";
|
|
489
|
-
design: "design";
|
|
490
|
-
data: "data";
|
|
491
|
-
growth: "growth";
|
|
492
|
-
sales: "sales";
|
|
493
|
-
marketing: "marketing";
|
|
494
|
-
operations: "operations";
|
|
495
|
-
finance: "finance";
|
|
496
|
-
legal: "legal";
|
|
497
|
-
hr_people: "hr_people";
|
|
498
|
-
supply_chain: "supply_chain";
|
|
499
|
-
research: "research";
|
|
500
|
-
fundraising: "fundraising";
|
|
501
|
-
community: "community";
|
|
502
|
-
}>>;
|
|
503
465
|
phone: z.ZodString;
|
|
504
466
|
links: z.ZodObject<{
|
|
505
467
|
linkedin: z.ZodString;
|
|
@@ -590,7 +552,6 @@ export declare const onboardingFormSchema: z.ZodObject<{
|
|
|
590
552
|
marketing: "marketing";
|
|
591
553
|
supply_chain: "supply_chain";
|
|
592
554
|
fundraising: "fundraising";
|
|
593
|
-
social_enterprise: "social_enterprise";
|
|
594
555
|
mentoring: "mentoring";
|
|
595
556
|
leadership: "leadership";
|
|
596
557
|
networking: "networking";
|
|
@@ -649,10 +610,23 @@ export declare const onboardingFormSchema: z.ZodObject<{
|
|
|
649
610
|
environmental: "environmental";
|
|
650
611
|
women_empowerment: "women_empowerment";
|
|
651
612
|
community_service: "community_service";
|
|
613
|
+
social_enterprise: "social_enterprise";
|
|
652
614
|
education_access: "education_access";
|
|
653
615
|
}>>;
|
|
654
616
|
venture: z.ZodObject<{
|
|
655
617
|
name: z.ZodString;
|
|
618
|
+
tagline: z.ZodDefault<z.ZodString>;
|
|
619
|
+
roles: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
620
|
+
founder: "founder";
|
|
621
|
+
other: "other";
|
|
622
|
+
co_founder: "co_founder";
|
|
623
|
+
ceo: "ceo";
|
|
624
|
+
cto: "cto";
|
|
625
|
+
coo: "coo";
|
|
626
|
+
cfo: "cfo";
|
|
627
|
+
cmo: "cmo";
|
|
628
|
+
cpo: "cpo";
|
|
629
|
+
}>>>;
|
|
656
630
|
website: z.ZodString;
|
|
657
631
|
industry: z.ZodNullable<z.ZodEnum<{
|
|
658
632
|
agritech: "agritech";
|
|
@@ -689,16 +663,6 @@ export declare const onboardingFormSchema: z.ZodObject<{
|
|
|
689
663
|
}>>;
|
|
690
664
|
teamSize: z.ZodString;
|
|
691
665
|
}, z.core.$strip>;
|
|
692
|
-
businessType: z.ZodNullable<z.ZodEnum<{
|
|
693
|
-
startup: "startup";
|
|
694
|
-
sme: "sme";
|
|
695
|
-
enterprise: "enterprise";
|
|
696
|
-
freelancer: "freelancer";
|
|
697
|
-
agency: "agency";
|
|
698
|
-
social_enterprise: "social_enterprise";
|
|
699
|
-
family_business: "family_business";
|
|
700
|
-
franchise: "franchise";
|
|
701
|
-
}>>;
|
|
702
666
|
legalStructure: z.ZodNullable<z.ZodEnum<{
|
|
703
667
|
not_registered: "not_registered";
|
|
704
668
|
sole_proprietorship: "sole_proprietorship";
|
|
@@ -748,9 +712,13 @@ export declare function readOnboardingDraft(draft: unknown): OnboardingForm;
|
|
|
748
712
|
* Location, venture and links are the profile's own shapes, not copies: the
|
|
749
713
|
* copies are how the profile model came to lack Instagram.
|
|
750
714
|
*
|
|
751
|
-
* Refined (the
|
|
752
|
-
*
|
|
715
|
+
* Refined (the registration needs a venture, above), so Zod 4 throws on
|
|
716
|
+
* `.pick` / `.omit` / `.partial` / `.merge` of it: read a field with
|
|
753
717
|
* `.shape.<field>`, a step's with `ONBOARDING_STEP_SCHEMAS.<step>`.
|
|
718
|
+
*
|
|
719
|
+
* A plain object, not strict: a key from an older client (the business type,
|
|
720
|
+
* or the title, about and skills of the step that went, 2026-11-22) is
|
|
721
|
+
* dropped, never refused.
|
|
754
722
|
*/
|
|
755
723
|
export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
756
724
|
fullName: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
@@ -761,8 +729,6 @@ export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
|
761
729
|
prefer_not_to_say: "prefer_not_to_say";
|
|
762
730
|
}>;
|
|
763
731
|
dateOfBirth: z.ZodString;
|
|
764
|
-
headline: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
765
|
-
about: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
766
732
|
avatarMediaId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
767
733
|
phone: z.ZodString;
|
|
768
734
|
links: z.ZodOptional<z.ZodObject<{
|
|
@@ -806,7 +772,6 @@ export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
|
806
772
|
marketing: "marketing";
|
|
807
773
|
supply_chain: "supply_chain";
|
|
808
774
|
fundraising: "fundraising";
|
|
809
|
-
social_enterprise: "social_enterprise";
|
|
810
775
|
mentoring: "mentoring";
|
|
811
776
|
leadership: "leadership";
|
|
812
777
|
networking: "networking";
|
|
@@ -865,25 +830,9 @@ export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
|
865
830
|
environmental: "environmental";
|
|
866
831
|
women_empowerment: "women_empowerment";
|
|
867
832
|
community_service: "community_service";
|
|
833
|
+
social_enterprise: "social_enterprise";
|
|
868
834
|
education_access: "education_access";
|
|
869
835
|
}>>;
|
|
870
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
871
|
-
engineering: "engineering";
|
|
872
|
-
product: "product";
|
|
873
|
-
design: "design";
|
|
874
|
-
data: "data";
|
|
875
|
-
growth: "growth";
|
|
876
|
-
sales: "sales";
|
|
877
|
-
marketing: "marketing";
|
|
878
|
-
operations: "operations";
|
|
879
|
-
finance: "finance";
|
|
880
|
-
legal: "legal";
|
|
881
|
-
hr_people: "hr_people";
|
|
882
|
-
supply_chain: "supply_chain";
|
|
883
|
-
research: "research";
|
|
884
|
-
fundraising: "fundraising";
|
|
885
|
-
community: "community";
|
|
886
|
-
}>>>;
|
|
887
836
|
venture: z.ZodOptional<z.ZodObject<{
|
|
888
837
|
tagline: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
889
838
|
name: z.ZodString;
|
|
@@ -921,18 +870,19 @@ export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
|
921
870
|
exited: "exited";
|
|
922
871
|
}>;
|
|
923
872
|
website: z.ZodOptional<z.ZodURL>;
|
|
873
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
874
|
+
founder: "founder";
|
|
875
|
+
other: "other";
|
|
876
|
+
co_founder: "co_founder";
|
|
877
|
+
ceo: "ceo";
|
|
878
|
+
cto: "cto";
|
|
879
|
+
coo: "coo";
|
|
880
|
+
cfo: "cfo";
|
|
881
|
+
cmo: "cmo";
|
|
882
|
+
cpo: "cpo";
|
|
883
|
+
}>>;
|
|
924
884
|
teamSize: z.ZodOptional<z.ZodNumber>;
|
|
925
885
|
}, z.core.$strip>>;
|
|
926
|
-
businessType: z.ZodOptional<z.ZodEnum<{
|
|
927
|
-
startup: "startup";
|
|
928
|
-
sme: "sme";
|
|
929
|
-
enterprise: "enterprise";
|
|
930
|
-
freelancer: "freelancer";
|
|
931
|
-
agency: "agency";
|
|
932
|
-
social_enterprise: "social_enterprise";
|
|
933
|
-
family_business: "family_business";
|
|
934
|
-
franchise: "franchise";
|
|
935
|
-
}>>;
|
|
936
886
|
legalStructure: z.ZodOptional<z.ZodEnum<{
|
|
937
887
|
not_registered: "not_registered";
|
|
938
888
|
sole_proprietorship: "sole_proprietorship";
|
|
@@ -979,27 +929,6 @@ export declare const ONBOARDING_STEP_SCHEMAS: {
|
|
|
979
929
|
readonly photo: z.ZodObject<{
|
|
980
930
|
avatarMediaId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
981
931
|
}, z.core.$strip>;
|
|
982
|
-
readonly professional: z.ZodObject<{
|
|
983
|
-
about: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
984
|
-
headline: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
985
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
986
|
-
engineering: "engineering";
|
|
987
|
-
product: "product";
|
|
988
|
-
design: "design";
|
|
989
|
-
data: "data";
|
|
990
|
-
growth: "growth";
|
|
991
|
-
sales: "sales";
|
|
992
|
-
marketing: "marketing";
|
|
993
|
-
operations: "operations";
|
|
994
|
-
finance: "finance";
|
|
995
|
-
legal: "legal";
|
|
996
|
-
hr_people: "hr_people";
|
|
997
|
-
supply_chain: "supply_chain";
|
|
998
|
-
research: "research";
|
|
999
|
-
fundraising: "fundraising";
|
|
1000
|
-
community: "community";
|
|
1001
|
-
}>>>;
|
|
1002
|
-
}, z.core.$strip>;
|
|
1003
932
|
readonly contact: z.ZodObject<{
|
|
1004
933
|
links: z.ZodOptional<z.ZodObject<{
|
|
1005
934
|
linkedin: z.ZodOptional<z.ZodURL>;
|
|
@@ -1049,7 +978,6 @@ export declare const ONBOARDING_STEP_SCHEMAS: {
|
|
|
1049
978
|
marketing: "marketing";
|
|
1050
979
|
supply_chain: "supply_chain";
|
|
1051
980
|
fundraising: "fundraising";
|
|
1052
|
-
social_enterprise: "social_enterprise";
|
|
1053
981
|
mentoring: "mentoring";
|
|
1054
982
|
leadership: "leadership";
|
|
1055
983
|
networking: "networking";
|
|
@@ -1108,6 +1036,7 @@ export declare const ONBOARDING_STEP_SCHEMAS: {
|
|
|
1108
1036
|
environmental: "environmental";
|
|
1109
1037
|
women_empowerment: "women_empowerment";
|
|
1110
1038
|
community_service: "community_service";
|
|
1039
|
+
social_enterprise: "social_enterprise";
|
|
1111
1040
|
education_access: "education_access";
|
|
1112
1041
|
}>>;
|
|
1113
1042
|
}, z.core.$strip>;
|
|
@@ -1149,18 +1078,19 @@ export declare const ONBOARDING_STEP_SCHEMAS: {
|
|
|
1149
1078
|
exited: "exited";
|
|
1150
1079
|
}>;
|
|
1151
1080
|
website: z.ZodOptional<z.ZodURL>;
|
|
1081
|
+
roles: z.ZodArray<z.ZodEnum<{
|
|
1082
|
+
founder: "founder";
|
|
1083
|
+
other: "other";
|
|
1084
|
+
co_founder: "co_founder";
|
|
1085
|
+
ceo: "ceo";
|
|
1086
|
+
cto: "cto";
|
|
1087
|
+
coo: "coo";
|
|
1088
|
+
cfo: "cfo";
|
|
1089
|
+
cmo: "cmo";
|
|
1090
|
+
cpo: "cpo";
|
|
1091
|
+
}>>;
|
|
1152
1092
|
teamSize: z.ZodOptional<z.ZodNumber>;
|
|
1153
1093
|
}, z.core.$strip>>;
|
|
1154
|
-
businessType: z.ZodOptional<z.ZodEnum<{
|
|
1155
|
-
startup: "startup";
|
|
1156
|
-
sme: "sme";
|
|
1157
|
-
enterprise: "enterprise";
|
|
1158
|
-
freelancer: "freelancer";
|
|
1159
|
-
agency: "agency";
|
|
1160
|
-
social_enterprise: "social_enterprise";
|
|
1161
|
-
family_business: "family_business";
|
|
1162
|
-
franchise: "franchise";
|
|
1163
|
-
}>>;
|
|
1164
1094
|
legalStructure: z.ZodOptional<z.ZodEnum<{
|
|
1165
1095
|
not_registered: "not_registered";
|
|
1166
1096
|
sole_proprietorship: "sole_proprietorship";
|
|
@@ -1196,7 +1126,7 @@ export interface OnboardingStepConfig {
|
|
|
1196
1126
|
key: OnboardingStepKey;
|
|
1197
1127
|
/**
|
|
1198
1128
|
* Translation keys for what the step's header shows: its short label beside
|
|
1199
|
-
* the step number ("STEP
|
|
1129
|
+
* the step number ("STEP 4 OF 8 · LOCATION") and its one question. The words
|
|
1200
1130
|
* live in each client. There is no help line (the user removed it,
|
|
1201
1131
|
* 2026-10-19; `helpKey` went in 0.17.0): who sees an answer is said on the
|
|
1202
1132
|
* field it is about.
|
|
@@ -1222,6 +1152,19 @@ export declare const completeOnboardingResponseSchema: z.ZodObject<{
|
|
|
1222
1152
|
username: z.ZodString;
|
|
1223
1153
|
}, z.core.$strip>;
|
|
1224
1154
|
export type CompleteOnboardingResponse = z.infer<typeof completeOnboardingResponseSchema>;
|
|
1155
|
+
/** How many steps the list had before `professional` went: an older client's "past the last step". */
|
|
1156
|
+
export declare const LEGACY_ONBOARDING_TOTAL_STEPS = 9;
|
|
1157
|
+
/**
|
|
1158
|
+
* A title, about and skills a member typed into the step that went
|
|
1159
|
+
* (2026-11-22), read from their STORED draft, each by its profile rule:
|
|
1160
|
+
* trimmed text within its limit, known skills each once. One that does not fit
|
|
1161
|
+
* is left out. The server writes these at finish, never from the body.
|
|
1162
|
+
*/
|
|
1163
|
+
export declare function legacyProfessionalAnswers(draft: unknown): {
|
|
1164
|
+
headline?: string;
|
|
1165
|
+
about?: string;
|
|
1166
|
+
skills?: z.infer<typeof skillSchema>[];
|
|
1167
|
+
};
|
|
1225
1168
|
/**
|
|
1226
1169
|
* The keys a draft may hold: exactly the in-progress form's fields.
|
|
1227
1170
|
*
|
|
@@ -1233,10 +1176,7 @@ export type CompleteOnboardingResponse = z.infer<typeof completeOnboardingRespon
|
|
|
1233
1176
|
*/
|
|
1234
1177
|
export declare const onboardingDraftKeySchema: z.ZodEnum<{
|
|
1235
1178
|
location: "location";
|
|
1236
|
-
about: "about";
|
|
1237
|
-
headline: "headline";
|
|
1238
1179
|
venture: "venture";
|
|
1239
|
-
skills: "skills";
|
|
1240
1180
|
goals: "goals";
|
|
1241
1181
|
links: "links";
|
|
1242
1182
|
phone: "phone";
|
|
@@ -1245,11 +1185,10 @@ export declare const onboardingDraftKeySchema: z.ZodEnum<{
|
|
|
1245
1185
|
fullName: "fullName";
|
|
1246
1186
|
interests: "interests";
|
|
1247
1187
|
avatarMediaId: "avatarMediaId";
|
|
1248
|
-
businessType: "businessType";
|
|
1249
1188
|
legalStructure: "legalStructure";
|
|
1250
1189
|
guidelinesVersion: "guidelinesVersion";
|
|
1251
1190
|
}>;
|
|
1252
|
-
export declare const ONBOARDING_DRAFT_KEYS: ("location" | "
|
|
1191
|
+
export declare const ONBOARDING_DRAFT_KEYS: ("location" | "venture" | "goals" | "links" | "phone" | "gender" | "dateOfBirth" | "fullName" | "interests" | "avatarMediaId" | "legalStructure" | "guidelinesVersion")[];
|
|
1253
1192
|
export type OnboardingDraftKey = z.infer<typeof onboardingDraftKeySchema>;
|
|
1254
1193
|
/**
|
|
1255
1194
|
* Where the member got to, kept in its own collection, separate from the
|
|
@@ -1270,10 +1209,7 @@ export type OnboardingDraftKey = z.infer<typeof onboardingDraftKeySchema>;
|
|
|
1270
1209
|
*/
|
|
1271
1210
|
export declare const onboardingDraftSchema: z.ZodRecord<z.ZodEnum<{
|
|
1272
1211
|
location: "location";
|
|
1273
|
-
about: "about";
|
|
1274
|
-
headline: "headline";
|
|
1275
1212
|
venture: "venture";
|
|
1276
|
-
skills: "skills";
|
|
1277
1213
|
goals: "goals";
|
|
1278
1214
|
links: "links";
|
|
1279
1215
|
phone: "phone";
|
|
@@ -1282,7 +1218,6 @@ export declare const onboardingDraftSchema: z.ZodRecord<z.ZodEnum<{
|
|
|
1282
1218
|
fullName: "fullName";
|
|
1283
1219
|
interests: "interests";
|
|
1284
1220
|
avatarMediaId: "avatarMediaId";
|
|
1285
|
-
businessType: "businessType";
|
|
1286
1221
|
legalStructure: "legalStructure";
|
|
1287
1222
|
guidelinesVersion: "guidelinesVersion";
|
|
1288
1223
|
}> & z.core.$partial, z.ZodUnknown>;
|
|
@@ -1296,8 +1231,8 @@ export type OnboardingDraft = z.infer<typeof onboardingDraftSchema>;
|
|
|
1296
1231
|
* handed to the server, which holds that upload for the member.
|
|
1297
1232
|
*/
|
|
1298
1233
|
export declare const onboardingProgressUpdateSchema: z.ZodObject<{
|
|
1299
|
-
step: z.ZodOptional<z.ZodNumber
|
|
1300
|
-
draft: z.ZodOptional<z.ZodObject<{
|
|
1234
|
+
step: z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>>;
|
|
1235
|
+
draft: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
1301
1236
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1302
1237
|
gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1303
1238
|
other: "other";
|
|
@@ -1306,26 +1241,7 @@ export declare const onboardingProgressUpdateSchema: z.ZodObject<{
|
|
|
1306
1241
|
prefer_not_to_say: "prefer_not_to_say";
|
|
1307
1242
|
}>>>;
|
|
1308
1243
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
1309
|
-
headline: z.ZodOptional<z.ZodString>;
|
|
1310
|
-
about: z.ZodOptional<z.ZodString>;
|
|
1311
1244
|
avatarMediaId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
1312
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1313
|
-
engineering: "engineering";
|
|
1314
|
-
product: "product";
|
|
1315
|
-
design: "design";
|
|
1316
|
-
data: "data";
|
|
1317
|
-
growth: "growth";
|
|
1318
|
-
sales: "sales";
|
|
1319
|
-
marketing: "marketing";
|
|
1320
|
-
operations: "operations";
|
|
1321
|
-
finance: "finance";
|
|
1322
|
-
legal: "legal";
|
|
1323
|
-
hr_people: "hr_people";
|
|
1324
|
-
supply_chain: "supply_chain";
|
|
1325
|
-
research: "research";
|
|
1326
|
-
fundraising: "fundraising";
|
|
1327
|
-
community: "community";
|
|
1328
|
-
}>>>;
|
|
1329
1245
|
phone: z.ZodOptional<z.ZodString>;
|
|
1330
1246
|
links: z.ZodOptional<z.ZodObject<{
|
|
1331
1247
|
linkedin: z.ZodString;
|
|
@@ -1416,7 +1332,6 @@ export declare const onboardingProgressUpdateSchema: z.ZodObject<{
|
|
|
1416
1332
|
marketing: "marketing";
|
|
1417
1333
|
supply_chain: "supply_chain";
|
|
1418
1334
|
fundraising: "fundraising";
|
|
1419
|
-
social_enterprise: "social_enterprise";
|
|
1420
1335
|
mentoring: "mentoring";
|
|
1421
1336
|
leadership: "leadership";
|
|
1422
1337
|
networking: "networking";
|
|
@@ -1475,10 +1390,23 @@ export declare const onboardingProgressUpdateSchema: z.ZodObject<{
|
|
|
1475
1390
|
environmental: "environmental";
|
|
1476
1391
|
women_empowerment: "women_empowerment";
|
|
1477
1392
|
community_service: "community_service";
|
|
1393
|
+
social_enterprise: "social_enterprise";
|
|
1478
1394
|
education_access: "education_access";
|
|
1479
1395
|
}>>>;
|
|
1480
1396
|
venture: z.ZodOptional<z.ZodObject<{
|
|
1481
1397
|
name: z.ZodString;
|
|
1398
|
+
tagline: z.ZodDefault<z.ZodString>;
|
|
1399
|
+
roles: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1400
|
+
founder: "founder";
|
|
1401
|
+
other: "other";
|
|
1402
|
+
co_founder: "co_founder";
|
|
1403
|
+
ceo: "ceo";
|
|
1404
|
+
cto: "cto";
|
|
1405
|
+
coo: "coo";
|
|
1406
|
+
cfo: "cfo";
|
|
1407
|
+
cmo: "cmo";
|
|
1408
|
+
cpo: "cpo";
|
|
1409
|
+
}>>>;
|
|
1482
1410
|
website: z.ZodString;
|
|
1483
1411
|
industry: z.ZodNullable<z.ZodEnum<{
|
|
1484
1412
|
agritech: "agritech";
|
|
@@ -1515,16 +1443,6 @@ export declare const onboardingProgressUpdateSchema: z.ZodObject<{
|
|
|
1515
1443
|
}>>;
|
|
1516
1444
|
teamSize: z.ZodString;
|
|
1517
1445
|
}, z.core.$strip>>;
|
|
1518
|
-
businessType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1519
|
-
startup: "startup";
|
|
1520
|
-
sme: "sme";
|
|
1521
|
-
enterprise: "enterprise";
|
|
1522
|
-
freelancer: "freelancer";
|
|
1523
|
-
agency: "agency";
|
|
1524
|
-
social_enterprise: "social_enterprise";
|
|
1525
|
-
family_business: "family_business";
|
|
1526
|
-
franchise: "franchise";
|
|
1527
|
-
}>>>;
|
|
1528
1446
|
legalStructure: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1529
1447
|
not_registered: "not_registered";
|
|
1530
1448
|
sole_proprietorship: "sole_proprietorship";
|
|
@@ -1539,7 +1457,129 @@ export declare const onboardingProgressUpdateSchema: z.ZodObject<{
|
|
|
1539
1457
|
registered_abroad: "registered_abroad";
|
|
1540
1458
|
}>>>;
|
|
1541
1459
|
guidelinesVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1542
|
-
|
|
1460
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
1461
|
+
about: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1463
|
+
engineering: "engineering";
|
|
1464
|
+
product: "product";
|
|
1465
|
+
design: "design";
|
|
1466
|
+
data: "data";
|
|
1467
|
+
growth: "growth";
|
|
1468
|
+
sales: "sales";
|
|
1469
|
+
marketing: "marketing";
|
|
1470
|
+
operations: "operations";
|
|
1471
|
+
finance: "finance";
|
|
1472
|
+
legal: "legal";
|
|
1473
|
+
hr_people: "hr_people";
|
|
1474
|
+
supply_chain: "supply_chain";
|
|
1475
|
+
research: "research";
|
|
1476
|
+
fundraising: "fundraising";
|
|
1477
|
+
community: "community";
|
|
1478
|
+
}>>>;
|
|
1479
|
+
businessType: z.ZodOptional<z.ZodUnknown>;
|
|
1480
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
1481
|
+
fullName?: string | undefined;
|
|
1482
|
+
gender?: "other" | "male" | "female" | "prefer_not_to_say" | null | undefined;
|
|
1483
|
+
dateOfBirth?: string | undefined;
|
|
1484
|
+
avatarMediaId?: string | null | undefined;
|
|
1485
|
+
phone?: string | undefined;
|
|
1486
|
+
links?: {
|
|
1487
|
+
linkedin: string;
|
|
1488
|
+
x: string;
|
|
1489
|
+
instagram: string;
|
|
1490
|
+
} | undefined;
|
|
1491
|
+
location?: {
|
|
1492
|
+
state: {
|
|
1493
|
+
id: string;
|
|
1494
|
+
name: string;
|
|
1495
|
+
type: "COUNTRY" | "STATE" | "DISTRICT" | "SUB_DISTRICT" | "BLOCK" | "GRAM_PANCHAYAT" | "VILLAGE" | "URBAN_BODY" | "URBAN_WARD";
|
|
1496
|
+
urbanBodyType?: string | undefined;
|
|
1497
|
+
within?: string | undefined;
|
|
1498
|
+
};
|
|
1499
|
+
district: {
|
|
1500
|
+
id: string;
|
|
1501
|
+
name: string;
|
|
1502
|
+
type: "COUNTRY" | "STATE" | "DISTRICT" | "SUB_DISTRICT" | "BLOCK" | "GRAM_PANCHAYAT" | "VILLAGE" | "URBAN_BODY" | "URBAN_WARD";
|
|
1503
|
+
urbanBodyType?: string | undefined;
|
|
1504
|
+
within?: string | undefined;
|
|
1505
|
+
};
|
|
1506
|
+
locality: {
|
|
1507
|
+
id: string;
|
|
1508
|
+
name: string;
|
|
1509
|
+
type: "COUNTRY" | "STATE" | "DISTRICT" | "SUB_DISTRICT" | "BLOCK" | "GRAM_PANCHAYAT" | "VILLAGE" | "URBAN_BODY" | "URBAN_WARD";
|
|
1510
|
+
urbanBodyType?: string | undefined;
|
|
1511
|
+
within?: string | undefined;
|
|
1512
|
+
} | null;
|
|
1513
|
+
} | null | undefined;
|
|
1514
|
+
goals?: ("find_cofounder" | "find_investors" | "find_customers" | "hiring" | "partnerships" | "mentorship" | "grow_network" | "business_ideas" | "market_insights" | "learn_startup" | "start_company" | "get_feedback" | "find_testers" | "mentor_others" | "invest_in_startups" | "join_startup" | "find_service_providers" | "attend_events")[] | undefined;
|
|
1515
|
+
interests?: ("ai_ml" | "b2b_saas" | "d2c" | "deeptech" | "robotics" | "growth" | "sales" | "marketing" | "supply_chain" | "fundraising" | "mentoring" | "leadership" | "networking" | "public_speaking" | "teaching" | "hiring_talent" | "personal_branding" | "career_transition" | "remote_work" | "blockchain" | "crypto_web3" | "data_science" | "cybersecurity" | "game_dev" | "ux_design" | "app_development" | "open_source" | "electronics" | "space_exploration" | "green_tech" | "no_code" | "entrepreneurship" | "investing" | "stock_trading" | "personal_finance" | "consulting" | "ecommerce" | "retail" | "real_estate" | "product_management" | "meditation" | "journaling" | "self_improvement" | "productivity" | "reading" | "online_courses" | "philosophy" | "psychology" | "therapy" | "sleep_optimization" | "gym" | "yoga" | "photography" | "writing" | "graphic_design" | "filmmaking" | "digital_art" | "content_creation" | "blogging" | "vlogging" | "podcasts" | "animation" | "music_production" | "volunteering" | "ngo_work" | "environmental" | "women_empowerment" | "community_service" | "social_enterprise" | "education_access")[] | undefined;
|
|
1516
|
+
venture?: {
|
|
1517
|
+
name: string;
|
|
1518
|
+
tagline: string;
|
|
1519
|
+
roles: ("founder" | "other" | "co_founder" | "ceo" | "cto" | "coo" | "cfo" | "cmo" | "cpo")[];
|
|
1520
|
+
website: string;
|
|
1521
|
+
industry: "agritech" | "ai_ml" | "b2b_saas" | "consumer" | "climate" | "d2c" | "deeptech" | "edtech" | "fintech" | "gaming" | "healthtech" | "logistics" | "manufacturing" | "marketplace" | "media" | "mobility" | "proptech" | "robotics" | "services" | "space" | "other" | null;
|
|
1522
|
+
stage: "idea" | "validation" | "mvp" | "pre_seed" | "seed" | "series_a_plus" | "profitable" | "exited" | null;
|
|
1523
|
+
teamSize: string;
|
|
1524
|
+
} | undefined;
|
|
1525
|
+
legalStructure?: "not_registered" | "sole_proprietorship" | "partnership" | "llp" | "opc" | "private_limited" | "public_limited" | "section_8" | "trust_or_society" | "cooperative" | "registered_abroad" | null | undefined;
|
|
1526
|
+
guidelinesVersion?: string | null | undefined;
|
|
1527
|
+
headline?: string | undefined;
|
|
1528
|
+
about?: string | undefined;
|
|
1529
|
+
skills?: ("engineering" | "product" | "design" | "data" | "growth" | "sales" | "marketing" | "operations" | "finance" | "legal" | "hr_people" | "supply_chain" | "research" | "fundraising" | "community")[] | undefined;
|
|
1530
|
+
businessType?: unknown;
|
|
1531
|
+
}, "businessType">, {
|
|
1532
|
+
fullName?: string | undefined;
|
|
1533
|
+
gender?: "other" | "male" | "female" | "prefer_not_to_say" | null | undefined;
|
|
1534
|
+
dateOfBirth?: string | undefined;
|
|
1535
|
+
avatarMediaId?: string | null | undefined;
|
|
1536
|
+
phone?: string | undefined;
|
|
1537
|
+
links?: {
|
|
1538
|
+
linkedin: string;
|
|
1539
|
+
x: string;
|
|
1540
|
+
instagram: string;
|
|
1541
|
+
} | undefined;
|
|
1542
|
+
location?: {
|
|
1543
|
+
state: {
|
|
1544
|
+
id: string;
|
|
1545
|
+
name: string;
|
|
1546
|
+
type: "COUNTRY" | "STATE" | "DISTRICT" | "SUB_DISTRICT" | "BLOCK" | "GRAM_PANCHAYAT" | "VILLAGE" | "URBAN_BODY" | "URBAN_WARD";
|
|
1547
|
+
urbanBodyType?: string | undefined;
|
|
1548
|
+
within?: string | undefined;
|
|
1549
|
+
};
|
|
1550
|
+
district: {
|
|
1551
|
+
id: string;
|
|
1552
|
+
name: string;
|
|
1553
|
+
type: "COUNTRY" | "STATE" | "DISTRICT" | "SUB_DISTRICT" | "BLOCK" | "GRAM_PANCHAYAT" | "VILLAGE" | "URBAN_BODY" | "URBAN_WARD";
|
|
1554
|
+
urbanBodyType?: string | undefined;
|
|
1555
|
+
within?: string | undefined;
|
|
1556
|
+
};
|
|
1557
|
+
locality: {
|
|
1558
|
+
id: string;
|
|
1559
|
+
name: string;
|
|
1560
|
+
type: "COUNTRY" | "STATE" | "DISTRICT" | "SUB_DISTRICT" | "BLOCK" | "GRAM_PANCHAYAT" | "VILLAGE" | "URBAN_BODY" | "URBAN_WARD";
|
|
1561
|
+
urbanBodyType?: string | undefined;
|
|
1562
|
+
within?: string | undefined;
|
|
1563
|
+
} | null;
|
|
1564
|
+
} | null | undefined;
|
|
1565
|
+
goals?: ("find_cofounder" | "find_investors" | "find_customers" | "hiring" | "partnerships" | "mentorship" | "grow_network" | "business_ideas" | "market_insights" | "learn_startup" | "start_company" | "get_feedback" | "find_testers" | "mentor_others" | "invest_in_startups" | "join_startup" | "find_service_providers" | "attend_events")[] | undefined;
|
|
1566
|
+
interests?: ("ai_ml" | "b2b_saas" | "d2c" | "deeptech" | "robotics" | "growth" | "sales" | "marketing" | "supply_chain" | "fundraising" | "mentoring" | "leadership" | "networking" | "public_speaking" | "teaching" | "hiring_talent" | "personal_branding" | "career_transition" | "remote_work" | "blockchain" | "crypto_web3" | "data_science" | "cybersecurity" | "game_dev" | "ux_design" | "app_development" | "open_source" | "electronics" | "space_exploration" | "green_tech" | "no_code" | "entrepreneurship" | "investing" | "stock_trading" | "personal_finance" | "consulting" | "ecommerce" | "retail" | "real_estate" | "product_management" | "meditation" | "journaling" | "self_improvement" | "productivity" | "reading" | "online_courses" | "philosophy" | "psychology" | "therapy" | "sleep_optimization" | "gym" | "yoga" | "photography" | "writing" | "graphic_design" | "filmmaking" | "digital_art" | "content_creation" | "blogging" | "vlogging" | "podcasts" | "animation" | "music_production" | "volunteering" | "ngo_work" | "environmental" | "women_empowerment" | "community_service" | "social_enterprise" | "education_access")[] | undefined;
|
|
1567
|
+
venture?: {
|
|
1568
|
+
name: string;
|
|
1569
|
+
tagline: string;
|
|
1570
|
+
roles: ("founder" | "other" | "co_founder" | "ceo" | "cto" | "coo" | "cfo" | "cmo" | "cpo")[];
|
|
1571
|
+
website: string;
|
|
1572
|
+
industry: "agritech" | "ai_ml" | "b2b_saas" | "consumer" | "climate" | "d2c" | "deeptech" | "edtech" | "fintech" | "gaming" | "healthtech" | "logistics" | "manufacturing" | "marketplace" | "media" | "mobility" | "proptech" | "robotics" | "services" | "space" | "other" | null;
|
|
1573
|
+
stage: "idea" | "validation" | "mvp" | "pre_seed" | "seed" | "series_a_plus" | "profitable" | "exited" | null;
|
|
1574
|
+
teamSize: string;
|
|
1575
|
+
} | undefined;
|
|
1576
|
+
legalStructure?: "not_registered" | "sole_proprietorship" | "partnership" | "llp" | "opc" | "private_limited" | "public_limited" | "section_8" | "trust_or_society" | "cooperative" | "registered_abroad" | null | undefined;
|
|
1577
|
+
guidelinesVersion?: string | null | undefined;
|
|
1578
|
+
headline?: string | undefined;
|
|
1579
|
+
about?: string | undefined;
|
|
1580
|
+
skills?: ("engineering" | "product" | "design" | "data" | "growth" | "sales" | "marketing" | "operations" | "finance" | "legal" | "hr_people" | "supply_chain" | "research" | "fundraising" | "community")[] | undefined;
|
|
1581
|
+
businessType?: unknown;
|
|
1582
|
+
}>>>;
|
|
1543
1583
|
}, z.core.$strip>;
|
|
1544
1584
|
export type OnboardingProgressUpdate = z.infer<typeof onboardingProgressUpdateSchema>;
|
|
1545
1585
|
/**
|
|
@@ -1555,10 +1595,7 @@ export declare const onboardingStatusSchema: z.ZodObject<{
|
|
|
1555
1595
|
step: z.ZodNumber;
|
|
1556
1596
|
draft: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1557
1597
|
location: "location";
|
|
1558
|
-
about: "about";
|
|
1559
|
-
headline: "headline";
|
|
1560
1598
|
venture: "venture";
|
|
1561
|
-
skills: "skills";
|
|
1562
1599
|
goals: "goals";
|
|
1563
1600
|
links: "links";
|
|
1564
1601
|
phone: "phone";
|
|
@@ -1567,7 +1604,6 @@ export declare const onboardingStatusSchema: z.ZodObject<{
|
|
|
1567
1604
|
fullName: "fullName";
|
|
1568
1605
|
interests: "interests";
|
|
1569
1606
|
avatarMediaId: "avatarMediaId";
|
|
1570
|
-
businessType: "businessType";
|
|
1571
1607
|
legalStructure: "legalStructure";
|
|
1572
1608
|
guidelinesVersion: "guidelinesVersion";
|
|
1573
1609
|
}> & z.core.$partial, z.ZodUnknown>>;
|