@companion-module/base
    Preparing search index...

    Interface ModuleManifestRuntime

    Information on how to execute the module

    interface ModuleManifestRuntime {
        api: "nodejs-ipc";
        apiVersion: string;
        entrypoint: string;
        permissions?: {
            "child-process"?: boolean;
            filesystem?: boolean;
            "native-addons"?: boolean;
            "worker-threads"?: boolean;
        };
        type: "node18"
        | "node22";
    }
    Index

    Properties

    api: "nodejs-ipc"

    Which host-api does it use. In the future alternate options will be allowed

    apiVersion: string

    The version of the host-api used

    entrypoint: string

    Entrypoint to pass to the runtime. eg index.js

    permissions?: {
        "child-process"?: boolean;
        filesystem?: boolean;
        "native-addons"?: boolean;
        "worker-threads"?: boolean;
    }

    Permissions required by the module. This is used to inform the user of the permissions required by the module. Note: this requires the node22 or newer runtime

    Type Declaration

    • Optionalchild-process?: boolean

      Enable if the module uses child processes

    • Optionalfilesystem?: boolean

      Enable if the module requires read/write access to the filesystem

    • Optionalnative-addons?: boolean

      Enable if the module uses native addons

    • Optionalworker-threads?: boolean

      Enable if the module uses worker threads

    type: "node18" | "node22"

    Type of the module. Must be: node18 or node22