;; SX docs service — page helper declarations.

(define-page-helper "highlight"
  :params (code lang)
  :returns "sx-source"
  :service "sx")

(define-page-helper "component-source"
  :params (name)
  :returns "string"
  :service "sx")

(define-page-helper "primitives-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "special-forms-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "reference-data"
  :params (slug)
  :returns "dict"
  :service "sx")

(define-page-helper "attr-detail-data"
  :params (slug)
  :returns "dict"
  :service "sx")

(define-page-helper "header-detail-data"
  :params (slug)
  :returns "dict"
  :service "sx")

(define-page-helper "event-detail-data"
  :params (slug)
  :returns "dict"
  :service "sx")

(define-page-helper "read-spec-file"
  :params (filename)
  :returns "string"
  :service "sx")

(define-page-helper "bootstrapper-data"
  :params (target)
  :returns "dict"
  :service "sx")

(define-page-helper "bundle-analyzer-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "routing-analyzer-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "data-test-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "run-spec-tests"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "run-modular-tests"
  :params (spec-name)
  :returns "dict"
  :service "sx")

(define-page-helper "streaming-demo-data"
  :params ()
  :returns "async-generator<dict>"
  :service "sx")

(define-page-helper "affinity-demo-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "optimistic-demo-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "action:add-demo-item"
  :params (label)
  :returns "dict"
  :service "sx")

(define-page-helper "offline-demo-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "prove-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "page-helpers-demo-data"
  :params ()
  :returns "dict"
  :service "sx")

(define-page-helper "spec-explorer-data"
  :params (filename title desc)
  :returns "dict"
  :service "sx")

(define-page-helper "handler-source"
  :params (name)
  :returns "string"
  :service "sx")
