Mercurial > hg > ng2-query-ismi
comparison app/query-step.ts @ 20:34cd764e234b
make interfaces into classes. factor out NormalizationService.
author | casties |
---|---|
date | Fri, 22 Jan 2016 17:32:33 +0100 |
parents | 6cd6c09032aa |
children |
comparison
equal
deleted
inserted
replaced
19:d75224bb8147 | 20:34cd764e234b |
---|---|
1 import {QueryMode} from './query-mode'; | 1 import {QueryMode} from './query-mode'; |
2 | 2 |
3 export interface QueryStep { | 3 export class QueryStep { |
4 mode: QueryMode; | 4 public mode: QueryMode; |
5 objectType?: string; | 5 |
6 public params: any; | |
7 | |
8 public resultInfo: string; | |
9 | |
10 constructor (mode: QueryMode, params: any) { | |
11 this.mode = mode; | |
12 this.params = params; | |
13 } | |
6 } | 14 } |