-
- {shouldCapitalize ? capitalize(addWhitespaceBeforeCapitals(key)) : key}
- {#if componentInput.tooltip}
-
- {componentInput.tooltip}
-
- {/if}
-
+{#if componentInput.ctype == undefined}
+ {#if !(resourceOnly && (componentInput.fieldType !== 'object' || !componentInput.format?.startsWith('resource-')))}
+
+
+
+ {shouldCapitalize ? capitalize(addWhitespaceBeforeCapitals(key)) : key}
+ {#if componentInput.tooltip}
+
+ {componentInput.tooltip}
+
+ {/if}
+
-
-
- {componentInput.fieldType === 'array' && componentInput.subFieldType
- ? `${capitalize(fieldTypeToTsType(componentInput.subFieldType))}[]`
- : capitalize(fieldTypeToTsType(componentInput.fieldType))}
-
+
+
+ {componentInput.fieldType === 'array' && componentInput.subFieldType
+ ? `${capitalize(fieldTypeToTsType(componentInput.subFieldType))}[]`
+ : capitalize(fieldTypeToTsType(componentInput.fieldType))}
+
- {#if !componentInput.onlyStatic && componentInput.type != 'eval'}
-
{
- if (e.detail == 'connected' && !componentInput['connection']) {
- $connectingInput = {
- opened: true,
- input: undefined,
- hoveredComponent: undefined
+ {#if !componentInput.onlyStatic && componentInput.type != 'eval'}
+ {
+ if (e.detail == 'connected' && !componentInput['connection']) {
+ $connectingInput = {
+ opened: true,
+ input: undefined,
+ hoveredComponent: undefined
+ }
}
- }
- }}
- >
-
-
- Static
-
- {#if userInputEnabled && !componentInput.format?.startsWith('resource-')}
+ }}
+ >
- User Input
+ Static
- {/if}
- {#if 'fileUpload' in componentInput}
+ {#if userInputEnabled && !componentInput.format?.startsWith('resource-')}
+
+
+ User Input
+
+ {/if}
+ {#if 'fileUpload' in componentInput}
+
+
+ Upload
+
+ {/if}
- Upload
+ Connect
- {/if}
-
-
- Connect
-
-
- {/if}
+
+ {/if}
+
-
- {#if componentInput.type === 'connected'}
-
- {:else if componentInput.type === 'row'}
-
- {:else if componentInput.type === 'static'}
-
- {:else if componentInput.type === 'eval'}
-
- {:else if componentInput.type === 'upload'}
-
- {:else if componentInput.type === 'user'}
-
Field's value is set by the user
- {/if}
-
+ {#if componentInput.type === 'connected'}
+
+ {:else if componentInput.type === 'row'}
+
+ {:else if componentInput.type === 'static'}
+
+ {:else if componentInput.type === 'eval'}
+
+ {:else if componentInput.type === 'upload'}
+
+ {:else if componentInput.type === 'user'}
+
Field's value is set by the user
+ {/if}
+
+ {/if}
{/if}
diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte
index 7ce3f7160a..9c3690b8a7 100644
--- a/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte
+++ b/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte
@@ -9,9 +9,7 @@
import InputsSpecEditor from './InputsSpecEditor.svelte'
export let id: string
- export let inputSpecs:
- | RichConfigurations
- | Record