Interface EditorWorkspaceSaveRequest

interface EditorWorkspaceSaveRequest {
    action: "workspacesave";
    frameId?: string;
    id?: string;
    project: MakeCodeProject;
    response?: boolean;
    type: "pxteditor" | "pxthost" | "pxtpkgext" | "pxtsim";
}

Hierarchy

  • EditorMessageRequest
    • EditorWorkspaceSaveRequest

Properties

action: "workspacesave"

Request action

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