founder-schema 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +263 -19
- package/dist/access/access.d.ts +1 -1
- package/dist/access/access.d.ts.map +1 -1
- package/dist/access/access.js +4 -1
- package/dist/access/access.js.map +1 -1
- package/dist/access/permissions.d.ts +27 -29
- package/dist/access/permissions.d.ts.map +1 -1
- package/dist/access/permissions.js +39 -3
- package/dist/access/permissions.js.map +1 -1
- package/dist/core/common.d.ts +117 -23
- package/dist/core/common.d.ts.map +1 -1
- package/dist/core/common.js +104 -21
- package/dist/core/common.js.map +1 -1
- package/dist/core/errors.d.ts +7 -5
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +17 -11
- package/dist/core/errors.js.map +1 -1
- package/dist/core/limits.d.ts +55 -17
- package/dist/core/limits.d.ts.map +1 -1
- package/dist/core/limits.js +59 -22
- package/dist/core/limits.js.map +1 -1
- package/dist/core/money.d.ts +33 -0
- package/dist/core/money.d.ts.map +1 -0
- package/dist/core/money.js +36 -0
- package/dist/core/money.js.map +1 -0
- package/dist/core/responses.d.ts +14 -4
- package/dist/core/responses.d.ts.map +1 -1
- package/dist/core/responses.js.map +1 -1
- package/dist/core/validation.d.ts +32 -2
- package/dist/core/validation.d.ts.map +1 -1
- package/dist/core/validation.js +32 -2
- package/dist/core/validation.js.map +1 -1
- package/dist/domains/billing/billing.d.ts +61 -8
- package/dist/domains/billing/billing.d.ts.map +1 -1
- package/dist/domains/billing/billing.js +58 -22
- package/dist/domains/billing/billing.js.map +1 -1
- package/dist/domains/billing/gst.d.ts.map +1 -1
- package/dist/domains/billing/gst.js +4 -3
- package/dist/domains/billing/gst.js.map +1 -1
- package/dist/domains/chat/chat.d.ts +0 -21
- package/dist/domains/chat/chat.d.ts.map +1 -1
- package/dist/domains/chat/chat.js +0 -20
- package/dist/domains/chat/chat.js.map +1 -1
- package/dist/domains/communities/communities.d.ts +30 -12
- package/dist/domains/communities/communities.d.ts.map +1 -1
- package/dist/domains/communities/communities.js +43 -15
- package/dist/domains/communities/communities.js.map +1 -1
- package/dist/domains/contributions/contributions.d.ts +1 -1
- package/dist/domains/contributions/contributions.js +1 -1
- package/dist/domains/contributions/contributions.js.map +1 -1
- package/dist/domains/dashboard/dashboard.d.ts +3 -1
- package/dist/domains/dashboard/dashboard.d.ts.map +1 -1
- package/dist/domains/dashboard/dashboard.js +23 -7
- package/dist/domains/dashboard/dashboard.js.map +1 -1
- package/dist/domains/discover/discover.d.ts +8 -8
- package/dist/domains/feed/feed.d.ts +55 -153
- package/dist/domains/feed/feed.d.ts.map +1 -1
- package/dist/domains/feed/feed.js +53 -58
- package/dist/domains/feed/feed.js.map +1 -1
- package/dist/domains/location/india.d.ts +215 -0
- package/dist/domains/location/india.d.ts.map +1 -0
- package/dist/domains/location/india.js +1203 -0
- package/dist/domains/location/india.js.map +1 -0
- package/dist/domains/members/members.d.ts +2 -2
- package/dist/domains/membership/membership.d.ts +26 -0
- package/dist/domains/membership/membership.d.ts.map +1 -1
- package/dist/domains/membership/membership.js +55 -1
- package/dist/domains/membership/membership.js.map +1 -1
- package/dist/domains/moderation/moderation.d.ts +2 -2
- package/dist/domains/moderation/moderation.js +3 -3
- package/dist/domains/moderation/moderation.js.map +1 -1
- package/dist/domains/notifications/notifications.d.ts +1 -10
- package/dist/domains/notifications/notifications.d.ts.map +1 -1
- package/dist/domains/notifications/notifications.js +2 -3
- package/dist/domains/notifications/notifications.js.map +1 -1
- package/dist/domains/onboarding/onboarding-answers.d.ts +112 -0
- package/dist/domains/onboarding/onboarding-answers.d.ts.map +1 -0
- package/dist/domains/onboarding/onboarding-answers.js +164 -0
- package/dist/domains/onboarding/onboarding-answers.js.map +1 -0
- package/dist/domains/onboarding/onboarding.d.ts +398 -62
- package/dist/domains/onboarding/onboarding.d.ts.map +1 -1
- package/dist/domains/onboarding/onboarding.js +229 -68
- package/dist/domains/onboarding/onboarding.js.map +1 -1
- package/dist/domains/products/products.d.ts +43 -8
- package/dist/domains/products/products.d.ts.map +1 -1
- package/dist/domains/products/products.js +57 -11
- package/dist/domains/products/products.js.map +1 -1
- package/dist/domains/profile/founder-profile.d.ts +120 -68
- package/dist/domains/profile/founder-profile.d.ts.map +1 -1
- package/dist/domains/profile/founder-profile.js +80 -29
- package/dist/domains/profile/founder-profile.js.map +1 -1
- package/dist/domains/profile/my-profile.d.ts +3 -3
- package/dist/domains/reviews/reviews.d.ts +1 -1
- package/dist/domains/reviews/reviews.d.ts.map +1 -1
- package/dist/domains/reviews/reviews.js +2 -2
- package/dist/domains/reviews/reviews.js.map +1 -1
- package/dist/domains/support/support.d.ts +22 -3
- package/dist/domains/support/support.d.ts.map +1 -1
- package/dist/domains/support/support.js +19 -5
- package/dist/domains/support/support.js.map +1 -1
- package/dist/domains/team/team.d.ts.map +1 -1
- package/dist/domains/team/team.js +3 -6
- package/dist/domains/team/team.js.map +1 -1
- package/dist/domains/uploads/uploads.d.ts +7 -22
- package/dist/domains/uploads/uploads.d.ts.map +1 -1
- package/dist/domains/uploads/uploads.js +7 -21
- package/dist/domains/uploads/uploads.js.map +1 -1
- package/dist/env.d.ts +26 -13
- package/dist/env.d.ts.map +1 -1
- package/dist/env.js +58 -23
- package/dist/env.js.map +1 -1
- package/dist/index.d.ts +18 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* for the end. Letting those two drift is how a wizard says a step is optional
|
|
17
17
|
* and then answers 422 at Finish.
|
|
18
18
|
*
|
|
19
|
-
* NO COPY IN HERE.
|
|
20
|
-
* (`
|
|
19
|
+
* NO COPY IN HERE. A step's label and title are translation KEYS
|
|
20
|
+
* (`labelKey`, `titleKey`), Jansathi's rule for every config string: an English
|
|
21
21
|
* sentence in a shared package is a sentence every other language has to match
|
|
22
22
|
* by wording. A topic category is named by its `key`, which the client words
|
|
23
23
|
* (0.6.0 dropped its `labelKey`: the web, English-only since 2026-10-06, read
|
|
@@ -26,6 +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
30
|
/**
|
|
30
31
|
* 18, ruled by the user 2026-09-21. Under-18 would pull in parental-consent
|
|
31
32
|
* duties under the DPDP Act, which is a different and larger problem than a
|
|
@@ -37,10 +38,54 @@ import { z } from 'zod';
|
|
|
37
38
|
export declare const MIN_AGE_YEARS = 18;
|
|
38
39
|
/** A sanity ceiling, not a product rule. Catches a mistyped year. */
|
|
39
40
|
export declare const MAX_AGE_YEARS = 120;
|
|
41
|
+
/**
|
|
42
|
+
* Whole years completed, by the calendar.
|
|
43
|
+
*
|
|
44
|
+
* ⚠️ NOT `elapsedMs / (365.25 * day)`, which is what the sibling product uses.
|
|
45
|
+
* That approximation reads 17.9986 at the start of somebody's eighteenth
|
|
46
|
+
* birthday and only crosses 18 about halfway through the day, so it refuses
|
|
47
|
+
* them for the half of their birthday they are most likely to be signing up on.
|
|
48
|
+
* Measured: it disagrees with the calendar on all 400 of the next 400 days.
|
|
49
|
+
* An age gate is exactly the place an approximation is not good enough.
|
|
50
|
+
*/
|
|
40
51
|
export declare function ageInYears(isoDate: string, now?: Date): number;
|
|
41
52
|
/** A calendar date with no time component, `YYYY-MM-DD`. */
|
|
42
53
|
export declare const isoDateSchema: z.ZodString;
|
|
43
54
|
export type IsoDate = z.infer<typeof isoDateSchema>;
|
|
55
|
+
/**
|
|
56
|
+
* True for a `YYYY-MM-DD` that is a real calendar date (0.17.0, exported so a
|
|
57
|
+
* client's date picker checks a date exactly as `dateOfBirthSchema` does):
|
|
58
|
+
* not 2026-02-30, not 2026-13-01.
|
|
59
|
+
*/
|
|
60
|
+
export declare function isRealIsoDate(value: string): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Today in India, `YYYY-MM-DD` (0.17.0): the day every age here is counted
|
|
63
|
+
* from (`ageInYears`), so a client's "today" must be this one, never the
|
|
64
|
+
* device's own: east of India the device is already on tomorrow.
|
|
65
|
+
*/
|
|
66
|
+
export declare function todayInIndia(now?: Date): IsoDate;
|
|
67
|
+
/**
|
|
68
|
+
* The dates of birth `dateOfBirthSchema` accepts TODAY, both ends included
|
|
69
|
+
* (0.17.0): `latest` makes someone exactly `MIN_AGE_YEARS` today, `earliest`
|
|
70
|
+
* exactly `MAX_AGE_YEARS`. Worked out with `ageInYears` itself, so a picker
|
|
71
|
+
* that offers only this window can never offer a date the schema refuses, a
|
|
72
|
+
* 29 February included.
|
|
73
|
+
*/
|
|
74
|
+
export declare function dateOfBirthBounds(now?: Date): {
|
|
75
|
+
earliest: IsoDate;
|
|
76
|
+
latest: IsoDate;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* True only for a COMPLETE, real date of birth that is under `MIN_AGE_YEARS`
|
|
80
|
+
* today (0.17.0): the rule the server applies to a draft, where a date still
|
|
81
|
+
* being typed must pass ("19" says nothing about anyone's age yet). Until
|
|
82
|
+
* 0.17.0 the backend wrote this out by hand and skipped the real-date check.
|
|
83
|
+
*/
|
|
84
|
+
export declare function isUnderAgeDateOfBirth(value: unknown, now?: Date): boolean;
|
|
85
|
+
/** A `YYYY-MM-DD` as the instant it is stored as: midnight UTC that day (0.17.0). */
|
|
86
|
+
export declare const isoDateToDate: (iso: IsoDate) => Date;
|
|
87
|
+
/** A stored date (midnight UTC) as `YYYY-MM-DD` (0.17.0): `isoDateToDate`'s inverse. */
|
|
88
|
+
export declare const dateToIsoDate: (date: Date) => IsoDate;
|
|
44
89
|
/**
|
|
45
90
|
* Date of birth, with the age gate applied per parse.
|
|
46
91
|
*
|
|
@@ -232,6 +277,24 @@ export interface TopicCategory {
|
|
|
232
277
|
values: readonly Topic[];
|
|
233
278
|
}
|
|
234
279
|
export declare const TOPIC_CATEGORIES: readonly TopicCategory[];
|
|
280
|
+
/**
|
|
281
|
+
* The goals step's three headings (0.17.0, moved here from the web, where the
|
|
282
|
+
* grouping lived in the screen): eighteen goals since 0.16.0, shown a group at
|
|
283
|
+
* a time so the eye takes six tiles, not a wall of eighteen. A group is named
|
|
284
|
+
* by its `key`, which the client words, like a topic category.
|
|
285
|
+
*
|
|
286
|
+
* ⚠ `GOAL_VALUES` stays the single source of truth for what a goal IS; this is
|
|
287
|
+
* typed against it, and a test holds the two together in both directions:
|
|
288
|
+
* every goal in exactly one group, nothing in a group that is not a goal.
|
|
289
|
+
*/
|
|
290
|
+
export declare const GOAL_CATEGORY_KEYS: readonly ["build", "grow", "learn"];
|
|
291
|
+
export type GoalCategoryKey = (typeof GOAL_CATEGORY_KEYS)[number];
|
|
292
|
+
/** One group of the goals picker: its `key` (the client words it) and its goals, in order. */
|
|
293
|
+
export interface GoalCategory {
|
|
294
|
+
key: GoalCategoryKey;
|
|
295
|
+
values: readonly Goal[];
|
|
296
|
+
}
|
|
297
|
+
export declare const GOAL_CATEGORIES: readonly GoalCategory[];
|
|
235
298
|
/**
|
|
236
299
|
* How many a member must pick. A minimum exists because these drive feed
|
|
237
300
|
* relevance and zero of them means no relevance at all.
|
|
@@ -354,6 +417,11 @@ export type OnboardingStepKey = (typeof ONBOARDING_STEP_KEYS)[number];
|
|
|
354
417
|
* profile; that record is the point.
|
|
355
418
|
*/
|
|
356
419
|
export declare const GUIDELINES_VERSION: "2026-10-03";
|
|
420
|
+
/**
|
|
421
|
+
* Not agreed at all (the box left unticked) is `guidelinesRequired`; agreed to
|
|
422
|
+
* another text is `guidelinesOutdated` (0.17.0: both were the second, so a
|
|
423
|
+
* client had to word an unticked box itself).
|
|
424
|
+
*/
|
|
357
425
|
export declare const guidelinesVersionSchema: z.ZodLiteral<"2026-10-03">;
|
|
358
426
|
/**
|
|
359
427
|
* The links the contact step collects, picked from the profile's own links so
|
|
@@ -368,6 +436,12 @@ export declare const contactLinksSchema: z.ZodObject<{
|
|
|
368
436
|
export type ContactLinks = z.infer<typeof contactLinksSchema>;
|
|
369
437
|
/** A team size has at most this many digits: `TEAM_SIZE_MAX` written out. */
|
|
370
438
|
export declare const TEAM_SIZE_DIGITS_MAX: number;
|
|
439
|
+
/**
|
|
440
|
+
* A team size as typed, kept to what the field may hold: digits only, at most
|
|
441
|
+
* `TEAM_SIZE_DIGITS_MAX` (0.17.0: the draft reader and every client's field
|
|
442
|
+
* clean it with this one rule).
|
|
443
|
+
*/
|
|
444
|
+
export declare const teamSizeDigits: (raw: string) => string;
|
|
371
445
|
/**
|
|
372
446
|
* The answers so far, keyed by the finish body's own field names: what each
|
|
373
447
|
* step SAVES (`PATCH /onboarding`, merged per field), what `GET` hands back
|
|
@@ -390,6 +464,12 @@ export declare const TEAM_SIZE_DIGITS_MAX: number;
|
|
|
390
464
|
* one, wrote it, and the server stores values opaquely. Read it with
|
|
391
465
|
* `readOnboardingDraft`, never by casting.
|
|
392
466
|
*/
|
|
467
|
+
/** Longest date of birth an answer may be: `YYYY-MM-DD` (0.18.0: exported; the form and the draft reader use it). */
|
|
468
|
+
export declare const DATE_INPUT_MAX = 10;
|
|
469
|
+
/** Longest phone number an answer may be, as typed with spaces and a `+91`. */
|
|
470
|
+
export declare const PHONE_INPUT_MAX = 20;
|
|
471
|
+
/** Longest guidelines version an answer may carry (`GUIDELINES_VERSION` is a date). */
|
|
472
|
+
export declare const GUIDELINES_VERSION_MAX = 32;
|
|
393
473
|
export declare const onboardingFormSchema: z.ZodObject<{
|
|
394
474
|
displayName: z.ZodString;
|
|
395
475
|
gender: z.ZodNullable<z.ZodEnum<{
|
|
@@ -595,8 +675,8 @@ export declare const EMPTY_ONBOARDING_VENTURE: OnboardingForm['venture'];
|
|
|
595
675
|
* one that does not fit becomes "not answered" (`''`, `null`, `[]`) and the
|
|
596
676
|
* rest of the draft survives. Never coerced into a different answer: a value
|
|
597
677
|
* outside a vocabulary is dropped, not mapped to the nearest one. A photo
|
|
598
|
-
* is never restored (
|
|
599
|
-
* CURRENT guidelines.
|
|
678
|
+
* is never restored from here (it comes back as the status's `photo`; see
|
|
679
|
+
* `avatarMediaId`), and agreement only counts for the CURRENT guidelines.
|
|
600
680
|
*
|
|
601
681
|
* It fills in no answer the member did not give: a blank country stays blank.
|
|
602
682
|
* Whatever a screen shows by default is that screen's choice.
|
|
@@ -618,9 +698,13 @@ export declare function readOnboardingDraft(draft: unknown): OnboardingForm;
|
|
|
618
698
|
*
|
|
619
699
|
* Location, venture and links are the profile's own shapes, not copies: the
|
|
620
700
|
* copies are how the profile model came to lack Instagram.
|
|
701
|
+
*
|
|
702
|
+
* Refined (the business type and registration need a venture, above), so Zod 4
|
|
703
|
+
* throws on `.pick` / `.omit` / `.partial` / `.merge` of it: read a field with
|
|
704
|
+
* `.shape.<field>`, a step's with `ONBOARDING_STEP_SCHEMAS.<step>`.
|
|
621
705
|
*/
|
|
622
706
|
export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
623
|
-
displayName: z.ZodString
|
|
707
|
+
displayName: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
624
708
|
gender: z.ZodEnum<{
|
|
625
709
|
other: "other";
|
|
626
710
|
male: "male";
|
|
@@ -628,8 +712,8 @@ export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
|
628
712
|
prefer_not_to_say: "prefer_not_to_say";
|
|
629
713
|
}>;
|
|
630
714
|
dateOfBirth: z.ZodString;
|
|
631
|
-
headline: z.
|
|
632
|
-
about: z.
|
|
715
|
+
headline: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
716
|
+
about: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
633
717
|
avatarMediaId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
634
718
|
phone: z.ZodString;
|
|
635
719
|
links: z.ZodOptional<z.ZodObject<{
|
|
@@ -639,8 +723,45 @@ export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
|
639
723
|
}, z.core.$strip>>;
|
|
640
724
|
location: z.ZodOptional<z.ZodObject<{
|
|
641
725
|
city: z.ZodString;
|
|
642
|
-
state: z.
|
|
643
|
-
|
|
726
|
+
state: z.ZodPipe<z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<string, string>>, z.ZodEnum<{
|
|
727
|
+
"Jammu and Kashmir": "Jammu and Kashmir";
|
|
728
|
+
"Himachal Pradesh": "Himachal Pradesh";
|
|
729
|
+
Punjab: "Punjab";
|
|
730
|
+
Chandigarh: "Chandigarh";
|
|
731
|
+
Uttarakhand: "Uttarakhand";
|
|
732
|
+
Haryana: "Haryana";
|
|
733
|
+
Delhi: "Delhi";
|
|
734
|
+
Rajasthan: "Rajasthan";
|
|
735
|
+
"Uttar Pradesh": "Uttar Pradesh";
|
|
736
|
+
Bihar: "Bihar";
|
|
737
|
+
Sikkim: "Sikkim";
|
|
738
|
+
"Arunachal Pradesh": "Arunachal Pradesh";
|
|
739
|
+
Nagaland: "Nagaland";
|
|
740
|
+
Manipur: "Manipur";
|
|
741
|
+
Mizoram: "Mizoram";
|
|
742
|
+
Tripura: "Tripura";
|
|
743
|
+
Meghalaya: "Meghalaya";
|
|
744
|
+
Assam: "Assam";
|
|
745
|
+
"West Bengal": "West Bengal";
|
|
746
|
+
Jharkhand: "Jharkhand";
|
|
747
|
+
Odisha: "Odisha";
|
|
748
|
+
Chhattisgarh: "Chhattisgarh";
|
|
749
|
+
"Madhya Pradesh": "Madhya Pradesh";
|
|
750
|
+
Gujarat: "Gujarat";
|
|
751
|
+
"Dadra and Nagar Haveli and Daman and Diu": "Dadra and Nagar Haveli and Daman and Diu";
|
|
752
|
+
Maharashtra: "Maharashtra";
|
|
753
|
+
Karnataka: "Karnataka";
|
|
754
|
+
Goa: "Goa";
|
|
755
|
+
Lakshadweep: "Lakshadweep";
|
|
756
|
+
Kerala: "Kerala";
|
|
757
|
+
"Tamil Nadu": "Tamil Nadu";
|
|
758
|
+
Puducherry: "Puducherry";
|
|
759
|
+
"Andaman and Nicobar Islands": "Andaman and Nicobar Islands";
|
|
760
|
+
Telangana: "Telangana";
|
|
761
|
+
"Andhra Pradesh": "Andhra Pradesh";
|
|
762
|
+
Ladakh: "Ladakh";
|
|
763
|
+
}>>;
|
|
764
|
+
country: z.ZodLiteral<"India">;
|
|
644
765
|
}, z.core.$strip>>;
|
|
645
766
|
goals: z.ZodArray<z.ZodEnum<{
|
|
646
767
|
find_cofounder: "find_cofounder";
|
|
@@ -752,7 +873,7 @@ export declare const completeOnboardingBodySchema: z.ZodObject<{
|
|
|
752
873
|
community: "community";
|
|
753
874
|
}>>>;
|
|
754
875
|
venture: z.ZodOptional<z.ZodObject<{
|
|
755
|
-
tagline: z.
|
|
876
|
+
tagline: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
756
877
|
name: z.ZodString;
|
|
757
878
|
industry: z.ZodEnum<{
|
|
758
879
|
agritech: "agritech";
|
|
@@ -834,7 +955,7 @@ export type CompleteOnboardingBodyInput = z.input<typeof completeOnboardingBodyS
|
|
|
834
955
|
*/
|
|
835
956
|
export declare const ONBOARDING_STEP_SCHEMAS: {
|
|
836
957
|
readonly basics: z.ZodObject<{
|
|
837
|
-
displayName: z.ZodString
|
|
958
|
+
displayName: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
838
959
|
gender: z.ZodEnum<{
|
|
839
960
|
other: "other";
|
|
840
961
|
male: "male";
|
|
@@ -847,8 +968,8 @@ export declare const ONBOARDING_STEP_SCHEMAS: {
|
|
|
847
968
|
avatarMediaId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
848
969
|
}, z.core.$strip>;
|
|
849
970
|
readonly professional: z.ZodObject<{
|
|
850
|
-
about: z.
|
|
851
|
-
headline: z.
|
|
971
|
+
about: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
972
|
+
headline: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
852
973
|
skills: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
853
974
|
engineering: "engineering";
|
|
854
975
|
product: "product";
|
|
@@ -878,8 +999,45 @@ export declare const ONBOARDING_STEP_SCHEMAS: {
|
|
|
878
999
|
readonly location: z.ZodObject<{
|
|
879
1000
|
location: z.ZodOptional<z.ZodObject<{
|
|
880
1001
|
city: z.ZodString;
|
|
881
|
-
state: z.
|
|
882
|
-
|
|
1002
|
+
state: z.ZodPipe<z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<string, string>>, z.ZodEnum<{
|
|
1003
|
+
"Jammu and Kashmir": "Jammu and Kashmir";
|
|
1004
|
+
"Himachal Pradesh": "Himachal Pradesh";
|
|
1005
|
+
Punjab: "Punjab";
|
|
1006
|
+
Chandigarh: "Chandigarh";
|
|
1007
|
+
Uttarakhand: "Uttarakhand";
|
|
1008
|
+
Haryana: "Haryana";
|
|
1009
|
+
Delhi: "Delhi";
|
|
1010
|
+
Rajasthan: "Rajasthan";
|
|
1011
|
+
"Uttar Pradesh": "Uttar Pradesh";
|
|
1012
|
+
Bihar: "Bihar";
|
|
1013
|
+
Sikkim: "Sikkim";
|
|
1014
|
+
"Arunachal Pradesh": "Arunachal Pradesh";
|
|
1015
|
+
Nagaland: "Nagaland";
|
|
1016
|
+
Manipur: "Manipur";
|
|
1017
|
+
Mizoram: "Mizoram";
|
|
1018
|
+
Tripura: "Tripura";
|
|
1019
|
+
Meghalaya: "Meghalaya";
|
|
1020
|
+
Assam: "Assam";
|
|
1021
|
+
"West Bengal": "West Bengal";
|
|
1022
|
+
Jharkhand: "Jharkhand";
|
|
1023
|
+
Odisha: "Odisha";
|
|
1024
|
+
Chhattisgarh: "Chhattisgarh";
|
|
1025
|
+
"Madhya Pradesh": "Madhya Pradesh";
|
|
1026
|
+
Gujarat: "Gujarat";
|
|
1027
|
+
"Dadra and Nagar Haveli and Daman and Diu": "Dadra and Nagar Haveli and Daman and Diu";
|
|
1028
|
+
Maharashtra: "Maharashtra";
|
|
1029
|
+
Karnataka: "Karnataka";
|
|
1030
|
+
Goa: "Goa";
|
|
1031
|
+
Lakshadweep: "Lakshadweep";
|
|
1032
|
+
Kerala: "Kerala";
|
|
1033
|
+
"Tamil Nadu": "Tamil Nadu";
|
|
1034
|
+
Puducherry: "Puducherry";
|
|
1035
|
+
"Andaman and Nicobar Islands": "Andaman and Nicobar Islands";
|
|
1036
|
+
Telangana: "Telangana";
|
|
1037
|
+
"Andhra Pradesh": "Andhra Pradesh";
|
|
1038
|
+
Ladakh: "Ladakh";
|
|
1039
|
+
}>>;
|
|
1040
|
+
country: z.ZodLiteral<"India">;
|
|
883
1041
|
}, z.core.$strip>>;
|
|
884
1042
|
}, z.core.$strip>;
|
|
885
1043
|
readonly goals: z.ZodObject<{
|
|
@@ -980,7 +1138,7 @@ export declare const ONBOARDING_STEP_SCHEMAS: {
|
|
|
980
1138
|
}, z.core.$strip>;
|
|
981
1139
|
readonly business: z.ZodObject<{
|
|
982
1140
|
venture: z.ZodOptional<z.ZodObject<{
|
|
983
|
-
tagline: z.
|
|
1141
|
+
tagline: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
|
|
984
1142
|
name: z.ZodString;
|
|
985
1143
|
industry: z.ZodEnum<{
|
|
986
1144
|
agritech: "agritech";
|
|
@@ -1061,9 +1219,15 @@ export type OnboardingField = keyof CompleteOnboardingBody;
|
|
|
1061
1219
|
export interface OnboardingStepConfig {
|
|
1062
1220
|
/** Stable identifier. Safe for analytics and for a resume cursor, unlike an index. */
|
|
1063
1221
|
key: OnboardingStepKey;
|
|
1064
|
-
/**
|
|
1222
|
+
/**
|
|
1223
|
+
* Translation keys for what the step's header shows: its short label beside
|
|
1224
|
+
* the step number ("STEP 5 OF 9 · LOCATION") and its one question. The words
|
|
1225
|
+
* live in each client. There is no help line (the user removed it,
|
|
1226
|
+
* 2026-10-19; `helpKey` went in 0.17.0): who sees an answer is said on the
|
|
1227
|
+
* field it is about.
|
|
1228
|
+
*/
|
|
1229
|
+
labelKey: `onboarding.steps.${OnboardingStepKey}.label`;
|
|
1065
1230
|
titleKey: `onboarding.steps.${OnboardingStepKey}.title`;
|
|
1066
|
-
helpKey: `onboarding.steps.${OnboardingStepKey}.help`;
|
|
1067
1231
|
/** The step's slice of the finish body, in schema order. */
|
|
1068
1232
|
fields: readonly OnboardingField[];
|
|
1069
1233
|
/**
|
|
@@ -1079,7 +1243,7 @@ export declare const ONBOARDING_TOTAL_STEPS: number;
|
|
|
1079
1243
|
export declare const ONBOARDING_STEP_FIELDS: readonly (readonly OnboardingField[])[];
|
|
1080
1244
|
/** What finishing answers: the new profile's id and the handle derived for it. */
|
|
1081
1245
|
export declare const completeOnboardingResponseSchema: z.ZodObject<{
|
|
1082
|
-
id: z.ZodString
|
|
1246
|
+
id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1083
1247
|
username: z.ZodString;
|
|
1084
1248
|
}, z.core.$strip>;
|
|
1085
1249
|
export type CompleteOnboardingResponse = z.infer<typeof completeOnboardingResponseSchema>;
|
|
@@ -1120,9 +1284,11 @@ export type OnboardingDraftKey = z.infer<typeof onboardingDraftKeySchema>;
|
|
|
1120
1284
|
* pair: one number is what lets a member start on the web and resume elsewhere,
|
|
1121
1285
|
* provided both ends agree on the encoding.
|
|
1122
1286
|
*
|
|
1123
|
-
*
|
|
1124
|
-
*
|
|
1125
|
-
*
|
|
1287
|
+
* What is READ BACK: the draft's KEYS come from the form, its VALUES are
|
|
1288
|
+
* opaque, since a stored draft may predate 0.18.0 (any JSON was stored then);
|
|
1289
|
+
* read it through `readOnboardingDraft`, never by casting. What is WRITTEN is
|
|
1290
|
+
* the form's own shape (`onboardingProgressUpdateSchema.draft`, 0.18.0), and
|
|
1291
|
+
* everything is re-validated strictly at finalize.
|
|
1126
1292
|
*
|
|
1127
1293
|
* `partialRecord`, not `record`: in Zod 4 an enum-keyed `z.record` demands
|
|
1128
1294
|
* every key, and a draft holds whichever steps the member has reached.
|
|
@@ -1146,53 +1312,211 @@ export declare const onboardingDraftSchema: z.ZodRecord<z.ZodEnum<{
|
|
|
1146
1312
|
guidelinesVersion: "guidelinesVersion";
|
|
1147
1313
|
}> & z.core.$partial, z.ZodUnknown>;
|
|
1148
1314
|
export type OnboardingDraft = z.infer<typeof onboardingDraftSchema>;
|
|
1149
|
-
export declare const onboardingProgressSchema: z.ZodObject<{
|
|
1150
|
-
step: z.ZodNumber;
|
|
1151
|
-
draft: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
1152
|
-
location: "location";
|
|
1153
|
-
about: "about";
|
|
1154
|
-
displayName: "displayName";
|
|
1155
|
-
headline: "headline";
|
|
1156
|
-
venture: "venture";
|
|
1157
|
-
skills: "skills";
|
|
1158
|
-
goals: "goals";
|
|
1159
|
-
links: "links";
|
|
1160
|
-
phone: "phone";
|
|
1161
|
-
gender: "gender";
|
|
1162
|
-
dateOfBirth: "dateOfBirth";
|
|
1163
|
-
interests: "interests";
|
|
1164
|
-
avatarMediaId: "avatarMediaId";
|
|
1165
|
-
businessType: "businessType";
|
|
1166
|
-
legalStructure: "legalStructure";
|
|
1167
|
-
guidelinesVersion: "guidelinesVersion";
|
|
1168
|
-
}> & z.core.$partial, z.ZodUnknown>>;
|
|
1169
|
-
}, z.core.$strip>;
|
|
1170
|
-
export type OnboardingProgress = z.infer<typeof onboardingProgressSchema>;
|
|
1171
1315
|
/**
|
|
1172
1316
|
* `PATCH` body: any subset of the cursor, merged server-side. No defaults.
|
|
1173
1317
|
* `step` may equal `ONBOARDING_TOTAL_STEPS`: "past the last step", which the
|
|
1174
1318
|
* client sends on its way to finish.
|
|
1319
|
+
*
|
|
1320
|
+
* The photo step's `avatarMediaId` is not kept in the draft (0.17.0): it is
|
|
1321
|
+
* handed to the server, which holds that upload for the member.
|
|
1175
1322
|
*/
|
|
1176
1323
|
export declare const onboardingProgressUpdateSchema: z.ZodObject<{
|
|
1177
1324
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1178
|
-
draft: z.ZodOptional<z.
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1325
|
+
draft: z.ZodOptional<z.ZodObject<{
|
|
1326
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1328
|
+
other: "other";
|
|
1329
|
+
male: "male";
|
|
1330
|
+
female: "female";
|
|
1331
|
+
prefer_not_to_say: "prefer_not_to_say";
|
|
1332
|
+
}>>>;
|
|
1333
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
|
1334
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
about: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
avatarMediaId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
1337
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1338
|
+
engineering: "engineering";
|
|
1339
|
+
product: "product";
|
|
1340
|
+
design: "design";
|
|
1341
|
+
data: "data";
|
|
1342
|
+
growth: "growth";
|
|
1343
|
+
sales: "sales";
|
|
1344
|
+
marketing: "marketing";
|
|
1345
|
+
operations: "operations";
|
|
1346
|
+
finance: "finance";
|
|
1347
|
+
legal: "legal";
|
|
1348
|
+
hr_people: "hr_people";
|
|
1349
|
+
supply_chain: "supply_chain";
|
|
1350
|
+
research: "research";
|
|
1351
|
+
fundraising: "fundraising";
|
|
1352
|
+
community: "community";
|
|
1353
|
+
}>>>;
|
|
1354
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1355
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
1356
|
+
linkedin: z.ZodString;
|
|
1357
|
+
x: z.ZodString;
|
|
1358
|
+
instagram: z.ZodString;
|
|
1359
|
+
}, z.core.$strip>>;
|
|
1360
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1361
|
+
city: z.ZodString;
|
|
1362
|
+
state: z.ZodString;
|
|
1363
|
+
country: z.ZodString;
|
|
1364
|
+
}, z.core.$strip>>>;
|
|
1365
|
+
goals: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1366
|
+
find_cofounder: "find_cofounder";
|
|
1367
|
+
find_investors: "find_investors";
|
|
1368
|
+
find_customers: "find_customers";
|
|
1369
|
+
hiring: "hiring";
|
|
1370
|
+
partnerships: "partnerships";
|
|
1371
|
+
mentorship: "mentorship";
|
|
1372
|
+
grow_network: "grow_network";
|
|
1373
|
+
business_ideas: "business_ideas";
|
|
1374
|
+
market_insights: "market_insights";
|
|
1375
|
+
learn_startup: "learn_startup";
|
|
1376
|
+
start_company: "start_company";
|
|
1377
|
+
get_feedback: "get_feedback";
|
|
1378
|
+
find_testers: "find_testers";
|
|
1379
|
+
mentor_others: "mentor_others";
|
|
1380
|
+
invest_in_startups: "invest_in_startups";
|
|
1381
|
+
join_startup: "join_startup";
|
|
1382
|
+
find_service_providers: "find_service_providers";
|
|
1383
|
+
attend_events: "attend_events";
|
|
1384
|
+
}>>>;
|
|
1385
|
+
interests: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1386
|
+
ai_ml: "ai_ml";
|
|
1387
|
+
b2b_saas: "b2b_saas";
|
|
1388
|
+
d2c: "d2c";
|
|
1389
|
+
deeptech: "deeptech";
|
|
1390
|
+
robotics: "robotics";
|
|
1391
|
+
growth: "growth";
|
|
1392
|
+
sales: "sales";
|
|
1393
|
+
marketing: "marketing";
|
|
1394
|
+
supply_chain: "supply_chain";
|
|
1395
|
+
fundraising: "fundraising";
|
|
1396
|
+
social_enterprise: "social_enterprise";
|
|
1397
|
+
mentoring: "mentoring";
|
|
1398
|
+
leadership: "leadership";
|
|
1399
|
+
networking: "networking";
|
|
1400
|
+
public_speaking: "public_speaking";
|
|
1401
|
+
teaching: "teaching";
|
|
1402
|
+
hiring_talent: "hiring_talent";
|
|
1403
|
+
personal_branding: "personal_branding";
|
|
1404
|
+
career_transition: "career_transition";
|
|
1405
|
+
remote_work: "remote_work";
|
|
1406
|
+
blockchain: "blockchain";
|
|
1407
|
+
crypto_web3: "crypto_web3";
|
|
1408
|
+
data_science: "data_science";
|
|
1409
|
+
cybersecurity: "cybersecurity";
|
|
1410
|
+
game_dev: "game_dev";
|
|
1411
|
+
ux_design: "ux_design";
|
|
1412
|
+
app_development: "app_development";
|
|
1413
|
+
open_source: "open_source";
|
|
1414
|
+
electronics: "electronics";
|
|
1415
|
+
space_exploration: "space_exploration";
|
|
1416
|
+
green_tech: "green_tech";
|
|
1417
|
+
no_code: "no_code";
|
|
1418
|
+
entrepreneurship: "entrepreneurship";
|
|
1419
|
+
investing: "investing";
|
|
1420
|
+
stock_trading: "stock_trading";
|
|
1421
|
+
personal_finance: "personal_finance";
|
|
1422
|
+
consulting: "consulting";
|
|
1423
|
+
ecommerce: "ecommerce";
|
|
1424
|
+
retail: "retail";
|
|
1425
|
+
real_estate: "real_estate";
|
|
1426
|
+
product_management: "product_management";
|
|
1427
|
+
meditation: "meditation";
|
|
1428
|
+
journaling: "journaling";
|
|
1429
|
+
self_improvement: "self_improvement";
|
|
1430
|
+
productivity: "productivity";
|
|
1431
|
+
reading: "reading";
|
|
1432
|
+
online_courses: "online_courses";
|
|
1433
|
+
philosophy: "philosophy";
|
|
1434
|
+
psychology: "psychology";
|
|
1435
|
+
therapy: "therapy";
|
|
1436
|
+
sleep_optimization: "sleep_optimization";
|
|
1437
|
+
gym: "gym";
|
|
1438
|
+
yoga: "yoga";
|
|
1439
|
+
photography: "photography";
|
|
1440
|
+
writing: "writing";
|
|
1441
|
+
graphic_design: "graphic_design";
|
|
1442
|
+
filmmaking: "filmmaking";
|
|
1443
|
+
digital_art: "digital_art";
|
|
1444
|
+
content_creation: "content_creation";
|
|
1445
|
+
blogging: "blogging";
|
|
1446
|
+
vlogging: "vlogging";
|
|
1447
|
+
podcasts: "podcasts";
|
|
1448
|
+
animation: "animation";
|
|
1449
|
+
music_production: "music_production";
|
|
1450
|
+
volunteering: "volunteering";
|
|
1451
|
+
ngo_work: "ngo_work";
|
|
1452
|
+
environmental: "environmental";
|
|
1453
|
+
women_empowerment: "women_empowerment";
|
|
1454
|
+
community_service: "community_service";
|
|
1455
|
+
education_access: "education_access";
|
|
1456
|
+
}>>>;
|
|
1457
|
+
venture: z.ZodOptional<z.ZodObject<{
|
|
1458
|
+
name: z.ZodString;
|
|
1459
|
+
website: z.ZodString;
|
|
1460
|
+
industry: z.ZodNullable<z.ZodEnum<{
|
|
1461
|
+
agritech: "agritech";
|
|
1462
|
+
ai_ml: "ai_ml";
|
|
1463
|
+
b2b_saas: "b2b_saas";
|
|
1464
|
+
consumer: "consumer";
|
|
1465
|
+
climate: "climate";
|
|
1466
|
+
d2c: "d2c";
|
|
1467
|
+
deeptech: "deeptech";
|
|
1468
|
+
edtech: "edtech";
|
|
1469
|
+
fintech: "fintech";
|
|
1470
|
+
gaming: "gaming";
|
|
1471
|
+
healthtech: "healthtech";
|
|
1472
|
+
logistics: "logistics";
|
|
1473
|
+
manufacturing: "manufacturing";
|
|
1474
|
+
marketplace: "marketplace";
|
|
1475
|
+
media: "media";
|
|
1476
|
+
mobility: "mobility";
|
|
1477
|
+
proptech: "proptech";
|
|
1478
|
+
robotics: "robotics";
|
|
1479
|
+
services: "services";
|
|
1480
|
+
space: "space";
|
|
1481
|
+
other: "other";
|
|
1482
|
+
}>>;
|
|
1483
|
+
stage: z.ZodNullable<z.ZodEnum<{
|
|
1484
|
+
idea: "idea";
|
|
1485
|
+
validation: "validation";
|
|
1486
|
+
mvp: "mvp";
|
|
1487
|
+
pre_seed: "pre_seed";
|
|
1488
|
+
seed: "seed";
|
|
1489
|
+
series_a_plus: "series_a_plus";
|
|
1490
|
+
profitable: "profitable";
|
|
1491
|
+
exited: "exited";
|
|
1492
|
+
}>>;
|
|
1493
|
+
teamSize: z.ZodString;
|
|
1494
|
+
}, z.core.$strip>>;
|
|
1495
|
+
businessType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1496
|
+
startup: "startup";
|
|
1497
|
+
sme: "sme";
|
|
1498
|
+
enterprise: "enterprise";
|
|
1499
|
+
freelancer: "freelancer";
|
|
1500
|
+
agency: "agency";
|
|
1501
|
+
social_enterprise: "social_enterprise";
|
|
1502
|
+
family_business: "family_business";
|
|
1503
|
+
franchise: "franchise";
|
|
1504
|
+
}>>>;
|
|
1505
|
+
legalStructure: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1506
|
+
not_registered: "not_registered";
|
|
1507
|
+
sole_proprietorship: "sole_proprietorship";
|
|
1508
|
+
partnership: "partnership";
|
|
1509
|
+
llp: "llp";
|
|
1510
|
+
opc: "opc";
|
|
1511
|
+
private_limited: "private_limited";
|
|
1512
|
+
public_limited: "public_limited";
|
|
1513
|
+
section_8: "section_8";
|
|
1514
|
+
trust_or_society: "trust_or_society";
|
|
1515
|
+
cooperative: "cooperative";
|
|
1516
|
+
registered_abroad: "registered_abroad";
|
|
1517
|
+
}>>>;
|
|
1518
|
+
guidelinesVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1519
|
+
}, z.core.$strict>>;
|
|
1196
1520
|
}, z.core.$strip>;
|
|
1197
1521
|
export type OnboardingProgressUpdate = z.infer<typeof onboardingProgressUpdateSchema>;
|
|
1198
1522
|
/**
|
|
@@ -1224,6 +1548,18 @@ export declare const onboardingStatusSchema: z.ZodObject<{
|
|
|
1224
1548
|
legalStructure: "legalStructure";
|
|
1225
1549
|
guidelinesVersion: "guidelinesVersion";
|
|
1226
1550
|
}> & z.core.$partial, z.ZodUnknown>>;
|
|
1551
|
+
photo: z.ZodOptional<z.ZodObject<{
|
|
1552
|
+
id: z.ZodString;
|
|
1553
|
+
url: z.ZodURL;
|
|
1554
|
+
width: z.ZodNumber;
|
|
1555
|
+
height: z.ZodNumber;
|
|
1556
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1557
|
+
width: z.ZodNumber;
|
|
1558
|
+
height: z.ZodNumber;
|
|
1559
|
+
url: z.ZodURL;
|
|
1560
|
+
}, z.core.$strip>>;
|
|
1561
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
}, z.core.$strip>>;
|
|
1227
1563
|
}, z.core.$strip>;
|
|
1228
1564
|
export type OnboardingStatus = z.infer<typeof onboardingStatusSchema>;
|
|
1229
1565
|
//# sourceMappingURL=onboarding.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboarding.d.ts","sourceRoot":"","sources":["../../../src/domains/onboarding/onboarding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"onboarding.d.ts","sourceRoot":"","sources":["../../../src/domains/onboarding/onboarding.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAKL,KAAK,IAAI,EAeV,MAAM,sBAAsB,CAAC;AAsB9B;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,qEAAqE;AACrE,eAAO,MAAM,aAAa,MAAM,CAAC;AAEjC;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,GAAE,IAAiB,GAAG,MAAM,CAoB1E;AAED,4DAA4D;AAC5D,eAAO,MAAM,aAAa,aAGqC,CAAC;AAChE,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAA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