Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/groupher_server_web/schema/cms/mutations/blog.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Blog do
field :create_blog, :blog do
arg(:title, non_null(:string))
arg(:body, non_null(:string))
arg(:digest, non_null(:string))
arg(:community_id, non_null(:id))
arg(:link_addr, :string)
arg(:thread, :thread, default_value: :blog)
Expand Down
1 change: 0 additions & 1 deletion lib/groupher_server_web/schema/cms/mutations/drink.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Drink do
field :create_drink, :drink do
arg(:title, non_null(:string))
arg(:body, non_null(:string))
arg(:digest, non_null(:string))
arg(:community_id, non_null(:id))
arg(:thread, :thread, default_value: :drink)
arg(:article_tags, list_of(:id))
Expand Down
1 change: 0 additions & 1 deletion lib/groupher_server_web/schema/cms/mutations/guide.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Guide do
field :create_guide, :guide do
arg(:title, non_null(:string))
arg(:body, non_null(:string))
arg(:digest, non_null(:string))
arg(:community_id, non_null(:id))
arg(:thread, :thread, default_value: :guide)
arg(:article_tags, list_of(:id))
Expand Down
1 change: 0 additions & 1 deletion lib/groupher_server_web/schema/cms/mutations/job.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Job do
arg(:company, non_null(:string))
arg(:company_link, :string)
arg(:body, non_null(:string))
arg(:digest, non_null(:string))
arg(:community_id, non_null(:id))

arg(:desc, :string)
Expand Down
1 change: 0 additions & 1 deletion lib/groupher_server_web/schema/cms/mutations/meetup.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Meetup do
field :create_meetup, :meetup do
arg(:title, non_null(:string))
arg(:body, non_null(:string))
arg(:digest, non_null(:string))
arg(:community_id, non_null(:id))
arg(:thread, :thread, default_value: :meetup)
arg(:article_tags, list_of(:id))
Expand Down
1 change: 0 additions & 1 deletion lib/groupher_server_web/schema/cms/mutations/post.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Post do
field :create_post, :post do
arg(:title, non_null(:string))
arg(:body, non_null(:string))
arg(:digest, non_null(:string))
arg(:link_addr, :string)
arg(:copy_right, :string)
arg(:community_id, non_null(:id))
Expand Down
1 change: 0 additions & 1 deletion lib/groupher_server_web/schema/cms/mutations/radar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Radar do
field :create_radar, :radar do
arg(:title, non_null(:string))
arg(:body, non_null(:string))
arg(:digest, non_null(:string))
arg(:community_id, non_null(:id))
arg(:thread, :thread, default_value: :radar)
arg(:article_tags, list_of(:id))
Expand Down
1 change: 0 additions & 1 deletion lib/groupher_server_web/schema/cms/mutations/works.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Works do
field :create_works, :works do
arg(:title, non_null(:string))
arg(:body, non_null(:string))
arg(:digest, non_null(:string))
arg(:community_id, non_null(:id))
arg(:thread, :thread, default_value: :works)
arg(:article_tags, list_of(:id))
Expand Down
2 changes: 0 additions & 2 deletions test/groupher_server_web/mutation/cms/articles/blog_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Blog do
mutation (
$title: String!,
$body: String,
$digest: String!,
$communityId: ID!,
$articleTags: [Id]
) {
createBlog(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
articleTags: $articleTags
) {
Expand Down
2 changes: 0 additions & 2 deletions test/groupher_server_web/mutation/cms/articles/drink_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Drink do
mutation (
$title: String!,
$body: String,
$digest: String!,
$communityId: ID!,
$articleTags: [Id]
) {
createDrink(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
articleTags: $articleTags
) {
Expand Down
2 changes: 0 additions & 2 deletions test/groupher_server_web/mutation/cms/articles/guide_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Guide do
mutation (
$title: String!,
$body: String,
$digest: String!,
$communityId: ID!,
$articleTags: [Id]
) {
createGuide(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
articleTags: $articleTags
) {
Expand Down
2 changes: 0 additions & 2 deletions test/groupher_server_web/mutation/cms/articles/job_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ defmodule GroupherServer.Test.Mutation.Articles.Job do
mutation (
$title: String!,
$body: String!,
$digest: String!,
$communityId: ID!,
$company: String!,
$articleTags: [Id]
) {
createJob(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
company: $company,
articleTags: $articleTags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Meetup do
mutation (
$title: String!,
$body: String,
$digest: String!,
$communityId: ID!,
$articleTags: [Id]
) {
createMeetup(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
articleTags: $articleTags
) {
Expand Down
2 changes: 0 additions & 2 deletions test/groupher_server_web/mutation/cms/articles/post_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Post do
mutation(
$title: String!
$body: String!
$digest: String!
$communityId: ID!
$articleTags: [Id]
) {
createPost(
title: $title
body: $body
digest: $digest
communityId: $communityId
articleTags: $articleTags
) {
Expand Down
2 changes: 0 additions & 2 deletions test/groupher_server_web/mutation/cms/articles/radar_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Radar do
mutation (
$title: String!,
$body: String,
$digest: String!,
$communityId: ID!,
$articleTags: [Id]
) {
createRadar(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
articleTags: $articleTags
) {
Expand Down
2 changes: 0 additions & 2 deletions test/groupher_server_web/mutation/cms/articles/works_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Works do
mutation (
$title: String!,
$body: String,
$digest: String!,
$communityId: ID!,
$articleTags: [Id]
) {
createWorks(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
articleTags: $articleTags
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ defmodule GroupherServer.Test.Mutation.PublishThrottle do
mutation(
$title: String!
$body: String!
$digest: String!
$communityId: ID!
) {
createPost(
title: $title
body: $body
digest: $digest
communityId: $communityId
) {
title
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ defmodule GroupherServer.Test.Mutation.Statistics do
mutation(
$title: String!
$body: String!
$digest: String!
$communityId: ID!
$articleTags: [Ids]
) {
createPost(
title: $title
body: $body
digest: $digest
communityId: $communityId
articleTags: $articleTags
) {
Expand Down Expand Up @@ -62,15 +60,13 @@ defmodule GroupherServer.Test.Mutation.Statistics do
mutation (
$title: String!,
$body: String!,
$digest: String!,
$communityId: ID!,
$company: String!,
$articleTags: [Ids]
) {
createJob(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
company: $company,
articleTags: $articleTags
Expand Down Expand Up @@ -98,14 +94,12 @@ defmodule GroupherServer.Test.Mutation.Statistics do
mutation (
$title: String!,
$body: String!,
$digest: String!,
$communityId: ID!,
$articleTags: [Ids]
) {
createBlog(
title: $title,
body: $body,
digest: $digest,
communityId: $communityId,
articleTags: $articleTags
) {
Expand Down