wip custom reference page
This commit is contained in:
8
packages/website/app/modules/api/api-data.server.ts
Normal file
8
packages/website/app/modules/api/api-data.server.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { JSONOutput } from "typedoc"
|
||||
|
||||
export type ApiData = JSONOutput.ContainerReflection
|
||||
|
||||
export async function loadApiData(): Promise<ApiData> {
|
||||
const data = await import("~/assets/api.json")
|
||||
return data as ApiData
|
||||
}
|
||||
Reference in New Issue
Block a user