<template>
	<section class="runtime-config" v-bind="$attrs">
		<RetryConfig v-model="formData.retry_config" />
		<ErrorHandling
			v-model:error_strategy="formData.error_strategy"
			v-model:default_value="formData.default_value"
			:outputs="formData.outputs"
		/>
	</section>
</template>

<script setup lang="ts">
import ErrorHandling from '@/nodes/_base/ErrorHandling.vue'
import RetryConfig from '@/nodes/_base/RetryConfig.vue'

const formData = defineModel({
	type: Object,
	default: () => ({})
})
</script>

<style scoped lang="less">
.runtime-config {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
</style>
