{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: BUSL-1.1 }} {{#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}}