Skip to content

Commit

Permalink
feat(client): service process setup mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoang Anh Nguyen committed Oct 4, 2021
1 parent 6210c4d commit a7f4a8f
Show file tree
Hide file tree
Showing 10 changed files with 1,348 additions and 17 deletions.
2 changes: 1 addition & 1 deletion client/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Dataspire lite client
# Dataspire Lite client

### Prerequisites
> Docker active LTS
Expand Down
33 changes: 33 additions & 0 deletions client/src/app/apis/process/process-api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import {Observable} from "rxjs";
import {
ClvClass,
CustomerLifetimeValue,
IdentifiedGuestSegmentation,
MutationStartProcessArgs,
Process,
QueryGetClvClassListArgs,
QueryGetCustomerLifetimeValueListArgs,
QueryGetProcessStateArgs,
QueryGetStatisticArgs,
QueryGetTotalRecordCountArgs,
Statistic
} from 'src/app/graphql/generated/graphql';


export interface ProcessApis {

startProcess(variables: MutationStartProcessArgs): Observable<Process>;

getProcessState(variables: QueryGetProcessStateArgs): Observable<Process>;

getTotalRecordCount(variables: QueryGetTotalRecordCountArgs): Observable<number>;

getCustomerLifetimeValueList(variables: QueryGetCustomerLifetimeValueListArgs): Observable<Array<CustomerLifetimeValue>>;

getClvClassList(variables: QueryGetClvClassListArgs): Observable<Array<ClvClass>>;

getIdentifiedGuestSegmentation(variables: QueryGetCustomerLifetimeValueListArgs): Observable<Array<IdentifiedGuestSegmentation>>;

getStatistic(variables: QueryGetStatisticArgs): Observable<Statistic>;

}
Loading

0 comments on commit a7f4a8f

Please sign in to comment.