Initial commit

This commit is contained in:
2023-10-19 16:49:05 -04:00
commit d731041378
63 changed files with 10037 additions and 0 deletions

View File

@ -0,0 +1,20 @@
export async function onBeforeRender(pageContext: PageContext) {
const typePermissions = {
appeal: [1 << 0, 1 << 1],
gma: [1 << 5],
report: [1 << 5],
};
const { searchParams } = new URL(
pageContext.urlOriginal,
"http://localhost:8788"
);
const includeClosed = searchParams.get("includeClosed");
const type = searchParams.get("type");
const sort = searchParams.get("sort") ?? "asc";
return {
pageContext: {
pageProps: {},
},
};
}