Lime Web Components API Documentation - v6.24.0
    Preparing search index...

    Type Alias PrimitiveMetadataAlpha

    PrimitiveMetadata: ConfigMetadata & {
        id: string;
        reads: readonly (keyof ContextMap)[];
    }

    Display metadata for a registered RulePrimitive.

    The ConfigMetadata the caller supplied at registration, paired with the primitive's id and reads so consumers can find what they need without a second lookup.

    Returned by RuleRegistry.listMetadata.

    Type Declaration

    • id: string

      The primitive's id.

    • reads: readonly (keyof ContextMap)[]

      Context keys the primitive reads. Lets a caller filter the list to just the primitives that work with the keys it can provide.