From 91242170ee4db64a37d2ebd46c8f5dfcf3cab294 Mon Sep 17 00:00:00 2001 From: Sam Beran Date: Fri, 9 Jan 2026 03:48:28 +0000 Subject: [PATCH] feat: add shorthand notation example to playground Add a new "shorthand" example tab that demonstrates using type strings directly (e.g., schema('string')) instead of full object notation. Also update extractSchemaFromCode to parse shorthand syntax. --- docs/index.html | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/docs/index.html b/docs/index.html index cfd3eda..4a79432 100644 --- a/docs/index.html +++ b/docs/index.html @@ -516,6 +516,7 @@

playground

+ @@ -968,6 +969,24 @@