You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/src/types/README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ type ModelPath = ModelPathFromAbi<typeof compiledAbi>; // e.g. "dojo_starter-Pos
48
48
## Extracted type groups
49
49
50
50
-**`structs`** – Cairo structs mapped to TypeScript objects with nested references resolved.
51
-
-**`enums`** – Cairo enums with a `CairoCustomEnum` instance type, a `variantNames` union, and a strongly typed `variants` map.
51
+
-**`enums`** – Cairo enums with a `CairoCustomEnum` instance type (or `CairoOption` for `core::option::Option`), a `variantNames` union, and a strongly typed `variants` map.
52
52
-**`interfaces`** – Contract interfaces keyed by fully qualified name with typed function signatures.
53
53
-**`models`** – Dojo models grouped by namespace; the shape aligns with `SchemaType` used throughout the SDK.
54
54
-**`actions`** – System action interfaces grouped by namespace, preserving typed inputs and outputs.
@@ -58,6 +58,10 @@ type Direction = Abi["enums"]["dojo_starter::models::Direction"];
0 commit comments