theme.model.ts (dspace-angular-dspace-7.0) | : | theme.model.ts (dspace-angular-dspace-7.1) | ||
---|---|---|---|---|
import { Config } from './config.interface'; | import { Config } from './config.interface'; | |||
import { hasValue, hasNoValue, isNotEmpty } from '../app/shared/empty.util'; | import { hasValue, hasNoValue, isNotEmpty } from '../app/shared/empty.util'; | |||
import { DSpaceObject } from '../app/core/shared/dspace-object.model'; | import { DSpaceObject } from '../app/core/shared/dspace-object.model'; | |||
import { getDSORoute } from '../app/app-routing-paths'; | import { getDSORoute } from '../app/app-routing-paths'; | |||
// tslint:disable:max-classes-per-file | // tslint:disable:max-classes-per-file | |||
export interface NamedThemeConfig extends Config { | export interface NamedThemeConfig extends Config { | |||
name: string; | name: string; | |||
/** | ||||
* Specify another theme to build upon: whenever a themed component is not fou | ||||
nd in the current theme, | ||||
* its ancestor theme(s) will be checked recursively before falling back to th | ||||
e default theme. | ||||
*/ | ||||
extends?: string; | ||||
} | } | |||
export interface RegExThemeConfig extends NamedThemeConfig { | export interface RegExThemeConfig extends NamedThemeConfig { | |||
regex: string; | regex: string; | |||
} | } | |||
export interface HandleThemeConfig extends NamedThemeConfig { | export interface HandleThemeConfig extends NamedThemeConfig { | |||
handle: string; | handle: string; | |||
} | } | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added |