Documentation
    Preparing search index...

    Type Alias NamedPackagesPluginOptions

    type NamedPackagesPluginOptions = {
        overrides?: NamedPackagesPluginCache;
        pageSize?: number;
        url: string;
    }
    Index

    Properties

    Local overrides for the resolution plugin. Pass this to pre-populate the cache with known packages / types (especially useful for local or CI testing).

    The type cache expects ONLY first-level types to ensure the cache is more composable.

    Expected format example:
    

    { packages: { '@framework/std': '0x1234', }, types: { '@framework/std::string::String': '0x1234::string::String', }, }

    pageSize?: number

    The number of names to resolve in each batch request. Needs to be calculated based on the GraphQL query limits.

    url: string

    The URL of the MVR API to use for resolving names.