From e30c559b8ba43fd2055d70503b6068c64cd8c117 Mon Sep 17 00:00:00 2001 From: Forbes Lindesay Date: Fri, 10 May 2019 20:10:50 +0100 Subject: [PATCH] feat: export the migration type (#17) --- packages/pg-migrations/package.json | 2 +- packages/pg-migrations/src/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/pg-migrations/package.json b/packages/pg-migrations/package.json index a18a4cc1..816c491d 100644 --- a/packages/pg-migrations/package.json +++ b/packages/pg-migrations/package.json @@ -1,6 +1,6 @@ { "name": "@databases/pg-migrations", - "version": "0.0.3", + "version": "0.0.4", "description": "", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/packages/pg-migrations/src/index.ts b/packages/pg-migrations/src/index.ts index 5a9872e8..bcfad513 100644 --- a/packages/pg-migrations/src/index.ts +++ b/packages/pg-migrations/src/index.ts @@ -1,3 +1,4 @@ +import Migration from './utils/Migration'; import Operation from './utils/Operation'; import MigrationSpec from './utils/MigrationSpec'; import MigrationStatus from './utils/MigrationStatus'; @@ -11,6 +12,7 @@ import MigrationsPackage from './utils/MigrationsPackage'; import {Connection, sql} from '@databases/pg'; export { + Migration, MigrationSpec, Operation, MigrationsPackage,