@nimee/shared-types 1.0.202 → 1.0.203

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.
@@ -12,7 +12,8 @@ export declare enum ISegmentType {
12
12
  EVENT = "event",
13
13
  SEASON_TICKET_ENTRY_PASS = "season-ticket-entry-pass",
14
14
  SEASON_TICKET = "season-ticket",
15
- ACTIVITY = "activity"
15
+ ACTIVITY = "activity",
16
+ EVENT_TYPE = "event-type"
16
17
  }
17
18
  export interface ISegmentModel {
18
19
  _id?: string;
@@ -26,6 +27,7 @@ export interface ISegmentModel {
26
27
  event?: string | mongoose.Types.ObjectId;
27
28
  activityName?: string;
28
29
  seasonTicketStatus?: ISeasonTicketStatusType;
30
+ eventType?: string;
29
31
  }
30
32
  export interface ISegmentEndUserModel {
31
33
  _id?: string;
@@ -8,5 +8,6 @@ var ISegmentType;
8
8
  ISegmentType["SEASON_TICKET_ENTRY_PASS"] = "season-ticket-entry-pass";
9
9
  ISegmentType["SEASON_TICKET"] = "season-ticket";
10
10
  ISegmentType["ACTIVITY"] = "activity";
11
+ ISegmentType["EVENT_TYPE"] = "event-type";
11
12
  })(ISegmentType || (exports.ISegmentType = ISegmentType = {}));
12
13
  //# sourceMappingURL=segment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"segment.js","sourceRoot":"","sources":["../../src/user/segment.ts"],"names":[],"mappings":";;;AAGA,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,+BAAe,CAAA;IACf,qEAAqD,CAAA;IACrD,+CAA+B,CAAA;IAC/B,qCAAqB,CAAA;AACvB,CAAC,EANW,YAAY,4BAAZ,YAAY,QAMvB"}
1
+ {"version":3,"file":"segment.js","sourceRoot":"","sources":["../../src/user/segment.ts"],"names":[],"mappings":";;;AAGA,IAAY,YAOX;AAPD,WAAY,YAAY;IACtB,6CAA6B,CAAA;IAC7B,+BAAe,CAAA;IACf,qEAAqD,CAAA;IACrD,+CAA+B,CAAA;IAC/B,qCAAqB,CAAA;IACrB,yCAAyB,CAAA;AAC3B,CAAC,EAPW,YAAY,4BAAZ,YAAY,QAOvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.202",
3
+ "version": "1.0.203",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -7,6 +7,7 @@ export enum ISegmentType {
7
7
  SEASON_TICKET_ENTRY_PASS = "season-ticket-entry-pass",
8
8
  SEASON_TICKET = "season-ticket",
9
9
  ACTIVITY = "activity",
10
+ EVENT_TYPE = "event-type",
10
11
  }
11
12
  export interface ISegmentModel {
12
13
  _id?: string;
@@ -20,6 +21,7 @@ export interface ISegmentModel {
20
21
  event?: string | mongoose.Types.ObjectId;
21
22
  activityName?: string;
22
23
  seasonTicketStatus?: ISeasonTicketStatusType;
24
+ eventType?: string;
23
25
  }
24
26
 
25
27
  export interface ISegmentEndUserModel {