@acorex/connectivity 19.4.4 → 19.4.5
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.
- package/fesm2022/acorex-connectivity-mock.mjs +610 -640
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/mock/lib/conversation/index.d.ts +2 -0
- package/mock/lib/conversation/message/index.d.ts +2 -0
- package/mock/lib/conversation/message/message.mock.data.d.ts +12 -0
- package/mock/lib/conversation/message/message.seeder.d.ts +8 -0
- package/mock/lib/conversation/room/index.d.ts +2 -0
- package/mock/lib/conversation/room/room.mock.data.d.ts +3 -0
- package/mock/lib/conversation/room/room.seeder.d.ts +8 -0
- package/mock/lib/document-management/folder/folder.service.d.ts +12 -0
- package/mock/lib/mock.module.d.ts +2 -3
- package/package.json +1 -1
- package/mock/lib/conversation/chat/chat.mock.data.d.ts +0 -4
- package/mock/lib/conversation/chat/chat.mock.service.d.ts +0 -8
- package/mock/lib/conversation/chat/chat.seeder.d.ts +0 -8
- package/mock/lib/conversation/chat/index.d.ts +0 -2
- package/mock/lib/conversation/comments/comment.mock.data.d.ts +0 -9
- package/mock/lib/conversation/comments/comment.mock.service.d.ts +0 -9
- package/mock/lib/conversation/comments/comment.seeder.d.ts +0 -8
- package/mock/lib/conversation/comments/index.d.ts +0 -3
- package/mock/lib/conversation/conversation.module.d.ts +0 -7
@@ -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,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
|
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,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,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,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
|
-
}
|