Stone.js API
    Preparing search index...
    • The metadata key a validated source is published under.

      body becomes validatedBody, query becomes validatedQuery. The name is predictable on purpose: a handler reads event.get<CreateUser>('validatedBody') and needs no helper, no import and nothing to remember beyond the source it declared.

      Parameters

      • source: string

        The source name.

      Returns string

      The metadata key.