@acorex/connectivity 19.3.0-next.0 → 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.
@@ -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
- widget: any[];
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,2 @@
1
1
  export * from './dashboard.mock.data';
2
- export * from './dashboard.mock.service';
3
2
  export * from './dashboard.seeder';
@@ -1,3 +1,3 @@
1
- import { AXMCreateFormTemplateDto, AXMFormTemplateCategoryEntityModel } from '@acorex/modules/form-template-management';
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,2 @@
1
+ import { AXMLogManagementAxpLogEntityModel } from '@acorex/modules/log-management';
2
+ export declare const projectMock: AXMLogManagementAxpLogEntityModel[];
@@ -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, typeof i5.AXCSecurityManagementMockModule, typeof i6.AXCCommonMockModule], never>;
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,5 @@
1
+ import { AXPDataSeeder } from '@acorex/platform/layout/entity';
2
+ export declare class AXPIssueTypeDataSeeder implements AXPDataSeeder {
3
+ private storageService;
4
+ seed(): Promise<void>;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { AXMPlatformManagementIssueTypeEntityModel } from '@acorex/modules/platform-management';
2
+ export declare const ISSUE_TYPES: AXMPlatformManagementIssueTypeEntityModel[];
@@ -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 AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
3
+ export declare class AXPSecurityManagementDeviceSessionDataSeeder implements AXPDataSeeder {
4
4
  private storageService;
5
- private permissionService;
5
+ private sessionService;
6
6
  seed(): Promise<void>;
7
- private getRandomPermissions;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
7
+ private generateDeviceSessions;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementDeviceSessionDataSeeder, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementDeviceSessionDataSeeder>;
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/connectivity",
3
- "version": "19.3.0-next.0",
3
+ "version": "19.3.0-next.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
@@ -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,4 +0,0 @@
1
- import { AXPWidgetDataSource, AXPWidgetDataSourceProvider } from '@acorex/platform/layout/builder';
2
- export declare class AXPSecurityManagementMockWidgetDataSourceProvider implements AXPWidgetDataSourceProvider {
3
- items(): Promise<AXPWidgetDataSource[]>;
4
- }
@@ -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
- }