mirror of
https://github.com/run-llama/workflows-ts.git
synced 2026-07-21 06:05:23 -04:00
fix: ignore
This commit is contained in:
@@ -5,3 +5,4 @@ dist
|
||||
.cache
|
||||
.DS_Store
|
||||
*.pem
|
||||
src/pages.gen.ts
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
// deno-fmt-ignore-file
|
||||
// biome-ignore format: generated types do not need formatting
|
||||
// prettier-ignore
|
||||
import type { PathsForPages, GetConfigResponse } from 'waku/router';
|
||||
|
||||
// prettier-ignore
|
||||
import type { getConfig as About_getConfig } from './pages/about';
|
||||
// prettier-ignore
|
||||
import type { getConfig as Index_getConfig } from './pages/index';
|
||||
|
||||
// prettier-ignore
|
||||
type Page =
|
||||
| ({ path: '/about' } & GetConfigResponse<typeof About_getConfig>)
|
||||
| ({ path: '/' } & GetConfigResponse<typeof Index_getConfig>);
|
||||
|
||||
// prettier-ignore
|
||||
declare module 'waku/router' {
|
||||
interface RouteConfig {
|
||||
paths: PathsForPages<Page>;
|
||||
}
|
||||
interface CreatePagesConfig {
|
||||
pages: Page;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user