Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (19 sloc) 536 Bytes
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}
`;
}
You can’t perform that action at this time.