diff --git a/.gitignore b/.gitignore index 5ef6a52..4cbda39 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,8 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts +validator.ts +routes.ts + +# fonts +*.woff2 diff --git a/1bffadaabf893a1e-s.7cd81963.woff2 b/1bffadaabf893a1e-s.7cd81963.woff2 deleted file mode 100644 index 57da6f8..0000000 Binary files a/1bffadaabf893a1e-s.7cd81963.woff2 and /dev/null differ diff --git a/2bbe8d2671613f1f-s.76dcb0b2.woff2 b/2bbe8d2671613f1f-s.76dcb0b2.woff2 deleted file mode 100644 index 072229b..0000000 Binary files a/2bbe8d2671613f1f-s.76dcb0b2.woff2 and /dev/null differ diff --git a/2c55a0e60120577a-s.2a48534a.woff2 b/2c55a0e60120577a-s.2a48534a.woff2 deleted file mode 100644 index 2cd45ed..0000000 Binary files a/2c55a0e60120577a-s.2a48534a.woff2 and /dev/null differ diff --git a/4fa387ec64143e14-s.c1fdd6c2.woff2 b/4fa387ec64143e14-s.c1fdd6c2.woff2 deleted file mode 100644 index 46efdbd..0000000 Binary files a/4fa387ec64143e14-s.c1fdd6c2.woff2 and /dev/null differ diff --git a/5476f68d60460930-s.c995e352.woff2 b/5476f68d60460930-s.c995e352.woff2 deleted file mode 100644 index 9c71603..0000000 Binary files a/5476f68d60460930-s.c995e352.woff2 and /dev/null differ diff --git a/7178b3e590c64307-s.b97b3418.woff2 b/7178b3e590c64307-s.b97b3418.woff2 deleted file mode 100644 index e366499..0000000 Binary files a/7178b3e590c64307-s.b97b3418.woff2 and /dev/null differ diff --git a/797e433ab948586e-s.p.dbea232f.woff2 b/797e433ab948586e-s.p.dbea232f.woff2 deleted file mode 100644 index 68eeb7f..0000000 Binary files a/797e433ab948586e-s.p.dbea232f.woff2 and /dev/null differ diff --git a/83afe278b6a6bb3c-s.p.3a6ba036.woff2 b/83afe278b6a6bb3c-s.p.3a6ba036.woff2 deleted file mode 100644 index 91dc3e8..0000000 Binary files a/83afe278b6a6bb3c-s.p.3a6ba036.woff2 and /dev/null differ diff --git a/8a480f0b521d4e75-s.8e0177b5.woff2 b/8a480f0b521d4e75-s.8e0177b5.woff2 deleted file mode 100644 index eb8258c..0000000 Binary files a/8a480f0b521d4e75-s.8e0177b5.woff2 and /dev/null differ diff --git a/9c72aa0f40e4eef8-s.18a48cbc.woff2 b/9c72aa0f40e4eef8-s.18a48cbc.woff2 deleted file mode 100644 index bc0e0ab..0000000 Binary files a/9c72aa0f40e4eef8-s.18a48cbc.woff2 and /dev/null differ diff --git a/ad66f9afd8947f86-s.7a40eb73.woff2 b/ad66f9afd8947f86-s.7a40eb73.woff2 deleted file mode 100644 index b6dd1fa..0000000 Binary files a/ad66f9afd8947f86-s.7a40eb73.woff2 and /dev/null differ diff --git a/bbc41e54d2fcbd21-s.799d8ef8.woff2 b/bbc41e54d2fcbd21-s.799d8ef8.woff2 deleted file mode 100644 index 944424f..0000000 Binary files a/bbc41e54d2fcbd21-s.799d8ef8.woff2 and /dev/null differ diff --git a/caa3a2e1cccd8315-s.p.853070df.woff2 b/caa3a2e1cccd8315-s.p.853070df.woff2 deleted file mode 100644 index aba2e8b..0000000 Binary files a/caa3a2e1cccd8315-s.p.853070df.woff2 and /dev/null differ diff --git a/validator.ts b/validator.ts deleted file mode 100644 index b251682..0000000 --- a/validator.ts +++ /dev/null @@ -1,304 +0,0 @@ -// This file is generated automatically by Next.js -// Do not edit this file manually -// This file validates that all pages and layouts export the correct types - -import type { AppRoutes, LayoutRoutes, ParamMap, AppRouteHandlerRoutes } from "./routes.js" -import type { ResolvingMetadata, ResolvingViewport } from "next/types.js" -import type { NextRequest } from 'next/server.js' - -type AppPageConfig = { - default: React.ComponentType<{ params: Promise } & any> | ((props: { params: Promise } & any) => React.ReactNode | Promise | never | void | Promise) - generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[] - generateMetadata?: ( - props: { params: Promise } & any, - parent: ResolvingMetadata - ) => Promise | any - generateViewport?: ( - props: { params: Promise } & any, - parent: ResolvingViewport - ) => Promise | any - metadata?: any - viewport?: any -} - -type LayoutConfig = { - default: React.ComponentType> | ((props: LayoutProps) => React.ReactNode | Promise | never | void | Promise) - generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise | any[] - generateMetadata?: ( - props: { params: Promise } & any, - parent: ResolvingMetadata - ) => Promise | any - generateViewport?: ( - props: { params: Promise } & any, - parent: ResolvingViewport - ) => Promise | any - metadata?: any - viewport?: any -} - -type RouteHandlerConfig = { - GET?: (request: NextRequest, context: { params: Promise }) => Promise | Response | void - POST?: (request: NextRequest, context: { params: Promise }) => Promise | Response | void - PUT?: (request: NextRequest, context: { params: Promise }) => Promise | Response | void - PATCH?: (request: NextRequest, context: { params: Promise }) => Promise | Response | void - DELETE?: (request: NextRequest, context: { params: Promise }) => Promise | Response | void - HEAD?: (request: NextRequest, context: { params: Promise }) => Promise | Response | void - OPTIONS?: (request: NextRequest, context: { params: Promise }) => Promise | Response | void -} - - -// Validate ../../../app/addigy-devices/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/addigy-devices/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/config-enrichment-test/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/config-enrichment-test/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/configuration-items/[id]/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/configuration-items/[id]/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/configuration-items/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/configuration-items/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/setup/page.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/setup/page.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/addigy-devices/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/addigy-devices/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/addigy-policies/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/addigy-policies/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/companies/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/companies/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/config-enrichment/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/config-enrichment/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/config-items/[id]/tickets/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/config-items/[id]/tickets/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/configuration-items/[id]/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/configuration-items/[id]/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/configuration-items/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/configuration-items/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/contacts/[id]/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/contacts/[id]/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/debug-auth/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/debug-auth/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/health/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/health/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/invoices/[id]/line-items/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/invoices/[id]/line-items/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/picklists/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/picklists/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/resources/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/resources/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/rmm-audit/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/rmm-audit/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/rmm-devices/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/rmm-devices/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/rmm-test/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/rmm-test/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/tasks/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/tasks/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/test-zones/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/test-zones/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/tickets/[id]/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/tickets/[id]/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/tickets/[id]/time-entries/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/tickets/[id]/time-entries/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - -// Validate ../../../app/api/tickets/route.ts -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/api/tickets/route.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -} - - - - - -// Validate ../../../app/layout.tsx -{ - type __IsExpected> = Specific - const handler = {} as typeof import("../../../app/layout.js") - type __Check = __IsExpected - // @ts-ignore - type __Unused = __Check -}