fix: support original_url
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
type CurrentLanguageResult = {
|
||||
url: string
|
||||
isExternal?: boolean
|
||||
}
|
||||
|
||||
export type LanguageSwitcherData = {
|
||||
@@ -12,7 +13,7 @@ export type LanguageSwitcherData = {
|
||||
}
|
||||
|
||||
type LanguageResult = {
|
||||
items: { url: string }[]
|
||||
items: { web?: { original_url?: string | null }; url: string }[]
|
||||
}
|
||||
|
||||
export type LanguageSwitcherQueryDataRaw = {
|
||||
|
||||
Reference in New Issue
Block a user