42 lines
684 B
TypeScript
42 lines
684 B
TypeScript
export { };
|
|
|
|
type ItemObject = {
|
|
id: number
|
|
name: string
|
|
teaser: string
|
|
img: string
|
|
description: string
|
|
}
|
|
|
|
type ModalSettings = {
|
|
ctaBtnText: string;
|
|
ctaDisclaimerText: string;
|
|
ctaSaveBtn: string;
|
|
}
|
|
|
|
type ContactModel = {
|
|
product_id: number;
|
|
email: string;
|
|
consent: boolean;
|
|
}
|
|
|
|
type DataModel = {
|
|
logo: {
|
|
src: string,
|
|
width: string
|
|
},
|
|
title: string,
|
|
modalSettings: ModalSettings,
|
|
itemsByLine: number,
|
|
items: Array<ItemObject>
|
|
};
|
|
|
|
declare global {
|
|
type Data = DataModel
|
|
type Item = ItemObject
|
|
type Settings = ModalSettings;
|
|
type Contact = ContactModel;
|
|
|
|
interface Window {
|
|
}
|
|
}
|