@firestitch/app-acl 9.0.18 → 9.0.19

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.
Files changed (80) hide show
  1. package/app/components/acl-entries/acl-entries.component.d.ts +27 -27
  2. package/app/components/acl-entry/acl-entry.component.d.ts +23 -23
  3. package/app/components/acl-entry/index.d.ts +1 -1
  4. package/app/components/acl-object-roles/acl-object-roles.component.d.ts +14 -14
  5. package/app/components/acl-permission-popover/acl-permission-popover.component.d.ts +9 -9
  6. package/app/components/acl-permission-popover/index.d.ts +1 -1
  7. package/app/components/acl-role/acl-role.component.d.ts +43 -42
  8. package/app/components/acl-role-popover/acl-role-popover.component.d.ts +10 -10
  9. package/app/components/acl-roles/acl-roles.component.d.ts +31 -31
  10. package/app/consts/acl-role-accesses.d.ts +5 -5
  11. package/app/enums/acl-role-access.d.ts +6 -6
  12. package/app/enums/index.d.ts +1 -1
  13. package/app/fs-app-acl.module.d.ts +4 -4
  14. package/app/injectors/app-acl-config.injector.d.ts +2 -2
  15. package/app/injectors/index.d.ts +1 -1
  16. package/app/interfaces/acl-entry-data.d.ts +11 -11
  17. package/app/interfaces/acl-entry.d.ts +18 -18
  18. package/app/interfaces/acl-level.d.ts +3 -3
  19. package/app/interfaces/acl-object-entry.d.ts +11 -11
  20. package/app/interfaces/acl-object-role.d.ts +6 -6
  21. package/app/interfaces/acl-object.d.ts +4 -4
  22. package/app/interfaces/acl-permission.d.ts +7 -7
  23. package/app/interfaces/acl-role.d.ts +15 -15
  24. package/app/interfaces/app-acl-config.d.ts +7 -7
  25. package/app/interfaces/index.d.ts +11 -11
  26. package/app/interfaces/name-value.d.ts +4 -4
  27. package/app/services/app-acl.service.d.ts +13 -13
  28. package/app/services/index.d.ts +1 -1
  29. package/bundles/firestitch-app-acl.umd.js +854 -850
  30. package/bundles/firestitch-app-acl.umd.js.map +1 -1
  31. package/bundles/firestitch-app-acl.umd.min.js +2 -2
  32. package/bundles/firestitch-app-acl.umd.min.js.map +1 -1
  33. package/esm2015/app/components/acl-entries/acl-entries.component.js +176 -176
  34. package/esm2015/app/components/acl-entry/acl-entry.component.js +87 -87
  35. package/esm2015/app/components/acl-entry/index.js +1 -1
  36. package/esm2015/app/components/acl-object-roles/acl-object-roles.component.js +62 -62
  37. package/esm2015/app/components/acl-permission-popover/acl-permission-popover.component.js +34 -34
  38. package/esm2015/app/components/acl-permission-popover/index.js +1 -1
  39. package/esm2015/app/components/acl-role/acl-role.component.js +191 -187
  40. package/esm2015/app/components/acl-role-popover/acl-role-popover.component.js +40 -40
  41. package/esm2015/app/components/acl-roles/acl-roles.component.js +157 -157
  42. package/esm2015/app/consts/acl-role-accesses.js +7 -7
  43. package/esm2015/app/enums/acl-role-access.js +7 -7
  44. package/esm2015/app/enums/index.js +3 -3
  45. package/esm2015/app/fs-app-acl.module.js +81 -81
  46. package/esm2015/app/injectors/app-acl-config.injector.js +2 -2
  47. package/esm2015/app/injectors/index.js +3 -3
  48. package/esm2015/app/interfaces/index.js +1 -1
  49. package/esm2015/app/services/app-acl.service.js +80 -80
  50. package/esm2015/app/services/index.js +1 -1
  51. package/esm2015/firestitch-app-acl.js +10 -10
  52. package/esm2015/public_api.js +5 -5
  53. package/esm5/app/components/acl-entries/acl-entries.component.js +179 -179
  54. package/esm5/app/components/acl-entry/acl-entry.component.js +92 -92
  55. package/esm5/app/components/acl-entry/index.js +1 -1
  56. package/esm5/app/components/acl-object-roles/acl-object-roles.component.js +63 -63
  57. package/esm5/app/components/acl-permission-popover/acl-permission-popover.component.js +36 -36
  58. package/esm5/app/components/acl-permission-popover/index.js +1 -1
  59. package/esm5/app/components/acl-role/acl-role.component.js +201 -197
  60. package/esm5/app/components/acl-role-popover/acl-role-popover.component.js +42 -42
  61. package/esm5/app/components/acl-roles/acl-roles.component.js +162 -162
  62. package/esm5/app/consts/acl-role-accesses.js +7 -7
  63. package/esm5/app/enums/acl-role-access.js +7 -7
  64. package/esm5/app/enums/index.js +3 -3
  65. package/esm5/app/fs-app-acl.module.js +85 -85
  66. package/esm5/app/injectors/app-acl-config.injector.js +2 -2
  67. package/esm5/app/injectors/index.js +3 -3
  68. package/esm5/app/interfaces/index.js +1 -1
  69. package/esm5/app/services/app-acl.service.js +85 -85
  70. package/esm5/app/services/index.js +1 -1
  71. package/esm5/firestitch-app-acl.js +10 -10
  72. package/esm5/public_api.js +5 -5
  73. package/fesm2015/firestitch-app-acl.js +821 -817
  74. package/fesm2015/firestitch-app-acl.js.map +1 -1
  75. package/fesm5/firestitch-app-acl.js +858 -854
  76. package/fesm5/firestitch-app-acl.js.map +1 -1
  77. package/firestitch-app-acl.d.ts +11 -11
  78. package/firestitch-app-acl.metadata.json +1 -1
  79. package/package.json +1 -1
  80. package/public_api.d.ts +6 -6
@@ -1,27 +1,27 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import { Observable } from 'rxjs';
4
- import { FsListAction, FsListComponent, FsListConfig } from '@firestitch/list';
5
- import { FsAppAclService } from '../../services';
6
- import { AclEntry, AclRole, AclObjectEntry } from '../../interfaces';
7
- import { FsPrompt } from '@firestitch/prompt';
8
- export declare class FsAclEntriesComponent implements OnInit, OnDestroy {
9
- private readonly _appAclService;
10
- private readonly _dialog;
11
- private _confirm;
12
- loadAclEntries: (query: any) => Observable<AclEntry[]>;
13
- loadAclRoles: (query: any) => Observable<AclRole[]>;
14
- saveAclObjectEntry: (aclObjectEntry: AclObjectEntry) => Observable<any>;
15
- environmentShow: boolean;
16
- environmentLabel: string;
17
- actions: FsListAction[];
18
- aclEntriesList: FsListComponent;
19
- aclEntriesConfig: FsListConfig;
20
- permissions: any[];
21
- private _destroy$;
22
- constructor(_appAclService: FsAppAclService, _dialog: MatDialog, _confirm: FsPrompt);
23
- ngOnInit(): void;
24
- update(aclObjectEntry: AclObjectEntry): void;
25
- ngOnDestroy(): void;
26
- reload(): void;
27
- }
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { Observable } from 'rxjs';
4
+ import { FsListAction, FsListComponent, FsListConfig } from '@firestitch/list';
5
+ import { FsAppAclService } from '../../services';
6
+ import { AclEntry, AclRole, AclObjectEntry } from '../../interfaces';
7
+ import { FsPrompt } from '@firestitch/prompt';
8
+ export declare class FsAclEntriesComponent implements OnInit, OnDestroy {
9
+ private readonly _appAclService;
10
+ private readonly _dialog;
11
+ private _confirm;
12
+ loadAclEntries: (query: any) => Observable<AclEntry[]>;
13
+ loadAclRoles: (query: any) => Observable<AclRole[]>;
14
+ saveAclObjectEntry: (aclObjectEntry: AclObjectEntry) => Observable<any>;
15
+ environmentShow: boolean;
16
+ environmentLabel: string;
17
+ actions: FsListAction[];
18
+ aclEntriesList: FsListComponent;
19
+ aclEntriesConfig: FsListConfig;
20
+ permissions: any[];
21
+ private _destroy$;
22
+ constructor(_appAclService: FsAppAclService, _dialog: MatDialog, _confirm: FsPrompt);
23
+ ngOnInit(): void;
24
+ update(aclObjectEntry: AclObjectEntry): void;
25
+ ngOnDestroy(): void;
26
+ reload(): void;
27
+ }
@@ -1,23 +1,23 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { FsMessage } from '@firestitch/message';
4
- import { AclRole, AclEntryData, AclObjectRole, AclObjectEntry } from './../../interfaces';
5
- import { FsAppAclService } from './../../services';
6
- export declare class FsAclEntryComponent implements OnInit {
7
- private readonly _appAclService;
8
- private readonly _dialogRef;
9
- private readonly _message;
10
- private readonly _data;
11
- aclRoles: AclRole[];
12
- aclObjectEntry: AclObjectEntry;
13
- aclObjectRole: AclObjectRole;
14
- indexedAclRoleLevels: {};
15
- titleEdit: string;
16
- titleAdd: string;
17
- required: boolean;
18
- constructor(_appAclService: FsAppAclService, _dialogRef: MatDialogRef<FsAclEntryComponent>, _message: FsMessage, _data: AclEntryData);
19
- save: () => import("rxjs").Subscription;
20
- ngOnInit(): void;
21
- aclObjectRoleChange(aclObjectRoles: AclObjectRole[]): void;
22
- close(data?: any): void;
23
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { FsMessage } from '@firestitch/message';
4
+ import { AclRole, AclEntryData, AclObjectRole, AclObjectEntry } from './../../interfaces';
5
+ import { FsAppAclService } from './../../services';
6
+ export declare class FsAclEntryComponent implements OnInit {
7
+ private readonly _appAclService;
8
+ private readonly _dialogRef;
9
+ private readonly _message;
10
+ private readonly _data;
11
+ aclRoles: AclRole[];
12
+ aclObjectEntry: AclObjectEntry;
13
+ aclObjectRole: AclObjectRole;
14
+ indexedAclRoleLevels: {};
15
+ titleEdit: string;
16
+ titleAdd: string;
17
+ required: boolean;
18
+ constructor(_appAclService: FsAppAclService, _dialogRef: MatDialogRef<FsAclEntryComponent>, _message: FsMessage, _data: AclEntryData);
19
+ save: () => import("rxjs").Subscription;
20
+ ngOnInit(): void;
21
+ aclObjectRoleChange(aclObjectRoles: AclObjectRole[]): void;
22
+ close(data?: any): void;
23
+ }
@@ -1 +1 @@
1
- export * from './acl-entry.component';
1
+ export * from './acl-entry.component';
@@ -1,14 +1,14 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { AclObjectRole, AclRole } from '../../interfaces';
3
- export declare class FsAclObjectRolesComponent {
4
- aclRoles: AclRole[];
5
- required: boolean;
6
- multiple: boolean;
7
- disabled: boolean;
8
- aclObjectRoles: AclObjectRole[];
9
- rolesLabel: string;
10
- levelLabel: string;
11
- change: EventEmitter<AclObjectRole[]>;
12
- compareAclRole: (o1: any, o2: any) => boolean;
13
- changed(): void;
14
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AclObjectRole, AclRole } from '../../interfaces';
3
+ export declare class FsAclObjectRolesComponent {
4
+ aclRoles: AclRole[];
5
+ required: boolean;
6
+ multiple: boolean;
7
+ disabled: boolean;
8
+ aclObjectRoles: AclObjectRole[];
9
+ rolesLabel: string;
10
+ levelLabel: string;
11
+ change: EventEmitter<AclObjectRole[]>;
12
+ compareAclRole: (o1: any, o2: any) => boolean;
13
+ changed(): void;
14
+ }
@@ -1,9 +1,9 @@
1
- import { OnInit } from '@angular/core';
2
- import { FsAppAclService } from './../../services/app-acl.service';
3
- export declare class FsAclPermissionPopoverComponent implements OnInit {
4
- private _appAclService;
5
- permission: any;
6
- description: any;
7
- constructor(_appAclService: FsAppAclService);
8
- ngOnInit(): void;
9
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { FsAppAclService } from './../../services/app-acl.service';
3
+ export declare class FsAclPermissionPopoverComponent implements OnInit {
4
+ private _appAclService;
5
+ permission: any;
6
+ description: any;
7
+ constructor(_appAclService: FsAppAclService);
8
+ ngOnInit(): void;
9
+ }
@@ -1 +1 @@
1
- export * from './acl-permission-popover.component';
1
+ export * from './acl-permission-popover.component';
@@ -1,42 +1,43 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { AclRole } from './../../interfaces';
4
- import { FsMessage } from '@firestitch/message';
5
- import { FsListConfig, FsListComponent } from '@firestitch/list';
6
- import { Observable } from 'rxjs';
7
- import { FsAppAclService } from './../../services';
8
- export declare class FsAclRoleComponent implements OnInit, OnDestroy {
9
- private readonly _appAclService;
10
- private readonly _dialogRef;
11
- private readonly _message;
12
- private readonly _data;
13
- list: FsListComponent;
14
- aclRole: AclRole;
15
- environment: any;
16
- permissions: any[];
17
- listConfig: FsListConfig;
18
- levelPermissions: any[];
19
- AclRoleAccesses: {
20
- name: string;
21
- value: import("../../enums").AclRoleAccess;
22
- }[];
23
- indexedAccesses: {};
24
- aclLevels: any[];
25
- indexedAclLevels: {};
26
- onlyFullAccess: boolean;
27
- AclLevels: {};
28
- aclRoleConfigs: any[];
29
- levelAclRoleConfigs: any[];
30
- private _destroy$;
31
- constructor(_appAclService: FsAppAclService, _dialogRef: MatDialogRef<FsAclRoleComponent>, _message: FsMessage, _data: any);
32
- ngOnInit(): void;
33
- levelChange(): void;
34
- getRole(): Observable<any>;
35
- save: () => Observable<any>;
36
- close(data?: any): void;
37
- allPermissionsChange(all: boolean): void;
38
- ngOnDestroy(): void;
39
- private _updatePermissions;
40
- private _updateAclRoleConfigs;
41
- private _applyMaxPermissionAccess;
42
- }
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { AclRole } from './../../interfaces';
4
+ import { FsMessage } from '@firestitch/message';
5
+ import { FsListComponent, FsListConfig } from '@firestitch/list';
6
+ import { Observable } from 'rxjs';
7
+ import { FsAppAclService } from './../../services';
8
+ export declare class FsAclRoleComponent implements OnInit, OnDestroy {
9
+ private readonly _appAclService;
10
+ private readonly _dialogRef;
11
+ private readonly _message;
12
+ private readonly _data;
13
+ private _cdRef;
14
+ list: FsListComponent;
15
+ aclRole: AclRole;
16
+ environment: any;
17
+ permissions: any[];
18
+ listConfig: FsListConfig;
19
+ levelPermissions: any[];
20
+ AclRoleAccesses: {
21
+ name: string;
22
+ value: import("../../enums").AclRoleAccess;
23
+ }[];
24
+ indexedAccesses: {};
25
+ aclLevels: any[];
26
+ indexedAclLevels: {};
27
+ onlyFullAccess: boolean;
28
+ AclLevels: {};
29
+ aclRoleConfigs: any[];
30
+ levelAclRoleConfigs: any[];
31
+ private _destroy$;
32
+ constructor(_appAclService: FsAppAclService, _dialogRef: MatDialogRef<FsAclRoleComponent>, _message: FsMessage, _data: any, _cdRef: ChangeDetectorRef);
33
+ ngOnInit(): void;
34
+ levelChange(): void;
35
+ getRole(): Observable<any>;
36
+ save: () => Observable<any>;
37
+ close(data?: any): void;
38
+ allPermissionsChange(all: boolean): void;
39
+ ngOnDestroy(): void;
40
+ private _updatePermissions;
41
+ private _updateAclRoleConfigs;
42
+ private _applyMaxPermissionAccess;
43
+ }
@@ -1,10 +1,10 @@
1
- import { OnInit } from '@angular/core';
2
- import { FsAppAclService } from './../../services';
3
- export declare class FsAclRolePopoverComponent implements OnInit {
4
- private readonly _appAclService;
5
- aclRole: any;
6
- objectName: any;
7
- permissions: any[];
8
- constructor(_appAclService: FsAppAclService);
9
- ngOnInit(): void;
10
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { FsAppAclService } from './../../services';
3
+ export declare class FsAclRolePopoverComponent implements OnInit {
4
+ private readonly _appAclService;
5
+ aclRole: any;
6
+ objectName: any;
7
+ permissions: any[];
8
+ constructor(_appAclService: FsAppAclService);
9
+ ngOnInit(): void;
10
+ }
@@ -1,31 +1,31 @@
1
- import { OnInit, OnDestroy, ChangeDetectorRef, QueryList } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import { FsListComponent, FsListConfig } from '@firestitch/list';
4
- import { Observable } from 'rxjs';
5
- import { AclRole, AclLevel } from './../../interfaces';
6
- import { FsAppAclService } from '../../services';
7
- export declare class FsAclRolesComponent implements OnInit, OnDestroy {
8
- private readonly _appAclService;
9
- private readonly _dialog;
10
- private readonly _cdRef;
11
- deleteAclRole: (aclRole: AclRole) => Observable<AclRole>;
12
- saveAclRole: (aclRole: AclRole) => Observable<AclRole>;
13
- loadAclRoles: (query: any) => Observable<{
14
- data: AclRole[];
15
- paging: any;
16
- }>;
17
- loadAclRole: (aclRole: AclRole, query: any) => Observable<AclRole>;
18
- aclLevels: AclLevel[];
19
- list: QueryList<FsListComponent>;
20
- listConfig: FsListConfig;
21
- permissions: any;
22
- indexedAclRoleLevels: {
23
- [value: string]: string;
24
- };
25
- private _destroy$;
26
- constructor(_appAclService: FsAppAclService, _dialog: MatDialog, _cdRef: ChangeDetectorRef);
27
- ngOnInit(): void;
28
- openDialog(aclRole?: AclRole): void;
29
- ngOnDestroy(): void;
30
- private _loadListConfig;
31
- }
1
+ import { OnInit, OnDestroy, ChangeDetectorRef, QueryList } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { FsListComponent, FsListConfig } from '@firestitch/list';
4
+ import { Observable } from 'rxjs';
5
+ import { AclRole, AclLevel } from './../../interfaces';
6
+ import { FsAppAclService } from '../../services';
7
+ export declare class FsAclRolesComponent implements OnInit, OnDestroy {
8
+ private readonly _appAclService;
9
+ private readonly _dialog;
10
+ private readonly _cdRef;
11
+ deleteAclRole: (aclRole: AclRole) => Observable<AclRole>;
12
+ saveAclRole: (aclRole: AclRole) => Observable<AclRole>;
13
+ loadAclRoles: (query: any) => Observable<{
14
+ data: AclRole[];
15
+ paging: any;
16
+ }>;
17
+ loadAclRole: (aclRole: AclRole, query: any) => Observable<AclRole>;
18
+ aclLevels: AclLevel[];
19
+ list: QueryList<FsListComponent>;
20
+ listConfig: FsListConfig;
21
+ permissions: any;
22
+ indexedAclRoleLevels: {
23
+ [value: string]: string;
24
+ };
25
+ private _destroy$;
26
+ constructor(_appAclService: FsAppAclService, _dialog: MatDialog, _cdRef: ChangeDetectorRef);
27
+ ngOnInit(): void;
28
+ openDialog(aclRole?: AclRole): void;
29
+ ngOnDestroy(): void;
30
+ private _loadListConfig;
31
+ }
@@ -1,5 +1,5 @@
1
- import { AclRoleAccess } from '../enums';
2
- export declare const AclRoleAccesses: {
3
- name: string;
4
- value: AclRoleAccess;
5
- }[];
1
+ import { AclRoleAccess } from '../enums';
2
+ export declare const AclRoleAccesses: {
3
+ name: string;
4
+ value: AclRoleAccess;
5
+ }[];
@@ -1,6 +1,6 @@
1
- export declare enum AclRoleAccess {
2
- None = 0,
3
- Read = 5,
4
- Write = 10,
5
- Full = 15
6
- }
1
+ export declare enum AclRoleAccess {
2
+ None = 0,
3
+ Read = 5,
4
+ Write = 10,
5
+ Full = 15
6
+ }
@@ -1 +1 @@
1
- export * from './acl-role-access';
1
+ export * from './acl-role-access';
@@ -1,4 +1,4 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- export declare class FsAppAclModule {
3
- static forRoot(): ModuleWithProviders<FsAppAclModule>;
4
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ export declare class FsAppAclModule {
3
+ static forRoot(): ModuleWithProviders<FsAppAclModule>;
4
+ }
@@ -1,2 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const FS_APP_ACL_CONFIG: InjectionToken<any[]>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const FS_APP_ACL_CONFIG: InjectionToken<any[]>;
@@ -1 +1 @@
1
- export * from './app-acl-config.injector';
1
+ export * from './app-acl-config.injector';
@@ -1,11 +1,11 @@
1
- import { AclObjectEntry } from './acl-object-entry';
2
- import { Observable } from 'rxjs';
3
- import { AclRole } from './acl-role';
4
- export interface AclEntryData {
5
- aclObjectEntry: AclObjectEntry;
6
- titleEdit?: string;
7
- titleAdd?: string;
8
- required?: boolean;
9
- saveAclObjectEntry(aclObjectEntry: AclObjectEntry): Observable<any>;
10
- loadAclRoles(query: any): Observable<AclRole[]>;
11
- }
1
+ import { AclObjectEntry } from './acl-object-entry';
2
+ import { Observable } from 'rxjs';
3
+ import { AclRole } from './acl-role';
4
+ export interface AclEntryData {
5
+ aclObjectEntry: AclObjectEntry;
6
+ titleEdit?: string;
7
+ titleAdd?: string;
8
+ required?: boolean;
9
+ saveAclObjectEntry(aclObjectEntry: AclObjectEntry): Observable<any>;
10
+ loadAclRoles(query: any): Observable<AclRole[]>;
11
+ }
@@ -1,18 +1,18 @@
1
- import { AclRole } from './acl-role';
2
- export interface AclEntry {
3
- id: number;
4
- aclRoleId?: number;
5
- aclRole?: AclRole;
6
- accountId?: number;
7
- account?: any;
8
- objectId?: number;
9
- object?: {
10
- name: string;
11
- id: number;
12
- };
13
- environmentId?: number;
14
- environment?: {
15
- name: string;
16
- id: number;
17
- };
18
- }
1
+ import { AclRole } from './acl-role';
2
+ export interface AclEntry {
3
+ id: number;
4
+ aclRoleId?: number;
5
+ aclRole?: AclRole;
6
+ accountId?: number;
7
+ account?: any;
8
+ objectId?: number;
9
+ object?: {
10
+ name: string;
11
+ id: number;
12
+ };
13
+ environmentId?: number;
14
+ environment?: {
15
+ name: string;
16
+ id: number;
17
+ };
18
+ }
@@ -1,3 +1,3 @@
1
- import { NameValue } from './name-value';
2
- export interface AclLevel extends NameValue {
3
- }
1
+ import { NameValue } from './name-value';
2
+ export interface AclLevel extends NameValue {
3
+ }
@@ -1,11 +1,11 @@
1
- import { AclObject } from './acl-object';
2
- import { AclEntry } from './acl-entry';
3
- export interface AclObjectEntry {
4
- object: AclObject;
5
- aclEntries: AclEntry[];
6
- level: string;
7
- environmentId: number;
8
- environment?: {
9
- name: string;
10
- };
11
- }
1
+ import { AclObject } from './acl-object';
2
+ import { AclEntry } from './acl-entry';
3
+ export interface AclObjectEntry {
4
+ object: AclObject;
5
+ aclEntries: AclEntry[];
6
+ level: string;
7
+ environmentId: number;
8
+ environment?: {
9
+ name: string;
10
+ };
11
+ }
@@ -1,6 +1,6 @@
1
- import { AclObject } from './acl-object';
2
- import { AclRole } from './acl-role';
3
- export interface AclObjectRole {
4
- object: AclObject;
5
- aclRoles: AclRole[];
6
- }
1
+ import { AclObject } from './acl-object';
2
+ import { AclRole } from './acl-role';
3
+ export interface AclObjectRole {
4
+ object: AclObject;
5
+ aclRoles: AclRole[];
6
+ }
@@ -1,4 +1,4 @@
1
- export interface AclObject {
2
- id: number;
3
- name?: string;
4
- }
1
+ export interface AclObject {
2
+ id: number;
3
+ name?: string;
4
+ }
@@ -1,7 +1,7 @@
1
- export interface AclPermission {
2
- value: string;
3
- name: string;
4
- levels: string[];
5
- accesses: number[];
6
- description: string;
7
- }
1
+ export interface AclPermission {
2
+ value: string;
3
+ name: string;
4
+ levels: string[];
5
+ accesses: number[];
6
+ description: string;
7
+ }
@@ -1,15 +1,15 @@
1
- export interface AclRole {
2
- id?: number;
3
- name?: string;
4
- description?: string;
5
- state?: string;
6
- reference?: string;
7
- allPermissions?: boolean;
8
- role?: string;
9
- level?: string;
10
- permissions?: any;
11
- access?: string;
12
- protected?: boolean;
13
- aclPermissions?: any;
14
- aclRoleConfigs?: any[];
15
- }
1
+ export interface AclRole {
2
+ id?: number;
3
+ name?: string;
4
+ description?: string;
5
+ state?: string;
6
+ reference?: string;
7
+ allPermissions?: boolean;
8
+ role?: string;
9
+ level?: string;
10
+ permissions?: any;
11
+ access?: string;
12
+ protected?: boolean;
13
+ aclPermissions?: any;
14
+ aclRoleConfigs?: any[];
15
+ }
@@ -1,7 +1,7 @@
1
- import { Observable } from 'rxjs';
2
- import { AclLevel } from './acl-level';
3
- export interface AppAclConfig {
4
- permissions: Observable<any[]>;
5
- levels: Observable<AclLevel[]>;
6
- case: 'snake' | 'camel';
7
- }
1
+ import { Observable } from 'rxjs';
2
+ import { AclLevel } from './acl-level';
3
+ export interface AppAclConfig {
4
+ permissions: Observable<any[]>;
5
+ levels: Observable<AclLevel[]>;
6
+ case: 'snake' | 'camel';
7
+ }
@@ -1,11 +1,11 @@
1
- export * from './name-value';
2
- export * from './acl-role';
3
- export * from './app-acl-config';
4
- export * from './acl-permission';
5
- export * from './acl-level';
6
- export * from './acl-entry';
7
- export * from './acl-entry-data';
8
- export * from './acl-object-role';
9
- export * from './acl-object';
10
- export * from './acl-object-entry';
11
- export * from './acl-level';
1
+ export * from './name-value';
2
+ export * from './acl-role';
3
+ export * from './app-acl-config';
4
+ export * from './acl-permission';
5
+ export * from './acl-level';
6
+ export * from './acl-entry';
7
+ export * from './acl-entry-data';
8
+ export * from './acl-object-role';
9
+ export * from './acl-object';
10
+ export * from './acl-object-entry';
11
+ export * from './acl-level';
@@ -1,4 +1,4 @@
1
- export interface NameValue {
2
- name: string;
3
- value: any;
4
- }
1
+ export interface NameValue {
2
+ name: string;
3
+ value: any;
4
+ }
@@ -1,13 +1,13 @@
1
- import { ReplaySubject } from 'rxjs';
2
- import { AppAclConfig, AclPermission, AclLevel } from './../interfaces';
3
- export declare class FsAppAclService {
4
- private _appAclConfig;
5
- private _permissions$;
6
- private _levels$;
7
- constructor(_appAclConfig: AppAclConfig);
8
- getPermissions(): ReplaySubject<AclPermission[]>;
9
- getLevels(): ReplaySubject<AclLevel[]>;
10
- getIndexedLevels(): import("rxjs").Observable<any>;
11
- input(data: any): any;
12
- output(data: any): any;
13
- }
1
+ import { ReplaySubject } from 'rxjs';
2
+ import { AppAclConfig, AclPermission, AclLevel } from './../interfaces';
3
+ export declare class FsAppAclService {
4
+ private _appAclConfig;
5
+ private _permissions$;
6
+ private _levels$;
7
+ constructor(_appAclConfig: AppAclConfig);
8
+ getPermissions(): ReplaySubject<AclPermission[]>;
9
+ getLevels(): ReplaySubject<AclLevel[]>;
10
+ getIndexedLevels(): import("rxjs").Observable<any>;
11
+ input(data: any): any;
12
+ output(data: any): any;
13
+ }
@@ -1 +1 @@
1
- export * from './app-acl.service';
1
+ export * from './app-acl.service';