import { NdfRequestModel } from '../../../shared/models'; import { EditorType } from './type-helper'; export type NdfConfigDocumentationType = Array<{ name: string; path: string; }>; export type NdfConfigTypeModel = { enabled: boolean; permission?: string; navigateUrl: string; documentations?: NdfConfigDocumentationType; }; export interface NdfConfigModel { enabled: boolean; types: Record; api: { baseUrl: string; endpoints: { get: NdfRequestModel; create: NdfRequestModel; update: NdfRequestModel; }; }; } export type NdfConfigMetadata = { key: string; type: EditorType; };