MishkaCmsMigration.Targets.Helpers.Status (Mishka CMS Migration v0.0.1)

Copy Markdown View Source

The status of a source item as a target that publishes it reads it (MishkaCmsMigration.Targets.BlogPost, MishkaCmsMigration.Targets.CmsPage): the item's "status", except that an item behind a password (a non-empty "password" in its extra) is "password" whatever its status says, since the CMS has no password-protected record to write it as.

Summary

Functions

The status item is written by: "password" for one behind a password, else its own.

Functions

call(item)

@spec call(MishkaCmsMigration.Source.Item.t()) :: String.t() | nil

The status item is written by: "password" for one behind a password, else its own.