2022-05-24 16:44:55 +02:00
|
|
|
interface APIParams {
|
|
|
|
offset?: number
|
|
|
|
limit?: number
|
|
|
|
sort?: string | "ASC" | "DESC"
|
|
|
|
filter?: {
|
|
|
|
[key: string]: any
|
|
|
|
}
|
|
|
|
count?: 1
|
|
|
|
}
|
2022-06-09 08:23:39 +02:00
|
|
|
|
|
|
|
interface CollectionEntry {
|
|
|
|
id?: string
|
|
|
|
insertTime?: string
|
|
|
|
updateTime?: string
|
|
|
|
[key: string]: any
|
|
|
|
}
|
|
|
|
|
2021-03-22 15:59:05 +01:00
|
|
|
interface Content {
|
|
|
|
id: string
|
2022-11-17 17:01:52 +01:00
|
|
|
public: boolean
|
|
|
|
path: string
|
2022-05-30 16:52:12 +02:00
|
|
|
locale: string
|
2022-11-17 17:01:52 +01:00
|
|
|
type: string[]
|
2022-05-30 16:52:12 +02:00
|
|
|
tags?: string[]
|
2022-11-17 17:01:52 +01:00
|
|
|
pageBuilder?: PageBuilderRow[]
|
2022-06-15 08:26:06 +02:00
|
|
|
meta: {
|
|
|
|
[key: string]: any
|
|
|
|
}
|
2021-03-22 15:59:05 +01:00
|
|
|
}
|
2022-03-17 11:12:06 +01:00
|
|
|
|
2022-11-17 17:01:52 +01:00
|
|
|
interface PageBuilderRow {
|
|
|
|
publish: boolean
|
|
|
|
columns: {
|
|
|
|
column1: PageBuilderColumn
|
|
|
|
column2: PageBuilderColumn
|
|
|
|
column3: PageBuilderColumn
|
|
|
|
column4: PageBuilderColumn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
interface PageBuilderColumn {
|
|
|
|
width: string
|
|
|
|
html: string
|
|
|
|
module: string
|
|
|
|
}
|
|
|
|
|
2022-05-24 16:44:55 +02:00
|
|
|
interface GeneralInfo {
|
2022-03-17 11:12:06 +01:00
|
|
|
id: string
|
2022-05-24 16:44:55 +02:00
|
|
|
public: boolean
|
|
|
|
meta: {
|
|
|
|
metaTitle: string
|
|
|
|
metaDescription: string
|
|
|
|
metaTagRobots: string
|
|
|
|
metaKeywords: string
|
|
|
|
}
|
2022-11-17 17:01:52 +01:00
|
|
|
person?: {
|
2022-05-24 16:44:55 +02:00
|
|
|
salutation: string
|
|
|
|
firstname: string
|
|
|
|
lastname: string
|
|
|
|
additional: string
|
|
|
|
street: string
|
|
|
|
postcode: number
|
|
|
|
city: string
|
|
|
|
tel: string
|
|
|
|
fax: string
|
|
|
|
mobile: string
|
|
|
|
email: string
|
|
|
|
}
|
2022-11-17 17:01:52 +01:00
|
|
|
company?: {
|
|
|
|
companyName: string
|
|
|
|
companyWebUrl: string
|
|
|
|
facebookUrl: string
|
|
|
|
instagramUrl: string
|
|
|
|
twitterUrl: string
|
|
|
|
companyAddresses: {
|
|
|
|
street: string
|
|
|
|
houseNumber: string
|
|
|
|
postcode: number
|
|
|
|
city: string
|
|
|
|
tel: string
|
|
|
|
fax: string
|
|
|
|
email: string
|
|
|
|
}[]
|
|
|
|
}
|
2022-05-24 16:44:55 +02:00
|
|
|
media: {
|
|
|
|
favicon: File
|
|
|
|
brand: File
|
|
|
|
mediaFiles: {
|
|
|
|
title: string
|
|
|
|
alternateText: string
|
|
|
|
id: string
|
|
|
|
file: File
|
|
|
|
}[]
|
|
|
|
}
|
|
|
|
copyrightText: string
|
2022-03-17 11:12:06 +01:00
|
|
|
insertTime: string
|
|
|
|
updateTime: string
|
|
|
|
}
|
|
|
|
|
|
|
|
interface File {
|
|
|
|
lastModified?: number
|
|
|
|
path: string
|
|
|
|
size?: string
|
|
|
|
src: string
|
|
|
|
type: string
|
|
|
|
}
|
2022-05-24 16:44:55 +02:00
|
|
|
|
|
|
|
interface Navigation {
|
|
|
|
id: string
|
|
|
|
ident: string
|
|
|
|
locale: string
|
|
|
|
items: NavigationItem[]
|
|
|
|
insertTime: string
|
|
|
|
updateTime: string
|
|
|
|
}
|
|
|
|
|
|
|
|
interface NavigationItem {
|
|
|
|
settings: {
|
|
|
|
title: string
|
|
|
|
page: string
|
|
|
|
items: NavigationItem[]
|
|
|
|
url: {
|
|
|
|
url: string
|
|
|
|
target: string
|
2022-06-16 09:48:18 +02:00
|
|
|
hidden: boolean
|
2022-05-24 16:44:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Locale {
|
|
|
|
key: string
|
2022-05-25 12:10:29 +02:00
|
|
|
title?: string
|
2022-05-24 16:44:55 +02:00
|
|
|
}
|
|
|
|
|
2022-11-17 17:01:52 +01:00
|
|
|
// interface Gallery {
|
|
|
|
// id: string
|
|
|
|
// title: string
|
|
|
|
// variant: string
|
|
|
|
// items: {
|
|
|
|
// file: File
|
|
|
|
// title: string
|
|
|
|
// descrition: string
|
|
|
|
// alt: string
|
|
|
|
// }[]
|
|
|
|
// }
|