mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 08:01:38 +00:00
remove initialized
This commit is contained in:
@@ -24,8 +24,6 @@ export type World = {
|
||||
connect: <T>(inputSpec: AppInput, next: (x: T) => void, id?: string) => Input<T>
|
||||
stateId: Writable<number>
|
||||
newOutput: <T>(id: string, name: string, previousValue: T) => Output<T>
|
||||
initializedComponents: string[]
|
||||
initialized: boolean
|
||||
}
|
||||
|
||||
export function buildWorld(context: Record<string, any>): Writable<World> {
|
||||
@@ -59,9 +57,7 @@ export function buildWorld(context: Record<string, any>): Writable<World> {
|
||||
outputsById,
|
||||
connect: newWorld.connect,
|
||||
stateId,
|
||||
newOutput,
|
||||
initializedComponents: [],
|
||||
initialized: false
|
||||
newOutput
|
||||
})
|
||||
return writableWorld
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user