aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/homepage.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ts/types/homepage.ts')
-rw-r--r--src/ts/types/homepage.ts15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/ts/types/homepage.ts b/src/ts/types/homepage.ts
index 404aa38..8ff2ccb 100644
--- a/src/ts/types/homepage.ts
+++ b/src/ts/types/homepage.ts
@@ -1,19 +1,12 @@
-export type fetchHomePageReturn = () => Promise<HomePageResponse>;
-
-export type HomePageResponse = {
- nodeByUri: {
- id: string;
- content: string;
- };
-};
-
-export type getHomePageReturn = () => Promise<HomePage>;
-
export type HomePage = {
id: string;
content: string;
};
+export type HomePageBy = {
+ nodeByUri: HomePage;
+};
+
export type HomePageProps = {
data: HomePage;
};