Skip to content

Commit

Permalink
update @mf-types
Browse files Browse the repository at this point in the history
  • Loading branch information
MonPote committed Jul 11, 2024
1 parent a62a412 commit 0eecc9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions @mf-types/shell/compiled-types/src/FederatedApp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { useAuth } from './auth/AuthProvider';
import './index.css';
import { useConfigRetriever, useConfig, useDiscoveredViews, useLinkOpener, BuildtimeWebFinger, RuntimeWebFinger } from './initFederation/ConfigurationProviders';
import { useShellConfig } from './initFederation/ShellConfigProvider';
import { useShellThemeSelector } from './initFederation/ShellThemeSelectorProvider';
import { useDeployedApps } from './initFederation/UIListProvider';
import { useLanguage } from './navbar/lang';
import AlertProvider from './alerts/AlertProvider';
Expand All @@ -24,6 +25,7 @@ export type ShellTypes = {
useConfig: typeof useConfig;
useLinkOpener: typeof useLinkOpener;
useDeployedApps: typeof useDeployedApps;
useShellThemeSelector: typeof useShellThemeSelector;
};
shellAlerts: {
AlertsProvider: typeof AlertProvider;
Expand Down
2 changes: 2 additions & 0 deletions @mf-types/shell/compiled-types/src/auth/AuthProvider.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { User } from 'oidc-client';
import React from 'react';
export declare function AuthProvider({ children }: {
children: React.ReactNode;
Expand All @@ -8,6 +9,7 @@ export type UserData = {
groups: string[];
email: string;
id: string;
original: User;
};
export declare function useAuth(): {
userData?: UserData;
Expand Down

0 comments on commit 0eecc9a

Please sign in to comment.