BundlePublishPreview
@gravity-rail/sdk / BundlePublishPreview
Interface: BundlePublishPreview
What publishing the saved draft now would put in the next version.
Publishing computes the same answer again. planToken names it: pass
it as expectedPlan and publication refuses with 409
bundle_publish_plan_changed, writing nothing, if what would go out
has changed since.
Properties
bundleUuid
bundleUuid:
string
draftGeneration
draftGeneration:
number
fromVersion
fromVersion:
number|null
items
items:
BundlePublishItem[]
planToken
planToken:
string
publishable
publishable:
boolean
unchanged
unchanged:
boolean