-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): service process setup mock data
- Loading branch information
Hoang Anh Nguyen
committed
Oct 4, 2021
1 parent
6210c4d
commit a7f4a8f
Showing
10 changed files
with
1,348 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Dataspire lite client | ||
# Dataspire Lite client | ||
|
||
### Prerequisites | ||
> Docker active LTS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>; | ||
|
||
} |
Oops, something went wrong.