@vestra-player/sdk - v1.11.3
    Preparing search index...

    Type Alias PackageSource

    PackageSource:
        | { kind: "repository"; url: string }
        | { kind: "link"; url: string }
        | { kind: "file" }
        | { kind: "workshop" }
        | { kind: "bundled" }

    Where an installed plugin came from. Installs with the same source upgrade the plugin and keep its data; links and local files count as one source. bundled marks the player's built-in plugins (set by the player only).

    Type Declaration

    • { kind: "repository"; url: string }
      • kind: "repository"

        A repository.

      • url: string

        The full address of its index.json.

    • { kind: "link"; url: string }
      • kind: "link"

        A package link.

      • url: string

        The package's address.

    • { kind: "file" }
      • kind: "file"

        A local .vxp file or package directory.

    • { kind: "workshop" }
      • kind: "workshop"

        Generated by the plugin workshop.

    • { kind: "bundled" }
      • kind: "bundled"

        Shipped with the player (built-in).

    1.1.0