@gigadrive/network-config 3.4.16 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -41,48 +41,6 @@ interface NormalizedImagePolicy {
41
41
  type JsonValue = null | boolean | number | string | JsonValue[] | {
42
42
  [key: string]: JsonValue;
43
43
  };
44
- type GigadriveNextRuntime = 'nodejs' | 'edge';
45
- interface GigadriveNextEdgeRuntime {
46
- modulePath: string;
47
- entryKey: string;
48
- handlerExport: string;
49
- }
50
- interface GigadriveNextEntrypoint {
51
- id: string;
52
- runtime: GigadriveNextRuntime;
53
- filePath: string;
54
- outputIds: string[];
55
- assets: Record<string, string>;
56
- wasmAssets?: Record<string, string>;
57
- edgeRuntime?: GigadriveNextEdgeRuntime;
58
- config: {
59
- maxDuration?: number;
60
- preferredRegion?: string | string[];
61
- env?: Record<string, string>;
62
- };
63
- }
64
- interface GigadriveNextRouteOutput {
65
- id: string;
66
- type: 'PAGES' | 'PAGES_API' | 'APP_PAGE' | 'APP_ROUTE' | 'MIDDLEWARE';
67
- filePath: string;
68
- pathname: string;
69
- sourcePage: string;
70
- runtime: GigadriveNextRuntime;
71
- assets: Record<string, string>;
72
- wasmAssets?: Record<string, string>;
73
- edgeRuntime?: GigadriveNextEdgeRuntime;
74
- config: {
75
- maxDuration?: number;
76
- preferredRegion?: string | string[];
77
- env?: Record<string, string>;
78
- matchers?: Array<{
79
- source: string;
80
- sourceRegex: string;
81
- has?: JsonValue[];
82
- missing?: JsonValue[];
83
- }>;
84
- };
85
- }
86
44
  interface GigadriveNextPrerenderOutput {
87
45
  id: string;
88
46
  type: 'PRERENDER';
@@ -110,12 +68,18 @@ interface GigadriveNextPrerenderOutput {
110
68
  bypassToken?: string;
111
69
  };
112
70
  }
113
- interface GigadriveNextStaticOutput {
114
- id: string;
115
- type: 'STATIC_FILE';
116
- filePath: string;
117
- pathname: string;
118
- immutableHash?: string;
71
+ /**
72
+ * A directory subtree published under a single URL prefix, registered as one
73
+ * descriptor instead of enumerating every file. Used to collapse `.next/static`
74
+ * (thousands of content-hashed chunks) into a single edge-served prefix.
75
+ */
76
+ interface GigadriveNextStaticAssetPrefix {
77
+ /** Project-relative source directory (e.g. `.next/static`). */
78
+ sourceDir: string;
79
+ /** Public URL prefix the subtree is served under (e.g. `_next/static`). */
80
+ urlPrefix: string;
81
+ /** Entries are content-hashed and safe to serve with immutable cache-control. */
82
+ immutable: boolean;
119
83
  }
120
84
  interface GigadriveNextBuildManifestV1 {
121
85
  version: 1;
@@ -125,14 +89,29 @@ interface GigadriveNextBuildManifestV1 {
125
89
  nextVersion: string;
126
90
  buildId: string;
127
91
  }
128
- /** Portable build/runtime plan emitted by the Next.js 16 deployment adapter. */
129
- interface GigadriveNextBuildManifestV2 {
92
+ /** Aggregated runtime configuration collapsed onto the single standalone server. */
93
+ interface GigadriveNextServerDescriptor {
94
+ maxDuration?: number;
95
+ preferredRegion?: string | string[];
96
+ env?: Record<string, string>;
97
+ }
98
+ /**
99
+ * Portable runtime plan for the single standalone Next.js server (Next >= 16.2).
100
+ *
101
+ * The whole deployment runs as one `next start` standalone server, so the plan
102
+ * carries only what the platform needs to route around it: prerender/ISR/PPR
103
+ * seeds, the `.next/static` prefix, and the routing/image configuration. It
104
+ * deliberately omits per-route outputs and entrypoints — the server owns
105
+ * routing, middleware, edge routes, and PPR resume in-process.
106
+ */
107
+ interface GigadriveNextBuildManifestV2Standalone {
130
108
  version: 2;
131
- mode: 'adapter-v2' | 'export';
109
+ mode: 'standalone-v2';
132
110
  distDir: string;
133
111
  repoRootToProject: string;
134
112
  nextVersion: string;
135
113
  buildId: string;
114
+ server: GigadriveNextServerDescriptor;
136
115
  config: {
137
116
  basePath: string;
138
117
  trailingSlash: boolean;
@@ -151,17 +130,20 @@ interface GigadriveNextBuildManifestV2 {
151
130
  rsc: JsonValue;
152
131
  };
153
132
  outputs: {
154
- pages: GigadriveNextRouteOutput[];
155
- middleware?: GigadriveNextRouteOutput;
156
- appPages: GigadriveNextRouteOutput[];
157
- pagesApi: GigadriveNextRouteOutput[];
158
- appRoutes: GigadriveNextRouteOutput[];
159
133
  prerenders: GigadriveNextPrerenderOutput[];
160
- staticFiles: GigadriveNextStaticOutput[];
134
+ staticAssets: GigadriveNextStaticAssetPrefix[];
161
135
  };
162
- entrypoints: GigadriveNextEntrypoint[];
163
- outputEntrypoints: Record<string, string>;
164
136
  }
137
+ /** Minimal plan for static-export builds (Next >= 16.2). */
138
+ interface GigadriveNextBuildManifestV2Export {
139
+ version: 2;
140
+ mode: 'export';
141
+ distDir: string;
142
+ repoRootToProject: string;
143
+ nextVersion: string;
144
+ buildId: string;
145
+ }
146
+ type GigadriveNextBuildManifestV2 = GigadriveNextBuildManifestV2Standalone | GigadriveNextBuildManifestV2Export;
165
147
  type GigadriveNextBuildManifest = GigadriveNextBuildManifestV1 | GigadriveNextBuildManifestV2;
166
148
  /** Parses and structurally validates adapter metadata before deployment code consumes it. */
167
149
  declare const parseGigadriveNextBuildManifest: (content: string) => GigadriveNextBuildManifest | undefined;
@@ -206,6 +188,24 @@ interface NormalizedConfig {
206
188
  path?: string;
207
189
  contentType?: string;
208
190
  }>;
191
+ /**
192
+ * Directory subtrees published under a single URL prefix, registered as one
193
+ * descriptor each instead of enumerating every file. Used to collapse
194
+ * high-cardinality immutable trees such as `.next/static` into a single
195
+ * edge-served prefix (one object-storage sync + one route, not one per file).
196
+ */
197
+ prefixes?: Array<{
198
+ /** Project-relative source directory root (e.g. `.next/static`). */
199
+ source: string;
200
+ /** Public URL prefix to serve the subtree under (e.g. `_next/static`). */
201
+ destination: string;
202
+ /** Serve with immutable cache-control (content-hashed assets). */
203
+ immutable?: boolean;
204
+ /** Populate the edge cache for this subtree at deployment time. */
205
+ populateCache?: boolean;
206
+ /** Optional Content-Type override applied to the whole subtree. */
207
+ contentType?: string;
208
+ }>;
209
209
  /**
210
210
  * Whether routes for the assets should be generated during deployment.
211
211
  */
@@ -315,7 +315,13 @@ interface NormalizedConfigEntrypoint {
315
315
  };
316
316
  }
317
317
  type NormalizedFramework = NormalizedNextjsFramework;
318
- type NormalizedNextjsFramework = Omit<GigadriveNextBuildManifestV2, 'version'> & {
318
+ /**
319
+ * Framework runtime metadata the Network gateway consumes. Mirrors the single
320
+ * standalone-server manifest (minus the wire `version`) plus the persisted
321
+ * discriminators. The whole deployment runs as one standalone server, so this
322
+ * carries prerender/routing/image metadata but no per-route entrypoints.
323
+ */
324
+ type NormalizedNextjsFramework = Omit<GigadriveNextBuildManifestV2Standalone, 'version'> & {
319
325
  type: 'nextjs';
320
326
  schemaVersion: 2;
321
327
  };
@@ -435,6 +441,14 @@ interface FrameworkDefaultConfig {
435
441
  path?: string;
436
442
  contentType?: string;
437
443
  }>;
444
+ /** Directory subtrees to publish under a URL prefix without per-file enumeration. */
445
+ assetPrefixes?: Array<{
446
+ source: string;
447
+ destination: string;
448
+ immutable?: boolean;
449
+ populateCache?: boolean;
450
+ contentType?: string;
451
+ }>;
438
452
  populateAssetCache?: boolean;
439
453
  routes: Array<{
440
454
  source: string;
@@ -850,4 +864,4 @@ declare const postProcessConfig: (config: NormalizedConfig, projectFolder: strin
850
864
 
851
865
  declare const NetworkConfigLive: Layer.Layer<RawConfigReader | SchemaValidator | V4ConfigParser | VercelBuildOutputParser, never, _effect_platform_FileSystem.FileSystem | _effect_platform_Path.Path>;
852
866
 
853
- export { ALLOWED_CONFIG_NAMES, AVAILABLE_REGIONS, AVAILABLE_RUNTIMES, type Config, ConfigFileEmptyError, ConfigFileNotFoundError, ConfigFileParseError, ConfigSchemaValidationError, ConfigVersionError, DEFAULT_FUNCTION_DURATION_SECONDS, type DetectionResult, FRAMEWORK_DEFINITIONS, type FilePathMap, type FrameworkDefaultConfig, type FrameworkDefinition, type FrameworkDetectionItem, type FrameworkLanguage, FrameworkNotDetectedError, FunctionConfigError, type GigadriveNextBuildManifest, type GigadriveNextBuildManifestV1, type GigadriveNextBuildManifestV2, type GigadriveNextEdgeRuntime, type GigadriveNextEntrypoint, type GigadriveNextPrerenderOutput, type GigadriveNextRouteOutput, type GigadriveNextRuntime, type GigadriveNextStaticOutput, type JsonValue, MAX_FUNCTION_DURATION_SECONDS, ManifestNotFoundError, ManifestParseError, ManifestReadError, type NeonAWSRegion, NetworkConfigLive, type NormalizedConfig, type NormalizedConfigEntrypoint, type NormalizedConfigRoute, type NormalizedConfigRouteHandler, type NormalizedConfigRouteMatchRequirements, type NormalizedConfigRouteMethod, type NormalizedConfigService, type NormalizedConfigServicePostgres, type NormalizedConfigServiceRedis, type NormalizedConfigServiceType, type NormalizedFramework, type NormalizedImageFit, type NormalizedImageFormat, type NormalizedImageLocalPattern, type NormalizedImagePolicy, type NormalizedImageRemotePattern, type NormalizedImageVariant, type NormalizedNextjsFramework, type NormalizedSharedArtifact, type PackageManager, RawConfigReader, type Region, type Runtime, SchemaValidator, type UpstashAWSRegion, V4ConfigParser, VercelBuildOutputParser, detectFramework, detectPackageManager, filterFunctionsFromAssets, generateConfig, getFunctionSettings, mergeWithFrameworkDefaults, parseConfig, parseConfigRaw, parseGigadriveNextBuildManifest, postProcessConfig, readDependencies };
867
+ export { ALLOWED_CONFIG_NAMES, AVAILABLE_REGIONS, AVAILABLE_RUNTIMES, type Config, ConfigFileEmptyError, ConfigFileNotFoundError, ConfigFileParseError, ConfigSchemaValidationError, ConfigVersionError, DEFAULT_FUNCTION_DURATION_SECONDS, type DetectionResult, FRAMEWORK_DEFINITIONS, type FilePathMap, type FrameworkDefaultConfig, type FrameworkDefinition, type FrameworkDetectionItem, type FrameworkLanguage, FrameworkNotDetectedError, FunctionConfigError, type GigadriveNextBuildManifest, type GigadriveNextBuildManifestV1, type GigadriveNextBuildManifestV2, type GigadriveNextBuildManifestV2Export, type GigadriveNextBuildManifestV2Standalone, type GigadriveNextPrerenderOutput, type GigadriveNextServerDescriptor, type GigadriveNextStaticAssetPrefix, type JsonValue, MAX_FUNCTION_DURATION_SECONDS, ManifestNotFoundError, ManifestParseError, ManifestReadError, type NeonAWSRegion, NetworkConfigLive, type NormalizedConfig, type NormalizedConfigEntrypoint, type NormalizedConfigRoute, type NormalizedConfigRouteHandler, type NormalizedConfigRouteMatchRequirements, type NormalizedConfigRouteMethod, type NormalizedConfigService, type NormalizedConfigServicePostgres, type NormalizedConfigServiceRedis, type NormalizedConfigServiceType, type NormalizedFramework, type NormalizedImageFit, type NormalizedImageFormat, type NormalizedImageLocalPattern, type NormalizedImagePolicy, type NormalizedImageRemotePattern, type NormalizedImageVariant, type NormalizedNextjsFramework, type NormalizedSharedArtifact, type PackageManager, RawConfigReader, type Region, type Runtime, SchemaValidator, type UpstashAWSRegion, V4ConfigParser, VercelBuildOutputParser, detectFramework, detectPackageManager, filterFunctionsFromAssets, generateConfig, getFunctionSettings, mergeWithFrameworkDefaults, parseConfig, parseConfigRaw, parseGigadriveNextBuildManifest, postProcessConfig, readDependencies };
package/dist/index.d.ts CHANGED
@@ -41,48 +41,6 @@ interface NormalizedImagePolicy {
41
41
  type JsonValue = null | boolean | number | string | JsonValue[] | {
42
42
  [key: string]: JsonValue;
43
43
  };
44
- type GigadriveNextRuntime = 'nodejs' | 'edge';
45
- interface GigadriveNextEdgeRuntime {
46
- modulePath: string;
47
- entryKey: string;
48
- handlerExport: string;
49
- }
50
- interface GigadriveNextEntrypoint {
51
- id: string;
52
- runtime: GigadriveNextRuntime;
53
- filePath: string;
54
- outputIds: string[];
55
- assets: Record<string, string>;
56
- wasmAssets?: Record<string, string>;
57
- edgeRuntime?: GigadriveNextEdgeRuntime;
58
- config: {
59
- maxDuration?: number;
60
- preferredRegion?: string | string[];
61
- env?: Record<string, string>;
62
- };
63
- }
64
- interface GigadriveNextRouteOutput {
65
- id: string;
66
- type: 'PAGES' | 'PAGES_API' | 'APP_PAGE' | 'APP_ROUTE' | 'MIDDLEWARE';
67
- filePath: string;
68
- pathname: string;
69
- sourcePage: string;
70
- runtime: GigadriveNextRuntime;
71
- assets: Record<string, string>;
72
- wasmAssets?: Record<string, string>;
73
- edgeRuntime?: GigadriveNextEdgeRuntime;
74
- config: {
75
- maxDuration?: number;
76
- preferredRegion?: string | string[];
77
- env?: Record<string, string>;
78
- matchers?: Array<{
79
- source: string;
80
- sourceRegex: string;
81
- has?: JsonValue[];
82
- missing?: JsonValue[];
83
- }>;
84
- };
85
- }
86
44
  interface GigadriveNextPrerenderOutput {
87
45
  id: string;
88
46
  type: 'PRERENDER';
@@ -110,12 +68,18 @@ interface GigadriveNextPrerenderOutput {
110
68
  bypassToken?: string;
111
69
  };
112
70
  }
113
- interface GigadriveNextStaticOutput {
114
- id: string;
115
- type: 'STATIC_FILE';
116
- filePath: string;
117
- pathname: string;
118
- immutableHash?: string;
71
+ /**
72
+ * A directory subtree published under a single URL prefix, registered as one
73
+ * descriptor instead of enumerating every file. Used to collapse `.next/static`
74
+ * (thousands of content-hashed chunks) into a single edge-served prefix.
75
+ */
76
+ interface GigadriveNextStaticAssetPrefix {
77
+ /** Project-relative source directory (e.g. `.next/static`). */
78
+ sourceDir: string;
79
+ /** Public URL prefix the subtree is served under (e.g. `_next/static`). */
80
+ urlPrefix: string;
81
+ /** Entries are content-hashed and safe to serve with immutable cache-control. */
82
+ immutable: boolean;
119
83
  }
120
84
  interface GigadriveNextBuildManifestV1 {
121
85
  version: 1;
@@ -125,14 +89,29 @@ interface GigadriveNextBuildManifestV1 {
125
89
  nextVersion: string;
126
90
  buildId: string;
127
91
  }
128
- /** Portable build/runtime plan emitted by the Next.js 16 deployment adapter. */
129
- interface GigadriveNextBuildManifestV2 {
92
+ /** Aggregated runtime configuration collapsed onto the single standalone server. */
93
+ interface GigadriveNextServerDescriptor {
94
+ maxDuration?: number;
95
+ preferredRegion?: string | string[];
96
+ env?: Record<string, string>;
97
+ }
98
+ /**
99
+ * Portable runtime plan for the single standalone Next.js server (Next >= 16.2).
100
+ *
101
+ * The whole deployment runs as one `next start` standalone server, so the plan
102
+ * carries only what the platform needs to route around it: prerender/ISR/PPR
103
+ * seeds, the `.next/static` prefix, and the routing/image configuration. It
104
+ * deliberately omits per-route outputs and entrypoints — the server owns
105
+ * routing, middleware, edge routes, and PPR resume in-process.
106
+ */
107
+ interface GigadriveNextBuildManifestV2Standalone {
130
108
  version: 2;
131
- mode: 'adapter-v2' | 'export';
109
+ mode: 'standalone-v2';
132
110
  distDir: string;
133
111
  repoRootToProject: string;
134
112
  nextVersion: string;
135
113
  buildId: string;
114
+ server: GigadriveNextServerDescriptor;
136
115
  config: {
137
116
  basePath: string;
138
117
  trailingSlash: boolean;
@@ -151,17 +130,20 @@ interface GigadriveNextBuildManifestV2 {
151
130
  rsc: JsonValue;
152
131
  };
153
132
  outputs: {
154
- pages: GigadriveNextRouteOutput[];
155
- middleware?: GigadriveNextRouteOutput;
156
- appPages: GigadriveNextRouteOutput[];
157
- pagesApi: GigadriveNextRouteOutput[];
158
- appRoutes: GigadriveNextRouteOutput[];
159
133
  prerenders: GigadriveNextPrerenderOutput[];
160
- staticFiles: GigadriveNextStaticOutput[];
134
+ staticAssets: GigadriveNextStaticAssetPrefix[];
161
135
  };
162
- entrypoints: GigadriveNextEntrypoint[];
163
- outputEntrypoints: Record<string, string>;
164
136
  }
137
+ /** Minimal plan for static-export builds (Next >= 16.2). */
138
+ interface GigadriveNextBuildManifestV2Export {
139
+ version: 2;
140
+ mode: 'export';
141
+ distDir: string;
142
+ repoRootToProject: string;
143
+ nextVersion: string;
144
+ buildId: string;
145
+ }
146
+ type GigadriveNextBuildManifestV2 = GigadriveNextBuildManifestV2Standalone | GigadriveNextBuildManifestV2Export;
165
147
  type GigadriveNextBuildManifest = GigadriveNextBuildManifestV1 | GigadriveNextBuildManifestV2;
166
148
  /** Parses and structurally validates adapter metadata before deployment code consumes it. */
167
149
  declare const parseGigadriveNextBuildManifest: (content: string) => GigadriveNextBuildManifest | undefined;
@@ -206,6 +188,24 @@ interface NormalizedConfig {
206
188
  path?: string;
207
189
  contentType?: string;
208
190
  }>;
191
+ /**
192
+ * Directory subtrees published under a single URL prefix, registered as one
193
+ * descriptor each instead of enumerating every file. Used to collapse
194
+ * high-cardinality immutable trees such as `.next/static` into a single
195
+ * edge-served prefix (one object-storage sync + one route, not one per file).
196
+ */
197
+ prefixes?: Array<{
198
+ /** Project-relative source directory root (e.g. `.next/static`). */
199
+ source: string;
200
+ /** Public URL prefix to serve the subtree under (e.g. `_next/static`). */
201
+ destination: string;
202
+ /** Serve with immutable cache-control (content-hashed assets). */
203
+ immutable?: boolean;
204
+ /** Populate the edge cache for this subtree at deployment time. */
205
+ populateCache?: boolean;
206
+ /** Optional Content-Type override applied to the whole subtree. */
207
+ contentType?: string;
208
+ }>;
209
209
  /**
210
210
  * Whether routes for the assets should be generated during deployment.
211
211
  */
@@ -315,7 +315,13 @@ interface NormalizedConfigEntrypoint {
315
315
  };
316
316
  }
317
317
  type NormalizedFramework = NormalizedNextjsFramework;
318
- type NormalizedNextjsFramework = Omit<GigadriveNextBuildManifestV2, 'version'> & {
318
+ /**
319
+ * Framework runtime metadata the Network gateway consumes. Mirrors the single
320
+ * standalone-server manifest (minus the wire `version`) plus the persisted
321
+ * discriminators. The whole deployment runs as one standalone server, so this
322
+ * carries prerender/routing/image metadata but no per-route entrypoints.
323
+ */
324
+ type NormalizedNextjsFramework = Omit<GigadriveNextBuildManifestV2Standalone, 'version'> & {
319
325
  type: 'nextjs';
320
326
  schemaVersion: 2;
321
327
  };
@@ -435,6 +441,14 @@ interface FrameworkDefaultConfig {
435
441
  path?: string;
436
442
  contentType?: string;
437
443
  }>;
444
+ /** Directory subtrees to publish under a URL prefix without per-file enumeration. */
445
+ assetPrefixes?: Array<{
446
+ source: string;
447
+ destination: string;
448
+ immutable?: boolean;
449
+ populateCache?: boolean;
450
+ contentType?: string;
451
+ }>;
438
452
  populateAssetCache?: boolean;
439
453
  routes: Array<{
440
454
  source: string;
@@ -850,4 +864,4 @@ declare const postProcessConfig: (config: NormalizedConfig, projectFolder: strin
850
864
 
851
865
  declare const NetworkConfigLive: Layer.Layer<RawConfigReader | SchemaValidator | V4ConfigParser | VercelBuildOutputParser, never, _effect_platform_FileSystem.FileSystem | _effect_platform_Path.Path>;
852
866
 
853
- export { ALLOWED_CONFIG_NAMES, AVAILABLE_REGIONS, AVAILABLE_RUNTIMES, type Config, ConfigFileEmptyError, ConfigFileNotFoundError, ConfigFileParseError, ConfigSchemaValidationError, ConfigVersionError, DEFAULT_FUNCTION_DURATION_SECONDS, type DetectionResult, FRAMEWORK_DEFINITIONS, type FilePathMap, type FrameworkDefaultConfig, type FrameworkDefinition, type FrameworkDetectionItem, type FrameworkLanguage, FrameworkNotDetectedError, FunctionConfigError, type GigadriveNextBuildManifest, type GigadriveNextBuildManifestV1, type GigadriveNextBuildManifestV2, type GigadriveNextEdgeRuntime, type GigadriveNextEntrypoint, type GigadriveNextPrerenderOutput, type GigadriveNextRouteOutput, type GigadriveNextRuntime, type GigadriveNextStaticOutput, type JsonValue, MAX_FUNCTION_DURATION_SECONDS, ManifestNotFoundError, ManifestParseError, ManifestReadError, type NeonAWSRegion, NetworkConfigLive, type NormalizedConfig, type NormalizedConfigEntrypoint, type NormalizedConfigRoute, type NormalizedConfigRouteHandler, type NormalizedConfigRouteMatchRequirements, type NormalizedConfigRouteMethod, type NormalizedConfigService, type NormalizedConfigServicePostgres, type NormalizedConfigServiceRedis, type NormalizedConfigServiceType, type NormalizedFramework, type NormalizedImageFit, type NormalizedImageFormat, type NormalizedImageLocalPattern, type NormalizedImagePolicy, type NormalizedImageRemotePattern, type NormalizedImageVariant, type NormalizedNextjsFramework, type NormalizedSharedArtifact, type PackageManager, RawConfigReader, type Region, type Runtime, SchemaValidator, type UpstashAWSRegion, V4ConfigParser, VercelBuildOutputParser, detectFramework, detectPackageManager, filterFunctionsFromAssets, generateConfig, getFunctionSettings, mergeWithFrameworkDefaults, parseConfig, parseConfigRaw, parseGigadriveNextBuildManifest, postProcessConfig, readDependencies };
867
+ export { ALLOWED_CONFIG_NAMES, AVAILABLE_REGIONS, AVAILABLE_RUNTIMES, type Config, ConfigFileEmptyError, ConfigFileNotFoundError, ConfigFileParseError, ConfigSchemaValidationError, ConfigVersionError, DEFAULT_FUNCTION_DURATION_SECONDS, type DetectionResult, FRAMEWORK_DEFINITIONS, type FilePathMap, type FrameworkDefaultConfig, type FrameworkDefinition, type FrameworkDetectionItem, type FrameworkLanguage, FrameworkNotDetectedError, FunctionConfigError, type GigadriveNextBuildManifest, type GigadriveNextBuildManifestV1, type GigadriveNextBuildManifestV2, type GigadriveNextBuildManifestV2Export, type GigadriveNextBuildManifestV2Standalone, type GigadriveNextPrerenderOutput, type GigadriveNextServerDescriptor, type GigadriveNextStaticAssetPrefix, type JsonValue, MAX_FUNCTION_DURATION_SECONDS, ManifestNotFoundError, ManifestParseError, ManifestReadError, type NeonAWSRegion, NetworkConfigLive, type NormalizedConfig, type NormalizedConfigEntrypoint, type NormalizedConfigRoute, type NormalizedConfigRouteHandler, type NormalizedConfigRouteMatchRequirements, type NormalizedConfigRouteMethod, type NormalizedConfigService, type NormalizedConfigServicePostgres, type NormalizedConfigServiceRedis, type NormalizedConfigServiceType, type NormalizedFramework, type NormalizedImageFit, type NormalizedImageFormat, type NormalizedImageLocalPattern, type NormalizedImagePolicy, type NormalizedImageRemotePattern, type NormalizedImageVariant, type NormalizedNextjsFramework, type NormalizedSharedArtifact, type PackageManager, RawConfigReader, type Region, type Runtime, SchemaValidator, type UpstashAWSRegion, V4ConfigParser, VercelBuildOutputParser, detectFramework, detectPackageManager, filterFunctionsFromAssets, generateConfig, getFunctionSettings, mergeWithFrameworkDefaults, parseConfig, parseConfigRaw, parseGigadriveNextBuildManifest, postProcessConfig, readDependencies };