dating-schema 0.27.0 → 0.28.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/profile.d.ts +60 -636
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +59 -10
- package/dist/profile.js.map +1 -1
- package/package.json +1 -1
package/dist/profile.d.ts.map
CHANGED
|
@@ -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
|
@@ -2252,25 +2252,74 @@ export const updateProfileSchema = fullProfileSchema.partial();
|
|
|
2252
2252
|
//
|
|
2253
2253
|
// Final validation at submit uses createProfileSchema.parse() directly.
|
|
2254
2254
|
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2255
|
+
/**
|
|
2256
|
+
* onboardingFormSchema — form-state schema for React Hook Form.
|
|
2257
|
+
*
|
|
2258
|
+
* All fields use z.string() (no enums) because:
|
|
2259
|
+
* 1. Form starts with "" defaults (enums don't accept "")
|
|
2260
|
+
* 2. Options may change frequently without schema republish
|
|
2261
|
+
* 3. Strict enum validation happens ONLY at final submit via createProfileSchema.parse()
|
|
2262
|
+
*
|
|
2263
|
+
* This schema mirrors createProfileSchema's field names but with relaxed types.
|
|
2264
|
+
* Photos and currentCity are managed outside RHF (separate state).
|
|
2265
|
+
*/
|
|
2266
|
+
export const onboardingFormSchema = z.object({
|
|
2267
|
+
// Required — has min validation
|
|
2268
|
+
displayName: z.string().trim().max(50),
|
|
2269
|
+
// String fields (enums validated at submit, not in form)
|
|
2259
2270
|
dateOfBirth: z.string(),
|
|
2271
|
+
gender: z.string(),
|
|
2272
|
+
pronouns: z.string(),
|
|
2273
|
+
relationshipStatus: z.string(),
|
|
2274
|
+
relationshipIntent: z.string(),
|
|
2275
|
+
sexualOrientation: z.string(),
|
|
2276
|
+
preferredGenders: z.array(z.string()),
|
|
2277
|
+
relationshipStructure: z.string(),
|
|
2278
|
+
educationLevel: z.string(),
|
|
2279
|
+
institutionTier: z.string(),
|
|
2280
|
+
cognitiveBand: z.string(),
|
|
2281
|
+
politicalOrientation: z.string(),
|
|
2282
|
+
profession: z.string(),
|
|
2283
|
+
careerStage: z.string(),
|
|
2284
|
+
incomeRange: z.string(),
|
|
2285
|
+
bodyBuild: z.string(),
|
|
2286
|
+
complexion: z.string(),
|
|
2287
|
+
familyReligion: z.string(),
|
|
2288
|
+
personalReligion: z.string(),
|
|
2289
|
+
motherTongue: z.string(),
|
|
2290
|
+
familyValues: z.string(),
|
|
2291
|
+
diet: z.string(),
|
|
2292
|
+
smoking: z.string(),
|
|
2293
|
+
alcohol: z.string(),
|
|
2294
|
+
mbtiType: z.string(),
|
|
2295
|
+
attachmentStyle: z.string(),
|
|
2296
|
+
loveLanguage: z.string(),
|
|
2297
|
+
conflictStyle: z.string(),
|
|
2298
|
+
// Type overrides (form stores as string, converted at submit)
|
|
2260
2299
|
height: z.string(),
|
|
2261
2300
|
weight: z.string(),
|
|
2262
2301
|
currentCity: z.string(),
|
|
2263
|
-
|
|
2302
|
+
hometown: z.string(),
|
|
2303
|
+
bio: z.string(),
|
|
2304
|
+
myStory: z.string(),
|
|
2305
|
+
// Arrays
|
|
2306
|
+
hobbies: z.array(z.string()),
|
|
2307
|
+
favouriteBooks: z.array(z.string()),
|
|
2308
|
+
favouriteShows: z.array(z.string()),
|
|
2309
|
+
idols: z.array(z.string()),
|
|
2310
|
+
// Numbers (sliders)
|
|
2311
|
+
oceanOpenness: z.number().optional(),
|
|
2312
|
+
oceanConscientiousness: z.number().optional(),
|
|
2313
|
+
oceanExtraversion: z.number().optional(),
|
|
2314
|
+
oceanAgreeableness: z.number().optional(),
|
|
2315
|
+
oceanNeuroticism: z.number().optional(),
|
|
2316
|
+
// UI-only fields (not in createProfileSchema)
|
|
2264
2317
|
sameAsFamily: z.boolean(),
|
|
2265
2318
|
hometownState: z.string(),
|
|
2266
2319
|
hometownStateId: z.string(),
|
|
2267
2320
|
hometownDistrict: z.string(),
|
|
2268
2321
|
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 });
|
|
2322
|
+
});
|
|
2274
2323
|
/**
|
|
2275
2324
|
* Extract the numeric rank (1–7) from a cognitiveBand value like "5_evidence_reasoning".
|
|
2276
2325
|
* Returns null for "prefer_not_to_say" or invalid values.
|