Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- query Companies_Query {
- viewer {
- companies {
- id
- name
- ein
- multiSite
- siteLimit
- }
- }
- }
- `
- query Company_Query ($companyId: ID!) {
- node(id: $companyId) {
- id
- ...on Company {
- id
- name
- ein
- sales
- address
- site
- noEmployees
- history {
- id
- timestamp
- action
- field
- from
- to
- user {
- id
- username
- }
- }
- }
- }
- }
- `
- fragment Company_item on Companies {
- id
- name
- ein
- sales
- address
- site
- noEmployees
- history {
- id
- timestamp
- action
- field
- from
- to
- user {
- id
- username
- }
- }
- query Companies_Query {
- viewer {
- companies {
- id
- name
- ein
- multiSite
- siteLimit
- ...Company_item
- }
- }
- }
- `
Add Comment
Please, Sign In to add comment