Files
windmill/frontend/src/lib/components/ScriptSchema.svelte
T
Ruben Fiszel 72109b01d7 whitelabel improvements (#5405)
* hide resource

* more customizations

* disable tooltips globally & hide other elemetns

* hide variable picker in autogenerated ui too

* change to disableX and context

* all

* all

* all

* all

* all

* all

* fix

* fix

* fix

---------

Co-authored-by: smuun <silas@athenaintelligence.ai>
2025-03-03 22:35:05 +01:00

16 lines
456 B
Svelte

<script lang="ts">
import type { Schema } from '$lib/common'
import type { EditableSchemaFormUi } from '$lib/components/custom_ui'
import EditableSchemaForm from './EditableSchemaForm.svelte'
export let schema: Schema | any
export let customUi: EditableSchemaFormUi | undefined = undefined
export function setSchema(newSchema: Schema) {
schema = newSchema
}
</script>
<EditableSchemaForm bind:schema uiOnly {customUi} editTab="inputEditor" />