@qrush/types 2.1.98 → 2.1.100
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/Location.d.ts +2 -2
- package/dist/Social.d.ts +8 -4
- package/package.json +1 -1
package/dist/Location.d.ts
CHANGED
|
@@ -135,9 +135,9 @@ export type IFireLocation = {
|
|
|
135
135
|
activeOwnerCount?: number;
|
|
136
136
|
hasPromotions: boolean;
|
|
137
137
|
promotionTeasers?: PromotionTeaser[];
|
|
138
|
-
/** @deprecated
|
|
138
|
+
/** @deprecated Legacy field still read by app versions in production. Do not use for new features — use socialEntries subcollection instead. */
|
|
139
139
|
bookmarkUserIds?: string[];
|
|
140
|
-
|
|
140
|
+
likeCount?: number;
|
|
141
141
|
weeklyGoingCount?: {
|
|
142
142
|
[day: string]: number;
|
|
143
143
|
};
|
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;
|
|
@@ -70,7 +72,7 @@ export interface ISocialEntry {
|
|
|
70
72
|
day?: string;
|
|
71
73
|
/** Resolved occurrence date (YYYY-MM-DD) for weekly entries */
|
|
72
74
|
occurrenceDate?: string;
|
|
73
|
-
type: 'going' | 'interested';
|
|
75
|
+
type: 'going' | 'interested' | 'like';
|
|
74
76
|
citySlug?: string;
|
|
75
77
|
entityId?: string;
|
|
76
78
|
entityType?: SocialEntityType;
|
|
@@ -88,13 +90,14 @@ 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;
|
|
94
97
|
name: string;
|
|
95
98
|
avatarURL: string;
|
|
96
99
|
isVerified: boolean;
|
|
97
|
-
type: 'going' | 'interested';
|
|
100
|
+
type: 'going' | 'interested' | 'like';
|
|
98
101
|
visibility: 'clear' | 'anonymous';
|
|
99
102
|
lookingFor?: ILookingFor;
|
|
100
103
|
hasLookingFor?: boolean;
|
|
@@ -102,9 +105,10 @@ export interface IFilteredEntry {
|
|
|
102
105
|
isOwnEntry?: boolean;
|
|
103
106
|
hasSocialProfile?: boolean;
|
|
104
107
|
isContact?: boolean;
|
|
108
|
+
contactRequestState?: 'allowed' | 'requires_verification' | 'blocked';
|
|
105
109
|
}
|
|
106
|
-
export type SocialAction = 'going' | 'interested';
|
|
107
|
-
export type SocialStatus = 'interested' | 'going' | 'none';
|
|
110
|
+
export type SocialAction = 'going' | 'interested' | 'like';
|
|
111
|
+
export type SocialStatus = 'interested' | 'going' | 'like' | 'none';
|
|
108
112
|
export type SocialEntityType = 'event' | 'location' | 'weekly';
|
|
109
113
|
export interface ISetSocialStatusRequest {
|
|
110
114
|
desiredStatus: SocialStatus;
|