0b2ca9a515
* WIP version create * commitCreate migrated * minor cleanup * commitReceived migrated * added Project.object * Project.comment introduced * moving away old API usages in FE1 * ProjectMutations.batchDelete * project pending access requests * WIP project access req tests * project access req tests done * ModelByName test * version mutation tests * project.object tests * batch delete tests * minor improvements to redirect logging
26 lines
547 B
TypeScript
26 lines
547 B
TypeScript
import { gql } from 'apollo-server-express'
|
|
|
|
export const createProjectVersionMutation = gql`
|
|
mutation CreateProjectVersion($input: CreateVersionInput!) {
|
|
versionMutations {
|
|
create(input: $input) {
|
|
id
|
|
message
|
|
sourceApplication
|
|
model {
|
|
id
|
|
}
|
|
referencedObject
|
|
}
|
|
}
|
|
}
|
|
`
|
|
|
|
export const markProjectVersionReceivedMutation = gql`
|
|
mutation MarkProjectVersionReceived($input: MarkReceivedVersionInput!) {
|
|
versionMutations {
|
|
markReceived(input: $input)
|
|
}
|
|
}
|
|
`
|