mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
Add gql file imports for fragments
This commit is contained in:
parent
63d16e6f98
commit
14079028a6
@ -3,6 +3,8 @@ import { graphql } from 'react-apollo';
|
||||
import { Link } from 'react-router-dom';
|
||||
import ServicesQuery from '../../graphql/Services.gql';
|
||||
|
||||
console.log('ServicesQuery = ', ServicesQuery);
|
||||
|
||||
class ServiceList extends Component {
|
||||
|
||||
render() {
|
||||
|
@ -0,0 +1,5 @@
|
||||
fragment DeploymentGroupInfo on DeploymentGroup {
|
||||
uuid
|
||||
name
|
||||
id
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
fragment MetricsData {
|
||||
timestamp
|
||||
value
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
#import "./DeploymentGroupInfo.gql"
|
||||
|
||||
query Services($deploymentGroupId: String!){
|
||||
deploymentGroup(id: $deploymentGroupId) {
|
||||
uuid
|
||||
name
|
||||
id
|
||||
...DeploymentGroupInfo
|
||||
services {
|
||||
uuid
|
||||
name
|
||||
|
Loading…
Reference in New Issue
Block a user