Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions calcit.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@
:code $ quote
defstruct Site (:storage-key 'String) (:archive-key 'String)
:examples $ []
:schema $ :: 'Enum
:schema $ :: 'StructDef
|chrome-extension? $ %{} 'CodeEntry (:doc |)
:code $ quote
def chrome-extension? $ let
Expand Down Expand Up @@ -2048,7 +2048,7 @@
:code $ quote
defstruct ChatMessage (:role 'Tag) (:content 'String) (:thinking 'String)
:examples $ []
:schema $ :: 'Enum
:schema $ :: 'StructDef
|ChatSession $ %{} 'CodeEntry (:doc |)
:code $ quote
defstruct ChatSession (:id 'String) (:created-at 'Number)
Expand All @@ -2057,20 +2057,20 @@
:preview 'String
:is-history? 'Bool
:examples $ []
:schema $ :: 'Enum
:schema $ :: 'StructDef
|ChatState $ %{} 'CodeEntry (:doc |)
:code $ quote
defstruct ChatState (:answer 'Dynamic) (:loading? 'Bool) (:done? 'Bool)
:messages $ :: 'List 'app.schema/ChatMessage
:model 'Dynamic
:thinking 'Dynamic
:examples $ []
:schema $ :: 'Enum
:schema $ :: 'StructDef
|MessageBoxState $ %{} 'CodeEntry (:doc |)
:code $ quote
defstruct MessageBoxState (:content 'String) (:search? 'Bool) (:think? 'Bool) (:focus-mode? 'Bool)
:examples $ []
:schema $ :: 'Enum
:schema $ :: 'StructDef
|Store $ %{} 'CodeEntry (:doc |)
:code $ quote
defstruct Store (:states 'Map)
Expand All @@ -2079,7 +2079,7 @@
:model 'Dynamic
:archived-count 'Number
:examples $ []
:schema $ :: 'Enum
:schema $ :: 'StructDef
|store $ %{} 'CodeEntry (:doc |)
:code $ quote
def store $ {}
Expand Down