@bondsports/types 2.2.96 → 2.2.98

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,3 +4,4 @@ export declare const resourceTypeMapper: {
4
4
  instructor: ResourceNameTypeEnum;
5
5
  space: ResourceNameTypeEnum;
6
6
  };
7
+ export declare const DEFAULT_FACILITY_ID = 0;
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resourceTypeMapper = exports.RESOURCE_TYPES_ARRAY = void 0;
3
+ exports.DEFAULT_FACILITY_ID = exports.resourceTypeMapper = exports.RESOURCE_TYPES_ARRAY = void 0;
4
4
  const enums_service_1 = require("../../../services/enums.service");
5
5
  exports.RESOURCE_TYPES_ARRAY = [enums_service_1.ResourceTypeEnum.INSTRUCTOR, enums_service_1.ResourceTypeEnum.SPACE];
6
6
  exports.resourceTypeMapper = {
7
7
  [enums_service_1.ResourceTypeEnum.INSTRUCTOR]: enums_service_1.ResourceNameTypeEnum.INSTRUCTOR,
8
8
  [enums_service_1.ResourceTypeEnum.SPACE]: enums_service_1.ResourceNameTypeEnum.SPACE,
9
9
  };
10
+ exports.DEFAULT_FACILITY_ID = 0;
10
11
  //# sourceMappingURL=resource.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource.consts.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/consts/resource.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAyF;AAE5E,QAAA,oBAAoB,GAAuB,CAAC,gCAAgB,CAAC,UAAU,EAAE,gCAAgB,CAAC,KAAK,CAAC,CAAC;AAEjG,QAAA,kBAAkB,GAAG;IACjC,CAAC,gCAAgB,CAAC,UAAU,CAAC,EAAE,oCAAoB,CAAC,UAAU;IAC9D,CAAC,gCAAgB,CAAC,KAAK,CAAC,EAAE,oCAAoB,CAAC,KAAK;CACpD,CAAC"}
1
+ {"version":3,"file":"resource.consts.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/consts/resource.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAyF;AAE5E,QAAA,oBAAoB,GAAuB,CAAC,gCAAgB,CAAC,UAAU,EAAE,gCAAgB,CAAC,KAAK,CAAC,CAAC;AAEjG,QAAA,kBAAkB,GAAG;IACjC,CAAC,gCAAgB,CAAC,UAAU,CAAC,EAAE,oCAAoB,CAAC,UAAU;IAC9D,CAAC,gCAAgB,CAAC,KAAK,CAAC,EAAE,oCAAoB,CAAC,KAAK;CACpD,CAAC;AAEW,QAAA,mBAAmB,GAAG,CAAC,CAAC"}
@@ -8,5 +8,6 @@ export declare enum AuthRoleEnum {
8
8
  export declare enum RoleTypesEnum {
9
9
  Admin = "admin",
10
10
  Backoffice = "backoffice",
11
- Instructor = "instructor"
11
+ Instructor = "instructor",
12
+ BackwardCompatibility = "backward-compatibility"
12
13
  }
@@ -18,6 +18,7 @@ var RoleTypesEnum;
18
18
  //endregion
19
19
  //region RoleTypes
20
20
  RoleTypesEnum["Instructor"] = "instructor";
21
+ RoleTypesEnum["BackwardCompatibility"] = "backward-compatibility";
21
22
  //endregion
22
23
  })(RoleTypesEnum = exports.RoleTypesEnum || (exports.RoleTypesEnum = {}));
23
24
  //# sourceMappingURL=role.enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"role.enums.js","sourceRoot":"","sources":["../../../../src/types/roles/types/role.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAEX;AAFD,WAAY,YAAY;IACvB,yCAAyB,CAAA;AAC1B,CAAC,EAFW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAEvB;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,yCAAyB,CAAA;IACzB,+BAAe,CAAA;AAChB,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAED,IAAY,aASX;AATD,WAAY,aAAa;IACxB,kBAAkB;IAClB,gCAAe,CAAA;IACf,0CAAyB,CAAA;IACzB,WAAW;IAEX,kBAAkB;IAClB,0CAAyB,CAAA;IACzB,WAAW;AACZ,CAAC,EATW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QASxB"}
1
+ {"version":3,"file":"role.enums.js","sourceRoot":"","sources":["../../../../src/types/roles/types/role.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAEX;AAFD,WAAY,YAAY;IACvB,yCAAyB,CAAA;AAC1B,CAAC,EAFW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAEvB;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,yCAAyB,CAAA;IACzB,+BAAe,CAAA;AAChB,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAED,IAAY,aAUX;AAVD,WAAY,aAAa;IACxB,kBAAkB;IAClB,gCAAe,CAAA;IACf,0CAAyB,CAAA;IACzB,WAAW;IAEX,kBAAkB;IAClB,0CAAyB,CAAA;IACzB,iEAAgD,CAAA;IAChD,WAAW;AACZ,CAAC,EAVW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAUxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.96",
3
+ "version": "2.2.98",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {