{#if component?.componentInput?.type === 'runnable' && Object.keys(component?.componentInput?.fields ?? {}).length > 0}
{component.id} {components[component.type].name}
{#if resourceOnly && Object.keys(component.componentInput.fields).filter((fieldKey) => { if (component?.componentInput?.type === 'runnable') { const fields = component.componentInput?.fields const field = fields[fieldKey] return field.fieldType === 'object' && field.format?.startsWith('resource-') } return false }).length === 0} No resource input {:else} {/if}
{/if}