{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 }} {{#let (hash data=data change=(action "change") isCreate=create error=writer.error disabled=writer.inflight submit=(action writer.persist data) delete=(action writer.delete data) ) as |api|}} {{yield api}} {{#if hasError}} {{yield api}} {{/if}} {{yield api}} {{/let}}