Skip to content
Void Monster Docs

Type to search guides and API reference.

    OBS Utils/Developer docs

    Interface: ImageSlotHandlers

    Public 5.3.0API 5.3.0

    @faeyumbrea/obs-utils-api-types


    @faeyumbrea/obs-utils-api-types / ImageSlotHandlers

    Defined in: api.d.ts:200

    Public compile-time contract for modules integrating with OBS Utils.

    extract: (data) => string[]

    Defined in: api.d.ts:202

    Extract all image-ref strings from a component’s data field.

    string

    string[]


    rewrite: (data, pathMap) => string

    Defined in: api.d.ts:204

    Rewrite all image refs in data using the path-map. Return the new data string.

    string

    ReadonlyMap<string, string>

    string