founder-schema 0.16.0 → 0.17.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.
Files changed (34) hide show
  1. package/README.md +138 -2
  2. package/dist/core/common.d.ts +73 -16
  3. package/dist/core/common.d.ts.map +1 -1
  4. package/dist/core/common.js +68 -14
  5. package/dist/core/common.js.map +1 -1
  6. package/dist/core/limits.d.ts +7 -0
  7. package/dist/core/limits.d.ts.map +1 -1
  8. package/dist/core/limits.js +7 -0
  9. package/dist/core/limits.js.map +1 -1
  10. package/dist/core/validation.d.ts +26 -0
  11. package/dist/core/validation.d.ts.map +1 -1
  12. package/dist/core/validation.js +26 -0
  13. package/dist/core/validation.js.map +1 -1
  14. package/dist/domains/location/india.d.ts +205 -0
  15. package/dist/domains/location/india.d.ts.map +1 -0
  16. package/dist/domains/location/india.js +1175 -0
  17. package/dist/domains/location/india.js.map +1 -0
  18. package/dist/domains/onboarding/onboarding-answers.d.ts +81 -0
  19. package/dist/domains/onboarding/onboarding-answers.d.ts.map +1 -0
  20. package/dist/domains/onboarding/onboarding-answers.js +141 -0
  21. package/dist/domains/onboarding/onboarding-answers.js.map +1 -0
  22. package/dist/domains/onboarding/onboarding.d.ts +178 -14
  23. package/dist/domains/onboarding/onboarding.d.ts.map +1 -1
  24. package/dist/domains/onboarding/onboarding.js +215 -47
  25. package/dist/domains/onboarding/onboarding.js.map +1 -1
  26. package/dist/domains/profile/founder-profile.d.ts +94 -6
  27. package/dist/domains/profile/founder-profile.d.ts.map +1 -1
  28. package/dist/domains/profile/founder-profile.js +26 -9
  29. package/dist/domains/profile/founder-profile.js.map +1 -1
  30. package/dist/index.d.ts +6 -4
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +7 -4
  33. package/dist/index.js.map +1 -1
  34. 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. Step titles and help lines are translation KEYS
20
- * (`titleKey`, `helpKey`), Jansathi's rule for every config string: an English
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
@@ -41,6 +42,40 @@ export declare function ageInYears(isoDate: string, now?: Date): number;
41
42
  /** A calendar date with no time component, `YYYY-MM-DD`. */
42
43
  export declare const isoDateSchema: z.ZodString;
43
44
  export type IsoDate = z.infer<typeof isoDateSchema>;
45
+ /**
46
+ * True for a `YYYY-MM-DD` that is a real calendar date (0.17.0, exported so a
47
+ * client's date picker checks a date exactly as `dateOfBirthSchema` does):
48
+ * not 2026-02-30, not 2026-13-01.
49
+ */
50
+ export declare function isRealIsoDate(value: string): boolean;
51
+ /**
52
+ * Today in India, `YYYY-MM-DD` (0.17.0): the day every age here is counted
53
+ * from (`ageInYears`), so a client's "today" must be this one, never the
54
+ * device's own: east of India the device is already on tomorrow.
55
+ */
56
+ export declare function todayInIndia(now?: Date): IsoDate;
57
+ /**
58
+ * The dates of birth `dateOfBirthSchema` accepts TODAY, both ends included
59
+ * (0.17.0): `latest` makes someone exactly `MIN_AGE_YEARS` today, `earliest`
60
+ * exactly `MAX_AGE_YEARS`. Worked out with `ageInYears` itself, so a picker
61
+ * that offers only this window can never offer a date the schema refuses, a
62
+ * 29 February included.
63
+ */
64
+ export declare function dateOfBirthBounds(now?: Date): {
65
+ earliest: IsoDate;
66
+ latest: IsoDate;
67
+ };
68
+ /**
69
+ * True only for a COMPLETE, real date of birth that is under `MIN_AGE_YEARS`
70
+ * today (0.17.0): the rule the server applies to a draft, where a date still
71
+ * being typed must pass ("19" says nothing about anyone's age yet). Until
72
+ * 0.17.0 the backend wrote this out by hand and skipped the real-date check.
73
+ */
74
+ export declare function isUnderAgeDateOfBirth(value: unknown, now?: Date): boolean;
75
+ /** A `YYYY-MM-DD` as the instant it is stored as: midnight UTC that day (0.17.0). */
76
+ export declare const isoDateToDate: (iso: IsoDate) => Date;
77
+ /** A stored date (midnight UTC) as `YYYY-MM-DD` (0.17.0): `isoDateToDate`'s inverse. */
78
+ export declare const dateToIsoDate: (date: Date) => IsoDate;
44
79
  /**
45
80
  * Date of birth, with the age gate applied per parse.
46
81
  *
@@ -232,6 +267,24 @@ export interface TopicCategory {
232
267
  values: readonly Topic[];
233
268
  }
234
269
  export declare const TOPIC_CATEGORIES: readonly TopicCategory[];
270
+ /**
271
+ * The goals step's three headings (0.17.0, moved here from the web, where the
272
+ * grouping lived in the screen): eighteen goals since 0.16.0, shown a group at
273
+ * a time so the eye takes six tiles, not a wall of eighteen. A group is named
274
+ * by its `key`, which the client words, like a topic category.
275
+ *
276
+ * ⚠ `GOAL_VALUES` stays the single source of truth for what a goal IS; this is
277
+ * typed against it, and a test holds the two together in both directions:
278
+ * every goal in exactly one group, nothing in a group that is not a goal.
279
+ */
280
+ export declare const GOAL_CATEGORY_KEYS: readonly ["build", "grow", "learn"];
281
+ export type GoalCategoryKey = (typeof GOAL_CATEGORY_KEYS)[number];
282
+ /** One group of the goals picker: its `key` (the client words it) and its goals, in order. */
283
+ export interface GoalCategory {
284
+ key: GoalCategoryKey;
285
+ values: readonly Goal[];
286
+ }
287
+ export declare const GOAL_CATEGORIES: readonly GoalCategory[];
235
288
  /**
236
289
  * How many a member must pick. A minimum exists because these drive feed
237
290
  * relevance and zero of them means no relevance at all.
@@ -354,6 +407,11 @@ export type OnboardingStepKey = (typeof ONBOARDING_STEP_KEYS)[number];
354
407
  * profile; that record is the point.
355
408
  */
356
409
  export declare const GUIDELINES_VERSION: "2026-10-03";
410
+ /**
411
+ * Not agreed at all (the box left unticked) is `guidelinesRequired`; agreed to
412
+ * another text is `guidelinesOutdated` (0.17.0: both were the second, so a
413
+ * client had to word an unticked box itself).
414
+ */
357
415
  export declare const guidelinesVersionSchema: z.ZodLiteral<"2026-10-03">;
358
416
  /**
359
417
  * The links the contact step collects, picked from the profile's own links so
@@ -368,6 +426,12 @@ export declare const contactLinksSchema: z.ZodObject<{
368
426
  export type ContactLinks = z.infer<typeof contactLinksSchema>;
369
427
  /** A team size has at most this many digits: `TEAM_SIZE_MAX` written out. */
370
428
  export declare const TEAM_SIZE_DIGITS_MAX: number;
429
+ /**
430
+ * A team size as typed, kept to what the field may hold: digits only, at most
431
+ * `TEAM_SIZE_DIGITS_MAX` (0.17.0: the draft reader and every client's field
432
+ * clean it with this one rule).
433
+ */
434
+ export declare const teamSizeDigits: (raw: string) => string;
371
435
  /**
372
436
  * The answers so far, keyed by the finish body's own field names: what each
373
437
  * step SAVES (`PATCH /onboarding`, merged per field), what `GET` hands back
@@ -595,8 +659,8 @@ export declare const EMPTY_ONBOARDING_VENTURE: OnboardingForm['venture'];
595
659
  * one that does not fit becomes "not answered" (`''`, `null`, `[]`) and the
596
660
  * rest of the draft survives. Never coerced into a different answer: a value
597
661
  * outside a vocabulary is dropped, not mapped to the nearest one. A photo
598
- * is never restored (see `avatarMediaId`), and agreement only counts for the
599
- * CURRENT guidelines.
662
+ * is never restored from here (it comes back as the status's `photo`; see
663
+ * `avatarMediaId`), and agreement only counts for the CURRENT guidelines.
600
664
  *
601
665
  * It fills in no answer the member did not give: a blank country stays blank.
602
666
  * Whatever a screen shows by default is that screen's choice.
@@ -618,9 +682,13 @@ export declare function readOnboardingDraft(draft: unknown): OnboardingForm;
618
682
  *
619
683
  * Location, venture and links are the profile's own shapes, not copies: the
620
684
  * copies are how the profile model came to lack Instagram.
685
+ *
686
+ * Refined (the business type and registration need a venture, above), so Zod 4
687
+ * throws on `.pick` / `.omit` / `.partial` / `.merge` of it: read a field with
688
+ * `.shape.<field>`, a step's with `ONBOARDING_STEP_SCHEMAS.<step>`.
621
689
  */
622
690
  export declare const completeOnboardingBodySchema: z.ZodObject<{
623
- displayName: z.ZodString;
691
+ displayName: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
624
692
  gender: z.ZodEnum<{
625
693
  other: "other";
626
694
  male: "male";
@@ -639,8 +707,45 @@ export declare const completeOnboardingBodySchema: z.ZodObject<{
639
707
  }, z.core.$strip>>;
640
708
  location: z.ZodOptional<z.ZodObject<{
641
709
  city: z.ZodString;
642
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
643
- country: z.ZodString;
710
+ state: z.ZodPreprocess<z.ZodEnum<{
711
+ "Jammu and Kashmir": "Jammu and Kashmir";
712
+ "Himachal Pradesh": "Himachal Pradesh";
713
+ Punjab: "Punjab";
714
+ Chandigarh: "Chandigarh";
715
+ Uttarakhand: "Uttarakhand";
716
+ Haryana: "Haryana";
717
+ Delhi: "Delhi";
718
+ Rajasthan: "Rajasthan";
719
+ "Uttar Pradesh": "Uttar Pradesh";
720
+ Bihar: "Bihar";
721
+ Sikkim: "Sikkim";
722
+ "Arunachal Pradesh": "Arunachal Pradesh";
723
+ Nagaland: "Nagaland";
724
+ Manipur: "Manipur";
725
+ Mizoram: "Mizoram";
726
+ Tripura: "Tripura";
727
+ Meghalaya: "Meghalaya";
728
+ Assam: "Assam";
729
+ "West Bengal": "West Bengal";
730
+ Jharkhand: "Jharkhand";
731
+ Odisha: "Odisha";
732
+ Chhattisgarh: "Chhattisgarh";
733
+ "Madhya Pradesh": "Madhya Pradesh";
734
+ Gujarat: "Gujarat";
735
+ "Dadra and Nagar Haveli and Daman and Diu": "Dadra and Nagar Haveli and Daman and Diu";
736
+ Maharashtra: "Maharashtra";
737
+ Karnataka: "Karnataka";
738
+ Goa: "Goa";
739
+ Lakshadweep: "Lakshadweep";
740
+ Kerala: "Kerala";
741
+ "Tamil Nadu": "Tamil Nadu";
742
+ Puducherry: "Puducherry";
743
+ "Andaman and Nicobar Islands": "Andaman and Nicobar Islands";
744
+ Telangana: "Telangana";
745
+ "Andhra Pradesh": "Andhra Pradesh";
746
+ Ladakh: "Ladakh";
747
+ }>, unknown>;
748
+ country: z.ZodLiteral<"India">;
644
749
  }, z.core.$strip>>;
645
750
  goals: z.ZodArray<z.ZodEnum<{
646
751
  find_cofounder: "find_cofounder";
@@ -834,7 +939,7 @@ export type CompleteOnboardingBodyInput = z.input<typeof completeOnboardingBodyS
834
939
  */
835
940
  export declare const ONBOARDING_STEP_SCHEMAS: {
836
941
  readonly basics: z.ZodObject<{
837
- displayName: z.ZodString;
942
+ displayName: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
838
943
  gender: z.ZodEnum<{
839
944
  other: "other";
840
945
  male: "male";
@@ -878,8 +983,45 @@ export declare const ONBOARDING_STEP_SCHEMAS: {
878
983
  readonly location: z.ZodObject<{
879
984
  location: z.ZodOptional<z.ZodObject<{
880
985
  city: z.ZodString;
881
- state: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
882
- country: z.ZodString;
986
+ state: z.ZodPreprocess<z.ZodEnum<{
987
+ "Jammu and Kashmir": "Jammu and Kashmir";
988
+ "Himachal Pradesh": "Himachal Pradesh";
989
+ Punjab: "Punjab";
990
+ Chandigarh: "Chandigarh";
991
+ Uttarakhand: "Uttarakhand";
992
+ Haryana: "Haryana";
993
+ Delhi: "Delhi";
994
+ Rajasthan: "Rajasthan";
995
+ "Uttar Pradesh": "Uttar Pradesh";
996
+ Bihar: "Bihar";
997
+ Sikkim: "Sikkim";
998
+ "Arunachal Pradesh": "Arunachal Pradesh";
999
+ Nagaland: "Nagaland";
1000
+ Manipur: "Manipur";
1001
+ Mizoram: "Mizoram";
1002
+ Tripura: "Tripura";
1003
+ Meghalaya: "Meghalaya";
1004
+ Assam: "Assam";
1005
+ "West Bengal": "West Bengal";
1006
+ Jharkhand: "Jharkhand";
1007
+ Odisha: "Odisha";
1008
+ Chhattisgarh: "Chhattisgarh";
1009
+ "Madhya Pradesh": "Madhya Pradesh";
1010
+ Gujarat: "Gujarat";
1011
+ "Dadra and Nagar Haveli and Daman and Diu": "Dadra and Nagar Haveli and Daman and Diu";
1012
+ Maharashtra: "Maharashtra";
1013
+ Karnataka: "Karnataka";
1014
+ Goa: "Goa";
1015
+ Lakshadweep: "Lakshadweep";
1016
+ Kerala: "Kerala";
1017
+ "Tamil Nadu": "Tamil Nadu";
1018
+ Puducherry: "Puducherry";
1019
+ "Andaman and Nicobar Islands": "Andaman and Nicobar Islands";
1020
+ Telangana: "Telangana";
1021
+ "Andhra Pradesh": "Andhra Pradesh";
1022
+ Ladakh: "Ladakh";
1023
+ }>, unknown>;
1024
+ country: z.ZodLiteral<"India">;
883
1025
  }, z.core.$strip>>;
884
1026
  }, z.core.$strip>;
885
1027
  readonly goals: z.ZodObject<{
@@ -1061,9 +1203,15 @@ export type OnboardingField = keyof CompleteOnboardingBody;
1061
1203
  export interface OnboardingStepConfig {
1062
1204
  /** Stable identifier. Safe for analytics and for a resume cursor, unlike an index. */
1063
1205
  key: OnboardingStepKey;
1064
- /** Translation keys. The words live in the client's message files. */
1206
+ /**
1207
+ * Translation keys for what the step's header shows: its short label beside
1208
+ * the step number ("STEP 5 OF 9 · LOCATION") and its one question. The words
1209
+ * live in each client. There is no help line (the user removed it,
1210
+ * 2026-10-19; `helpKey` went in 0.17.0): who sees an answer is said on the
1211
+ * field it is about.
1212
+ */
1213
+ labelKey: `onboarding.steps.${OnboardingStepKey}.label`;
1065
1214
  titleKey: `onboarding.steps.${OnboardingStepKey}.title`;
1066
- helpKey: `onboarding.steps.${OnboardingStepKey}.help`;
1067
1215
  /** The step's slice of the finish body, in schema order. */
1068
1216
  fields: readonly OnboardingField[];
1069
1217
  /**
@@ -1172,10 +1320,14 @@ export type OnboardingProgress = z.infer<typeof onboardingProgressSchema>;
1172
1320
  * `PATCH` body: any subset of the cursor, merged server-side. No defaults.
1173
1321
  * `step` may equal `ONBOARDING_TOTAL_STEPS`: "past the last step", which the
1174
1322
  * client sends on its way to finish.
1323
+ *
1324
+ * The draft's values are opaque, but ONE is not kept as typed (0.17.0): the
1325
+ * photo step's `avatarMediaId` is handed to the server, which holds that
1326
+ * upload, so it must be an upload id or `null` like the form's own field.
1175
1327
  */
1176
1328
  export declare const onboardingProgressUpdateSchema: z.ZodObject<{
1177
1329
  step: z.ZodOptional<z.ZodNumber>;
1178
- draft: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
1330
+ draft: z.ZodOptional<z.ZodPipe<z.ZodRecord<z.ZodEnum<{
1179
1331
  location: "location";
1180
1332
  about: "about";
1181
1333
  displayName: "displayName";
@@ -1192,7 +1344,7 @@ export declare const onboardingProgressUpdateSchema: z.ZodObject<{
1192
1344
  businessType: "businessType";
1193
1345
  legalStructure: "legalStructure";
1194
1346
  guidelinesVersion: "guidelinesVersion";
1195
- }> & z.core.$partial, z.ZodUnknown>>;
1347
+ }> & z.core.$partial, z.ZodUnknown>, z.ZodTransform<Partial<Record<"location" | "about" | "displayName" | "headline" | "venture" | "skills" | "goals" | "links" | "phone" | "gender" | "dateOfBirth" | "interests" | "avatarMediaId" | "businessType" | "legalStructure" | "guidelinesVersion", unknown>>, Partial<Record<"location" | "about" | "displayName" | "headline" | "venture" | "skills" | "goals" | "links" | "phone" | "gender" | "dateOfBirth" | "interests" | "avatarMediaId" | "businessType" | "legalStructure" | "guidelinesVersion", unknown>>>>>;
1196
1348
  }, z.core.$strip>;
1197
1349
  export type OnboardingProgressUpdate = z.infer<typeof onboardingProgressUpdateSchema>;
1198
1350
  /**
@@ -1224,6 +1376,18 @@ export declare const onboardingStatusSchema: z.ZodObject<{
1224
1376
  legalStructure: "legalStructure";
1225
1377
  guidelinesVersion: "guidelinesVersion";
1226
1378
  }> & z.core.$partial, z.ZodUnknown>>;
1379
+ photo: z.ZodOptional<z.ZodObject<{
1380
+ id: z.ZodString;
1381
+ url: z.ZodURL;
1382
+ width: z.ZodNumber;
1383
+ height: z.ZodNumber;
1384
+ variants: z.ZodArray<z.ZodObject<{
1385
+ width: z.ZodNumber;
1386
+ height: z.ZodNumber;
1387
+ url: z.ZodURL;
1388
+ }, z.core.$strip>>;
1389
+ placeholder: z.ZodOptional<z.ZodString>;
1390
+ }, z.core.$strip>>;
1227
1391
  }, z.core.$strip>;
1228
1392
  export type OnboardingStatus = z.infer<typeof onboardingStatusSchema>;
1229
1393
  //# 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;AAoCxB;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,qEAAqE;AACrE,eAAO,MAAM,aAAa,MAAM,CAAC;AAejC,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,OAAO,aAAa,CAAC,CAAC;AAYpD;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,aAG2D,CAAC;AAC1F,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAI5D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,wHASvB,CAAC;AACX,eAAO,MAAM,kBAAkB;;;;;;;;;EAA+B,CAAC;AAC/D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MA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