diff --git a/common/src/app/common/pages/spec.cljc b/common/src/app/common/pages/spec.cljc index 1e6a020b3c..59ded8f62d 100644 --- a/common/src/app/common/pages/spec.cljc +++ b/common/src/app/common/pages/spec.cljc @@ -355,10 +355,12 @@ (s/keys :req-un [:internal.shape.text/text])))) (s/def :internal.shape.path/command keyword?) -(s/def :internal.shape.path/params (s/nilable (s/map-of keyword? any?))) +(s/def :internal.shape.path/params + (s/nilable (s/map-of keyword? any?))) + (s/def :internal.shape.path/command-item - (s/keys :req-un [:internal.shape.path/command - :internal.shape.path/params])) + (s/keys :req-un [:internal.shape.path/command] + :opt-un [:internal.shape.path/params])) (s/def :internal.shape.path/content (s/coll-of :internal.shape.path/command-item :kind vector?))