itlab-internal-services 2.6.1 → 2.6.2

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.
@@ -1,3 +1,4 @@
1
+ export { LabAccount } from './jwt.constants';
1
2
  export * from './jwt.decorators';
2
3
  export * from './jwt.guard';
3
4
  export * from './jwt.strategy';
@@ -14,6 +14,9 @@ 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.LabAccount = void 0;
18
+ var jwt_constants_1 = require("./jwt.constants");
19
+ Object.defineProperty(exports, "LabAccount", { enumerable: true, get: function () { return jwt_constants_1.LabAccount; } });
17
20
  __exportStar(require("./jwt.decorators"), exports);
18
21
  __exportStar(require("./jwt.guard"), exports);
19
22
  __exportStar(require("./jwt.strategy"), exports);
@@ -38,10 +38,4 @@ export declare class PopulateService {
38
38
  * @returns {PopulateOptions} the populate options
39
39
  */
40
40
  commentsAndReplies: () => PopulateOptions;
41
- /**
42
- * Populates the content field of a document
43
- * @param {string} contentAs - the format of the content
44
- * @returns {PopulateOptions} the populate options
45
- */
46
- content: (contentAs?: "json" | "text" | "html") => PopulateOptions;
47
41
  }
@@ -76,17 +76,6 @@ let PopulateService = class PopulateService {
76
76
  ],
77
77
  },
78
78
  });
79
- /**
80
- * Populates the content field of a document
81
- * @param {string} contentAs - the format of the content
82
- * @returns {PopulateOptions} the populate options
83
- */
84
- this.content = (contentAs = 'html') => ({
85
- path: 'content',
86
- justOne: true,
87
- model: this.modelService.contentModel(),
88
- select: contentAs,
89
- });
90
79
  }
91
80
  };
92
81
  exports.PopulateService = PopulateService;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "timo.scheuermann@sv-informatik.de",
6
6
  "url": "https://timos.design"
7
7
  },
8
- "version": "2.6.1",
8
+ "version": "2.6.2",
9
9
  "type": "commonjs",
10
10
  "files": [
11
11
  "dist"