mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
automatically publish libraries on release (#1439)
This commit is contained in:
@@ -32,11 +32,15 @@ export type ExtensionLoaderCallback = (
|
||||
route: ActivatedRouteSnapshot
|
||||
) => Observable<true>;
|
||||
|
||||
export function DefaultExtensionLoaderFactory() {
|
||||
return [];
|
||||
}
|
||||
|
||||
export const EXTENSION_DATA_LOADERS = new InjectionToken<
|
||||
ExtensionLoaderCallback[]
|
||||
>('EXTENSION_DATA_LOADERS', {
|
||||
providedIn: 'root',
|
||||
factory: () => []
|
||||
factory: DefaultExtensionLoaderFactory
|
||||
});
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
|
Reference in New Issue
Block a user