Added hidden admin only page prop effect

This commit is contained in:
Kevin FEDYNA
2025-01-27 10:39:42 +01:00
parent 1a784f8622
commit 4ff76fdf6f
6 changed files with 47 additions and 8 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
import { type RegularTagNode, type TextNode } from "@melvdouc/xml-parser";
import { AsyncRoute } from "$fresh/src/server/types.ts";
interface AuthenticatedState {
export interface AuthenticatedState {
isAuthenticated: true;
session: CasContent;
availablePages: Record<string, string>;
}
interface UnauthenticatedState {