@platformatic/foundation 3.0.1 → 3.0.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.
Files changed (2) hide show
  1. package/index.d.ts +2 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -22,10 +22,10 @@ export interface ValidationError {
22
22
  message: string
23
23
  }
24
24
 
25
- export type ConfigurationOptions = Partial<{
25
+ export type ConfigurationOptions<T = {}> = Partial<{
26
26
  validate: boolean
27
27
  validationOptions: object
28
- transform: (config: RawConfiguration) => Promise<RawConfiguration> | RawConfiguration
28
+ transform: (config: Configuration<T>) => Promise<Configuration<T>> | Configuration<T>
29
29
  upgrade: (logger: Logger, config: RawConfiguration, version: string) => Promise<RawConfiguration> | RawConfiguration
30
30
  env: Record<string, string>
31
31
  ignoreProcessEnv: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/foundation",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Platformatic Foundation",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",