component formatting and types
This commit is contained in:
parent
c2a7d15eeb
commit
ce745c06e5
60 changed files with 464 additions and 301 deletions
8
types/component/shared/emphasiseArticle.ts
Normal file
8
types/component/shared/emphasiseArticle.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import type Article from "../../collection/article";
|
||||
import type BaseComponent from "../baseComponent";
|
||||
|
||||
export default interface SharedEmphasiseArticle extends BaseComponent {
|
||||
__component: "shared.emphasise-article";
|
||||
articles: Array<Article>;
|
||||
link_to_articles: string;
|
||||
}
|
7
types/component/shared/list.ts
Normal file
7
types/component/shared/list.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import type Lookup from "../../collection/lookup";
|
||||
import type BaseComponent from "../baseComponent";
|
||||
|
||||
export default interface SharedList extends BaseComponent {
|
||||
__component: "shared.list";
|
||||
lookup: Lookup;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue