@oxyfoo/whymeet-types 0.0.25 → 0.0.27
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/Models/Activity.d.ts +2 -0
- package/dist/WS/Request.d.ts +4 -17
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ export interface Activity {
|
|
|
16
16
|
description: string;
|
|
17
17
|
category: InterestCategoryKey;
|
|
18
18
|
dateTime: string | null;
|
|
19
|
+
durationMinutes: number | null;
|
|
19
20
|
locationName: string;
|
|
20
21
|
latitude: number;
|
|
21
22
|
longitude: number;
|
|
@@ -43,6 +44,7 @@ export interface ActivitySummary {
|
|
|
43
44
|
title: string;
|
|
44
45
|
category: InterestCategoryKey;
|
|
45
46
|
dateTime: string | null;
|
|
47
|
+
durationMinutes: number | null;
|
|
46
48
|
locationName: string;
|
|
47
49
|
participantCount: number;
|
|
48
50
|
maxParticipants: number | null;
|
package/dist/WS/Request.d.ts
CHANGED
|
@@ -75,13 +75,6 @@ export interface WSRequest_Skip {
|
|
|
75
75
|
selection?: IntentionSelection;
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
export interface WSRequest_Star {
|
|
79
|
-
command: 'star';
|
|
80
|
-
payload: {
|
|
81
|
-
candidateId: string;
|
|
82
|
-
selection?: IntentionSelection;
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
78
|
export interface WSRequest_Search {
|
|
86
79
|
command: 'search';
|
|
87
80
|
payload: {
|
|
@@ -225,6 +218,7 @@ export interface WSRequest_CreateActivity {
|
|
|
225
218
|
description: string;
|
|
226
219
|
category: InterestCategoryKey;
|
|
227
220
|
dateTime?: string;
|
|
221
|
+
durationMinutes?: number | null;
|
|
228
222
|
locationName: string;
|
|
229
223
|
latitude: number;
|
|
230
224
|
longitude: number;
|
|
@@ -242,6 +236,7 @@ export interface WSRequest_UpdateActivity {
|
|
|
242
236
|
description?: string;
|
|
243
237
|
category?: InterestCategoryKey;
|
|
244
238
|
dateTime?: string | null;
|
|
239
|
+
durationMinutes?: number | null;
|
|
245
240
|
locationName?: string;
|
|
246
241
|
latitude?: number;
|
|
247
242
|
longitude?: number;
|
|
@@ -435,7 +430,7 @@ export interface WSRequest_SetDiscoveryView {
|
|
|
435
430
|
view: DiscoveryView;
|
|
436
431
|
};
|
|
437
432
|
}
|
|
438
|
-
export type WSClientRequest = WSRequest_Handshake | WSRequest_GetProfile | WSRequest_UpdateProfile | WSRequest_GetCandidates | WSRequest_GetCandidateCounts | WSRequest_GetIntentionCatalog | WSRequest_GetIntentionCounts | WSRequest_GetIntentionPopularTags | WSRequest_Like | WSRequest_Skip |
|
|
433
|
+
export type WSClientRequest = WSRequest_Handshake | WSRequest_GetProfile | WSRequest_UpdateProfile | WSRequest_GetCandidates | WSRequest_GetCandidateCounts | WSRequest_GetIntentionCatalog | WSRequest_GetIntentionCounts | WSRequest_GetIntentionPopularTags | WSRequest_Like | WSRequest_Skip | WSRequest_Search | WSRequest_GetConversations | WSRequest_GetMessages | WSRequest_SendMessage | WSRequest_GetRequests | WSRequest_AcceptRequest | WSRequest_DeclineRequest | WSRequest_GetNotifications | WSRequest_SubmitFeedback | WSRequest_MarkNotificationRead | WSRequest_BlockUser | WSRequest_ReportUser | WSRequest_Unmatch | WSRequest_GetSettings | WSRequest_UpdateSettings | WSRequest_TagSuggest | WSRequest_GetPreferences | WSRequest_UpdatePreferences | WSRequest_DeleteAccount | WSRequest_RegisterPushToken | WSRequest_GetSubscription | WSRequest_ValidateReceipt | WSRequest_GetSearchQuota | WSRequest_SearchWithToken | WSRequest_PreviewSearch | WSRequest_PurchaseBoost | WSRequest_GetBoostStatus | WSRequest_MarkRead | WSRequest_GetUserProfile | WSRequest_CreateActivity | WSRequest_UpdateActivity | WSRequest_CancelActivity | WSRequest_GetActivity | WSRequest_JoinActivity | WSRequest_LeaveActivity | WSRequest_GetActivities | WSRequest_GetActivityCounts | WSRequest_SearchActivities | WSRequest_SearchActivitiesWithToken | WSRequest_PreviewSearchActivities | WSRequest_GetCandidateActivities | WSRequest_GetPopularActivityTags | WSRequest_ReportActivity | WSRequest_GetMyActivities | WSRequest_GetBlockedUsers | WSRequest_UnblockUser | WSRequest_GetProfilePopularTags | WSRequest_GetBadges | WSRequest_GetUserBadges | WSRequest_ClaimBadgeReward | WSRequest_ConfirmHostAttendance | WSRequest_ConfirmParticipation | WSRequest_SetDiscoveryView | WSRequest_PlacesSuggest | WSRequest_PlacesRetrieve;
|
|
439
434
|
export type WSClientCommand = WSClientRequest['command'];
|
|
440
435
|
export interface WSResponse_Handshake {
|
|
441
436
|
command: 'handshake';
|
|
@@ -528,14 +523,6 @@ export interface WSResponse_Skip {
|
|
|
528
523
|
success: boolean;
|
|
529
524
|
};
|
|
530
525
|
}
|
|
531
|
-
export interface WSResponse_Star {
|
|
532
|
-
command: 'star';
|
|
533
|
-
payload: {
|
|
534
|
-
success: boolean;
|
|
535
|
-
} | {
|
|
536
|
-
error: string;
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
526
|
export interface WSResponse_Search {
|
|
540
527
|
command: 'search';
|
|
541
528
|
payload: {
|
|
@@ -997,7 +984,7 @@ export interface WSResponse_PlacesRetrieve {
|
|
|
997
984
|
error: string;
|
|
998
985
|
};
|
|
999
986
|
}
|
|
1000
|
-
export type WSServerResponse = WSResponse_Handshake | WSResponse_GetProfile | WSResponse_UpdateProfile | WSResponse_GetCandidates | WSResponse_GetCandidateCounts | WSResponse_GetIntentionCatalog | WSResponse_GetIntentionCounts | WSResponse_GetIntentionPopularTags | WSResponse_Like | WSResponse_Skip |
|
|
987
|
+
export type WSServerResponse = WSResponse_Handshake | WSResponse_GetProfile | WSResponse_UpdateProfile | WSResponse_GetCandidates | WSResponse_GetCandidateCounts | WSResponse_GetIntentionCatalog | WSResponse_GetIntentionCounts | WSResponse_GetIntentionPopularTags | WSResponse_Like | WSResponse_Skip | WSResponse_Search | WSResponse_GetConversations | WSResponse_GetMessages | WSResponse_SendMessage | WSResponse_GetRequests | WSResponse_AcceptRequest | WSResponse_DeclineRequest | WSResponse_SubmitFeedback | WSResponse_GetNotifications | WSResponse_MarkNotificationRead | WSResponse_BlockUser | WSResponse_ReportUser | WSResponse_Unmatch | WSResponse_GetSettings | WSResponse_UpdateSettings | WSResponse_TagSuggest | WSResponse_GetPreferences | WSResponse_UpdatePreferences | WSResponse_DeleteAccount | WSResponse_RegisterPushToken | WSResponse_GetSubscription | WSResponse_ValidateReceipt | WSResponse_GetSearchQuota | WSResponse_SearchWithToken | WSResponse_PreviewSearch | WSResponse_PurchaseBoost | WSResponse_GetBoostStatus | WSResponse_CreateActivity | WSResponse_UpdateActivity | WSResponse_CancelActivity | WSResponse_GetActivity | WSResponse_JoinActivity | WSResponse_LeaveActivity | WSResponse_GetActivities | WSResponse_GetActivityCounts | WSResponse_SearchActivities | WSResponse_SearchActivitiesWithToken | WSResponse_PreviewSearchActivities | WSResponse_GetCandidateActivities | WSResponse_GetPopularActivityTags | WSResponse_ReportActivity | WSResponse_GetMyActivities | WSResponse_MarkRead | WSResponse_GetUserProfile | WSResponse_GetBlockedUsers | WSResponse_UnblockUser | WSResponse_GetProfilePopularTags | WSResponse_GetBadges | WSResponse_GetUserBadges | WSResponse_ClaimBadgeReward | WSResponse_ConfirmHostAttendance | WSResponse_ConfirmParticipation | WSResponse_SetDiscoveryView | WSResponse_PlacesSuggest | WSResponse_PlacesRetrieve;
|
|
1001
988
|
export interface WSEvent_NewMessage {
|
|
1002
989
|
event: 'new-message';
|
|
1003
990
|
payload: {
|