feat: improve structure and error handling
This commit is contained in:
+13
-1
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user