Skip to content

Commit

Permalink
Merge branch 'develop' into feat/tabs-boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
gitwoz authored Sep 2, 2024
2 parents 599a3d0 + 1e1a070 commit e3b347f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/views/ArticleDetail/Header/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const fragments = {
id
shortHash
... on WritingChallenge {
id
nameZhHant: name(input: { language: zh_hant })
nameZhHans: name(input: { language: zh_hans })
nameEn: name(input: { language: en })
Expand Down
1 change: 1 addition & 0 deletions src/views/CampaignDetail/Apply/Dialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const APPLY_CAMPAIGN = gql`
applyCampaign(input: { id: $id }) {
id
... on WritingChallenge {
id
application {
state
createdAt
Expand Down
1 change: 1 addition & 0 deletions src/views/CampaignDetail/ArticleFeeds/MainFeed/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const CAMPAIGN_ARTICLES_PUBLIC = gql`
campaign(input: { shortHash: $shortHash }) {
id
... on WritingChallenge {
id
articles(input: { first: 20, after: $after, filter: $filter }) {
pageInfo {
startCursor
Expand Down
2 changes: 2 additions & 0 deletions src/views/CampaignDetail/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const CAMPAIGN_DETAIL = gql`
id
shortHash
... on WritingChallenge {
id
descriptionZhHant: description(input: { language: zh_hant })
descriptionZhHans: description(input: { language: zh_hans })
descriptionEn: description(input: { language: en })
Expand All @@ -35,6 +36,7 @@ export const GET_PARTICIPANTS = gql`
campaign(input: { shortHash: $shortHash }) {
id
... on WritingChallenge {
id
application {
state
}
Expand Down

0 comments on commit e3b347f

Please sign in to comment.