@qrush/types 2.1.77 → 2.1.79

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.
@@ -14,6 +14,7 @@ export interface IConnection {
14
14
  status: ConnectionStatus;
15
15
  blocked: boolean;
16
16
  blockedBy: string[];
17
+ hiddenBy?: string[];
17
18
  users: {
18
19
  [uid: string]: {
19
20
  name: string;
package/dist/Social.d.ts CHANGED
@@ -95,16 +95,17 @@ 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 IToggleSocialActionRequest {
100
- action: SocialAction;
100
+ export interface ISetSocialStatusRequest {
101
+ desiredStatus: SocialStatus;
101
102
  entityType: SocialEntityType;
102
103
  entityId: string;
103
104
  day?: string;
104
105
  }
105
- export interface IToggleSocialActionResponse {
106
+ export interface ISetSocialStatusResponse {
106
107
  success: boolean;
107
- isActive: boolean;
108
+ status: SocialStatus;
108
109
  }
109
110
  export type LookingForType = 'lfg' | 'lfm' | 'general';
110
111
  export interface IUpdateLookingForRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.1.77",
3
+ "version": "2.1.79",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",