From 8dd8f96b24710dc4f2d29065928244a40a432379 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 26 Oct 2026 16:00:59 +0100 Subject: zilch: update App structure and split-up document and wasm logic --- src/zilch/app/Options.zig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/zilch/app/Options.zig (limited to 'src/zilch/app/Options.zig') 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, +}; -- cgit v1.2.3-70-g09d2