@gigadrive/network-config 2.1.1 → 2.1.2

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
@@ -159,10 +159,14 @@ type NormalizedConfigRouteMatchRequirements = [] | [
159
159
  }
160
160
  ];
161
161
 
162
+ interface Config {
163
+ version: number;
164
+ env?: Record<string, string>;
165
+ }
162
166
  declare const parseConfig: (filePath: string, projectFolder: string) => Promise<NormalizedConfig>;
163
167
 
164
168
  declare const parseRawConfig: (filePath: string, { disableVersionCheck }?: {
165
169
  disableVersionCheck?: boolean;
166
- }) => Promise<any>;
170
+ }) => Promise<Record<string, unknown>>;
167
171
 
168
- export { ALLOWED_CONFIG_NAMES, AVAILABLE_REGIONS, AVAILABLE_RUNTIMES, type FilePathMap, type NeonAWSRegion, type NormalizedConfig, type NormalizedConfigEntrypoint, type NormalizedConfigRoute, type NormalizedConfigRouteHandler, type NormalizedConfigRouteMatchRequirements, type NormalizedConfigRouteMethod, type NormalizedConfigService, type NormalizedConfigServicePostgres, type NormalizedConfigServiceRedis, type NormalizedConfigServiceType, type Region, type Runtime, type UpstashAWSRegion, findConfig, parseConfig, parseRawConfig };
172
+ export { ALLOWED_CONFIG_NAMES, AVAILABLE_REGIONS, AVAILABLE_RUNTIMES, type Config, type FilePathMap, type NeonAWSRegion, type NormalizedConfig, type NormalizedConfigEntrypoint, type NormalizedConfigRoute, type NormalizedConfigRouteHandler, type NormalizedConfigRouteMatchRequirements, type NormalizedConfigRouteMethod, type NormalizedConfigService, type NormalizedConfigServicePostgres, type NormalizedConfigServiceRedis, type NormalizedConfigServiceType, type Region, type Runtime, type UpstashAWSRegion, findConfig, parseConfig, parseRawConfig };
package/dist/index.d.ts CHANGED
@@ -159,10 +159,14 @@ type NormalizedConfigRouteMatchRequirements = [] | [
159
159
  }
160
160
  ];
161
161
 
162
+ interface Config {
163
+ version: number;
164
+ env?: Record<string, string>;
165
+ }
162
166
  declare const parseConfig: (filePath: string, projectFolder: string) => Promise<NormalizedConfig>;
163
167
 
164
168
  declare const parseRawConfig: (filePath: string, { disableVersionCheck }?: {
165
169
  disableVersionCheck?: boolean;
166
- }) => Promise<any>;
170
+ }) => Promise<Record<string, unknown>>;
167
171
 
168
- export { ALLOWED_CONFIG_NAMES, AVAILABLE_REGIONS, AVAILABLE_RUNTIMES, type FilePathMap, type NeonAWSRegion, type NormalizedConfig, type NormalizedConfigEntrypoint, type NormalizedConfigRoute, type NormalizedConfigRouteHandler, type NormalizedConfigRouteMatchRequirements, type NormalizedConfigRouteMethod, type NormalizedConfigService, type NormalizedConfigServicePostgres, type NormalizedConfigServiceRedis, type NormalizedConfigServiceType, type Region, type Runtime, type UpstashAWSRegion, findConfig, parseConfig, parseRawConfig };
172
+ export { ALLOWED_CONFIG_NAMES, AVAILABLE_REGIONS, AVAILABLE_RUNTIMES, type Config, type FilePathMap, type NeonAWSRegion, type NormalizedConfig, type NormalizedConfigEntrypoint, type NormalizedConfigRoute, type NormalizedConfigRouteHandler, type NormalizedConfigRouteMatchRequirements, type NormalizedConfigRouteMethod, type NormalizedConfigService, type NormalizedConfigServicePostgres, type NormalizedConfigServiceRedis, type NormalizedConfigServiceType, type Region, type Runtime, type UpstashAWSRegion, findConfig, parseConfig, parseRawConfig };