@qrush/types 2.1.99 → 2.1.101

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.
Files changed (2) hide show
  1. package/dist/Social.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/Social.d.ts CHANGED
@@ -18,6 +18,7 @@ export interface ISocialProfileVisibility {
18
18
  hardDrugsConsumption: FieldVisibility;
19
19
  }
20
20
  export type PrivacyTier = 'public_full' | 'public_restricted' | 'private' | 'custom';
21
+ export type ContactabilitySetting = 'everybody' | 'nobody' | 'only_verified';
21
22
  export interface ICustomPrivacyRules {
22
23
  ageRange?: {
23
24
  min: number;
@@ -31,6 +32,7 @@ export interface IPrivacySettings {
31
32
  tier: PrivacyTier;
32
33
  onlyVerified?: boolean;
33
34
  customRules?: ICustomPrivacyRules;
35
+ contactability?: ContactabilitySetting;
34
36
  }
35
37
  export interface ISocialProfile {
36
38
  bio?: string;
@@ -88,6 +90,7 @@ export interface ISocialEntry {
88
90
  birthday?: Timestamp;
89
91
  accountCreatedAt?: Timestamp;
90
92
  customRules?: ICustomPrivacyRules;
93
+ contactability?: ContactabilitySetting;
91
94
  }
92
95
  export interface IFilteredEntry {
93
96
  id: string;
@@ -102,6 +105,7 @@ export interface IFilteredEntry {
102
105
  isOwnEntry?: boolean;
103
106
  hasSocialProfile?: boolean;
104
107
  isContact?: boolean;
108
+ contactRequestState?: 'allowed' | 'requires_verification' | 'blocked';
105
109
  }
106
110
  export type SocialAction = 'going' | 'interested' | 'like';
107
111
  export type SocialStatus = 'interested' | 'going' | 'like' | 'none';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.1.99",
3
+ "version": "2.1.101",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",