itlab-internal-services 2.15.2 → 2.15.4

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.
@@ -10,7 +10,7 @@ declare class EditionModel extends Document {
10
10
  _year: number;
11
11
  _month: number;
12
12
  draft: boolean;
13
- credits: string[];
13
+ techScoutIds: string[];
14
14
  }
15
15
  export declare const TechRadarDB: {
16
16
  name: string;
@@ -68,9 +68,9 @@ __decorate([
68
68
  __decorate([
69
69
  (0, mongoose_1.Prop)(),
70
70
  __metadata("design:type", Array)
71
- ], EditionModel.prototype, "credits", void 0);
71
+ ], EditionModel.prototype, "techScoutIds", void 0);
72
72
  EditionModel = __decorate([
73
- (0, mongoose_1.Schema)({ collection: 'radars', toObject: transformEdition, toJSON: transformEdition })
73
+ (0, mongoose_1.Schema)({ collection: 'editions', toObject: transformEdition, toJSON: transformEdition })
74
74
  ], EditionModel);
75
75
  const EditionSchema = mongoose_1.SchemaFactory.createForClass(EditionModel);
76
76
  // ================================================================================
@@ -5784,7 +5784,7 @@ export declare class ModelService {
5784
5784
  _year: number;
5785
5785
  _month: number;
5786
5786
  draft: boolean;
5787
- credits: string[];
5787
+ techScoutIds: string[];
5788
5788
  _id: unknown;
5789
5789
  $assertPopulated<Paths = {}>(path: string | string[], values?: Partial<Paths>): Omit</*elided*/ any, keyof Paths> & Paths;
5790
5790
  $clearModifiedPaths(): /*elided*/ any;
@@ -5930,7 +5930,7 @@ export declare class ModelService {
5930
5930
  _year: number;
5931
5931
  _month: number;
5932
5932
  draft: boolean;
5933
- credits: string[];
5933
+ techScoutIds: string[];
5934
5934
  _id: unknown;
5935
5935
  $assertPopulated<Paths = {}>(path: string | string[], values?: Partial<Paths>): Omit</*elided*/ any, keyof Paths> & Paths;
5936
5936
  $clearModifiedPaths(): /*elided*/ any;
@@ -6076,7 +6076,7 @@ export declare class ModelService {
6076
6076
  _year: number;
6077
6077
  _month: number;
6078
6078
  draft: boolean;
6079
- credits: string[];
6079
+ techScoutIds: string[];
6080
6080
  _id: unknown;
6081
6081
  $assertPopulated<Paths = {}>(path: string | string[], values?: Partial<Paths>): Omit</*elided*/ any, keyof Paths> & Paths;
6082
6082
  $clearModifiedPaths(): /*elided*/ any;
@@ -89,10 +89,10 @@ export declare class FetchService {
89
89
  /**
90
90
  * Fetches a technology radar edition by ID.
91
91
  *
92
- * @param {string} radarId - The ID of the edition to fetch.
92
+ * @param {string} editionId - The ID of the edition to fetch.
93
93
  * @returns {Promise<LabTechRadarEdition | undefined>} - The fetched edition or undefined if not found.
94
94
  */
95
- fetchTechRadarEdition(radarId: string): Promise<LabTechRadarEdition | undefined>;
95
+ fetchTechRadarEdition(editionId: string): Promise<LabTechRadarEdition | undefined>;
96
96
  /**
97
97
  * Fetches a podcast by ID.
98
98
  *
@@ -50,8 +50,8 @@ const resourceEndpoints = {
50
50
  'tech-radar/internal/blip/%id%',
51
51
  ],
52
52
  [hub_resource_enum_1.FetchableHubResource.TECH_RADAR_EDITION]: [
53
- 'http://organisation-hub-tech-radar-backend.organisation-hub-services.svc.cluster.local:3000/internal/radar/%id%',
54
- 'tech-radar/internal/radar/%id%',
53
+ 'http://organisation-hub-tech-radar-backend.organisation-hub-services.svc.cluster.local:3000/internal/edition/%id%',
54
+ 'tech-radar/internal/edition/%id%',
55
55
  ],
56
56
  [hub_resource_enum_1.FetchableHubResource.PODCASTS_PODCAST]: [
57
57
  'http://organisation-hub-podcasts-backend.organisation-hub-services.svc.cluster.local:3000/internal/podcast/%id%',
@@ -207,12 +207,12 @@ let FetchService = FetchService_1 = class FetchService {
207
207
  /**
208
208
  * Fetches a technology radar edition by ID.
209
209
  *
210
- * @param {string} radarId - The ID of the edition to fetch.
210
+ * @param {string} editionId - The ID of the edition to fetch.
211
211
  * @returns {Promise<LabTechRadarEdition | undefined>} - The fetched edition or undefined if not found.
212
212
  */
213
- fetchTechRadarEdition(radarId) {
213
+ fetchTechRadarEdition(editionId) {
214
214
  return __awaiter(this, void 0, void 0, function* () {
215
- return this.fetch(hub_resource_enum_1.FetchableHubResource.TECH_RADAR_EDITION, radarId);
215
+ return this.fetch(hub_resource_enum_1.FetchableHubResource.TECH_RADAR_EDITION, editionId);
216
216
  });
217
217
  }
218
218
  /**
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.15.2",
8
+ "version": "2.15.4",
9
9
  "type": "commonjs",
10
10
  "files": [
11
11
  "dist"
@@ -29,7 +29,7 @@
29
29
  "@nestjs/jwt": "^11.0.0",
30
30
  "axios": "^1.10.0",
31
31
  "cache-manager": "^7.0.0",
32
- "itlab-functions": "^1.0.0"
32
+ "itlab-functions": "^1.0.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@nestjs/common": "^11.1.3",