dating-schema 0.27.0 → 0.29.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.
@@ -1 +1 @@
1
- {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../src/profile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiiExB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA8B,CAAC;AAa/D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwD/B,CAAC;AAMH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAChE;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAIpF;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACtE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
package/dist/profile.js CHANGED
@@ -2171,65 +2171,70 @@ export const fullProfileSchema = z.object({
2171
2171
  // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2172
2172
  // createProfileSchema — onboarding fields only (isOnboarding: true)
2173
2173
  // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2174
+ /**
2175
+ * createProfileSchema — validation for profile creation API.
2176
+ *
2177
+ * Uses z.string() for all option fields (no enums) so that options can be
2178
+ * added/removed in field definitions without republishing the schema.
2179
+ * Valid options are defined in profile-fields/*.ts and enforced by the UI
2180
+ * via getFieldOptions(). Mongoose stores any string value.
2181
+ */
2174
2182
  export const createProfileSchema = z.object({
2175
- // Required onboarding fields
2183
+ // Required fields
2176
2184
  photos: z.array(photoSchema).min(2).max(6),
2177
2185
  displayName: z.string().trim().max(50),
2178
2186
  dateOfBirth: z.coerce.date(),
2179
- gender: genderOpts,
2180
- pronouns: pronounsOpts,
2187
+ gender: z.string(),
2188
+ pronouns: z.string(),
2181
2189
  currentCity: locationSchema,
2182
2190
  hometown: z.string().trim().max(100),
2183
- relationshipIntent: relationshipIntentOpts,
2184
- sexualOrientation: sexualOrientationOpts,
2185
- relationshipStructure: relationshipStructureOpts,
2191
+ relationshipIntent: z.string(),
2192
+ sexualOrientation: z.string(),
2193
+ relationshipStructure: z.string(),
2186
2194
  bio: z.string().trim().max(500),
2187
- preferredGenders: z.array(genderOpts).min(1),
2188
- familyReligion: religionOpts,
2189
- motherTongue: motherTongueOpts,
2190
- relationshipStatus: relationshipStatusOpts,
2191
- // Optional onboarding fields
2192
- hometownState: hometownStateOpts.optional(),
2195
+ preferredGenders: z.array(z.string()).min(1),
2196
+ familyReligion: z.string(),
2197
+ motherTongue: z.string(),
2198
+ relationshipStatus: z.string(),
2199
+ // Optional fields — all use z.string() (no enums)
2200
+ hometownState: z.string().optional(),
2193
2201
  hometownStateId: z.string().optional(),
2194
2202
  hometownDistrict: z.string().trim().max(100).optional(),
2195
2203
  hometownDistrictId: z.string().optional(),
2196
2204
  myStory: z.string().trim().max(2000).optional(),
2197
- personalReligion: religionOpts.optional(),
2205
+ personalReligion: z.string().optional(),
2198
2206
  height: z.number().min(100).max(220).optional(),
2199
2207
  weight: z.number().min(30).max(200).optional(),
2200
- bodyBuild: bodyBuildOpts.optional(),
2201
- complexion: complexionOpts.optional(),
2202
- educationLevel: educationLevelOpts.optional(),
2203
- institutionTier: institutionTierOpts.optional(),
2204
- cognitiveBand: cognitiveBandOpts.optional(),
2205
- politicalOrientation: politicalOrientationOpts.optional(),
2206
- profession: professionOpts.optional(),
2207
- careerStage: careerStageOpts.optional(),
2208
- incomeRange: incomeRangeOpts.optional(),
2209
- familyValues: familyValuesOpts.optional(),
2210
- scientificTemper: scientificTemperOpts.optional(),
2211
- hobbies: z.array(hobbiesOpts).max(20).optional(),
2212
- diet: dietOpts.optional(),
2213
- smoking: smokingOpts.optional(),
2214
- alcohol: alcoholOpts.optional(),
2208
+ bodyBuild: z.string().optional(),
2209
+ complexion: z.string().optional(),
2210
+ educationLevel: z.string().optional(),
2211
+ institutionTier: z.string().optional(),
2212
+ cognitiveBand: z.string().optional(),
2213
+ politicalOrientation: z.string().optional(),
2214
+ profession: z.string().optional(),
2215
+ careerStage: z.string().optional(),
2216
+ incomeRange: z.string().optional(),
2217
+ familyValues: z.string().optional(),
2218
+ scientificTemper: z.string().optional(),
2219
+ hobbies: z.array(z.string()).max(20).optional(),
2220
+ diet: z.string().optional(),
2221
+ smoking: z.string().optional(),
2222
+ alcohol: z.string().optional(),
2215
2223
  favouriteBooks: z.array(z.string().trim().max(200)).max(5).optional(),
2216
2224
  favouriteShows: z.array(z.string().trim().max(200)).max(5).optional(),
2217
2225
  idols: z.array(z.string().trim().max(200)).max(5).optional(),
2218
2226
  favouriteYoutubeChannels: z.array(z.string().trim().max(200)).max(5).optional(),
2219
- mbtiType: mbtiTypeOpts.optional(),
2220
- attachmentStyle: attachmentStyleOpts.optional(),
2221
- loveLanguage: loveLanguageOpts.optional(),
2222
- conflictStyle: conflictStyleOpts.optional(),
2227
+ mbtiType: z.string().optional(),
2228
+ attachmentStyle: z.string().optional(),
2229
+ loveLanguage: z.string().optional(),
2230
+ conflictStyle: z.string().optional(),
2223
2231
  oceanOpenness: z.number().int().min(1).max(100).optional(),
2224
2232
  oceanConscientiousness: z.number().int().min(1).max(100).optional(),
2225
2233
  oceanExtraversion: z.number().int().min(1).max(100).optional(),
2226
2234
  oceanAgreeableness: z.number().int().min(1).max(100).optional(),
2227
2235
  oceanNeuroticism: z.number().int().min(1).max(100).optional(),
2228
2236
  prompts: z
2229
- .array(z.object({
2230
- prompt: z.string(),
2231
- answer: z.string().max(250),
2232
- }))
2237
+ .array(z.object({ prompt: z.string(), answer: z.string().max(250) }))
2233
2238
  .max(3)
2234
2239
  .optional(),
2235
2240
  preferredAgeRange: z.number().min(18).max(70).optional(),
@@ -2252,25 +2257,74 @@ export const updateProfileSchema = fullProfileSchema.partial();
2252
2257
  //
2253
2258
  // Final validation at submit uses createProfileSchema.parse() directly.
2254
2259
  // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2255
- export const onboardingFormSchema = createProfileSchema
2256
- .omit({ photos: true, currentCity: true, dateOfBirth: true, height: true, weight: true })
2257
- .extend({
2258
- // Type overrides for form UI (converted at submit)
2260
+ /**
2261
+ * onboardingFormSchema form-state schema for React Hook Form.
2262
+ *
2263
+ * All fields use z.string() (no enums) because:
2264
+ * 1. Form starts with "" defaults (enums don't accept "")
2265
+ * 2. Options may change frequently without schema republish
2266
+ * 3. Strict enum validation happens ONLY at final submit via createProfileSchema.parse()
2267
+ *
2268
+ * This schema mirrors createProfileSchema's field names but with relaxed types.
2269
+ * Photos and currentCity are managed outside RHF (separate state).
2270
+ */
2271
+ export const onboardingFormSchema = z.object({
2272
+ // Required — has min validation
2273
+ displayName: z.string().trim().max(50),
2274
+ // String fields (enums validated at submit, not in form)
2259
2275
  dateOfBirth: z.string(),
2276
+ gender: z.string(),
2277
+ pronouns: z.string(),
2278
+ relationshipStatus: z.string(),
2279
+ relationshipIntent: z.string(),
2280
+ sexualOrientation: z.string(),
2281
+ preferredGenders: z.array(z.string()),
2282
+ relationshipStructure: z.string(),
2283
+ educationLevel: z.string(),
2284
+ institutionTier: z.string(),
2285
+ cognitiveBand: z.string(),
2286
+ politicalOrientation: z.string(),
2287
+ profession: z.string(),
2288
+ careerStage: z.string(),
2289
+ incomeRange: z.string(),
2290
+ bodyBuild: z.string(),
2291
+ complexion: z.string(),
2292
+ familyReligion: z.string(),
2293
+ personalReligion: z.string(),
2294
+ motherTongue: z.string(),
2295
+ familyValues: z.string(),
2296
+ diet: z.string(),
2297
+ smoking: z.string(),
2298
+ alcohol: z.string(),
2299
+ mbtiType: z.string(),
2300
+ attachmentStyle: z.string(),
2301
+ loveLanguage: z.string(),
2302
+ conflictStyle: z.string(),
2303
+ // Type overrides (form stores as string, converted at submit)
2260
2304
  height: z.string(),
2261
2305
  weight: z.string(),
2262
2306
  currentCity: z.string(),
2263
- // UI-only fields for hometown cascade
2307
+ hometown: z.string(),
2308
+ bio: z.string(),
2309
+ myStory: z.string(),
2310
+ // Arrays
2311
+ hobbies: z.array(z.string()),
2312
+ favouriteBooks: z.array(z.string()),
2313
+ favouriteShows: z.array(z.string()),
2314
+ idols: z.array(z.string()),
2315
+ // Numbers (sliders)
2316
+ oceanOpenness: z.number().optional(),
2317
+ oceanConscientiousness: z.number().optional(),
2318
+ oceanExtraversion: z.number().optional(),
2319
+ oceanAgreeableness: z.number().optional(),
2320
+ oceanNeuroticism: z.number().optional(),
2321
+ // UI-only fields (not in createProfileSchema)
2264
2322
  sameAsFamily: z.boolean(),
2265
2323
  hometownState: z.string(),
2266
2324
  hometownStateId: z.string(),
2267
2325
  hometownDistrict: z.string(),
2268
2326
  hometownDistrictId: z.string(),
2269
- })
2270
- // Make all fields optional so form can start empty ("")
2271
- .partial()
2272
- // But keep displayName required (has min validation)
2273
- .required({ displayName: true });
2327
+ });
2274
2328
  /**
2275
2329
  * Extract the numeric rank (1–7) from a cognitiveBand value like "5_evidence_reasoning".
2276
2330
  * Returns null for "prefer_not_to_say" or invalid values.