Comparing version 3.0.0-beta.11 to 3.0.0-beta.12
import { UmzugStorage } from './storage'; | ||
import * as typeFest from 'type-fest'; | ||
/** | ||
* Create a type that has mutually exclusive keys. | ||
* Wrapper for @see `import('type-fest').MergeExclusive` that works for three types | ||
*/ | ||
export declare type MergeExclusive<A, B, C> = typeFest.MergeExclusive<A, typeFest.MergeExclusive<B, C>>; | ||
export declare type Promisable<T> = T | PromiseLike<T>; | ||
export declare type LogFn = (message: Record<string, unknown>) => void; | ||
@@ -3,0 +10,0 @@ /** Constructor options for the Umzug class */ |
@@ -15,3 +15,7 @@ import { UmzugCLI } from './cli'; | ||
export declare class Umzug<Ctx = unknown> extends emittery.Typed<UmzugEvents<Ctx>> { | ||
/** @internal */ | ||
readonly options: UmzugOptions<Ctx>; | ||
private readonly storage; | ||
/** @internal */ | ||
readonly migrations: () => Promise<ReadonlyArray<RunnableMigration<Ctx>>>; | ||
/** | ||
@@ -18,0 +22,0 @@ * Compile-time only property for type inference. After creating an Umzug instance, it can be used as type alias for |
{ | ||
"name": "umzug", | ||
"version": "3.0.0-beta.11", | ||
"version": "3.0.0-beta.12", | ||
"description": "Framework-agnostic migration tool for Node", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129022
1403