2 * True in the command line's bundle, false in the page's. Defined by both
3 * vite configs, so it is a constant the bundler folds away rather than a
4 * runtime test — the browser build must not carry node's h5wasm, nor the
5 * command line the browser's (src/cache/h5file.ts).
6 */
7declare const __NODE_BUILD__: boolean;
b0546a9Fix the command line's file writing, and how it gets updatedJeremy Magland 9/** The commit this was built from, or 'dev'. Defined by both vite configs. */
10declare const __BUILD_ID__: string;
4f822e1turing-surface-cache: reaction-diffusion solutions at a chosen end time, shared through a cloud cacheJeremy Magland 12/** Vite's `?raw` suffix imports a file's text. Used to load .m model sources. */
13declare module '*?raw' {
14 const source: string;
15 export default source;
16}
18/** Vite's `import.meta.glob`, used to load every .m in tools/ at once
19 * (src/tools.ts). Only the eager + `?raw` form this project uses is
20 * declared — it returns each match's text, keyed by path. */
21interface ImportMeta {
22 glob(
23 pattern: string,
24 options: { query: '?raw'; eager: true; import: 'default' },
25 ): Record<string, string>;
26}