BREAKING: move a bunch of types into server/ (#263)

Moved some server only types like `RouteConfig` into server/. They were
previously in runtime/.
This commit is contained in:
Luca Casonato
2022-06-21 15:21:07 +02:00
committed by GitHub
parent 3458e35d8e
commit da340daeb2
22 changed files with 245 additions and 231 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
/** @jsx h */
/** @jsxFrag Fragment */
import { Fragment, h } from "preact";
import { Head, PageProps } from "$fresh/runtime.ts";
import { Handlers } from "$fresh/server.ts";
import { Head } from "$fresh/runtime.ts";
import { Handlers, PageProps } from "$fresh/server.ts";
import { apply, tw } from "../../utils/twind.ts";
import { frontMatter, gfm } from "../../utils/markdown.ts";
+2 -1
View File
@@ -1,7 +1,8 @@
/** @jsx h */
/** @jsxFrag Fragment */
import { ComponentChildren, Fragment, h } from "preact";
import { asset, Head, PageProps } from "$fresh/runtime.ts";
import { asset, Head } from "$fresh/runtime.ts";
import { PageProps } from "$fresh/server.ts";
import { tw } from "../utils/twind.ts";
import Counter from "../islands/Counter.tsx";
import LemonDrop from "../islands/LemonDrop.tsx";