Refactor SDK Api Changes Side affects ...
This commit is contained in:
@@ -9,8 +9,8 @@ import {
|
||||
} from 'x-framework-identity-sdk';
|
||||
import { Pages } from './page.config';
|
||||
import { LogLevel } from '@microsoft/signalr';
|
||||
import { XMabsutApiSDKConfig } from 'x-mabsut-api-sdk';
|
||||
import { NotificationAudioSources } from './audio.config';
|
||||
import { XSaherElmApiSDKConfig } from 'x-saherelm-api-sdk';
|
||||
import { XFrameworkCoreConfig, XPage } from 'x-framework-core';
|
||||
import { XFrameworkServicesConfig } from 'x-framework-services';
|
||||
import { XFrameworkComponentsConfig } from 'x-framework-components';
|
||||
@@ -39,7 +39,7 @@ export type XFrameworkIdentitySDKSharedConfig =
|
||||
Partial<XFrameworkIdentitySDKConfig>;
|
||||
export type XFrameworkPushServiceSharedConfig =
|
||||
Partial<XFrameworkPushServiceConfig>;
|
||||
export type XMabsutApiSDKSharedConfig = Partial<XMabsutApiSDKConfig>;
|
||||
export type XSaherElmApiSDKSharedConfig = Partial<XSaherElmApiSDKConfig>;
|
||||
export type XAppSharedConfig = Partial<AppConfig>;
|
||||
|
||||
export type XConfig = XFrameworkCoreConfig &
|
||||
@@ -47,7 +47,7 @@ export type XConfig = XFrameworkCoreConfig &
|
||||
XFrameworkComponentsConfig &
|
||||
XFrameworkIdentitySDKConfig &
|
||||
XFrameworkPushServiceConfig &
|
||||
XMabsutApiSDKConfig &
|
||||
XSaherElmApiSDKConfig &
|
||||
AppConfig;
|
||||
export type XSharedConfig = Partial<XConfig>;
|
||||
|
||||
@@ -171,7 +171,7 @@ export const xFrameworkPushServiceSharedConfig: XFrameworkPushServiceSharedConfi
|
||||
],
|
||||
};
|
||||
|
||||
export const xMabsutApiSDKSharedConfig: XMabsutApiSDKSharedConfig = {
|
||||
export const xMabsutApiSDKSharedConfig: XSaherElmApiSDKSharedConfig = {
|
||||
//
|
||||
// Configure API ...
|
||||
apiIdentifier: 'api',
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
XUserRoleInfo,
|
||||
XAvailableRoles,
|
||||
getTopRoleByRoleInfo,
|
||||
} from 'x-mabsut-api-sdk';
|
||||
} from 'x-saherelm-api-sdk';
|
||||
import {
|
||||
XIconNames,
|
||||
XNavigatorListItem,
|
||||
@@ -448,7 +448,7 @@ const GuestNavPageItems: XNavigatorListItem[] = [
|
||||
//
|
||||
//#region Navigator Pages Provider ...
|
||||
export async function getNavPages(
|
||||
roleInfo: XUserRoleInfo
|
||||
roleInfo: XUserRoleInfo,
|
||||
): Promise<XNavigatorListItem[]> {
|
||||
//
|
||||
if (!roleInfo) {
|
||||
|
||||
Reference in New Issue
Block a user