Deploying to gh-pages from @ tmelliott/ts@8f62f4d85f 🚀

This commit is contained in:
tmelliott 2025-02-07 00:48:42 +00:00
parent b3e8718d4d
commit 5b34876f88
6 changed files with 20 additions and 9 deletions

View File

@ -121,9 +121,9 @@ server code and Typescript schema for the app.</p>
<div class="section level2">
<h2 id="create-the-react-app">Create the React app<a class="anchor" aria-label="anchor" href="#create-the-react-app"></a>
</h2>
<p>Im using <a href="https://vitejs.dev/" class="external-link">Vite</a> to create the app,
but you could use any framework. Whatever you use, youll need to be
able to bundle the code (including libraries such as <a href="https://zod.dev" class="external-link">zod</a>).</p>
<p>Im using <a href="https://vite.dev/" class="external-link">Vite</a> to create the app, but
you could use any framework. Whatever you use, youll need to be able to
bundle the code (including libraries such as <a href="https://zod.dev" class="external-link">zod</a>).</p>
<div class="sourceCode" id="cb3"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" tabindex="-1"></a><span class="ex">pnpm</span> create vite faithful-demo <span class="at">--template</span> vanilla-ts</span>
<span id="cb3-2"><a href="#cb3-2" tabindex="-1"></a><span class="bu">cd</span> faithful-demo</span>
<span id="cb3-3"><a href="#cb3-3" tabindex="-1"></a><span class="ex">pnpm</span> install</span>

View File

@ -48,11 +48,11 @@
<p></p>
<p>Elliott T (2025).
<em>ts: Helper functions for writing type safe functions for rserve-ts</em>.
<em>ts: Helper Functions for Writing Type-safe Functions for rserve-ts</em>.
R package version 0.1.0, <a href="http://tomelliott.co.nz/ts/">http://tomelliott.co.nz/ts/</a>.
</p>
<pre>@Manual{,
title = {ts: Helper functions for writing type safe functions for rserve-ts},
title = {ts: Helper Functions for Writing Type-safe Functions for rserve-ts},
author = {Tom Elliott},
year = {2025},
note = {R package version 0.1.0},

View File

@ -5,12 +5,12 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Helper functions for writing type safe functions for rserve-ts • ts</title>
<title>Helper Functions for Writing Type-safe Functions for rserve-ts • ts</title>
<script src="deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet">
<script src="deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet">
<link href="deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet">
<script src="deps/headroom-0.11.0/headroom.min.js"></script><script src="deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="deps/search-1.0.0/fuse.min.js"></script><script src="deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="pkgdown.js"></script><meta property="og:title" content="Helper functions for writing type safe functions for rserve-ts">
<script src="deps/headroom-0.11.0/headroom.min.js"></script><script src="deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="deps/search-1.0.0/fuse.min.js"></script><script src="deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="pkgdown.js"></script><meta property="og:title" content="Helper Functions for Writing Type-safe Functions for rserve-ts">
<meta name="description" content="A set of helper functions for writing type safe functions for writing and compiling typescript functions for use with rserve-ts.">
<meta property="og:description" content="A set of helper functions for writing type safe functions for writing and compiling typescript functions for use with rserve-ts.">
</head>

View File

@ -3,7 +3,7 @@ pkgdown: 2.1.1
pkgdown_sha: ~
articles:
simple-react-app: simple-react-app.html
last_built: 2025-02-07T00:21Z
last_built: 2025-02-07T00:48Z
urls:
reference: http://tomelliott.co.nz/ts/reference
article: http://tomelliott.co.nz/ts/articles

View File

@ -61,6 +61,17 @@ or a typed Uint8Array (<code>z.instanceof(Uint8Array)</code>).</p>
<p>A ts object that accepts logical scalars or vectors of length <code>n</code>.</p>
</div>
<div class="section level2">
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">x</span> <span class="op">&lt;-</span> <span class="fu">ts_logical</span><span class="op">(</span><span class="fl">1</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">x</span><span class="op">$</span><span class="fu">check</span><span class="op">(</span><span class="cn">TRUE</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] TRUE</span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="cn">FALSE</span><span class="op">)</span> <span class="op">{</span> <span class="co"># \dontrun{</span></span></span>
<span class="r-in"><span><span class="va">x</span><span class="op">$</span><span class="fu">check</span><span class="op">(</span><span class="fl">5</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="op">}</span> <span class="co"># }</span></span></span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>
</nav></aside></div>

File diff suppressed because one or more lines are too long