feat: improve structure and error handling

This commit is contained in:
Michael Zetterberg
2024-05-14 15:55:46 +02:00
parent 01587d7fd5
commit f5108d1a8e
104 changed files with 1505 additions and 1570 deletions
+13 -1
View File
@@ -12,8 +12,20 @@ export type LangParams = {
lang: Lang
}
export type StatusParams = {
status: number
}
export type ContentTypeParams = {
contentType: "loyalty-page" | "content-page"
}
export type UIDParams = {
uid: string
}
export type UriParams = {
uri?: string
uri: string | string[]
}
export type PreviewParams = {