@drupflare/workforce - v0.3.0
    Preparing search index...

    Function toMigrationSteps

    • Converts a tagged migration list to the one object the upload API takes.

      Returns undefined when there is nothing to apply: an empty list, or a Worker that already carries the last tag. A tag the list does not hold (it may have been pruned) applies every step.

      Parameters

      • migrations: readonly Migration[]
      • OptionalappliedTag: string

      Returns MigrationSteps | undefined