Interface EditorWorkspaceSyncRequest

interface EditorWorkspaceSyncRequest {
    action: "workspacesync" | "workspacereset" | "workspaceloaded";
    frameId?: string;
    id?: string;
    response?: boolean;
    type: "pxteditor" | "pxthost" | "pxtpkgext" | "pxtsim";
}

Hierarchy

  • EditorMessageRequest
    • EditorWorkspaceSyncRequest

Properties

action: "workspacesync" | "workspacereset" | "workspaceloaded"

Synching projects from host into

frameId?: string

Frame identifier that can be passed to the iframe by adding the frameId query parameter

id?: string

Original request id

response?: boolean

flag to request response

type: "pxteditor" | "pxthost" | "pxtpkgext" | "pxtsim"

Constant identifier