@qrush/types 2.1.66 → 2.1.67
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/Social.d.ts +17 -0
- package/package.json +1 -1
package/dist/Social.d.ts
CHANGED
|
@@ -58,6 +58,10 @@ export interface ISocialUserEntry {
|
|
|
58
58
|
entityType?: SocialEntityType;
|
|
59
59
|
entityTitle?: string;
|
|
60
60
|
lookingFor?: ILookingFor;
|
|
61
|
+
/** Event: eventStart; Weekly: computed from occurrenceDate + DaySchedule.eventStart */
|
|
62
|
+
entityStartTime?: Timestamp;
|
|
63
|
+
/** Flat boolean for efficient Firestore indexing (avoids != null on map field) */
|
|
64
|
+
hasLookingFor?: boolean;
|
|
61
65
|
}
|
|
62
66
|
export type SocialAction = 'going' | 'interested';
|
|
63
67
|
export type SocialEntityType = 'event' | 'location' | 'weekly';
|
|
@@ -71,6 +75,19 @@ export interface IToggleSocialActionResponse {
|
|
|
71
75
|
success: boolean;
|
|
72
76
|
isActive: boolean;
|
|
73
77
|
}
|
|
78
|
+
export interface IUpdateLookingForRequest {
|
|
79
|
+
action: SocialAction;
|
|
80
|
+
entityType: SocialEntityType;
|
|
81
|
+
entityId: string;
|
|
82
|
+
day?: string;
|
|
83
|
+
lookingFor: {
|
|
84
|
+
preset?: 'group' | 'dance_partner' | 'going_together';
|
|
85
|
+
text?: string;
|
|
86
|
+
} | null;
|
|
87
|
+
}
|
|
88
|
+
export interface IUpdateLookingForResponse {
|
|
89
|
+
success: boolean;
|
|
90
|
+
}
|
|
74
91
|
export type SocialProfileStatus = 'incomplete' | 'minimal' | 'complete' | 'trusted';
|
|
75
92
|
export type AccessTier = 'guest' | 'registered' | 'minimal' | 'complete' | 'trusted';
|
|
76
93
|
export type EntryVisibility = 'clear' | 'nightlife_blur' | 'hidden';
|