@bondsports/types 2.2.174 → 2.2.176

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,6 +86,7 @@ export interface IUpdateProductPrice {
86
86
  priceId: number;
87
87
  unitPrice: number;
88
88
  originalUnitPrice: number;
89
+ totalPrice?: number;
89
90
  }
90
91
  export interface IPriceUpdate {
91
92
  unitPrice: number;
@@ -18,3 +18,7 @@ export type SegmentEntity = Segment | SegmentDto | DraftSegment;
18
18
  export type SeriesEntity = Series | SeriesDto | DraftSeries;
19
19
  export type SlotEntity = Slot | SlotDto | DraftSlot;
20
20
  export type AddonEntity = Addon | AddonDto | DraftAddon;
21
+ export type IDraftEntitySplitAmount = {
22
+ amount: number;
23
+ id: string;
24
+ };
@@ -1,4 +1,10 @@
1
+ import { Permission } from './Permission';
2
+ import { PermissionGroup } from './PermissionGroup';
3
+ import { Role } from './Role';
4
+ import { UserRole } from './UserRole';
5
+ export { Permission, PermissionGroup, Role, UserRole };
1
6
  export * from './Permission';
2
7
  export * from './PermissionGroup';
3
8
  export * from './Role';
4
9
  export * from './UserRole';
10
+ export * from './index';
@@ -14,8 +14,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.UserRole = exports.Role = exports.PermissionGroup = exports.Permission = void 0;
18
+ const Permission_1 = require("./Permission");
19
+ Object.defineProperty(exports, "Permission", { enumerable: true, get: function () { return Permission_1.Permission; } });
20
+ const PermissionGroup_1 = require("./PermissionGroup");
21
+ Object.defineProperty(exports, "PermissionGroup", { enumerable: true, get: function () { return PermissionGroup_1.PermissionGroup; } });
22
+ const Role_1 = require("./Role");
23
+ Object.defineProperty(exports, "Role", { enumerable: true, get: function () { return Role_1.Role; } });
24
+ const UserRole_1 = require("./UserRole");
25
+ Object.defineProperty(exports, "UserRole", { enumerable: true, get: function () { return UserRole_1.UserRole; } });
17
26
  __exportStar(require("./Permission"), exports);
18
27
  __exportStar(require("./PermissionGroup"), exports);
19
28
  __exportStar(require("./Role"), exports);
20
29
  __exportStar(require("./UserRole"), exports);
30
+ __exportStar(require("./index"), exports);
21
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,oDAAkC;AAClC,yCAAuB;AACvB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6CAA0C;AAKjC,2FALA,uBAAU,OAKA;AAJnB,uDAAoD;AAI/B,gGAJZ,iCAAe,OAIY;AAHpC,iCAA8B;AAGQ,qFAH7B,WAAI,OAG6B;AAF1C,yCAAsC;AAEM,yFAFnC,mBAAQ,OAEmC;AACpD,+CAA6B;AAC7B,oDAAkC;AAClC,yCAAuB;AACvB,6CAA2B;AAC3B,0CAAwB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.174",
3
+ "version": "2.2.176",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {