Skip to content

Commit 76db83b

Browse files
committed
add netlify adapter
1 parent 28a6429 commit 76db83b

File tree

6 files changed

+77
-2933
lines changed

6 files changed

+77
-2933
lines changed

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
demo/
2+
test/
3+
.storybook/
4+
*.config.ts
5+
.github/
6+
.assets/

demo/.marko-run/routes.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55

66
import { NotHandled, NotMatched, GetPaths, PostPaths, GetablePath, GetableHref, PostablePath, PostableHref, Platform } from "@marko/run/namespace";
77
import type * as Run from "@marko/run";
8-
8+
import type { NetlifyFunctionsPlatformInfo } from '@marko/run-adapter-netlify';
99

1010
declare module "@marko/run" {
11+
interface Platform extends NetlifyFunctionsPlatformInfo {}
12+
1113
interface AppData extends Run.DefineApp<{
1214
routes: {
1315
"/": { verb: "get"; };

0 commit comments

Comments
 (0)