dating-schema 0.11.0 → 0.13.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-fields/01-hero-identity.d.ts.map +1 -1
- package/dist/profile-fields/01-hero-identity.js +156 -32
- package/dist/profile-fields/01-hero-identity.js.map +1 -1
- package/dist/profile-fields/03-basics.d.ts.map +1 -1
- package/dist/profile-fields/03-basics.js +343 -71
- package/dist/profile-fields/03-basics.js.map +1 -1
- package/dist/profile.d.ts +350 -37
- package/dist/profile.d.ts.map +1 -1
- package/dist/profile.js +172 -61
- package/dist/profile.js.map +1 -1
- package/package.json +1 -1
package/dist/profile.js
CHANGED
|
@@ -142,19 +142,6 @@ const selfKeywordsOpts = opts([
|
|
|
142
142
|
// othersKeywords uses the same option set
|
|
143
143
|
const othersKeywordsOpts = selfKeywordsOpts;
|
|
144
144
|
// ─── 03. Basics & Deal-Breakers ──────────────────────────────────────────────
|
|
145
|
-
const heightOpts = opts([
|
|
146
|
-
'under_150',
|
|
147
|
-
'150_155',
|
|
148
|
-
'155_160',
|
|
149
|
-
'160_165',
|
|
150
|
-
'165_170',
|
|
151
|
-
'170_175',
|
|
152
|
-
'175_180',
|
|
153
|
-
'180_185',
|
|
154
|
-
'185_190',
|
|
155
|
-
'over_190',
|
|
156
|
-
'prefer_not_to_say',
|
|
157
|
-
]);
|
|
158
145
|
const bodyBuildOpts = opts([
|
|
159
146
|
'slim',
|
|
160
147
|
'lean',
|
|
@@ -627,6 +614,7 @@ const socialBatteryOpts = opts([
|
|
|
627
614
|
]);
|
|
628
615
|
// ─── 07. Interests & Hobbies ─────────────────────────────────────────────────
|
|
629
616
|
const hobbiesOpts = opts([
|
|
617
|
+
// Creative
|
|
630
618
|
'reading',
|
|
631
619
|
'writing',
|
|
632
620
|
'cooking',
|
|
@@ -634,83 +622,203 @@ const hobbiesOpts = opts([
|
|
|
634
622
|
'photography',
|
|
635
623
|
'painting',
|
|
636
624
|
'drawing',
|
|
637
|
-
'hiking',
|
|
638
|
-
'camping',
|
|
639
|
-
'cycling',
|
|
640
|
-
'running',
|
|
641
|
-
'yoga',
|
|
642
|
-
'meditation',
|
|
643
|
-
'dancing',
|
|
644
|
-
'singing',
|
|
645
|
-
'playing_instrument',
|
|
646
|
-
'gardening',
|
|
647
|
-
'gaming',
|
|
648
|
-
'board_games',
|
|
649
|
-
'traveling',
|
|
650
|
-
'swimming',
|
|
651
|
-
'gym',
|
|
652
|
-
'martial_arts',
|
|
653
|
-
'rock_climbing',
|
|
654
|
-
'surfing',
|
|
655
|
-
'skiing',
|
|
656
|
-
'fishing',
|
|
657
|
-
'bird_watching',
|
|
658
|
-
'volunteering',
|
|
659
625
|
'crafts',
|
|
660
626
|
'pottery',
|
|
661
627
|
'knitting',
|
|
662
628
|
'woodworking',
|
|
663
|
-
'diy',
|
|
664
|
-
'podcasts',
|
|
665
|
-
'movies',
|
|
666
|
-
'anime',
|
|
667
|
-
'theater',
|
|
668
|
-
'stand_up_comedy',
|
|
669
|
-
'karaoke',
|
|
670
|
-
'wine_tasting',
|
|
671
|
-
'coffee',
|
|
672
|
-
'tea',
|
|
673
629
|
'blogging',
|
|
674
630
|
'vlogging',
|
|
675
|
-
'
|
|
676
|
-
'
|
|
677
|
-
'
|
|
678
|
-
'
|
|
679
|
-
'
|
|
680
|
-
'
|
|
681
|
-
'
|
|
682
|
-
'
|
|
631
|
+
'calligraphy',
|
|
632
|
+
'graphic_design',
|
|
633
|
+
'filmmaking',
|
|
634
|
+
'embroidery',
|
|
635
|
+
'origami',
|
|
636
|
+
'candle_making',
|
|
637
|
+
'resin_art',
|
|
638
|
+
'mehndi_art',
|
|
639
|
+
'rangoli',
|
|
640
|
+
// Sports & Fitness
|
|
641
|
+
'gym',
|
|
642
|
+
'running',
|
|
643
|
+
'cycling',
|
|
644
|
+
'swimming',
|
|
645
|
+
'yoga',
|
|
646
|
+
'martial_arts',
|
|
647
|
+
'rock_climbing',
|
|
648
|
+
'hiking',
|
|
649
|
+
'skating',
|
|
683
650
|
'skateboarding',
|
|
684
|
-
'
|
|
685
|
-
'
|
|
651
|
+
'surfing',
|
|
652
|
+
'skiing',
|
|
686
653
|
'cricket',
|
|
687
654
|
'football',
|
|
688
655
|
'badminton',
|
|
689
656
|
'tennis',
|
|
690
657
|
'basketball',
|
|
691
658
|
'table_tennis',
|
|
692
|
-
'
|
|
659
|
+
'archery',
|
|
660
|
+
'horse_riding',
|
|
661
|
+
'volleyball',
|
|
662
|
+
'hockey',
|
|
663
|
+
'kabaddi',
|
|
664
|
+
'kho_kho',
|
|
665
|
+
'wrestling',
|
|
666
|
+
'boxing',
|
|
667
|
+
'crossfit',
|
|
668
|
+
'pilates',
|
|
669
|
+
'calisthenics',
|
|
670
|
+
'trekking',
|
|
671
|
+
'paragliding',
|
|
672
|
+
'golf',
|
|
673
|
+
// Music & Performance
|
|
674
|
+
'singing',
|
|
675
|
+
'playing_instrument',
|
|
676
|
+
'dancing',
|
|
677
|
+
'karaoke',
|
|
693
678
|
'dj',
|
|
679
|
+
'stand_up_comedy',
|
|
680
|
+
'theater',
|
|
681
|
+
'classical_dance',
|
|
682
|
+
'beatboxing',
|
|
683
|
+
'music_production',
|
|
684
|
+
'poetry_slam',
|
|
685
|
+
'rapping',
|
|
686
|
+
'open_mic',
|
|
687
|
+
// Entertainment
|
|
688
|
+
'movies',
|
|
689
|
+
'anime',
|
|
690
|
+
'podcasts',
|
|
691
|
+
'gaming',
|
|
692
|
+
'board_games',
|
|
694
693
|
'binge_watching',
|
|
695
694
|
'k_drama',
|
|
695
|
+
'bollywood',
|
|
696
|
+
'documentaries',
|
|
697
|
+
'manga',
|
|
698
|
+
'comic_books',
|
|
699
|
+
'true_crime',
|
|
700
|
+
'stand_up_specials',
|
|
701
|
+
'quiz_trivia',
|
|
702
|
+
'chess',
|
|
703
|
+
'carrom',
|
|
704
|
+
'ludo',
|
|
705
|
+
'card_games',
|
|
706
|
+
'escape_rooms',
|
|
707
|
+
'memes',
|
|
708
|
+
// Food & Drink
|
|
709
|
+
'coffee',
|
|
710
|
+
'tea',
|
|
711
|
+
'wine_tasting',
|
|
712
|
+
'street_food',
|
|
713
|
+
'fine_dining',
|
|
714
|
+
'food_photography',
|
|
715
|
+
'food_blogging',
|
|
716
|
+
'mixology',
|
|
717
|
+
'craft_beer',
|
|
718
|
+
'home_brewing',
|
|
719
|
+
'regional_cuisines',
|
|
720
|
+
'healthy_eating',
|
|
721
|
+
'meal_prep',
|
|
722
|
+
'chocolate',
|
|
723
|
+
'desserts',
|
|
724
|
+
'spice_lover',
|
|
725
|
+
// Travel & Outdoors
|
|
726
|
+
'traveling',
|
|
727
|
+
'camping',
|
|
696
728
|
'backpacking',
|
|
697
729
|
'road_trips',
|
|
730
|
+
'scuba_diving',
|
|
731
|
+
'bird_watching',
|
|
732
|
+
'fishing',
|
|
733
|
+
'gardening',
|
|
698
734
|
'stargazing',
|
|
735
|
+
'solo_travel',
|
|
736
|
+
'heritage_tourism',
|
|
737
|
+
'mountain_biking',
|
|
738
|
+
'wildlife_safari',
|
|
739
|
+
'train_journeys',
|
|
740
|
+
'bike_rides',
|
|
741
|
+
'beach_hopping',
|
|
742
|
+
'snorkeling',
|
|
743
|
+
'kayaking',
|
|
744
|
+
'rafting',
|
|
745
|
+
'nature_walks',
|
|
746
|
+
'van_life',
|
|
747
|
+
// Mindfulness & Wellness
|
|
748
|
+
'meditation',
|
|
749
|
+
'spirituality_practice',
|
|
750
|
+
'astrology_hobby',
|
|
751
|
+
'tarot',
|
|
699
752
|
'journaling',
|
|
700
753
|
'self_improvement',
|
|
754
|
+
'ayurveda',
|
|
755
|
+
'pranayama',
|
|
756
|
+
'gratitude_practice',
|
|
757
|
+
'therapy',
|
|
758
|
+
'manifestation',
|
|
759
|
+
'sound_healing',
|
|
760
|
+
'aromatherapy',
|
|
761
|
+
// Social & Community
|
|
762
|
+
'volunteering',
|
|
701
763
|
'activism',
|
|
702
764
|
'mentoring',
|
|
703
765
|
'networking',
|
|
766
|
+
'pet_care',
|
|
767
|
+
'community_service',
|
|
768
|
+
'ngo_work',
|
|
769
|
+
'animal_rescue',
|
|
770
|
+
'teaching',
|
|
771
|
+
'public_speaking',
|
|
772
|
+
'debate',
|
|
773
|
+
'model_un',
|
|
774
|
+
'parenting',
|
|
775
|
+
// Tech & Learning
|
|
776
|
+
'coding',
|
|
777
|
+
'investing',
|
|
704
778
|
'entrepreneurship',
|
|
705
779
|
'languages',
|
|
706
780
|
'science',
|
|
781
|
+
'ai_ml',
|
|
782
|
+
'crypto_web3',
|
|
783
|
+
'stock_trading',
|
|
784
|
+
'robotics',
|
|
785
|
+
'astronomy',
|
|
786
|
+
'history',
|
|
787
|
+
'philosophy',
|
|
788
|
+
'psychology',
|
|
789
|
+
'online_courses',
|
|
790
|
+
'open_source',
|
|
791
|
+
'electronics',
|
|
792
|
+
'data_science',
|
|
793
|
+
// Home & Lifestyle
|
|
707
794
|
'interior_design',
|
|
708
795
|
'fashion',
|
|
709
796
|
'skincare',
|
|
710
797
|
'thrifting',
|
|
711
|
-
'
|
|
712
|
-
'
|
|
713
|
-
'
|
|
798
|
+
'bowling',
|
|
799
|
+
'makeup',
|
|
800
|
+
'grooming',
|
|
801
|
+
'plant_parenting',
|
|
802
|
+
'minimalism',
|
|
803
|
+
'sustainable_living',
|
|
804
|
+
'home_decor',
|
|
805
|
+
'nail_art',
|
|
806
|
+
'tattoos',
|
|
807
|
+
'collecting',
|
|
808
|
+
'shopping',
|
|
809
|
+
'car_bikes',
|
|
810
|
+
// Nightlife & Going Out
|
|
811
|
+
'clubbing',
|
|
812
|
+
'bar_hopping',
|
|
813
|
+
'house_parties',
|
|
814
|
+
'live_music',
|
|
815
|
+
'pub_quiz',
|
|
816
|
+
'hookah',
|
|
817
|
+
'late_night_drives',
|
|
818
|
+
'cafe_hopping',
|
|
819
|
+
'rooftop_chilling',
|
|
820
|
+
// Misc
|
|
821
|
+
'diy',
|
|
714
822
|
'other',
|
|
715
823
|
]);
|
|
716
824
|
const musicGenresOpts = opts([
|
|
@@ -1818,7 +1926,7 @@ export const fullProfileSchema = z.object({
|
|
|
1818
1926
|
selfKeywords: z.array(selfKeywordsOpts).max(5).optional(),
|
|
1819
1927
|
othersKeywords: z.array(othersKeywordsOpts).max(5).optional(),
|
|
1820
1928
|
// ── 03. Basics & Deal-Breakers ─────────────────────────────────────────────
|
|
1821
|
-
height:
|
|
1929
|
+
height: z.number().min(100).max(220).optional(),
|
|
1822
1930
|
weight: z.number().min(30).max(200).optional(),
|
|
1823
1931
|
// bmi — computed, skipped
|
|
1824
1932
|
bodyBuild: bodyBuildOpts.optional(),
|
|
@@ -2055,7 +2163,10 @@ export const createProfileSchema = z.object({
|
|
|
2055
2163
|
// Optional onboarding fields
|
|
2056
2164
|
hometownState: hometownStateOpts.optional(),
|
|
2057
2165
|
personalReligion: religionOpts.optional(),
|
|
2058
|
-
height:
|
|
2166
|
+
height: z.number().min(100).max(220).optional(),
|
|
2167
|
+
weight: z.number().min(30).max(200).optional(),
|
|
2168
|
+
bodyBuild: bodyBuildOpts.optional(),
|
|
2169
|
+
complexion: complexionOpts.optional(),
|
|
2059
2170
|
educationLevel: educationLevelOpts.optional(),
|
|
2060
2171
|
profession: professionOpts.optional(),
|
|
2061
2172
|
hobbies: z.array(hobbiesOpts).max(10).optional(),
|