+
{fieldType === 'array' && subFieldType
? `${fieldTypeToTsType(subFieldType)}[]`
: fieldTypeToTsType(fieldType)}
diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte
index fdd00bfb40..e0a7c10f6e 100644
--- a/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte
+++ b/frontend/src/lib/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte
@@ -1,4 +1,6 @@
{#if inputSpecs}
@@ -48,6 +53,10 @@
customTitle={meta?.['customTitle']}
{displayType}
/>
+ {#if deletable}
+
+ dispatch('delete', k)} />
+
{/if}
{/if}
{/each}
diff --git a/frontend/src/lib/components/apps/inputType.ts b/frontend/src/lib/components/apps/inputType.ts
index d3b80d2761..eab9fb04a3 100644
--- a/frontend/src/lib/components/apps/inputType.ts
+++ b/frontend/src/lib/components/apps/inputType.ts
@@ -1,4 +1,5 @@
import type { ReadFileAs } from '../common/fileInput/model'
+import type { TypedComponent } from './editor/component'
import type { InlineScript } from './types'
export type InputType =
@@ -25,6 +26,7 @@ export type InputType =
// Connection to an output of another component
// defined by the id of the component and the path of the output
export type InputConnection = {
+ componentType?: TypedComponent['type']
componentId: string
path: string
}
diff --git a/frontend/src/lib/components/apps/types.ts b/frontend/src/lib/components/apps/types.ts
index 0e95ef08c8..9f492a5266 100644
--- a/frontend/src/lib/components/apps/types.ts
+++ b/frontend/src/lib/components/apps/types.ts
@@ -163,6 +163,8 @@ export type ListContext = Writable<{
export type ListInputs = (id: string, value: any) => void
+export type GroupContext = Writable
>
+
export type AppViewerContext = {
worldStore: Writable
app: Writable
diff --git a/frontend/src/lib/components/apps/utils.ts b/frontend/src/lib/components/apps/utils.ts
index 0b15043007..b1395c507c 100644
--- a/frontend/src/lib/components/apps/utils.ts
+++ b/frontend/src/lib/components/apps/utils.ts
@@ -185,7 +185,9 @@ declare function closeModal(id: string): void;
}
declare const state: ${JSON.stringify(state)};
declare const iter: {index: number, value: any};
-declare const row: {index: number, value: any};
+declare const row: Record;
+declare const group: Record;
+
`
}