feat: remove temppage

This commit is contained in:
Simon Emanuelsson
2024-02-12 15:40:02 +01:00
parent e11186933b
commit b103d9ef12
14 changed files with 22 additions and 58 deletions

View File

@@ -1,7 +1,6 @@
export enum EmbedEnum {
CurrentBlocksPage = "CurrentBlocksPage",
SysAsset = "SysAsset",
TempPage = "TempPage",
}
export type Embed = keyof typeof EmbedEnum

View File

@@ -1,14 +0,0 @@
import { Lang } from "@/types/lang"
import type { EmbedEnum } from "./embeds"
import type { Typename } from "./typename"
export type TempPageLink = {
system: {
uid: string
locale: Lang
}
title: string
url: string
}
export type TempPageLinkType = Typename<TempPageLink, EmbedEnum.TempPage>