dating-schema 0.36.2 → 0.36.3

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.
@@ -164,7 +164,7 @@ export const PLAN_FEATURE_DISPLAY_DATA = [
164
164
  },
165
165
  {
166
166
  key: 'travelMode',
167
- label: 'Passport Mode',
167
+ label: 'Teleport Mode',
168
168
  available: true,
169
169
  helpText: 'Browse profiles in any city, district, or state — without physically being there.',
170
170
  plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },
@@ -1 +1 @@
1
- {"version":3,"file":"plan-features-data.js","sourceRoot":"","sources":["../src/plan-features-data.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,wBAAwB;AACxB,MAAM,CAAC,GAAG,CAAC,IAAY,EAAgB,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;AACvE,MAAM,CAAC,GAAG,CAAC,GAAW,EAAE,IAAY,EAAE,IAAY,EAAgB,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;AAC3F,MAAM,CAAC,GAAG,CAAC,GAAW,EAAE,IAAY,EAAgB,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;AAEvE,kBAAkB;AAClB,MAAM,CAAC,MAAM,yBAAyB,GAAyB;IAC7D,qBAAqB;IACrB;QACE,GAAG,EAAE,aAAa;QAClB,KAAK,EAAE,gBAAgB;QACvB,SAAS,EAAE,IAAI;QACf,QAAQ,EACN,6FAA6F;QAC/F,KAAK,EAAE;YACL,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,SAAS,CAAC;YACpC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;YACjB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC;YACpB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC;YACrB,KAAK,EAAE,CAAC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AAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE;KACnF;IACD;QACE,GAAG,EAAE,YAAY;QACjB,KAAK,EAAE,uBAAuB;QAC9B,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,6EAA6E;QACvF,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE;KACnF;CACF,CAAC","sourcesContent":["/**\n * Plan feature display data — separated to keep plan-limits.ts clean.\n * Each plan value uses { qty, text, unit? } so the frontend renders:\n * `${qty} ${text} ${unit}` → \"10 compliments per day\"\n * Boolean true = checkmark (show label), false = locked.\n */\n\nimport type { FeatureDisplayItem, FeatureValue } from './plan-limits.js';\n\n/** Shorthand helpers */\nconst u = (text: string): FeatureValue => ({ qty: 'Unlimited', text });\nconst n = (qty: string, text: string, unit: string): FeatureValue => ({ qty, text, unit });\nconst d = (qty: string, text: string): FeatureValue => ({ qty, text });\n\n// prettier-ignore\nexport const PLAN_FEATURE_DISPLAY_DATA: FeatureDisplayItem[] = [\n // ── Core actions ──\n {\n key: 'dailySwipes',\n label: 'Swipes per day',\n available: true,\n helpText:\n 'The number of profiles you can like or pass on each day. Swipe right to like, left to pass.',\n plans: {\n spark: n('150', 'swipes', 'per day'),\n gold: u('swipes'),\n diamond: u('swipes'),\n platinum: u('swipes'),\n black: u('swipes'),\n },\n },\n {\n key: 'dailyCompliments',\n label: 'Compliments per day',\n available: true,\n helpText:\n 'Send a compliment with a personal note to stand out. They see it even before matching with you.',\n plans: {\n spark: n('1', 'compliment', 'per day'),\n gold: n('3', 'compliments', 'per day'),\n diamond: n('5', 'compliments', 'per day'),\n platinum: n('10', 'compliments', 'per day'),\n black: n('15', 'compliments', 'per day'),\n },\n },\n {\n key: 'dailyRewinds',\n label: 'Undo swipes',\n available: true,\n helpText: 'Accidentally passed on someone? Tap undo to bring their profile back instantly.',\n plans: {\n spark: false,\n gold: u('undo'),\n diamond: u('undo'),\n platinum: u('undo'),\n black: u('undo'),\n },\n },\n // ── Visibility & discovery ──\n {\n key: 'showAds',\n label: 'Ad-free experience',\n available: true,\n helpText: 'Browse profiles, chat, and explore without any ads interrupting your experience.',\n plans: { spark: false, gold: true, diamond: true, platinum: true, black: true },\n },\n {\n key: 'whoLikedYou',\n label: 'See who likes you',\n available: true,\n helpText:\n 'See the list of people who already liked your profile, so you can match with them instantly.',\n plans: {\n spark: false,\n gold: d('Blurred', 'preview of likes'),\n diamond: d('Full', 'list of likes'),\n platinum: d('Real-time', 'like alerts'),\n black: d('Real-time', 'like alerts'),\n },\n },\n {\n key: 'filterLevel',\n label: 'Search filters',\n available: true,\n helpText:\n 'Filter profiles by age, location, religion, education, profession, and 140+ more preferences.',\n plans: {\n spark: d('Basic', 'filters'),\n gold: d('Advanced', 'filters'),\n diamond: d('All 147', 'filters'),\n platinum: d('All 147', 'filters'),\n black: d('All 147', 'filters'),\n },\n },\n {\n key: 'monthlyBoosts',\n label: 'Profile boosts',\n available: true,\n helpText:\n 'Boost your profile to the top of the discover feed for 30 minutes and get seen by more people.',\n plans: {\n spark: false,\n gold: n('1', 'boost', 'per month'),\n diamond: n('3', 'boosts', 'per month'),\n platinum: n('5', 'boosts', 'per month'),\n black: n('5', 'boosts', 'per month'),\n },\n },\n // ── Communication ──\n {\n key: 'readReceipts',\n label: 'Read receipts',\n available: true,\n helpText: 'Know exactly when someone has read your message. No more guessing.',\n plans: { spark: false, gold: false, diamond: true, platinum: true, black: true },\n },\n {\n key: 'calls',\n label: 'Voice & video calls',\n available: false,\n helpText:\n 'Talk face-to-face or voice-only with your matches — directly inside the app, no phone number needed.',\n plans: {\n spark: false,\n gold: false,\n diamond: n('3 voice + 2 video', 'calls', 'per day'),\n platinum: u('calls'),\n black: u('calls'),\n },\n },\n {\n key: 'voiceMessages',\n label: 'Voice messages in chat',\n available: false,\n helpText: 'Record and send short voice clips in chat instead of typing.',\n plans: { spark: false, gold: false, diamond: true, platinum: true, black: true },\n },\n {\n key: 'messageBeforeMatch',\n label: 'Send a message first',\n available: false,\n helpText: 'Introduce yourself with a message before the other person swipes on you.',\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n // ── Insights ──\n {\n key: 'photoInsights',\n label: 'Photo performance insights',\n available: true,\n helpText:\n 'See which of your photos gets the most likes and attention, and get tips to improve.',\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n // ── Premium perks ──\n {\n key: 'priorityVisibility',\n label: 'Appear higher in search',\n available: true,\n helpText:\n 'Your profile is shown before others in the discover feed, so more people see you first.',\n plans: { spark: false, gold: false, diamond: true, platinum: true, black: true },\n },\n {\n key: 'autoBoost',\n label: 'Automatic weekly boost',\n available: true,\n helpText: \"Your profile is automatically boosted every week — you don't have to do anything.\",\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n {\n key: 'incognitoMode',\n label: 'Incognito Mode',\n available: true,\n helpText:\n 'Go invisible. Your profile is hidden from everyone except the people you choose to like.',\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n {\n key: 'travelMode',\n label: 'Passport Mode',\n available: true,\n helpText: 'Browse profiles in any city, district, or state — without physically being there.',\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n // ── Exclusive ──\n {\n key: 'exclusiveLeague',\n label: 'Exclusive members-only league',\n available: true,\n helpText:\n 'Your profile is only visible to other Black members. A private, curated matchmaking experience.',\n plans: { spark: false, gold: false, diamond: false, platinum: false, black: true },\n },\n {\n key: 'vipSupport',\n label: 'Dedicated VIP support',\n available: true,\n helpText: 'Get fast, priority help from a dedicated support team whenever you need it.',\n plans: { spark: false, gold: false, diamond: false, platinum: false, black: true },\n },\n];\n"]}
1
+ {"version":3,"file":"plan-features-data.js","sourceRoot":"","sources":["../src/plan-features-data.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAI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,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;KAClF;IACD;QACE,GAAG,EAAE,eAAe;QACpB,KAAK,EAAE,gBAAgB;QACvB,SAAS,EAAE,IAAI;QACf,QAAQ,EACN,0FAA0F;QAC5F,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;KAClF;IACD;QACE,GAAG,EAAE,YAAY;QACjB,KAAK,EAAE,eAAe;QACtB,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,mFAAmF;QAC7F,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;KAClF;IACD,kBAAkB;IAClB;QACE,GAAG,EAAE,iBAAiB;QACtB,KAAK,EAAE,+BAA+B;QACtC,SAAS,EAAE,IAAI;QACf,QAAQ,EACN,iGAAiG;QACnG,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE;KACnF;IACD;QACE,GAAG,EAAE,YAAY;QACjB,KAAK,EAAE,uBAAuB;QAC9B,SAAS,EAAE,IAAI;QACf,QAAQ,EAAE,6EAA6E;QACvF,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE;KACnF;CACF,CAAC","sourcesContent":["/**\n * Plan feature display data — separated to keep plan-limits.ts clean.\n * Each plan value uses { qty, text, unit? } so the frontend renders:\n * `${qty} ${text} ${unit}` → \"10 compliments per day\"\n * Boolean true = checkmark (show label), false = locked.\n */\n\nimport type { FeatureDisplayItem, FeatureValue } from './plan-limits.js';\n\n/** Shorthand helpers */\nconst u = (text: string): FeatureValue => ({ qty: 'Unlimited', text });\nconst n = (qty: string, text: string, unit: string): FeatureValue => ({ qty, text, unit });\nconst d = (qty: string, text: string): FeatureValue => ({ qty, text });\n\n// prettier-ignore\nexport const PLAN_FEATURE_DISPLAY_DATA: FeatureDisplayItem[] = [\n // ── Core actions ──\n {\n key: 'dailySwipes',\n label: 'Swipes per day',\n available: true,\n helpText:\n 'The number of profiles you can like or pass on each day. Swipe right to like, left to pass.',\n plans: {\n spark: n('150', 'swipes', 'per day'),\n gold: u('swipes'),\n diamond: u('swipes'),\n platinum: u('swipes'),\n black: u('swipes'),\n },\n },\n {\n key: 'dailyCompliments',\n label: 'Compliments per day',\n available: true,\n helpText:\n 'Send a compliment with a personal note to stand out. They see it even before matching with you.',\n plans: {\n spark: n('1', 'compliment', 'per day'),\n gold: n('3', 'compliments', 'per day'),\n diamond: n('5', 'compliments', 'per day'),\n platinum: n('10', 'compliments', 'per day'),\n black: n('15', 'compliments', 'per day'),\n },\n },\n {\n key: 'dailyRewinds',\n label: 'Undo swipes',\n available: true,\n helpText: 'Accidentally passed on someone? Tap undo to bring their profile back instantly.',\n plans: {\n spark: false,\n gold: u('undo'),\n diamond: u('undo'),\n platinum: u('undo'),\n black: u('undo'),\n },\n },\n // ── Visibility & discovery ──\n {\n key: 'showAds',\n label: 'Ad-free experience',\n available: true,\n helpText: 'Browse profiles, chat, and explore without any ads interrupting your experience.',\n plans: { spark: false, gold: true, diamond: true, platinum: true, black: true },\n },\n {\n key: 'whoLikedYou',\n label: 'See who likes you',\n available: true,\n helpText:\n 'See the list of people who already liked your profile, so you can match with them instantly.',\n plans: {\n spark: false,\n gold: d('Blurred', 'preview of likes'),\n diamond: d('Full', 'list of likes'),\n platinum: d('Real-time', 'like alerts'),\n black: d('Real-time', 'like alerts'),\n },\n },\n {\n key: 'filterLevel',\n label: 'Search filters',\n available: true,\n helpText:\n 'Filter profiles by age, location, religion, education, profession, and 140+ more preferences.',\n plans: {\n spark: d('Basic', 'filters'),\n gold: d('Advanced', 'filters'),\n diamond: d('All 147', 'filters'),\n platinum: d('All 147', 'filters'),\n black: d('All 147', 'filters'),\n },\n },\n {\n key: 'monthlyBoosts',\n label: 'Profile boosts',\n available: true,\n helpText:\n 'Boost your profile to the top of the discover feed for 30 minutes and get seen by more people.',\n plans: {\n spark: false,\n gold: n('1', 'boost', 'per month'),\n diamond: n('3', 'boosts', 'per month'),\n platinum: n('5', 'boosts', 'per month'),\n black: n('5', 'boosts', 'per month'),\n },\n },\n // ── Communication ──\n {\n key: 'readReceipts',\n label: 'Read receipts',\n available: true,\n helpText: 'Know exactly when someone has read your message. No more guessing.',\n plans: { spark: false, gold: false, diamond: true, platinum: true, black: true },\n },\n {\n key: 'calls',\n label: 'Voice & video calls',\n available: false,\n helpText:\n 'Talk face-to-face or voice-only with your matches — directly inside the app, no phone number needed.',\n plans: {\n spark: false,\n gold: false,\n diamond: n('3 voice + 2 video', 'calls', 'per day'),\n platinum: u('calls'),\n black: u('calls'),\n },\n },\n {\n key: 'voiceMessages',\n label: 'Voice messages in chat',\n available: false,\n helpText: 'Record and send short voice clips in chat instead of typing.',\n plans: { spark: false, gold: false, diamond: true, platinum: true, black: true },\n },\n {\n key: 'messageBeforeMatch',\n label: 'Send a message first',\n available: false,\n helpText: 'Introduce yourself with a message before the other person swipes on you.',\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n // ── Insights ──\n {\n key: 'photoInsights',\n label: 'Photo performance insights',\n available: true,\n helpText:\n 'See which of your photos gets the most likes and attention, and get tips to improve.',\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n // ── Premium perks ──\n {\n key: 'priorityVisibility',\n label: 'Appear higher in search',\n available: true,\n helpText:\n 'Your profile is shown before others in the discover feed, so more people see you first.',\n plans: { spark: false, gold: false, diamond: true, platinum: true, black: true },\n },\n {\n key: 'autoBoost',\n label: 'Automatic weekly boost',\n available: true,\n helpText: \"Your profile is automatically boosted every week — you don't have to do anything.\",\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n {\n key: 'incognitoMode',\n label: 'Incognito Mode',\n available: true,\n helpText:\n 'Go invisible. Your profile is hidden from everyone except the people you choose to like.',\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n {\n key: 'travelMode',\n label: 'Teleport Mode',\n available: true,\n helpText: 'Browse profiles in any city, district, or state — without physically being there.',\n plans: { spark: false, gold: false, diamond: false, platinum: true, black: true },\n },\n // ── Exclusive ──\n {\n key: 'exclusiveLeague',\n label: 'Exclusive members-only league',\n available: true,\n helpText:\n 'Your profile is only visible to other Black members. A private, curated matchmaking experience.',\n plans: { spark: false, gold: false, diamond: false, platinum: false, black: true },\n },\n {\n key: 'vipSupport',\n label: 'Dedicated VIP support',\n available: true,\n helpText: 'Get fast, priority help from a dedicated support team whenever you need it.',\n plans: { spark: false, gold: false, diamond: false, platinum: false, black: true },\n },\n];\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dating-schema",
3
- "version": "0.36.2",
3
+ "version": "0.36.3",
4
4
  "description": "Shared Zod schemas for the Dating feature — single source of truth for API contracts, validation, and TypeScript types (frontend + backend).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",