All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fly4s.data.package.scala Maven / Gradle / Ivy

The newest version!
package fly4s

import cats.data.ValidatedNel
import org.flywaydb.core.api.{
  ErrorCode as JErrorCode,
  ErrorDetails as JErrorDetails,
  Location as JLocation,
  MigrationInfoService as JMigrationInfoService,
  MigrationVersion as JMigrationVersion,
  ResourceProvider as JResourceProvider
}
import org.flywaydb.core.api.callback.Callback as JCallback
import org.flywaydb.core.api.output.{
  BaselineResult as JBaselineResult,
  CleanResult as JCleanResult,
  MigrateResult as JMigrateResult,
  OperationResult as JOperationResult,
  RepairResult as JRepairResult,
  ValidateOutput as JValidateOutput,
  ValidateResult as JValidateResult
}
import org.flywaydb.core.api.pattern.ValidatePattern as JValidatePattern
import org.flywaydb.core.api.resolver.MigrationResolver as JMigrationResolver

package object data {

  // results
  type ValidatedMigrateResult = ValidatedNel[ValidateOutput, MigrateResult]
  type MigrationInfoService   = JMigrationInfoService
  type MigrateResult          = JMigrateResult
  type ValidateOutput         = JValidateOutput
  type ValidateResult         = JValidateResult
  type CleanResult            = JCleanResult
  type OperationResult        = JOperationResult
  type BaselineResult         = JBaselineResult
  type RepairResult           = JRepairResult
  type ErrorDetails           = JErrorDetails
  type ErrorCode              = JErrorCode
  // conf
  type Location          = JLocation
  type MigrationVersion  = JMigrationVersion
  type Callback          = JCallback
  type MigrationResolver = JMigrationResolver
  type ResourceProvider  = JResourceProvider
  type ValidatePattern   = JValidatePattern
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy