@qrush/types 2.1.76 → 2.1.78
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 +10 -6
- package/package.json +1 -1
package/dist/Social.d.ts
CHANGED
|
@@ -95,25 +95,28 @@ export interface IFilteredEntry {
|
|
|
95
95
|
isOwnEntry?: boolean;
|
|
96
96
|
}
|
|
97
97
|
export type SocialAction = 'going' | 'interested';
|
|
98
|
+
export type SocialStatus = 'interested' | 'going' | 'none';
|
|
98
99
|
export type SocialEntityType = 'event' | 'location' | 'weekly';
|
|
99
|
-
export interface
|
|
100
|
-
|
|
100
|
+
export interface ISetSocialStatusRequest {
|
|
101
|
+
desiredStatus: SocialStatus;
|
|
101
102
|
entityType: SocialEntityType;
|
|
102
103
|
entityId: string;
|
|
103
104
|
day?: string;
|
|
104
105
|
}
|
|
105
|
-
export interface
|
|
106
|
+
export interface ISetSocialStatusResponse {
|
|
106
107
|
success: boolean;
|
|
107
|
-
|
|
108
|
+
status: SocialStatus;
|
|
108
109
|
}
|
|
110
|
+
export type LookingForType = 'lfg' | 'lfm' | 'general';
|
|
109
111
|
export interface IUpdateLookingForRequest {
|
|
110
112
|
action: SocialAction;
|
|
111
113
|
entityType: SocialEntityType;
|
|
112
114
|
entityId: string;
|
|
113
115
|
day?: string;
|
|
114
116
|
lookingFor: {
|
|
115
|
-
|
|
117
|
+
type: LookingForType;
|
|
116
118
|
text?: string;
|
|
119
|
+
onlyVerified?: boolean;
|
|
117
120
|
} | null;
|
|
118
121
|
}
|
|
119
122
|
export interface IUpdateLookingForResponse {
|
|
@@ -121,7 +124,8 @@ export interface IUpdateLookingForResponse {
|
|
|
121
124
|
}
|
|
122
125
|
export type EntryVisibility = 'clear' | 'blurred' | 'hidden';
|
|
123
126
|
export interface ILookingFor {
|
|
124
|
-
|
|
127
|
+
type: LookingForType;
|
|
125
128
|
text?: string;
|
|
129
|
+
onlyVerified?: boolean;
|
|
126
130
|
createdAt: Timestamp;
|
|
127
131
|
}
|