@bondsports/types 2.2.114 → 2.2.116

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,6 @@ import { ActivityTimes } from '../../entity/ActivityTimes';
2
2
  import { Customer } from '../../entity/Customer';
3
3
  import { Facility } from '../../entity/Facility';
4
4
  import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
5
- import { LineItems } from '../../entity/LineItems';
6
5
  import { Membership } from '../../entity/Membership';
7
6
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
8
7
  import { ProductPackage } from '../../entity/ProductPackage';
@@ -75,7 +74,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
75
74
  reservedForMemberships: Membership[];
76
75
  activityTimes: ActivityTimes[];
77
76
  resourceSettings: ResourceSetting[];
78
- lineItems: LineItems[];
79
77
  productsUsers: ProductsUsers[];
80
78
  purchasedResources: PurchasedResource[];
81
79
  facilities: Facility[];
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAmBA,oGAAiG;AAmBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAgI5D;AAhID,0BAgIC"}
1
+ {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAmBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA8H5D;AA9HD,0BA8HC"}
@@ -10,7 +10,6 @@ export declare class BatchCreatePermissionGroupDto {
10
10
  export declare class PermissionGroupDto extends CreatePermissionGroupDto {
11
11
  id: number;
12
12
  permissions?: PermissionDto[];
13
- parentGroupId?: number;
14
13
  childGroups?: PermissionGroupDto[];
15
14
  }
16
15
  export declare class UpdateRolePermissionGroupsDto {
@@ -1 +1 @@
1
- {"version":3,"file":"permission-group.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission-group.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA2D;AAG3D,MAAa,wBAAwB;IAArC;QAGC,WAAM,GAAI,IAAI,CAAC;IAChB,CAAC;CAAA;AAJD,4DAIC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,kBAAmB,SAAQ,wBAAwB;CAQ/D;AARD,gDAQC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,6BAA8B,SAAQ,gCAAkB;IAArE;;QACC,oBAAe,GAAI,KAAK,CAAC;QAEzB,uBAAkB,GAAI,KAAK,CAAC;IAC7B,CAAC;CAAA;AAJD,sEAIC"}
1
+ {"version":3,"file":"permission-group.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission-group.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA2D;AAG3D,MAAa,wBAAwB;IAArC;QAGC,WAAM,GAAI,IAAI,CAAC;IAChB,CAAC;CAAA;AAJD,4DAIC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,kBAAmB,SAAQ,wBAAwB;CAM/D;AAND,gDAMC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,6BAA8B,SAAQ,gCAAkB;IAArE;;QACC,oBAAe,GAAI,KAAK,CAAC;QAEzB,uBAAkB,GAAI,KAAK,CAAC;IAC7B,CAAC;CAAA;AAJD,sEAIC"}
@@ -1,11 +1,4 @@
1
- export declare class CreatePermissionDto {
1
+ export declare class PermissionDto {
2
2
  name: string;
3
- parentId?: number;
4
- hasPermission?: boolean;
5
3
  permissionGroupId?: number;
6
- parentPermissionId?: CreatePermissionDto;
7
- childPermissions?: CreatePermissionDto[];
8
- }
9
- export declare class PermissionDto extends CreatePermissionDto {
10
- id: number;
11
4
  }
@@ -1,13 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PermissionDto = exports.CreatePermissionDto = void 0;
4
- class CreatePermissionDto {
5
- constructor() {
6
- this.hasPermission = true;
7
- }
8
- }
9
- exports.CreatePermissionDto = CreatePermissionDto;
10
- class PermissionDto extends CreatePermissionDto {
3
+ exports.PermissionDto = void 0;
4
+ class PermissionDto {
11
5
  }
12
6
  exports.PermissionDto = PermissionDto;
13
7
  //# sourceMappingURL=permission.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"permission.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,mBAAmB;IAAhC;QAKC,kBAAa,GAAI,IAAI,CAAC;IAOvB,CAAC;CAAA;AAZD,kDAYC;AAED,MAAa,aAAc,SAAQ,mBAAmB;CAErD;AAFD,sCAEC"}
1
+ {"version":3,"file":"permission.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/permission.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,aAAa;CAIzB;AAJD,sCAIC"}
@@ -1,11 +1,9 @@
1
- import { BondBaseEntity } from '../../entity/BondBaseEntity';
1
+ import { BaseEntity } from 'typeorm';
2
2
  import { PermissionGroup } from './PermissionGroup';
3
- export declare class Permission extends BondBaseEntity {
3
+ export declare class Permission extends BaseEntity {
4
4
  name: string;
5
- deletedAt?: Date;
5
+ createdAt: Date;
6
+ updatedAt: Date;
6
7
  permissionGroup: PermissionGroup;
7
8
  permissionGroupId: number;
8
- hasPermission: boolean;
9
- parentPermission?: Permission;
10
- childPermissions: Permission[];
11
9
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Permission = void 0;
4
- const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
- class Permission extends BondBaseEntity_1.BondBaseEntity {
4
+ const typeorm_1 = require("typeorm");
5
+ class Permission extends typeorm_1.BaseEntity {
6
6
  }
7
7
  exports.Permission = Permission;
8
8
  //# sourceMappingURL=Permission.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAG7D,MAAa,UAAW,SAAQ,+BAAc;CAc7C;AAdD,gCAcC"}
1
+ {"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AAAA,qCAA0I;AAG1I,MAAa,UAAW,SAAQ,oBAAU;CAUzC;AAVD,gCAUC"}
@@ -4,6 +4,6 @@ export declare class PermissionGroup extends BondBaseEntity {
4
4
  displayName: string;
5
5
  active: boolean;
6
6
  permissions: Permission[];
7
- parentGroup?: PermissionGroup;
7
+ parentGroups?: PermissionGroup[];
8
8
  childGroups: PermissionGroup[];
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.114",
3
+ "version": "2.2.116",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {