@nimee/shared-types 1.0.306 → 1.0.307

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.
@@ -86,10 +86,10 @@ export declare enum IEventTypeEnum {
86
86
  WELLNESS = "wellness",
87
87
  MUSIC = "music"
88
88
  }
89
- export declare enum IOtpGateModeEnum {
90
- off = "off",
91
- suggested = "suggested",
92
- required = "required"
89
+ export declare enum IOtpGateMode {
90
+ OFF = "off",
91
+ SUGGESTED = "suggested",
92
+ REQUIRED = "required"
93
93
  }
94
94
  export interface IEventModel {
95
95
  start_hour?: Date;
@@ -133,7 +133,7 @@ export interface IEventModel {
133
133
  seatsEventKey?: string;
134
134
  isSeatsEvent?: boolean;
135
135
  isOnlyForMembers?: boolean;
136
- otpGateMode?: IOtpGateModeEnum;
136
+ otpGateMode?: IOtpGateMode;
137
137
  isWellnessEvent?: boolean;
138
138
  trainer?: string;
139
139
  is_manual_approve_buyer?: boolean;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IOtpGateModeEnum = exports.IEventTypeEnum = exports.IEventSegmentsBehaviorType = void 0;
3
+ exports.IOtpGateMode = exports.IEventTypeEnum = exports.IEventSegmentsBehaviorType = void 0;
4
4
  var IEventSegmentsBehaviorType;
5
5
  (function (IEventSegmentsBehaviorType) {
6
6
  IEventSegmentsBehaviorType["AUTO_APPROVED"] = "auto_approved";
@@ -21,10 +21,11 @@ var IEventTypeEnum;
21
21
  IEventTypeEnum["WELLNESS"] = "wellness";
22
22
  IEventTypeEnum["MUSIC"] = "music";
23
23
  })(IEventTypeEnum || (exports.IEventTypeEnum = IEventTypeEnum = {}));
24
- var IOtpGateModeEnum;
25
- (function (IOtpGateModeEnum) {
26
- IOtpGateModeEnum["off"] = "off";
27
- IOtpGateModeEnum["suggested"] = "suggested";
28
- IOtpGateModeEnum["required"] = "required";
29
- })(IOtpGateModeEnum || (exports.IOtpGateModeEnum = IOtpGateModeEnum = {}));
24
+ // Per-event phone-OTP gate on the public event page (issue #762).
25
+ var IOtpGateMode;
26
+ (function (IOtpGateMode) {
27
+ IOtpGateMode["OFF"] = "off";
28
+ IOtpGateMode["SUGGESTED"] = "suggested";
29
+ IOtpGateMode["REQUIRED"] = "required";
30
+ })(IOtpGateMode || (exports.IOtpGateMode = IOtpGateMode = {}));
30
31
  //# sourceMappingURL=event.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/event/event.ts"],"names":[],"mappings":";;;AA2CA,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,6DAA+B,CAAA;IAC/B,iEAAmC,CAAA;AACrC,CAAC,EAHW,0BAA0B,0CAA1B,0BAA0B,QAGrC;AAQD,IAAY,cAaX;AAbD,WAAY,cAAc;IACxB,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,uDAAqC,CAAA;IACrC,qCAAmB,CAAA;IACnB,iCAAe,CAAA;IACf,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,qCAAmB,CAAA;IACnB,iCAAe,CAAA;IACf,uCAAqB,CAAA;IACrB,iCAAe,CAAA;AACjB,CAAC,EAbW,cAAc,8BAAd,cAAc,QAazB;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,2CAAuB,CAAA;IACvB,yCAAqB,CAAA;AACvB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
1
+ {"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/event/event.ts"],"names":[],"mappings":";;;AA2CA,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,6DAA+B,CAAA;IAC/B,iEAAmC,CAAA;AACrC,CAAC,EAHW,0BAA0B,0CAA1B,0BAA0B,QAGrC;AAQD,IAAY,cAaX;AAbD,WAAY,cAAc;IACxB,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,uDAAqC,CAAA;IACrC,qCAAmB,CAAA;IACnB,iCAAe,CAAA;IACf,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,qCAAmB,CAAA;IACnB,iCAAe,CAAA;IACf,uCAAqB,CAAA;IACrB,iCAAe,CAAA;AACjB,CAAC,EAbW,cAAc,8BAAd,cAAc,QAazB;AAED,kEAAkE;AAClE,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,2BAAW,CAAA;IACX,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;AACvB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.306",
3
+ "version": "1.0.307",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -67,10 +67,11 @@ export enum IEventTypeEnum {
67
67
  MUSIC = "music",
68
68
  }
69
69
 
70
- export enum IOtpGateModeEnum {
71
- off = "off",
72
- suggested = "suggested",
73
- required = "required",
70
+ // Per-event phone-OTP gate on the public event page (issue #762).
71
+ export enum IOtpGateMode {
72
+ OFF = "off",
73
+ SUGGESTED = "suggested",
74
+ REQUIRED = "required",
74
75
  }
75
76
 
76
77
  export interface IEventModel {
@@ -112,7 +113,7 @@ export interface IEventModel {
112
113
  seatsEventKey?: string;
113
114
  isSeatsEvent?: boolean;
114
115
  isOnlyForMembers?: boolean;
115
- otpGateMode?: IOtpGateModeEnum;
116
+ otpGateMode?: IOtpGateMode;
116
117
  isWellnessEvent?: boolean;
117
118
  trainer?: string;
118
119
  is_manual_approve_buyer?: boolean;
@@ -1,8 +0,0 @@
1
- {
2
- "enabledMcpjsonServers": [
3
- "github",
4
- "coralogix-server",
5
- "playwright",
6
- "mongodb"
7
- ]
8
- }