/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
export default {
id: 'form',
initial: 'idle',
on: {
RESET: [
{
target: 'idle',
},
],
states: {
idle: {
SUCCESS: [
target: 'success',
ERROR: [
target: 'error',
success: {},
error: {},
};