Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

feat: use shadow_authors to provide author name for publication after migrated [SPMVP-6368] #298

Merged
merged 1 commit into from
Nov 13, 2023
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: 1 addition & 0 deletions packages/karbon/src/runtime/api/article.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ const GetArticle = gql`
last_name
full_name
}
shadow_authors
plan
metafields {
id
Expand Down
1 change: 1 addition & 0 deletions packages/karbon/src/runtime/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export interface Article {
full_name?: string
name?: string
}[]
shadow_authors?: string[]
layout?: { __typename?: 'Layout'; id: string; name: string } | null
tags: Array<{ __typename?: 'Tag'; id: string; name: string; slug: string }>
relevances: { id: string; title: string }[]
Expand Down