mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 11:33:04 +00:00
[DURACOM-234] Migrate fo functional resolver
This commit is contained in:
@@ -3,7 +3,6 @@ import {
|
||||
makeStateKey,
|
||||
Type,
|
||||
} from '@angular/core';
|
||||
import { DynamicFormControl } from '@ng-dynamic-forms/core/lib/component/dynamic-form-control-interface';
|
||||
|
||||
import { AdminNotifyMetricsRow } from '../app/admin/admin-notify-dashboard/admin-notify-metrics/admin-notify-metrics.model';
|
||||
import { HALDataService } from '../app/core/data/base/hal-data-service.interface';
|
||||
@@ -78,11 +77,8 @@ export interface LazyDataServicesMap {
|
||||
[type: string]: () => Promise<Type<HALDataService<any>>>
|
||||
}
|
||||
|
||||
export type DynamicFormControlFn = (model: string) => Type<DynamicFormControl>;
|
||||
export const APP_DATA_SERVICES_MAP: InjectionToken<LazyDataServicesMap> = new InjectionToken<LazyDataServicesMap>('APP_DATA_SERVICES_MAP');
|
||||
|
||||
export const APP_DYNAMIC_FORM_CONTROL_FN: InjectionToken<DynamicFormControlFn> = new InjectionToken<DynamicFormControlFn>('APP_DYNAMIC_FORM_CONTROL_FN');
|
||||
|
||||
export {
|
||||
APP_CONFIG,
|
||||
APP_CONFIG_STATE,
|
||||
|
Reference in New Issue
Block a user