File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
packages/@apphosting/adapter-nextjs/src Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ export interface OutputBundleOptions {
101101 outputStaticDirectoryPath : string ;
102102}
103103
104+ // Metadata schema for adapter metadata
104105export interface AdapterMetadata {
105106 adapterPackageName : string ;
106107 adapterVersion : string ;
@@ -112,11 +113,13 @@ export interface Metadata extends AdapterMetadata {
112113 frameworkVersion : string ;
113114}
114115
116+ // Metadata schema for asset bindings
115117export interface AssetBinding {
116118 filePath : string ;
117119 name : string ;
118120}
119121
122+ // Metadata schema for middleware matchers
120123export interface MiddlewareMatcher {
121124 regexp : string ;
122125 locale ?: false ;
@@ -125,6 +128,7 @@ export interface MiddlewareMatcher {
125128 originalSource : string ;
126129}
127130
131+ // Metadata schema for edge function definitions
128132export interface EdgeFunctionDefinition {
129133 files : string [ ] ;
130134 name : string ;
@@ -134,6 +138,8 @@ export interface EdgeFunctionDefinition {
134138 assets ?: AssetBinding [ ] ;
135139 regions ?: string [ ] | string ;
136140}
141+
142+ // Metadata schema for middleware manifest
137143export interface MiddlewareManifest {
138144 version : number ;
139145 sortedMiddleware : string [ ] ;
You can’t perform that action at this time.
0 commit comments