@alfresco/adf-content-services 9.1.0-16718036540 → 9.1.0-16748681787

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.
@@ -15,17 +15,17 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { CommentModel, CommentsService } from '@alfresco/adf-core';
18
- import { CommentsApi } from '@alfresco/js-api';
18
+ import { CommentsApi, PeopleApi } from '@alfresco/js-api';
19
19
  import { Observable } from 'rxjs';
20
- import { ContentService } from '../../common/services/content.service';
21
20
  import { AlfrescoApiService } from '../../services/alfresco-api.service';
22
21
  import * as i0 from "@angular/core";
23
22
  export declare class NodeCommentsService implements CommentsService {
24
- private apiService;
25
- private contentService;
23
+ private readonly apiService;
26
24
  private _commentsApi;
27
25
  get commentsApi(): CommentsApi;
28
- constructor(apiService: AlfrescoApiService, contentService: ContentService);
26
+ private _peopleApi;
27
+ get peopleApi(): PeopleApi;
28
+ constructor(apiService: AlfrescoApiService);
29
29
  /**
30
30
  * Gets all comments that have been added to a task.
31
31
  *
@@ -43,7 +43,13 @@ export declare class NodeCommentsService implements CommentsService {
43
43
  add(id: string, message: string): Observable<CommentModel>;
44
44
  private addToComments;
45
45
  private newCommentModel;
46
- getUserImage(avatarId: string): string;
46
+ /**
47
+ * Gets the avatar image URL for a given user ID.
48
+ *
49
+ * @param userId ID of the user
50
+ * @returns The URL of the user's avatar image
51
+ */
52
+ getUserImage(userId: string): string;
47
53
  static ɵfac: i0.ɵɵFactoryDeclaration<NodeCommentsService, never>;
48
54
  static ɵprov: i0.ɵɵInjectableDeclaration<NodeCommentsService>;
49
55
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alfresco/adf-content-services",
3
3
  "description": "Alfresco ADF content services",
4
- "version": "9.1.0-16718036540",
4
+ "version": "9.1.0-16748681787",
5
5
  "author": "Hyland Software, Inc. and its affiliates",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,9 +21,9 @@
21
21
  "@angular/platform-browser": ">=14.1.3",
22
22
  "@angular/platform-browser-dynamic": ">=14.1.3",
23
23
  "@angular/router": ">=14.1.3",
24
- "@alfresco/js-api": ">=10.1.0-16718036540",
24
+ "@alfresco/js-api": ">=10.1.0-16748681787",
25
25
  "@ngx-translate/core": ">=16.0.0",
26
- "@alfresco/adf-core": ">=9.1.0-16718036540"
26
+ "@alfresco/adf-core": ">=9.1.0-16748681787"
27
27
  },
28
28
  "keywords": [
29
29
  "content-services",