Mercurial > hg > ng2-query-ismi
annotate app/result-column.ts @ 39:7578b21cdf2e
make relation types configurable.
relations can have custom labels for incoming or outgoing direction.
author | casties |
---|---|
date | Sun, 14 Feb 2016 19:40:07 +0100 |
parents | 4926885f8a99 |
children |
rev | line source |
---|---|
25 | 1 export class ResultColumn { |
2 public name: string; | |
3 public title: string; | |
4 public sort: any; | |
31
4926885f8a99
selectable result columns. nicer cypher query output.
casties
parents:
25
diff
changeset
|
5 public show: boolean; |
25 | 6 |
31
4926885f8a99
selectable result columns. nicer cypher query output.
casties
parents:
25
diff
changeset
|
7 constructor (name: string, title: string, sort='', show=false) { |
25 | 8 this.name = name; |
9 this.title = title; | |
10 this.sort = sort; | |
31
4926885f8a99
selectable result columns. nicer cypher query output.
casties
parents:
25
diff
changeset
|
11 this.show = show; |
25 | 12 } |
13 } |