hellojere
03/28/2017, 6:30 AMnilan
03/28/2017, 8:15 AMhellojere
03/28/2017, 8:15 AMnilan
03/28/2017, 8:17 AMProject model?hellojere
03/28/2017, 8:20 AMimage: File @relation(name: “ProjectImage”)nilan
03/28/2017, 8:22 AMcreateProject mutation that we can adjust>hellojere
03/28/2017, 8:24 AMmutation addProject(
$client: String!,
$description: String!,
$footer1: String!,
$footer2: String!,
$footer3: String!,
$footer4: String!,
$side: String!,
$slug: String!,
$soundcloudUrl: String!,
$thumbnail: String!,
$title: String!,
$title2: String!,
$videoUrl: String!
) {
createProject(
client: $client,
description: $description,
footer1: $footer1,
footer2: $footer2,
footer3: $footer3,
footer4: $footer4,
side: $side,
slug: $slug,
soundcloudUrl: $soundcloudUrl,
thumbnail: $thumbnail,
title: $title,
title2: $title2,
videoUrl: $videoUrl,
) {
id
side
slug
}
}nilan
03/28/2017, 8:28 AMmutation addProject(
$client: String!,
$description: String!,
$footer1: String!,
$footer2: String!,
$footer3: String!,
$footer4: String!,
$imageId: ID!,
$side: String!,
$slug: String!,
$soundcloudUrl: String!,
$thumbnail: String!,
$title: String!,
$title2: String!,
$videoUrl: String!
) {
createProject(
client: $client,
description: $description,
footer1: $footer1,
footer2: $footer2,
footer3: $footer3,
footer4: $footer4,
imageId: $imageId,
side: $side,
slug: $slug,
soundcloudUrl: $soundcloudUrl,
thumbnail: $thumbnail,
title: $title,
title2: $title2,
videoUrl: $videoUrl,
) {
id
side
slug
image {
id
}
}
}nilan
03/28/2017, 8:46 AMhellojere
03/28/2017, 8:52 AMnilan
03/28/2017, 8:52 AM