ISPO SDK
    Preparing search index...

    Type Alias AssetsPublishArgs

    Markdown
    AssetsPublishArgs: AssetsPublishOptions & (
        | { content: AssetContent; path?: never; source?: never }
        | { content?: never; path: string; source?: "self" | "shared" }
    )

    Type Declaration

    • { content: AssetContent; path?: never; source?: never }
      • content: AssetContent

        Inline bytes or text to install as a host-chrome asset.

      • Optionalpath?: never
      • Optionalsource?: never
    • { content?: never; path: string; source?: "self" | "shared" }
      • Optionalcontent?: never
      • path: string

        Existing project/shared path the host should read.

      • Optionalsource?: "self" | "shared"

        Where path is rooted. Defaults to the project's own fs:self sandbox.