c92938eff3
* main changes seem to be done? * lint fix * minor cleanup * dataloader clear
26 lines
495 B
TypeScript
26 lines
495 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const createProjectModelQuery = gql`
|
|
mutation CreateProjectModel($input: CreateModelInput!) {
|
|
modelMutations {
|
|
create(input: $input) {
|
|
id
|
|
name
|
|
description
|
|
}
|
|
}
|
|
}
|
|
`
|
|
|
|
export const findProjectModelByNameQuery = gql`
|
|
query FindProjectModelByName($projectId: String!, $name: String!) {
|
|
project(id: $projectId) {
|
|
modelByName(name: $name) {
|
|
id
|
|
name
|
|
description
|
|
}
|
|
}
|
|
}
|
|
`
|