feat: generate landing stub types outside (#33)

This commit is contained in:
RustamRu
2024-11-25 23:37:14 +03:00
parent 409c339b3c
commit 012de3c670
13 changed files with 78 additions and 189 deletions

View File

@@ -0,0 +1 @@
export * from './stubs';

View File

@@ -0,0 +1 @@
export { default as LandingSuccessStub } from './success';

View File

@@ -0,0 +1,27 @@
// Generated by json-literal-typer
// <-- BEGIN
interface HeroXsection {
description: "hero-section.description";
headline: "hero-section.headline";
video: "demo.mp4";
}
interface Sections {
description?: "benefits-section.description";
heading: "benefits-section.heading" | "social-proof-section.heading";
list?: ("benefits-section.list.0" | "benefits-section.list.1" | "benefits-section.list.2" | "benefits-section.list.3")[];
type: "benefits-section" | "social-proof-section";
}
interface Body {
"hero-section": HeroXsection;
sections: Sections[];
}
interface Root {
body: Body;
success: true;
}
// END -->
export default Root;