@acorex/connectivity 20.2.4-next.0 → 20.2.4-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-api.mjs +8 -0
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-BNWqkuZp.mjs +87 -0
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-BNWqkuZp.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock.mjs +4040 -958
- package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
- package/mock/index.d.ts +301 -46
- package/package.json +5 -5
package/mock/index.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { AXPDataSeeder, AXPEntityStorageService } from '@acorex/platform/layout/entity';
|
|
1
|
+
import { AXPDataSeeder, AXPEntityStorageService, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { Injector } from '@angular/core';
|
|
4
|
-
import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest } from '@acorex/platform/common';
|
|
4
|
+
import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo } from '@acorex/platform/common';
|
|
5
5
|
import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
|
|
6
|
-
import { AXMMetaDataDefinitionCategoryServiceImpl, AXMMetaDataDefinitionService, AXMMetaDataDefinitionCategoryWithItemsEntityModel, AXMMetaDataDefinitionCategoryEntityModel } from '@acorex/modules/data-management';
|
|
7
6
|
import Dexie, { Table } from 'dexie';
|
|
8
|
-
import { AXPQueryRequest, AXPPagedListResult, AXPAppStartUpService } from '@acorex/platform/core';
|
|
7
|
+
import { AXPQueryRequest, AXPPagedListResult, AXPAppStartUpService, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
|
|
9
8
|
import * as _acorex_platform_auth from '@acorex/platform/auth';
|
|
10
9
|
import { AXPAuthStrategy, AXPBaseCredentials, AXPSessionContext, AXPSignInResult, AXPTenant, AXPApplication } from '@acorex/platform/auth';
|
|
11
10
|
import { AXMAuthConfigs } from '@acorex/modules/auth';
|
|
12
11
|
import { Router } from '@angular/router';
|
|
13
12
|
import * as i1 from '@acorex/platform/runtime';
|
|
14
13
|
import * as _acorex_modules_organization_management from '@acorex/modules/organization-management';
|
|
15
|
-
import {
|
|
14
|
+
import { AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
|
|
16
15
|
import { AXMTextTemplateManagementTemplateEntityModel } from '@acorex/modules/text-template-management';
|
|
17
16
|
import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
|
|
18
17
|
|
|
@@ -159,6 +158,7 @@ declare class AXCFileStorageService implements AXPFileStorageService {
|
|
|
159
158
|
private cleanupTemporaryFiles;
|
|
160
159
|
private cleanupMarkedFiles;
|
|
161
160
|
constructor();
|
|
161
|
+
findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
|
|
162
162
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
|
|
163
163
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
|
|
164
164
|
}
|
|
@@ -237,13 +237,6 @@ declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
|
|
|
237
237
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
declare class AXCMetaDataDefinitionCategoryMockService extends AXMMetaDataDefinitionCategoryServiceImpl {
|
|
241
|
-
protected metaDataService: AXMMetaDataDefinitionService<any>;
|
|
242
|
-
getAllWithItems(): Promise<AXMMetaDataDefinitionCategoryWithItemsEntityModel<string>[]>;
|
|
243
|
-
private buildCategoryTree;
|
|
244
|
-
insertOne(request: Omit<AXMMetaDataDefinitionCategoryEntityModel<string>, 'id'>): Promise<string>;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
240
|
declare class AXPDexieEntityStorageService extends Dexie implements AXPEntityStorageService<string, any> {
|
|
248
241
|
private sessionService;
|
|
249
242
|
constructor();
|
|
@@ -447,8 +440,13 @@ declare class MOCKStrategy extends AXPAuthStrategy {
|
|
|
447
440
|
router: Router;
|
|
448
441
|
constructor();
|
|
449
442
|
private entityRegistery;
|
|
443
|
+
private deviceSessionsService;
|
|
450
444
|
get name(): string;
|
|
451
445
|
signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
|
|
446
|
+
private createDeviceSession;
|
|
447
|
+
private getDeviceName;
|
|
448
|
+
private getOperatingSystem;
|
|
449
|
+
private getBrowser;
|
|
452
450
|
signout(): Promise<void>;
|
|
453
451
|
refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
|
|
454
452
|
updateToken(params: {
|
|
@@ -458,14 +456,90 @@ declare class MOCKStrategy extends AXPAuthStrategy {
|
|
|
458
456
|
static ɵprov: i0.ɵɵInjectableDeclaration<MOCKStrategy>;
|
|
459
457
|
}
|
|
460
458
|
|
|
459
|
+
interface ResponsibilityMock {
|
|
460
|
+
id: string;
|
|
461
|
+
title: string;
|
|
462
|
+
description: string;
|
|
463
|
+
categoryIds: string[];
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
interface SkillMock {
|
|
467
|
+
id: string;
|
|
468
|
+
title: string;
|
|
469
|
+
description: string;
|
|
470
|
+
categoryIds: string[];
|
|
471
|
+
categories: {
|
|
472
|
+
id: string;
|
|
473
|
+
title: string;
|
|
474
|
+
}[];
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
interface PositionMock {
|
|
478
|
+
id: string;
|
|
479
|
+
title: string;
|
|
480
|
+
description: string;
|
|
481
|
+
categoryIds: string[];
|
|
482
|
+
skillsId: string[];
|
|
483
|
+
skills: SkillMock[];
|
|
484
|
+
responsibilitiesId: string[];
|
|
485
|
+
responsibilities: ResponsibilityMock[];
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
interface RoleMock {
|
|
489
|
+
id: string;
|
|
490
|
+
title: string;
|
|
491
|
+
description: string;
|
|
492
|
+
categoryIds: string[];
|
|
493
|
+
skillsId: string[];
|
|
494
|
+
}
|
|
495
|
+
|
|
461
496
|
declare const BRANCHES_MOCK: {
|
|
462
497
|
id: string;
|
|
463
498
|
title: string;
|
|
464
499
|
code: string;
|
|
500
|
+
managerId: string;
|
|
465
501
|
manager: {
|
|
466
502
|
id: string;
|
|
467
|
-
|
|
503
|
+
contactId: string;
|
|
504
|
+
contact: {
|
|
505
|
+
id: string;
|
|
506
|
+
firstName: string | undefined;
|
|
507
|
+
lastName: string | undefined;
|
|
508
|
+
email: string | undefined;
|
|
509
|
+
mobile: string | undefined;
|
|
510
|
+
} | null;
|
|
511
|
+
birthDate: Date;
|
|
512
|
+
employeeCode: string;
|
|
513
|
+
rolesId: string[];
|
|
514
|
+
roles: RoleMock[];
|
|
515
|
+
positionsId: string[];
|
|
516
|
+
positions: PositionMock[];
|
|
517
|
+
employmentTypesId: string[];
|
|
518
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
519
|
+
hireDate: Date;
|
|
520
|
+
managerId: null;
|
|
521
|
+
manager: null;
|
|
522
|
+
} | {
|
|
523
|
+
id: string;
|
|
524
|
+
contactId: string;
|
|
525
|
+
contact: {
|
|
526
|
+
id: string;
|
|
527
|
+
firstName: string | undefined;
|
|
528
|
+
lastName: string | undefined;
|
|
529
|
+
email: string | undefined;
|
|
530
|
+
mobile: string | undefined;
|
|
531
|
+
} | null;
|
|
532
|
+
birthDate: Date;
|
|
468
533
|
employeeCode: string;
|
|
534
|
+
rolesId: string[];
|
|
535
|
+
roles: RoleMock[];
|
|
536
|
+
positionsId: string[];
|
|
537
|
+
positions: PositionMock[];
|
|
538
|
+
employmentTypesId: string[];
|
|
539
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
540
|
+
hireDate: Date;
|
|
541
|
+
managerId: string;
|
|
542
|
+
manager: null;
|
|
469
543
|
};
|
|
470
544
|
country: string;
|
|
471
545
|
province: string;
|
|
@@ -484,10 +558,49 @@ declare const DIVISIONS_MOCK: {
|
|
|
484
558
|
id: string;
|
|
485
559
|
title: string;
|
|
486
560
|
description: string;
|
|
561
|
+
managerId: string;
|
|
487
562
|
manager: {
|
|
488
563
|
id: string;
|
|
489
|
-
|
|
564
|
+
contactId: string;
|
|
565
|
+
contact: {
|
|
566
|
+
id: string;
|
|
567
|
+
firstName: string | undefined;
|
|
568
|
+
lastName: string | undefined;
|
|
569
|
+
email: string | undefined;
|
|
570
|
+
mobile: string | undefined;
|
|
571
|
+
} | null;
|
|
572
|
+
birthDate: Date;
|
|
573
|
+
employeeCode: string;
|
|
574
|
+
rolesId: string[];
|
|
575
|
+
roles: RoleMock[];
|
|
576
|
+
positionsId: string[];
|
|
577
|
+
positions: PositionMock[];
|
|
578
|
+
employmentTypesId: string[];
|
|
579
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
580
|
+
hireDate: Date;
|
|
581
|
+
managerId: null;
|
|
582
|
+
manager: null;
|
|
583
|
+
} | {
|
|
584
|
+
id: string;
|
|
585
|
+
contactId: string;
|
|
586
|
+
contact: {
|
|
587
|
+
id: string;
|
|
588
|
+
firstName: string | undefined;
|
|
589
|
+
lastName: string | undefined;
|
|
590
|
+
email: string | undefined;
|
|
591
|
+
mobile: string | undefined;
|
|
592
|
+
} | null;
|
|
593
|
+
birthDate: Date;
|
|
490
594
|
employeeCode: string;
|
|
595
|
+
rolesId: string[];
|
|
596
|
+
roles: RoleMock[];
|
|
597
|
+
positionsId: string[];
|
|
598
|
+
positions: PositionMock[];
|
|
599
|
+
employmentTypesId: string[];
|
|
600
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
601
|
+
hireDate: Date;
|
|
602
|
+
managerId: string;
|
|
603
|
+
manager: null;
|
|
491
604
|
};
|
|
492
605
|
country: string;
|
|
493
606
|
province: string;
|
|
@@ -505,10 +618,49 @@ declare const DEPARTMENTS_MOCK: {
|
|
|
505
618
|
id: string;
|
|
506
619
|
title: string;
|
|
507
620
|
description: string;
|
|
621
|
+
managerId: string;
|
|
508
622
|
manager: {
|
|
509
623
|
id: string;
|
|
510
|
-
|
|
624
|
+
contactId: string;
|
|
625
|
+
contact: {
|
|
626
|
+
id: string;
|
|
627
|
+
firstName: string | undefined;
|
|
628
|
+
lastName: string | undefined;
|
|
629
|
+
email: string | undefined;
|
|
630
|
+
mobile: string | undefined;
|
|
631
|
+
} | null;
|
|
632
|
+
birthDate: Date;
|
|
511
633
|
employeeCode: string;
|
|
634
|
+
rolesId: string[];
|
|
635
|
+
roles: RoleMock[];
|
|
636
|
+
positionsId: string[];
|
|
637
|
+
positions: PositionMock[];
|
|
638
|
+
employmentTypesId: string[];
|
|
639
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
640
|
+
hireDate: Date;
|
|
641
|
+
managerId: null;
|
|
642
|
+
manager: null;
|
|
643
|
+
} | {
|
|
644
|
+
id: string;
|
|
645
|
+
contactId: string;
|
|
646
|
+
contact: {
|
|
647
|
+
id: string;
|
|
648
|
+
firstName: string | undefined;
|
|
649
|
+
lastName: string | undefined;
|
|
650
|
+
email: string | undefined;
|
|
651
|
+
mobile: string | undefined;
|
|
652
|
+
} | null;
|
|
653
|
+
birthDate: Date;
|
|
654
|
+
employeeCode: string;
|
|
655
|
+
rolesId: string[];
|
|
656
|
+
roles: RoleMock[];
|
|
657
|
+
positionsId: string[];
|
|
658
|
+
positions: PositionMock[];
|
|
659
|
+
employmentTypesId: string[];
|
|
660
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
661
|
+
hireDate: Date;
|
|
662
|
+
managerId: string;
|
|
663
|
+
manager: null;
|
|
512
664
|
};
|
|
513
665
|
country: string;
|
|
514
666
|
province: string;
|
|
@@ -525,16 +677,93 @@ declare class AXMDepartmentDataSeeder implements AXPDataSeeder {
|
|
|
525
677
|
declare const TEAMS_MOCK: {
|
|
526
678
|
id: string;
|
|
527
679
|
title: string;
|
|
680
|
+
leaderId: string;
|
|
528
681
|
leader: {
|
|
529
682
|
id: string;
|
|
530
|
-
|
|
683
|
+
contactId: string;
|
|
684
|
+
contact: {
|
|
685
|
+
id: string;
|
|
686
|
+
firstName: string | undefined;
|
|
687
|
+
lastName: string | undefined;
|
|
688
|
+
email: string | undefined;
|
|
689
|
+
mobile: string | undefined;
|
|
690
|
+
} | null;
|
|
691
|
+
birthDate: Date;
|
|
692
|
+
employeeCode: string;
|
|
693
|
+
rolesId: string[];
|
|
694
|
+
roles: RoleMock[];
|
|
695
|
+
positionsId: string[];
|
|
696
|
+
positions: PositionMock[];
|
|
697
|
+
employmentTypesId: string[];
|
|
698
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
699
|
+
hireDate: Date;
|
|
700
|
+
managerId: null;
|
|
701
|
+
manager: null;
|
|
702
|
+
} | {
|
|
703
|
+
id: string;
|
|
704
|
+
contactId: string;
|
|
705
|
+
contact: {
|
|
706
|
+
id: string;
|
|
707
|
+
firstName: string | undefined;
|
|
708
|
+
lastName: string | undefined;
|
|
709
|
+
email: string | undefined;
|
|
710
|
+
mobile: string | undefined;
|
|
711
|
+
} | null;
|
|
712
|
+
birthDate: Date;
|
|
531
713
|
employeeCode: string;
|
|
714
|
+
rolesId: string[];
|
|
715
|
+
roles: RoleMock[];
|
|
716
|
+
positionsId: string[];
|
|
717
|
+
positions: PositionMock[];
|
|
718
|
+
employmentTypesId: string[];
|
|
719
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
720
|
+
hireDate: Date;
|
|
721
|
+
managerId: string;
|
|
722
|
+
manager: null;
|
|
532
723
|
};
|
|
533
|
-
member: {
|
|
724
|
+
member: ({
|
|
534
725
|
id: string;
|
|
535
|
-
|
|
726
|
+
contactId: string;
|
|
727
|
+
contact: {
|
|
728
|
+
id: string;
|
|
729
|
+
firstName: string | undefined;
|
|
730
|
+
lastName: string | undefined;
|
|
731
|
+
email: string | undefined;
|
|
732
|
+
mobile: string | undefined;
|
|
733
|
+
} | null;
|
|
734
|
+
birthDate: Date;
|
|
536
735
|
employeeCode: string;
|
|
537
|
-
|
|
736
|
+
rolesId: string[];
|
|
737
|
+
roles: RoleMock[];
|
|
738
|
+
positionsId: string[];
|
|
739
|
+
positions: PositionMock[];
|
|
740
|
+
employmentTypesId: string[];
|
|
741
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
742
|
+
hireDate: Date;
|
|
743
|
+
managerId: null;
|
|
744
|
+
manager: null;
|
|
745
|
+
} | {
|
|
746
|
+
id: string;
|
|
747
|
+
contactId: string;
|
|
748
|
+
contact: {
|
|
749
|
+
id: string;
|
|
750
|
+
firstName: string | undefined;
|
|
751
|
+
lastName: string | undefined;
|
|
752
|
+
email: string | undefined;
|
|
753
|
+
mobile: string | undefined;
|
|
754
|
+
} | null;
|
|
755
|
+
birthDate: Date;
|
|
756
|
+
employeeCode: string;
|
|
757
|
+
rolesId: string[];
|
|
758
|
+
roles: RoleMock[];
|
|
759
|
+
positionsId: string[];
|
|
760
|
+
positions: PositionMock[];
|
|
761
|
+
employmentTypesId: string[];
|
|
762
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
763
|
+
hireDate: Date;
|
|
764
|
+
managerId: string;
|
|
765
|
+
manager: null;
|
|
766
|
+
})[];
|
|
538
767
|
description: string;
|
|
539
768
|
}[];
|
|
540
769
|
|
|
@@ -545,27 +774,32 @@ declare class AXMTeamDataSeeder implements AXPDataSeeder {
|
|
|
545
774
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamDataSeeder>;
|
|
546
775
|
}
|
|
547
776
|
|
|
548
|
-
|
|
777
|
+
declare const EMPLOYEES_MOCK: ({
|
|
549
778
|
id: string;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
779
|
+
contactId: string;
|
|
780
|
+
contact: {
|
|
781
|
+
id: string;
|
|
782
|
+
firstName: string | undefined;
|
|
783
|
+
lastName: string | undefined;
|
|
784
|
+
email: string | undefined;
|
|
785
|
+
mobile: string | undefined;
|
|
786
|
+
} | null;
|
|
787
|
+
birthDate: Date;
|
|
788
|
+
employeeCode: string;
|
|
789
|
+
rolesId: string[];
|
|
790
|
+
roles: RoleMock[];
|
|
791
|
+
positionsId: string[];
|
|
792
|
+
positions: PositionMock[];
|
|
793
|
+
employmentTypesId: string[];
|
|
794
|
+
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
795
|
+
hireDate: Date;
|
|
796
|
+
managerId: null;
|
|
797
|
+
manager: null;
|
|
798
|
+
} | {
|
|
566
799
|
id: string;
|
|
567
800
|
contactId: string;
|
|
568
801
|
contact: {
|
|
802
|
+
id: string;
|
|
569
803
|
firstName: string | undefined;
|
|
570
804
|
lastName: string | undefined;
|
|
571
805
|
email: string | undefined;
|
|
@@ -580,7 +814,9 @@ declare const EMPLOYEES_MOCK: {
|
|
|
580
814
|
employmentTypesId: string[];
|
|
581
815
|
employmentTypes: _acorex_modules_organization_management.AXMOrganizationManagementEmploymentTypeEntityModel[];
|
|
582
816
|
hireDate: Date;
|
|
583
|
-
|
|
817
|
+
managerId: string;
|
|
818
|
+
manager: null;
|
|
819
|
+
})[];
|
|
584
820
|
|
|
585
821
|
declare class AXMEmployeeDataSeeder implements AXPDataSeeder {
|
|
586
822
|
private storageService;
|
|
@@ -612,8 +848,6 @@ declare const GLOBAL_VARIABLES: {
|
|
|
612
848
|
value: string;
|
|
613
849
|
}[];
|
|
614
850
|
|
|
615
|
-
declare const REPORT_CATEGORIES: AXPReportCategory[];
|
|
616
|
-
|
|
617
851
|
declare class AXMReportCategoryDataSeeder implements AXPDataSeeder {
|
|
618
852
|
private storageService;
|
|
619
853
|
seed(): Promise<void>;
|
|
@@ -621,8 +855,6 @@ declare class AXMReportCategoryDataSeeder implements AXPDataSeeder {
|
|
|
621
855
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportCategoryDataSeeder>;
|
|
622
856
|
}
|
|
623
857
|
|
|
624
|
-
declare const REPORT_DEFINITIONS: AXPReportDefinition[];
|
|
625
|
-
|
|
626
858
|
declare class AXMReportDefinitionDataSeeder implements AXPDataSeeder {
|
|
627
859
|
private storageService;
|
|
628
860
|
seed(): Promise<void>;
|
|
@@ -699,10 +931,7 @@ declare const mockRoleDefinitions: {
|
|
|
699
931
|
interface MockUser {
|
|
700
932
|
id: string;
|
|
701
933
|
username: string;
|
|
702
|
-
|
|
703
|
-
lastName: string;
|
|
704
|
-
nationalCode: string;
|
|
705
|
-
mobile: string;
|
|
934
|
+
displayName: string;
|
|
706
935
|
roleIds: {
|
|
707
936
|
id: string;
|
|
708
937
|
title: string;
|
|
@@ -882,5 +1111,31 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
|
|
|
882
1111
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
|
|
883
1112
|
}
|
|
884
1113
|
|
|
885
|
-
|
|
1114
|
+
declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
|
|
1115
|
+
|
|
1116
|
+
declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* File Cast Middleware - Handles file operations in entity storage
|
|
1120
|
+
*
|
|
1121
|
+
* This middleware processes files during entity operations:
|
|
1122
|
+
*
|
|
1123
|
+
* CREATE/UPDATE Operations:
|
|
1124
|
+
* - New files: Uploads to file storage and replaces with file IDs
|
|
1125
|
+
* - Existing files: Keeps existing file IDs
|
|
1126
|
+
* - Deleted files: Removes from file storage and excludes from entity data
|
|
1127
|
+
*
|
|
1128
|
+
* QUERY/GET_ONE Operations:
|
|
1129
|
+
* - Converts file IDs back to AXPFileListItem objects for UI display
|
|
1130
|
+
*
|
|
1131
|
+
* File Status Handling:
|
|
1132
|
+
* - 'uploaded'/'remote': Keep existing file ID
|
|
1133
|
+
* - 'deleted': Remove from storage, exclude from entity
|
|
1134
|
+
* - 'attached'/'uploading': Upload new file
|
|
1135
|
+
*/
|
|
1136
|
+
declare const createFileCastMiddleware: AXPEntityStorageMiddleware;
|
|
1137
|
+
|
|
1138
|
+
declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
|
|
1139
|
+
|
|
1140
|
+
export { APPLICATIONS, APPLICATIONS_MODULES, AXCAppVersionDataSeeder, AXCApplicationManagementMockModule, AXCApplicationTemplateDataSeeder, AXCAuthMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCConversationMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDocumentManagementMockModule, AXCFOrganizationManagementMockModule, AXCFileStorageService, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCHelpDeskMockModule, AXCIdentifierManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCLogManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCPlatformManagementMockModule, AXCProjectManagementMockModule, AXCReportManagementMockModule, AXCSchedulerJobDataSeeder, AXCSchedulerJobManagementMockModule, AXCSecurityManagementMockModule, AXCTaskManagementMockModule, AXCTextTemplateCategoryDataSeeder, AXCTextTemplateDataSeeder, AXCTextTemplateManagementMockModule, AXCTrainingManagementMockModule, AXMAiResponderService, AXMBranchDataSeeder, AXMDepartmentDataSeeder, AXMDivisionDataSeeder, AXMEmployeeDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMTeamDataSeeder, AXPDashboardDataSeeder, AXPDexieEntityStorageService, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, BRANCHES_MOCK, DASHBOARDS, DEPARTMENTS_MOCK, DIVISIONS_MOCK, EDITIONS, EMPLOYEES_MOCK, ENTITIES, FEATURES, GLOBAL_VARIABLES, MOCKGoogleStrategy, MOCKStrategy, MODULES, PERMISSIONS, PROPERTIES, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEXT_TEMPLATES, TEXT_TEMPLATE_CATEGORY, applications, auditLoggerMiddleware, createFileCastMiddleware, findContactMethod, generateRandomDashboard, identifierCommitMiddleware, mockRoleDefinitions, mockUsers, tenantsMock };
|
|
886
1141
|
export type { AXPLogRow, AXPRuleRow, AXPSeqRow, MockUserPassCredentials, Task, TaskStatus, TaskTemplate, TaskType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/connectivity",
|
|
3
|
-
"version": "20.2.4-next.
|
|
3
|
+
"version": "20.2.4-next.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.0.0",
|
|
6
6
|
"@angular/core": "^19.0.0"
|
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"types": "./index.d.ts",
|
|
17
17
|
"default": "./fesm2022/acorex-connectivity.mjs"
|
|
18
18
|
},
|
|
19
|
-
"./api": {
|
|
20
|
-
"types": "./api/index.d.ts",
|
|
21
|
-
"default": "./fesm2022/acorex-connectivity-api.mjs"
|
|
22
|
-
},
|
|
23
19
|
"./mock": {
|
|
24
20
|
"types": "./mock/index.d.ts",
|
|
25
21
|
"default": "./fesm2022/acorex-connectivity-mock.mjs"
|
|
@@ -27,6 +23,10 @@
|
|
|
27
23
|
"./utils": {
|
|
28
24
|
"types": "./utils/index.d.ts",
|
|
29
25
|
"default": "./fesm2022/acorex-connectivity-utils.mjs"
|
|
26
|
+
},
|
|
27
|
+
"./api": {
|
|
28
|
+
"types": "./api/index.d.ts",
|
|
29
|
+
"default": "./fesm2022/acorex-connectivity-api.mjs"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|