Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
import { Injectable } from '@angular/core';
import { Query } from 'apollo-angular';
import gql from 'graphql-tag';
import { JobResponse } from '../models/job-response';
import { jobFieldsFragment } from '../fragments/job-fields.fragment.gql';
@Injectable({
providedIn: 'root',
})
export class PublicJobGQL extends Query<JobResponse> {
document = gql`
query FullStackJobsQuery($id: Int!)
{
job(id: $id) {
...jobFields
}
},
${jobFieldsFragment}
`;
}