diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-26 16:00:59 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-26 16:00:59 +0100 |
| commit | 8dd8f96b24710dc4f2d29065928244a40a432379 (patch) | |
| tree | 192fcdbef2373a983673e929835bff64ad8edb48 /src/zilch/app/Options.zig | |
| parent | feeedb0bf31314b182e7bbc135182f6e0bc859b2 (diff) | |
zilch: update App structure and split-up document and wasm logic
Diffstat (limited to 'src/zilch/app/Options.zig')
| -rw-r--r-- | src/zilch/app/Options.zig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/zilch/app/Options.zig b/src/zilch/app/Options.zig new file mode 100644 index 0000000..db1742d --- /dev/null +++ b/src/zilch/app/Options.zig @@ -0,0 +1,17 @@ +const mod = @import("../root.zig"); +const Fragment = mod.html.Fragment; +const Component = mod.Component; +const Env = mod.Env; + +name: []const u8, +favicon: []const u8, +functions: []const Env.Function, +globals: []const Global, +components: []const Component, +body: Fragment, +theme: []const u8, + +pub const Global = struct { + name: []const u8, + type: type, +}; |