From 512b9d5b470bcdc0169be1ce9b3958de094fae95 Mon Sep 17 00:00:00 2001 From: tiye Date: Wed, 11 Nov 2026 19:11:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E7=B4=A7=20Gen=20Code=20=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E7=8A=B6=E6=80=81=E4=B8=8E=E5=AD=97=E6=AE=B5=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calcit.cirru | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/calcit.cirru b/calcit.cirru index a548fb1..adb7613 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -474,12 +474,13 @@ , None assert-type (%:: GenCodePluginData :plugin render-node cursor state) 'GenCodePluginData :examples $ [] - :schema $ quote $ Fn Dynamic + :schema $ quote $ Fn StatesInput Fn $ -> String Fn String Fn AnyEnum $ -> Unit -> Unit -> GenCodePluginData + :generics StatesInput :features :js-ffi :open :host :ns $ %{} 'NsEntry (:doc |) @@ -735,7 +736,7 @@ if (nil? found) fallback found (:none) fallback :examples $ [] - :schema $ quote $ Fn Dynamic Tag Dynamic (-> Dynamic) (:features :js-ffi) + :schema $ quote $ Fn Raw Tag Fallback (-> Dynamic) (:generics Raw Fallback) (:features :js-ffi) :tests $ [] $ %{} 'TestEntry (:name |present-and-missing-store) :code $ quote $ let expected store @@ -818,7 +819,7 @@ 'gen-code.types $ %{} 'FileEntry :defs $ {} $ 'StoreData %{} 'CodeEntry (:doc |) - :code $ quote $ defstruct StoreData (:states Map) + :code $ quote $ defstruct StoreData (:states respo.schema/States) :examples $ [] :schema $ quote StructDef :ns $ %{} 'NsEntry (:doc |)