@bondsports/types 1.19.23 → 1.19.24

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.
@@ -6,6 +6,7 @@ export * from './familyAccount';
6
6
  export * from './fee';
7
7
  export * from './gl-codes';
8
8
  export * from './import';
9
+ export * from './invitations';
9
10
  export * from './invoice';
10
11
  export * from './league';
11
12
  export * from './locks';
@@ -22,6 +22,7 @@ __exportStar(require("./familyAccount"), exports);
22
22
  __exportStar(require("./fee"), exports);
23
23
  __exportStar(require("./gl-codes"), exports);
24
24
  __exportStar(require("./import"), exports);
25
+ __exportStar(require("./invitations"), exports);
25
26
  __exportStar(require("./invoice"), exports);
26
27
  __exportStar(require("./league"), exports);
27
28
  __exportStar(require("./locks"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,6CAA2B;AAC3B,iDAA+B;AAC/B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,6CAA2B;AAC3B,iDAA+B;AAC/B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B"}
@@ -0,0 +1 @@
1
+ export * from './validation.dto';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./validation.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invitations/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
@@ -0,0 +1,7 @@
1
+ export declare class ValidationDto {
2
+ isValid: boolean;
3
+ invitedUserEmail?: string;
4
+ }
5
+ export declare class ValidationQuery {
6
+ token: string;
7
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidationQuery = exports.ValidationDto = void 0;
4
+ class ValidationDto {
5
+ }
6
+ exports.ValidationDto = ValidationDto;
7
+ class ValidationQuery {
8
+ }
9
+ exports.ValidationQuery = ValidationQuery;
10
+ //# sourceMappingURL=validation.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.dto.js","sourceRoot":"","sources":["../../../../src/types/invitations/dtos/validation.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
@@ -0,0 +1,15 @@
1
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
2
+ export declare enum InvitationStatus {
3
+ PENDING = 1,
4
+ ACCEPTED = 2,
5
+ REJECTED = 3,
6
+ CANCELLED = 4
7
+ }
8
+ export declare class UserInvitation extends BondBaseEntity {
9
+ token: string;
10
+ invitedUserEmail?: string;
11
+ invitedUserPhone?: string;
12
+ invitedUserId?: string;
13
+ status: InvitationStatus;
14
+ data: Record<string, string>;
15
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserInvitation = exports.InvitationStatus = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ var InvitationStatus;
6
+ (function (InvitationStatus) {
7
+ InvitationStatus[InvitationStatus["PENDING"] = 1] = "PENDING";
8
+ InvitationStatus[InvitationStatus["ACCEPTED"] = 2] = "ACCEPTED";
9
+ InvitationStatus[InvitationStatus["REJECTED"] = 3] = "REJECTED";
10
+ InvitationStatus[InvitationStatus["CANCELLED"] = 4] = "CANCELLED";
11
+ })(InvitationStatus = exports.InvitationStatus || (exports.InvitationStatus = {}));
12
+ class UserInvitation extends BondBaseEntity_1.BondBaseEntity {
13
+ }
14
+ exports.UserInvitation = UserInvitation;
15
+ //# sourceMappingURL=UserInvitation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserInvitation.js","sourceRoot":"","sources":["../../../../src/types/invitations/entities/UserInvitation.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAE7D,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,6DAAW,CAAA;IACX,+DAAY,CAAA;IACZ,+DAAY,CAAA;IACZ,iEAAa,CAAA;AACf,CAAC,EALW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAK3B;AAED,MAAa,cAAe,SAAQ,+BAAc;CAYjD;AAZD,wCAYC"}
@@ -0,0 +1 @@
1
+ export * from './UserInvitation';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./UserInvitation"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invitations/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
@@ -0,0 +1,2 @@
1
+ export * from './dtos';
2
+ export * from './entities';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dtos"), exports);
18
+ __exportStar(require("./entities"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/invitations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "1.19.23",
3
+ "version": "1.19.24",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {