Mercurial > hg > ng2-query-ismi
diff 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 |
line wrap: on
line diff
--- a/app/query-step.ts Thu Jan 21 20:22:02 2016 +0100 +++ b/app/query-step.ts Fri Jan 22 17:32:33 2016 +0100 @@ -1,6 +1,14 @@ import {QueryMode} from './query-mode'; -export interface QueryStep { - mode: QueryMode; - objectType?: string; +export class QueryStep { + public mode: QueryMode; + + public params: any; + + public resultInfo: string; + + constructor (mode: QueryMode, params: any) { + this.mode = mode; + this.params = params; + } } \ No newline at end of file