@suluk/cockpit - v0.2.0
    Preparing search index...

    Function generateStoresModule

    • Generate the Nano Stores client wiring. @suluk/nano-stores is a runtime helper (createApiStores(routes)), so the "codegen" is a thin, honest scaffold: it wires the user's RouteContracts to a typed store client and lists, in comments, the exact stores the cockpit derived from the current document.

      Parameters

      • doc: OpenAPIv4Document
      • opts: { baseUrl?: string } = {}

      Returns string