@acorex/connectivity 19.3.0-next.1 → 19.3.0-next.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.
- package/fesm2022/acorex-connectivity-mock.mjs +686 -463
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/mock/lib/common/dashboard/dashboard.mock.data.d.ts +2 -3
- package/mock/lib/common/dashboard/index.d.ts +0 -1
- package/mock/lib/form-template-management/mock.data.d.ts +1 -1
- package/mock/lib/log-management/log/log.mock.d.ts +2 -0
- package/mock/lib/log-management/log/log.seeder.d.ts +8 -0
- package/mock/lib/mock.module.d.ts +1 -3
- package/mock/lib/platform-management/issue-type/data.seeder.d.ts +5 -0
- package/mock/lib/platform-management/issue-type/mock.data.d.ts +2 -0
- package/mock/lib/security-management/device-session.service.d.ts +6 -0
- package/mock/lib/security-management/{role.seeder.d.ts → device-sessions.seeder.d.ts} +5 -5
- package/package.json +1 -1
- package/mock/lib/common/common.module.d.ts +0 -6
- package/mock/lib/common/dashboard/dashboard.mock.service.d.ts +0 -50
- package/mock/lib/common/index.d.ts +0 -1
- package/mock/lib/security-management/datasource-provider.mock.service.d.ts +0 -4
- package/mock/lib/security-management/security-management-mock.module.d.ts +0 -6
- package/mock/lib/security-management/user.seeder.d.ts +0 -9
@@ -1,13 +1,12 @@
|
|
1
|
-
type AXMCommonDashboardEntityModel = {
|
1
|
+
export type AXMCommonDashboardEntityModel = {
|
2
2
|
id: string;
|
3
3
|
name: string;
|
4
4
|
title: string;
|
5
5
|
description: string;
|
6
|
-
|
6
|
+
widgets: any[];
|
7
7
|
createdAt?: Date;
|
8
8
|
createdBy?: string;
|
9
9
|
};
|
10
10
|
export declare function generateRandomDashboard(): AXMCommonDashboardEntityModel;
|
11
11
|
export declare function generateExtraRandomDashboards(count: number): AXMCommonDashboardEntityModel[];
|
12
12
|
export declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
|
13
|
-
export {};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import {
|
1
|
+
import { AXMFormTemplateCategoryEntityModel, AXMCreateFormTemplateDto } from "@acorex/modules/form-template-management";
|
2
2
|
export declare const TEMPLATE_CATEGORIES: AXMFormTemplateCategoryEntityModel[];
|
3
3
|
export declare const TEMPLATE_FORM_TEMPLATES: AXMCreateFormTemplateDto[];
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { AXPDataSeeder } from '@acorex/platform/layout/entity';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXMLogDataSeeder implements AXPDataSeeder {
|
4
|
+
private storageService;
|
5
|
+
seed(): Promise<void>;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMLogDataSeeder, never>;
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMLogDataSeeder>;
|
8
|
+
}
|
@@ -3,10 +3,8 @@ import * as i1 from "@acorex/platform/auth";
|
|
3
3
|
import * as i2 from "./form-template-management/form-template-management-mock.module";
|
4
4
|
import * as i3 from "./organization-management/organization-management-mock.module";
|
5
5
|
import * as i4 from "./conversation/conversation.module";
|
6
|
-
import * as i5 from "./security-management/security-management-mock.module";
|
7
|
-
import * as i6 from "./common/common.module";
|
8
6
|
export declare class AXCMockModule {
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof i1.AXPAuthModule, typeof i2.AXCFormTemplateManagementMockModule, typeof i3.AXCFOrganizationManagementMockModule, typeof i4.AXCConversationMockModule
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof i1.AXPAuthModule, typeof i2.AXCFormTemplateManagementMockModule, typeof i3.AXCFOrganizationManagementMockModule, typeof i4.AXCConversationMockModule], never>;
|
11
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
|
12
10
|
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { AXMDeviceSessionsServiceImpl, AXMSecurityManagementDeviceSessionsEntityModel } from '@acorex/modules/security-management';
|
2
|
+
import { AXPPagedListResult, AXPQueryRequest } from '@acorex/platform/core';
|
3
|
+
export declare class AXCDeviceSessionService extends AXMDeviceSessionsServiceImpl {
|
4
|
+
terminate(id: string): Promise<boolean>;
|
5
|
+
query(request?: AXPQueryRequest): Promise<AXPPagedListResult<AXMSecurityManagementDeviceSessionsEntityModel>>;
|
6
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { AXPDataSeeder } from '@acorex/platform/layout/entity';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class
|
3
|
+
export declare class AXPSecurityManagementDeviceSessionDataSeeder implements AXPDataSeeder {
|
4
4
|
private storageService;
|
5
|
-
private
|
5
|
+
private sessionService;
|
6
6
|
seed(): Promise<void>;
|
7
|
-
private
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
7
|
+
private generateDeviceSessions;
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementDeviceSessionDataSeeder, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementDeviceSessionDataSeeder>;
|
10
10
|
}
|
package/package.json
CHANGED
@@ -1,6 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class AXCCommonMockModule {
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommonMockModule, never>;
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCommonMockModule, never, never, never>;
|
5
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCCommonMockModule>;
|
6
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { AXMCommonDashboardEntityModel, AXMDashboardServiceImpl } from '@acorex/modules/common';
|
2
|
-
import { AXPEntityStorageService } from '@acorex/platform/layout/entity';
|
3
|
-
import { Observable } from 'rxjs';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
interface AXPPagedListResult<T> {
|
6
|
-
items: T[];
|
7
|
-
total: number;
|
8
|
-
}
|
9
|
-
interface AXPQueryRequest {
|
10
|
-
skip?: number;
|
11
|
-
take?: number;
|
12
|
-
filter?: any;
|
13
|
-
}
|
14
|
-
export declare class AXMDashboardMockService extends AXMDashboardServiceImpl {
|
15
|
-
private readonly dashboardCollection;
|
16
|
-
protected readonly mockStorage: AXPEntityStorageService<any, any, any, any, any>;
|
17
|
-
constructor();
|
18
|
-
get storageService(): any;
|
19
|
-
insertOne(request: Omit<AXMCommonDashboardEntityModel, 'id'>): Promise<string>;
|
20
|
-
getOne(id: string): Promise<AXMCommonDashboardEntityModel>;
|
21
|
-
deleteOne(id: string): Promise<void>;
|
22
|
-
updateOne(id: string, values: {
|
23
|
-
[key: string]: any;
|
24
|
-
}): Promise<AXMCommonDashboardEntityModel>;
|
25
|
-
query(request?: AXPQueryRequest): Promise<AXPPagedListResult<AXMCommonDashboardEntityModel>>;
|
26
|
-
getAll(): Promise<AXMCommonDashboardEntityModel[]>;
|
27
|
-
/**
|
28
|
-
* Generate a random dashboard and add it to the store
|
29
|
-
*/
|
30
|
-
createRandomDashboard(): Promise<string>;
|
31
|
-
/**
|
32
|
-
* Update widget configuration within a dashboard
|
33
|
-
*/
|
34
|
-
updateWidgetConfig(dashboardId: string, widgetId: string, config: any): Promise<void>;
|
35
|
-
/**
|
36
|
-
* Update widget node within a dashboard
|
37
|
-
*/
|
38
|
-
updateWidgetNode(dashboardId: string, widgetId: string, node: any): Promise<void>;
|
39
|
-
/**
|
40
|
-
* Get dashboards as Observable for the store
|
41
|
-
*/
|
42
|
-
getDashboards(): Observable<AXMCommonDashboardEntityModel[]>;
|
43
|
-
/**
|
44
|
-
* Save a dashboard (create or update)
|
45
|
-
*/
|
46
|
-
saveDashboard(dashboard: AXMCommonDashboardEntityModel): Promise<string>;
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardMockService, never>;
|
48
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXMDashboardMockService>;
|
49
|
-
}
|
50
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './common.module';
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class AXCSecurityManagementMockModule {
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCSecurityManagementMockModule, never>;
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSecurityManagementMockModule, never, never, never>;
|
5
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AXCSecurityManagementMockModule>;
|
6
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { AXPDataSeeder } from '@acorex/platform/layout/entity';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
|
4
|
-
private storageService;
|
5
|
-
seed(): Promise<void>;
|
6
|
-
private generateUsers;
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
|
9
|
-
}
|