aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/logic/service-dependencies/directive-option.ts
blob: f2c4b1f8958a407658ad124452f1566a9c044078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export enum DirectivesEnum {
    SELECT = 'select',
    SELECTABLE = 'selectable',
    SUBSTITUTE = 'substitute',
    SUBSTITUTABLE = 'substitutable',
}

export namespace DirectiveValue {

  export function values() {
    return Object.keys(DirectivesEnum).filter(
        (type) => isNaN(<any>type) && type !== 'values'
    );
  }
}