@acorex/connectivity 19.4.4 → 19.4.6

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.
@@ -0,0 +1,2 @@
1
+ export * from './message';
2
+ export * from './room';
@@ -0,0 +1,2 @@
1
+ export * from './message.mock.data';
2
+ export * from './message.seeder';
@@ -0,0 +1,12 @@
1
+ import { AXMConversationMessage } from '@acorex/modules/conversation';
2
+ export interface ChatPreviewMessage {
3
+ id: string;
4
+ fromId?: string;
5
+ sendTime: Date;
6
+ readTime: Date;
7
+ type: 'text' | 'voice' | 'file' | 'image' | 'video' | 'audio';
8
+ content: string;
9
+ name: string;
10
+ replyTo?: ChatPreviewMessage;
11
+ }
12
+ export declare const MESSAGES: AXMConversationMessage[];
@@ -0,0 +1,8 @@
1
+ import { AXPDataSeeder } from '@acorex/platform/layout/entity';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPMessageDataSeeder implements AXPDataSeeder {
4
+ private storageService;
5
+ seed(): Promise<void>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMessageDataSeeder, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMessageDataSeeder>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './room.mock.data';
2
+ export * from './room.seeder';
@@ -0,0 +1,3 @@
1
+ import { AXMConversationRoom } from '@acorex/modules/conversation';
2
+ export declare const ROOMS: AXMConversationRoom[];
3
+ export declare const ROOM_IDS: string[];
@@ -0,0 +1,8 @@
1
+ import { AXPDataSeeder } from '@acorex/platform/layout/entity';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPRoomDataSeeder implements AXPDataSeeder {
4
+ private storageService;
5
+ seed(): Promise<void>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPRoomDataSeeder, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPRoomDataSeeder>;
8
+ }
@@ -6,6 +6,18 @@ export declare class AXMFolderMockService extends AXMFolderServiceImpl {
6
6
  updateOne(id: string, values: Partial<AXMDocumentManagementFolderEntityModel>): Promise<AXMDocumentManagementFolderEntityModel>;
7
7
  deleteOne(id: string): Promise<void>;
8
8
  getPath(folderId: string, stopFolderId?: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
9
+ /**
10
+ * Finds the first non-inheriting folder in the hierarchy
11
+ * @param folderId ID of the starting folder
12
+ * @returns The first folder with inherit='None' or the root folder
13
+ */
14
+ getInheritanceSource(folderId: string): Promise<AXMDocumentManagementFolderEntityModel>;
15
+ /**
16
+ * Gets all properties that should be inherited from parent folders
17
+ * @param folderId ID of the starting folder
18
+ * @returns Object containing inherited properties
19
+ */
20
+ getInheritedProperties(folderId: string): Promise<Partial<AXMDocumentManagementFolderEntityModel>>;
9
21
  getOne(id: string): Promise<AXMDocumentManagementFolderEntityModel>;
10
22
  /**
11
23
  * Search folders with specified name using recursive method
@@ -1,13 +1,12 @@
1
- import { Injector } from '@angular/core';
2
1
  import { AXPAppStartUpService } from '@acorex/platform/core';
2
+ import { Injector } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@acorex/platform/auth";
5
5
  import * as i2 from "./form-template-management/form-template-management-mock.module";
6
6
  import * as i3 from "./organization-management/organization-management-mock.module";
7
- import * as i4 from "./conversation/conversation.module";
8
7
  export declare class AXCMockModule {
9
8
  constructor(appInitService: AXPAppStartUpService, injector: Injector);
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof i1.AXPAuthModule, typeof i2.AXCFormTemplateManagementMockModule, typeof i3.AXCFOrganizationManagementMockModule, typeof i4.AXCConversationMockModule], never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof i1.AXPAuthModule, typeof i2.AXCFormTemplateManagementMockModule, typeof i3.AXCFOrganizationManagementMockModule], never>;
12
11
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
13
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/connectivity",
3
- "version": "19.4.4",
3
+ "version": "19.4.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
@@ -1,4 +0,0 @@
1
- import { AXMChatMessage, AXMChatRoom, AXMChatUserDetails } from '@acorex/modules/conversation';
2
- export declare const generateChatUser: () => AXMChatUserDetails;
3
- export declare const generateChatMessage: () => AXMChatMessage;
4
- export declare const CHAT: AXMChatRoom[];
@@ -1,8 +0,0 @@
1
- import { AXMChatServiceImpl } from '@acorex/modules/conversation';
2
- import * as i0 from "@angular/core";
3
- export declare class AXMChatMockService extends AXMChatServiceImpl {
4
- getTotalUnread(): Promise<number>;
5
- markChatAsRead(roomId: string): Promise<void>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMChatMockService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMChatMockService>;
8
- }
@@ -1,8 +0,0 @@
1
- import { AXPDataSeeder } from '@acorex/platform/layout/entity';
2
- import * as i0 from "@angular/core";
3
- export declare class AXPChatDataSeeder implements AXPDataSeeder {
4
- private storageService;
5
- seed(): Promise<void>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPChatDataSeeder, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPChatDataSeeder>;
8
- }
@@ -1,2 +0,0 @@
1
- export * from './chat.mock.data';
2
- export * from './chat.seeder';
@@ -1,9 +0,0 @@
1
- import { AXMComment } from '@acorex/modules/conversation';
2
- export declare const generateUser: () => {
3
- userName: string;
4
- firstName: string;
5
- lastName: string;
6
- picture: null;
7
- id: string;
8
- };
9
- export declare const COMMENTS: AXMComment[];
@@ -1,9 +0,0 @@
1
- import { AXMCreateCommentDto, AXMCommentServiceImpl, AXMMessageReactionEntityModel } from '@acorex/modules/conversation';
2
- import * as i0 from "@angular/core";
3
- export declare class AXMCommentMockService extends AXMCommentServiceImpl {
4
- private sessionService;
5
- insertOne(request: AXMCreateCommentDto): Promise<string>;
6
- like(payload: AXMMessageReactionEntityModel): Promise<string>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMCommentMockService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMCommentMockService>;
9
- }
@@ -1,8 +0,0 @@
1
- import { AXPDataSeeder } from '@acorex/platform/layout/entity';
2
- import * as i0 from "@angular/core";
3
- export declare class AXPCommentDataSeeder implements AXPDataSeeder {
4
- private storageService;
5
- seed(): Promise<void>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommentDataSeeder, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPCommentDataSeeder>;
8
- }
@@ -1,3 +0,0 @@
1
- export * from './comment.mock.data';
2
- export * from './comment.seeder';
3
- export * from './comment.mock.service';
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@acorex/modules/conversation";
3
- export declare class AXCConversationMockModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCConversationMockModule, never, [typeof i1.AXMChatModule], never>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCConversationMockModule>;
7
- }