-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adapt to changes in rmnd_headless_news
- Loading branch information
Showing
14 changed files
with
39 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import type { DetailElement, Settings } from '..' | ||
import type { DetailNews, Settings } from '..' | ||
import { T3Model } from '#imports' | ||
|
||
export interface NewsDetail extends T3Model.Typo3.Content.Data.Header { | ||
data: { | ||
contentElements: [] | ||
news: DetailElement | ||
contentElements: T3Model.Typo3.Content.Element[] | ||
news: DetailNews | ||
settings: Settings | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import type { ListElement, Settings } from '..' | ||
import type { ListNews, Settings } from '..' | ||
import { T3Model } from '#imports' | ||
|
||
export interface NewsList extends T3Model.Typo3.Content.Data.Header { | ||
data: { | ||
pagination: T3Model.Typo3.Extbase.Pagination | ||
news: ListElement[] | ||
news: ListNews[] | ||
settings: Settings | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import type { News } from '.' | ||
|
||
export interface DetailNews extends News { | ||
bodytext: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
export * as Content from './content' | ||
export type { BaseElement } from './baseElement' | ||
export type { Category } from './category' | ||
export type { DetailElement } from './detailElement' | ||
export type { ListElement } from './listElement' | ||
export type { DetailNews } from './detailNews' | ||
export type { ListNews } from './listNews' | ||
export type { ListCategory } from './listCategory' | ||
export type { ListTag } from './listTag' | ||
export type { News } from './news' | ||
export type { Settings } from './settings' | ||
export type { Tag } from './tag' | ||
export type { Year } from './year' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import type { Category } from '.' | ||
|
||
export interface ListCategory extends Category { | ||
link: string | ||
active: boolean | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import type { News } from '.' | ||
|
||
export interface ListNews extends News { | ||
link: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import type { Tag } from '.' | ||
|
||
export interface ListTag extends Tag { | ||
link: string | ||
active: boolean | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
export interface Settings { | ||
orderBy?: string | ||
orderDirection?: 'asc' | 'desc' | ||
templateLayout: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters