Skip to main content
Version: Current

system

  • ConfigureTypeCheckingAction

    An event that is used to configure TypeScript type checking in the Monaco editor.

    Members

    • options ConfigureTypeCheckingOptions

      The configuration options for type checking.

    • playerId? string

      The ID of the player that created this task. Set by remote action handlers when a task is recieved from a remote player.

    • taskId (string | number)

      The ID of the async task.

    • type "configure_type_checking"

      The type of the event. This helps determine how the event should be applied to the state.

    • uncopiable? boolean

      Whether the action can be structure cloned. If true, then the action should not be passed across message ports without special handling.

  • ConfigureTypeCheckingOptions

    The options for configuring TypeScript type checking in the Monaco editor.

    Members

    • editorDiagnosticOptions? object

      Options for the Monaco editor's TypeScript diagnostic settings.

  • OpenConsoleAction

    An event that is used to toggle whether the console is open.

    Members

    • open boolean

      Whether the console should be open.

    • type "open_console"

    • uncopiable? boolean

      Whether the action can be structure cloned. If true, then the action should not be passed across message ports without special handling.

  • PromptToInstallPWAAction

    Defines an event that prompts the user to install the Progressive Web App (PWA). This can be denied by the user or may not be supported on some platforms (like iOS).

    Members

    • playerId? string

      The ID of the player that created this task. Set by remote action handlers when a task is recieved from a remote player.

    • taskId (string | number)

      The ID of the async task.

    • type "prompt_to_install_pwa"

      The type of the event. This helps determine how the event should be applied to the state.

    • uncopiable? boolean

      Whether the action can be structure cloned. If true, then the action should not be passed across message ports without special handling.

  • RunScriptAction

    Defines an event that executes a script.

    Members

    • playerId? string

      The ID of the player that created this task. Set by remote action handlers when a task is recieved from a remote player.

    • script string

      The script that should be executed.

    • taskId (string | number)

      The ID of the async task.

    • type "run_script"

      The type of the event. This helps determine how the event should be applied to the state.

    • uncopiable? boolean

      Whether the action can be structure cloned. If true, then the action should not be passed across message ports without special handling.