@bwi-mentorspaces/application-utils-npm 0.0.109 → 0.0.113

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.
@@ -51,5 +51,7 @@ export declare enum CustomEventType {
51
51
  PanelistDeclined = "panelist_declined",
52
52
  InviteRejected = "invite_rejected",
53
53
  SharedJob = "shared_job",
54
- MatchCreated = "match_created"
54
+ MatchCreated = "match_created",
55
+ ProgramAnnouncement = "program_announcement",
56
+ ProgramAnnouncementComment = "program_announcement_comment"
55
57
  }
@@ -60,5 +60,7 @@ var CustomEventType;
60
60
  CustomEventType["InviteRejected"] = "invite_rejected";
61
61
  CustomEventType["SharedJob"] = "shared_job";
62
62
  CustomEventType["MatchCreated"] = "match_created";
63
+ CustomEventType["ProgramAnnouncement"] = "program_announcement";
64
+ CustomEventType["ProgramAnnouncementComment"] = "program_announcement_comment";
63
65
  })(CustomEventType || (exports.CustomEventType = CustomEventType = {}));
64
66
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../chat/stream/enum/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;AACrB,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED;;GAEG;AACH,IAAY,YAEX;AAFD,WAAY,YAAY;IACpB,gEAAiB,CAAA;AACrB,CAAC,EAFW,YAAY,4BAAZ,YAAY,QAEvB;AAED;;GAEG;AACH,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,sCAAuB,CAAA;AAC3B,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED;;GAEG;AACH,IAAY,QAKX;AALD,WAAY,QAAQ;IAChB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,mCAAuB,CAAA;IACvB,2BAAe,CAAA;AACnB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAED;;GAEG;AACH,IAAY,eAsBX;AAtBD,WAAY,eAAe;IACvB,2DAAwC,CAAA;IACxC,6DAA0C,CAAA;IAC1C,4EAAyD,CAAA;IACzD,qDAAkC,CAAA;IAClC,qDAAkC,CAAA;IAClC,sEAAmD,CAAA;IACnD,iDAA8B,CAAA;IAC9B,2DAAwC,CAAA;IACxC,qDAAkC,CAAA;IAClC,uDAAoC,CAAA;IACpC,qEAAkD,CAAA;IAClD,uEAAoD,CAAA;IACpD,+CAA4B,CAAA;IAC5B,uDAAoC,CAAA;IACpC,uDAAoC,CAAA;IACpC,uDAAoC,CAAA;IACpC,yDAAsC,CAAA;IACtC,yDAAsC,CAAA;IACtC,qDAAkC,CAAA;IAClC,2CAAwB,CAAA;IACxB,iDAA8B,CAAA;AAClC,CAAC,EAtBW,eAAe,+BAAf,eAAe,QAsB1B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../chat/stream/enum/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;AACrB,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED;;GAEG;AACH,IAAY,YAEX;AAFD,WAAY,YAAY;IACpB,gEAAiB,CAAA;AACrB,CAAC,EAFW,YAAY,4BAAZ,YAAY,QAEvB;AAED;;GAEG;AACH,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,sCAAuB,CAAA;AAC3B,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED;;GAEG;AACH,IAAY,QAKX;AALD,WAAY,QAAQ;IAChB,yBAAa,CAAA;IACb,2BAAe,CAAA;IACf,mCAAuB,CAAA;IACvB,2BAAe,CAAA;AACnB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAED;;GAEG;AACH,IAAY,eAwBX;AAxBD,WAAY,eAAe;IACvB,2DAAwC,CAAA;IACxC,6DAA0C,CAAA;IAC1C,4EAAyD,CAAA;IACzD,qDAAkC,CAAA;IAClC,qDAAkC,CAAA;IAClC,sEAAmD,CAAA;IACnD,iDAA8B,CAAA;IAC9B,2DAAwC,CAAA;IACxC,qDAAkC,CAAA;IAClC,uDAAoC,CAAA;IACpC,qEAAkD,CAAA;IAClD,uEAAoD,CAAA;IACpD,+CAA4B,CAAA;IAC5B,uDAAoC,CAAA;IACpC,uDAAoC,CAAA;IACpC,uDAAoC,CAAA;IACpC,yDAAsC,CAAA;IACtC,yDAAsC,CAAA;IACtC,qDAAkC,CAAA;IAClC,2CAAwB,CAAA;IACxB,iDAA8B,CAAA;IAC9B,+DAA4C,CAAA;IAC5C,8EAA2D,CAAA;AAC/D,CAAC,EAxBW,eAAe,+BAAf,eAAe,QAwB1B"}
@@ -17,4 +17,7 @@ export interface IChannelData extends ChannelData {
17
17
  disabled?: boolean;
18
18
  companyId?: number;
19
19
  topicRef?: string;
20
+ isMatchChannel?: boolean;
21
+ matchRef?: string;
22
+ programRef?: string;
20
23
  }
@@ -16,6 +16,7 @@ export interface IEventTypesData {
16
16
  [CustomEventType.TopicUpdated]: undefined;
17
17
  [CustomEventType.ConnectionRequest]: {
18
18
  text: string;
19
+ programRef: string;
19
20
  };
20
21
  [CustomEventType.ConnectionReminder]: {
21
22
  recipientRef: string;
@@ -202,4 +203,50 @@ export interface IEventTypesData {
202
203
  isMSCompany: boolean;
203
204
  companyRef?: string;
204
205
  };
206
+ [CustomEventType.ProgramAnnouncement]: {
207
+ id: number;
208
+ title: string;
209
+ programRef: string;
210
+ visibleTo: string;
211
+ creatorRef: string;
212
+ documentId: string;
213
+ description: string;
214
+ timestamp: string;
215
+ senderInfo?: {
216
+ id: string;
217
+ name: string;
218
+ picture: string;
219
+ ref: string;
220
+ type: string;
221
+ };
222
+ };
223
+ [CustomEventType.ProgramAnnouncementComment]: {
224
+ id: number;
225
+ announcement: string;
226
+ creatorRef: string;
227
+ documentId: string;
228
+ programRef: string;
229
+ title: string;
230
+ description: string;
231
+ recipients: string[];
232
+ senderInfo?: {
233
+ id: string;
234
+ name: string;
235
+ picture: string;
236
+ ref: string;
237
+ type: string;
238
+ };
239
+ };
240
+ [CustomEventType.MatchCreated]: {
241
+ matchRef: string;
242
+ programRef: string;
243
+ programName: string;
244
+ mentorUserId: number;
245
+ menteeUserId: number;
246
+ mentorName: string;
247
+ menteeName: string;
248
+ channelRef: string;
249
+ createdBy: string;
250
+ isFromAdmin: boolean;
251
+ };
205
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bwi-mentorspaces/application-utils-npm",
3
- "version": "0.0.109",
3
+ "version": "0.0.113",
4
4
  "description": "Mentor Spaces npm packages for reusable models, utils, and abstracted, commonly used processes for DB Repo, Logging, etc.",
5
5
  "author": {
6
6
  "name": "Mentor Spaces",