src/app/data/component/component-store.service.ts
Provides updating, deleting and retrieving components from the backend. Objects like updateComponentMutation are injected and were created by a codegenerator based on the mutation UpdateComponent in the component.graphql file in this folder. The same hold for the other mutation and query objects.
Methods |
constructor(updateComponentMutation: UpdateComponentGQL, deleteComponentMutation: DeleteComponentGQL, getFullComponentQuery: GetComponentGQL, createComponentMutation: CreateComponentGQL, getLabelsQuery: GetComponentLabelsGQL, getBasicComponentQuery: GetBasicComponentGQL, getComponentInterfacesQuery: GetComponentInterfacesGQL)
|
||||||||||||||||||||||||
Parameters :
|
createComponent | ||||||
createComponent(input: CreateComponentInput)
|
||||||
Parameters :
Returns :
Observable<any>
|
deleteComponent | ||||||
deleteComponent(id: string)
|
||||||
Parameters :
Returns :
Observable<any>
|
getBasicComponent | ||||||
getBasicComponent(id: string)
|
||||||
Parameters :
Returns :
Observable<GetBasicComponentQuery>
|
getComponentInterfaces | ||||||
getComponentInterfaces(id: string)
|
||||||
Parameters :
Returns :
Observable<GetComponentInterfacesQuery>
|
getComponentLabels | ||||||
getComponentLabels(id: string)
|
||||||
Parameters :
Returns :
Observable<GetComponentLabelsQuery>
|
getFullComponent | ||||||
getFullComponent(id: string)
|
||||||
Parameters :
Returns :
Observable<GetComponentQuery>
|
updateComponent | ||||||
updateComponent(input: UpdateComponentInput)
|
||||||
Parameters :
Returns :
Observable<any>
|