dating-schema 0.25.0 → 0.26.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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/profile.d.ts +634 -48
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +20 -54
- 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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KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
package/dist/profile.js
CHANGED
|
@@ -2243,63 +2243,29 @@ export const createProfileSchema = z.object({
|
|
|
2243
2243
|
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2244
2244
|
export const updateProfileSchema = fullProfileSchema.partial();
|
|
2245
2245
|
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2246
|
-
// onboardingFormSchema —
|
|
2246
|
+
// onboardingFormSchema — derived from createProfileSchema for React Hook Form
|
|
2247
2247
|
//
|
|
2248
|
-
//
|
|
2249
|
-
//
|
|
2250
|
-
//
|
|
2251
|
-
//
|
|
2248
|
+
// All fields from createProfileSchema made optional (form starts empty).
|
|
2249
|
+
// Omits photos (managed outside RHF) and currentCity (built at submit from
|
|
2250
|
+
// existing user data). Adds UI-only fields for the hometown cascade.
|
|
2251
|
+
// dateOfBirth stored as ISO string in form (converted to Date at submit).
|
|
2252
|
+
//
|
|
2253
|
+
// Final validation at submit uses createProfileSchema.parse() directly.
|
|
2252
2254
|
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2253
|
-
export const onboardingFormSchema =
|
|
2255
|
+
export const onboardingFormSchema = createProfileSchema
|
|
2256
|
+
.omit({ photos: true, currentCity: true, dateOfBirth: true })
|
|
2257
|
+
.partial()
|
|
2258
|
+
.extend({
|
|
2259
|
+
// displayName keeps its min(2) validation even during form editing
|
|
2254
2260
|
displayName: createProfileSchema.shape.displayName,
|
|
2255
|
-
dateOfBirth
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
educationLevel: z.string(),
|
|
2264
|
-
institutionTier: z.string(),
|
|
2265
|
-
cognitiveBand: z.string(),
|
|
2266
|
-
politicalOrientation: z.string(),
|
|
2267
|
-
profession: z.string(),
|
|
2268
|
-
careerStage: z.string(),
|
|
2269
|
-
incomeRange: z.string(),
|
|
2270
|
-
height: z.string(),
|
|
2271
|
-
weight: z.string(),
|
|
2272
|
-
bodyBuild: z.string(),
|
|
2273
|
-
complexion: z.string(),
|
|
2274
|
-
currentCity: z.string(),
|
|
2275
|
-
hometown: z.string(),
|
|
2276
|
-
hometownState: z.string(),
|
|
2277
|
-
hometownStateId: z.string(),
|
|
2278
|
-
hometownDistrict: z.string(),
|
|
2279
|
-
hometownDistrictId: z.string(),
|
|
2280
|
-
familyReligion: z.string(),
|
|
2281
|
-
personalReligion: z.string(),
|
|
2282
|
-
sameAsFamily: z.boolean(),
|
|
2283
|
-
motherTongue: z.string(),
|
|
2284
|
-
familyValues: z.string(),
|
|
2285
|
-
hobbies: z.array(z.string()),
|
|
2286
|
-
diet: z.string(),
|
|
2287
|
-
smoking: z.string(),
|
|
2288
|
-
alcohol: z.string(),
|
|
2289
|
-
bio: z.string(),
|
|
2290
|
-
myStory: z.string(),
|
|
2291
|
-
favouriteBooks: z.array(z.string()),
|
|
2292
|
-
favouriteShows: z.array(z.string()),
|
|
2293
|
-
idols: z.array(z.string()),
|
|
2294
|
-
mbtiType: z.string(),
|
|
2295
|
-
attachmentStyle: z.string(),
|
|
2296
|
-
loveLanguage: z.string(),
|
|
2297
|
-
conflictStyle: z.string(),
|
|
2298
|
-
oceanOpenness: z.number().optional(),
|
|
2299
|
-
oceanConscientiousness: z.number().optional(),
|
|
2300
|
-
oceanExtraversion: z.number().optional(),
|
|
2301
|
-
oceanAgreeableness: z.number().optional(),
|
|
2302
|
-
oceanNeuroticism: z.number().optional(),
|
|
2261
|
+
// dateOfBirth as ISO string in form (DateWheelInput returns string)
|
|
2262
|
+
dateOfBirth: z.string().optional(),
|
|
2263
|
+
// UI-only fields for hometown cascade (not in createProfileSchema)
|
|
2264
|
+
sameAsFamily: z.boolean().default(false),
|
|
2265
|
+
hometownState: z.string().optional(),
|
|
2266
|
+
hometownStateId: z.string().optional(),
|
|
2267
|
+
hometownDistrict: z.string().optional(),
|
|
2268
|
+
hometownDistrictId: z.string().optional(),
|
|
2303
2269
|
});
|
|
2304
2270
|
/**
|
|
2305
2271
|
* Extract the numeric rank (1–7) from a cognitiveBand value like "5_evidence_reasoning".
|