@flusys/ng-auth 8.1.2 → 8.1.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/ng-auth",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.4",
|
|
4
4
|
"description": "Authentication module for FLUSYS Angular applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"@angular/core": ">=22.0.0",
|
|
9
9
|
"@angular/forms": ">=22.0.0",
|
|
10
10
|
"@angular/router": ">=22.0.0",
|
|
11
|
-
"@flusys/ng-core": ">=8.1.
|
|
12
|
-
"@flusys/ng-layout": ">=8.1.
|
|
13
|
-
"@flusys/ng-shared": ">=8.1.
|
|
14
|
-
"@flusys/ng-ui": ">=8.1.
|
|
11
|
+
"@flusys/ng-core": ">=8.1.4",
|
|
12
|
+
"@flusys/ng-layout": ">=8.1.4",
|
|
13
|
+
"@flusys/ng-shared": ">=8.1.4",
|
|
14
|
+
"@flusys/ng-ui": ">=8.1.4",
|
|
15
15
|
"rxjs": "^7.8.0"
|
|
16
16
|
},
|
|
17
17
|
"sideEffects": false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISingleResponse, IBaseEntity, IMessageResponse, ApiResourceService, IFilterData, IListResponse, IUserBasicInfo, ICompanyApiProvider, ICompanyBasicInfo, IAuthStateProvider, IUserPermissionProvider, IUserBranchPermission as IUserBranchPermission$1, IUserCompanyInfo, IUserProvider, ILogicNode, RouterTabItem, BaseFormComponent, IFormField, ITableAction, ITableColumn, IProfileRoleInfo, IProfileActionInfo } from '@flusys/ng-shared';
|
|
1
|
+
import { ISingleResponse, IBaseEntity, IMessageResponse, ApiResourceService, IFilterData, IListResponse, IUserBasicInfo, ICompanyApiProvider, ICompanyBasicInfo, IBranchBasicInfo, IAuthStateProvider, IUserPermissionProvider, IUserBranchPermission as IUserBranchPermission$1, IUserCompanyInfo, IUserProvider, ILogicNode, RouterTabItem, BaseFormComponent, IFormField, ITableAction, ITableColumn, IProfileRoleInfo, IProfileActionInfo } from '@flusys/ng-shared';
|
|
2
2
|
import * as rxjs from 'rxjs';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
@@ -121,7 +121,6 @@ type ICompanySelectionResponse = ISingleResponse<ICompanySelectionData>;
|
|
|
121
121
|
type ILoginRequiresEmailVerification = ISingleResponse<IEmailVerificationData>;
|
|
122
122
|
type IRefreshTokenResponse = ISingleResponse<{
|
|
123
123
|
accessToken: string;
|
|
124
|
-
refreshToken?: string;
|
|
125
124
|
}>;
|
|
126
125
|
type AuthResponse = ISingleResponse<ILoginData | ICompanySelectionData | IEmailVerificationData>;
|
|
127
126
|
declare function isEmailVerificationRequired(response: AuthResponse): response is ILoginRequiresEmailVerification;
|
|
@@ -579,18 +578,6 @@ declare class AuthLayoutApiAdapter implements ILayoutAuthApi {
|
|
|
579
578
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthLayoutApiAdapter>;
|
|
580
579
|
}
|
|
581
580
|
|
|
582
|
-
/**
|
|
583
|
-
* Auth Shared Provider Adapters
|
|
584
|
-
*
|
|
585
|
-
* Implements provider interfaces from ng-shared using ng-auth services.
|
|
586
|
-
* Allows IAM, Storage, and Form-Builder packages to access auth data
|
|
587
|
-
* without depending on ng-auth directly.
|
|
588
|
-
*
|
|
589
|
-
* @example
|
|
590
|
-
* // In app.config.ts
|
|
591
|
-
* import { provideAuthProviders } from '@flusys/ng-auth';
|
|
592
|
-
* providers: [...provideAuthProviders()]
|
|
593
|
-
*/
|
|
594
581
|
declare class AuthUserProviderAdapter implements IUserProvider {
|
|
595
582
|
private readonly userApi;
|
|
596
583
|
getUsers(filter?: {
|
|
@@ -606,11 +593,14 @@ declare class AuthUserProviderAdapter implements IUserProvider {
|
|
|
606
593
|
}
|
|
607
594
|
declare class AuthCompanyApiProviderAdapter implements ICompanyApiProvider {
|
|
608
595
|
private readonly companyApi;
|
|
596
|
+
private readonly branchApi;
|
|
609
597
|
getCompanies(filter?: {
|
|
610
598
|
page?: number;
|
|
611
599
|
pageSize?: number;
|
|
612
600
|
search?: string;
|
|
613
601
|
}): Observable<IListResponse<ICompanyBasicInfo>>;
|
|
602
|
+
getCompaniesByIds(ids: string[]): Observable<IListResponse<ICompanyBasicInfo>>;
|
|
603
|
+
getBranchesByIds(ids: string[]): Observable<IListResponse<IBranchBasicInfo>>;
|
|
614
604
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthCompanyApiProviderAdapter, never>;
|
|
615
605
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthCompanyApiProviderAdapter>;
|
|
616
606
|
}
|