2024-01-17 08:52:15 +00:00
|
|
|
import { gql } from '@apollo/client';
|
|
|
|
|
|
|
|
export const getUser = gql`
|
|
|
|
query {
|
|
|
|
user {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
email
|
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
2024-01-18 04:34:02 +00:00
|
|
|
|
|
|
|
export const getOrganizations = gql`
|
|
|
|
query {
|
|
|
|
organizations {
|
|
|
|
projects {
|
|
|
|
id
|
|
|
|
owner {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
deployments {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
name
|
|
|
|
repository
|
|
|
|
prodBranch
|
|
|
|
description
|
|
|
|
template
|
|
|
|
framework
|
|
|
|
webhooks
|
|
|
|
members {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
environmentVariables {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|