internal fix to improve exportability of code in react-sdk (#3978)

* all

* all

* all

* all

* fix

* remove vite config

* remove uncessary app.css

* all

* all

* all

* all

* all
This commit is contained in:
Ruben Fiszel
2024-06-26 01:31:24 +02:00
committed by GitHub
parent ec673ac6b4
commit 8166330fc5
33 changed files with 653 additions and 327 deletions
@@ -41,6 +41,7 @@
export let edit = true
export let noHistory = false
export let saveToWorkspace = false
export let watchChanges = false
let websocketAlive = {
pyright: false,
@@ -50,6 +51,12 @@
shellcheck: false
}
const dispatch = createEventDispatcher()
$: watchChanges &&
(code != undefined || schema != undefined) &&
dispatch('change', { code, schema })
let width = 1200
let testJobLoader: TestJobLoader
@@ -191,8 +198,6 @@
disableCollaboration()
})
const dispatch = createEventDispatcher()
function asKind(str: string | undefined) {
return str as 'script' | 'approval' | 'trigger' | undefined
}