Files
Library/docs/.vitepress/dist/api-examples.html

257 lines
38 KiB
HTML
Raw Normal View History

2026-01-09 23:05:52 -05:00
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Runtime API Examples | DreamFreely Library</title>
<meta name="description" content="Community Conscious Creations">
<meta name="generator" content="VitePress v2.0.0-alpha.15">
<link rel="preload stylesheet" href="/assets/style.tE5om2fv.css" as="style">
<link rel="preload stylesheet" href="/vp-icons.css" as="style">
<script type="module" src="/assets/app.CNf1Hw3L.js"></script>
<link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/theme.DVARhRSD.js">
<link rel="modulepreload" href="/assets/chunks/framework.BfS8l2sS.js">
<link rel="modulepreload" href="/assets/api-examples.md.CLsEsApn.lean.js">
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
</head>
<body>
<div id="app"><div class="Layout" data-v-1df9f90f><!--[--><!--]--><!--[--><span tabindex="-1" data-v-331ec75c></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-331ec75c>Skip to content</a><!--]--><!----><header class="VPNav" data-v-1df9f90f data-v-da52a441><div class="VPNavBar" data-v-da52a441 data-v-70946a35><div class="wrapper" data-v-70946a35><div class="container" data-v-70946a35><div class="title" data-v-70946a35><div class="VPNavBarTitle has-sidebar" data-v-70946a35 data-v-1e38c6bc><a class="title" href="/" data-v-1e38c6bc><!--[--><!--]--><!----><span data-v-1e38c6bc>DreamFreely Library</span><!--[--><!--]--></a></div></div><div class="content" data-v-70946a35><div class="content-body" data-v-70946a35><!--[--><!--]--><div class="VPNavBarSearch search" data-v-70946a35><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-70946a35 data-v-39714824><span id="main-nav-aria-label" class="visually-hidden" data-v-39714824> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/welcome/" tabindex="0" data-v-39714824 data-v-52a1d768><!--[--><span data-v-52a1d768>Welcome</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/welcome/support.html" tabindex="0" data-v-39714824 data-v-52a1d768><!--[--><span data-v-52a1d768>Support</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-70946a35 data-v-6c893767><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-6c893767 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-70946a35 data-v-0394ad82 data-v-d07f11e6><!--[--><a class="VPSocialLink no-icon" href="https://canin.dreamfreely.org" aria-label="bookalope" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-bookalope"></span></a><a class="VPSocialLink no-icon" href="https://shop.dreamfreely.org" aria-label="tina" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-tina"></span></a><a class="VPSocialLink no-icon" href="https://digisnaxx.com" aria-label="ghostery" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-ghostery"></span></a><a class="VPSocialLink no-icon" href="https://manifestingempathy.com" aria-label="hasura" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-hasura"></span></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-70946a35 data-v-bf2fac68 data-v-42cb505d><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-42cb505d><span class="vpi-more-horizontal icon" data-v-42cb505d></span></button><div class="menu" data-v-42cb505d><div class="VPMenu" data-v-42cb505d data-v-25a6cce8><!----><!--[--><!--[--><!----><div class="group" data-v-bf2fac68><div class="item appearance" data-v-bf2fac68><p class="label" data-v-bf2fac68>Appearance</p><div class="appearance-action" data-v-bf2fac68><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-bf2fac68 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div></div></div><div class="group" data-v-bf2fac68><div class="item social-links" data-v-bf2fac68><div class="VPSocialLinks social-links-list" data-v-bf2fac68 data-v-d07f11e6><!--[--><a class="VPSocialLink no-icon" href="https://canin.dreamfreely.org" aria-label="bookalope" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-bookalope"></span></a><a class
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">import { useData } from &#39;vitepress&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">const { theme, page, frontmatter } = useData()</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;/script&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">## Results</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">### Theme Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ theme }}&lt;/pre&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">### Page Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ page }}&lt;/pre&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">### Page Frontmatter</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ frontmatter }}&lt;/pre&gt;</span></span></code></pre></div><h2 id="results" tabindex="-1">Results <a class="header-anchor" href="#results" aria-label="Permalink to “Results”"></a></h2><h3 id="theme-data" tabindex="-1">Theme Data <a class="header-anchor" href="#theme-data" aria-label="Permalink to “Theme Data”"></a></h3><pre>{
&quot;nav&quot;: [
{
&quot;text&quot;: &quot;Welcome&quot;,
&quot;link&quot;: &quot;/welcome/&quot;
},
{
&quot;text&quot;: &quot;Support&quot;,
&quot;link&quot;: &quot;/welcome/support&quot;
}
],
&quot;sidebar&quot;: [
{
&quot;text&quot;: &quot;Welcome&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;Chibu / Hola / Hello&quot;,
&quot;link&quot;: &quot;/welcome/&quot;
},
{
&quot;text&quot;: &quot;About DreamFreely&quot;,
&quot;link&quot;: &quot;/welcome/dreamfreely&quot;
},
{
&quot;text&quot;: &quot;About Canin Carlos&quot;,
&quot;link&quot;: &quot;/welcome/canin&quot;
}
]
},
{
&quot;text&quot;: &quot;Rebel Coding 101&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;Intro to Coding&quot;,
&quot;link&quot;: &quot;/rebel_coding/&quot;
},
{
&quot;text&quot;: &quot;Orientation&quot;,
&quot;link&quot;: &quot;/rebel_coding/orientation&quot;
},
{
&quot;text&quot;: &quot;Intro to CLI&quot;,
&quot;link&quot;: &quot;/rebel_coding/termintro&quot;
},
{
&quot;text&quot;: &quot;Step 1: HTML &amp; CSS&quot;,
&quot;link&quot;: &quot;/rebel_coding/step1&quot;
},
{
&quot;text&quot;: &quot;Step 2: JavaScript&quot;,
&quot;link&quot;: &quot;/rebel_coding/step2&quot;
},
{
&quot;text&quot;: &quot;Step 3: Python Scrapers&quot;,
&quot;link&quot;: &quot;/rebel_coding/step3&quot;
},
{
&quot;text&quot;: &quot;Step 4: The Full Stack&quot;,
&quot;link&quot;: &quot;/rebel_coding/step4&quot;
},
{
&quot;text&quot;: &quot;Appendices&quot;,
&quot;link&quot;: &quot;/rebel_coding/appendices&quot;
}
]
},
{
&quot;text&quot;: &quot;Rebel Coding 102&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;Reviewing the Full-Stack&quot;,
&quot;link&quot;: &quot;/rebel_coding/v2&quot;
},
{
&quot;text&quot;: &quot;Planning Our App&quot;,
&quot;link&quot;: &quot;/rebel_coding/v2Orient&quot;
},
{
&quot;text&quot;: &quot;Step 1: Server&quot;,
&quot;link&quot;: &quot;/rebel_coding/step5&quot;
},
{
&quot;text&quot;: &quot;Step 2: Client&quot;,
&quot;link&quot;: &quot;/rebel_coding/step6&quot;
},
{
&quot;text&quot;: &quot;Step 3: Deployment&quot;,
&quot;link&quot;: &quot;/rebel_coding/step7&quot;
},
{
&quot;text&quot;: &quot;Step 4: Scaling, etc&quot;,
&quot;link&quot;: &quot;/rebel_coding/step8&quot;
},
{
&quot;text&quot;: &quot;More Appendices&quot;,
&quot;link&quot;: &quot;/rebel_coding/more-appendices&quot;
}
]
},
{
&quot;text&quot;: &quot;Manifesting Empathy&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;Welcome&quot;,
&quot;link&quot;: &quot;/mempath/&quot;
},
{
&quot;text&quot;: &quot;The Egg (0-5)&quot;,
&quot;link&quot;: &quot;/mempath/egg&quot;
},
{
&quot;text&quot;: &quot;The Hatchling (5-12)&quot;,
&quot;link&quot;: &quot;/mempath/hatchling&quot;
},
{
&quot;text&quot;: &quot;Flight (12-18)&quot;,
&quot;link&quot;: &quot;/mempath/flight&quot;
},
{
&quot;text&quot;: &quot;Flying (18-25)&quot;,
&quot;link&quot;: &quot;/mempath/flying&quot;
},
{
&quot;text&quot;: &quot;Learning (25-35)&quot;,
&quot;link&quot;: &quot;/mempath/learning&quot;
},
{
&quot;text&quot;: &quot;Building (35-45)&quot;,
&quot;link&quot;: &quot;/mempath/building&quot;
},
{
&quot;text&quot;: &quot;Helping (45-60)&quot;,
&quot;link&quot;: &quot;/mempath/helping&quot;
},
{
&quot;text&quot;: &quot;Enjoying (60+)&quot;,
&quot;link&quot;: &quot;/mempath/enjoying&quot;
},
{
&quot;text&quot;: &quot;Outro&quot;,
&quot;link&quot;: &quot;/mempath/onward&quot;
},
{
&quot;text&quot;: &quot;Appendices&quot;,
&quot;link&quot;: &quot;/mempath/appendices&quot;
}
]
},
{
&quot;text&quot;: &quot;Diversity Inverted&quot;
},
{
&quot;text&quot;: &quot;The Guidebook&quot;
},
{
&quot;text&quot;: &quot;Manifesting Empathy (archived)&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;Welcome&quot;,
&quot;link&quot;: &quot;/mempath/&quot;
},
{
&quot;text&quot;: &quot;Sexism&quot;,
&quot;link&quot;: &quot;/mempath/sexism&quot;
},
{
&quot;text&quot;: &quot;Racism&quot;,
&quot;link&quot;: &quot;/mempath/racism&quot;
},
{
&quot;text&quot;: &quot;Able-ism&quot;,
&quot;link&quot;: &quot;/mempath/able-ism&quot;
},
{
&quot;text&quot;: &quot;Power Dynamics&quot;,
&quot;link&quot;: &quot;/mempath/power-dynamics&quot;
},
{
&quot;text&quot;: &quot;Onwards&quot;,
&quot;link&quot;: &quot;/mempath/onward&quot;
},
{
&quot;text&quot;: &quot;Appendices&quot;,
&quot;link&quot;: &quot;/mempath/appendices&quot;
}
]
}
],
&quot;socialLinks&quot;: [
{
&quot;icon&quot;: &quot;bookalope&quot;,
&quot;link&quot;: &quot;https://canin.dreamfreely.org&quot;
},
{
&quot;icon&quot;: &quot;tina&quot;,
&quot;link&quot;: &quot;https://shop.dreamfreely.org&quot;
},
{
&quot;icon&quot;: &quot;ghostery&quot;,
&quot;link&quot;: &quot;https://digisnaxx.com&quot;
},
{
&quot;icon&quot;: &quot;hasura&quot;,
&quot;link&quot;: &quot;https://manifestingempathy.com&quot;
}
]
}</pre><h3 id="page-data" tabindex="-1">Page Data <a class="header-anchor" href="#page-data" aria-label="Permalink to “Page Data”"></a></h3><pre>{
&quot;title&quot;: &quot;Runtime API Examples&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;frontmatter&quot;: {
&quot;outline&quot;: &quot;deep&quot;
},
&quot;headers&quot;: [],
&quot;relativePath&quot;: &quot;api-examples.md&quot;,
&quot;filePath&quot;: &quot;api-examples.md&quot;
}</pre><h3 id="page-frontmatter" tabindex="-1">Page Frontmatter <a class="header-anchor" href="#page-frontmatter" aria-label="Permalink to “Page Frontmatter”"></a></h3><pre>{
&quot;outline&quot;: &quot;deep&quot;
}</pre><h2 id="more" tabindex="-1">More <a class="header-anchor" href="#more" aria-label="Permalink to “More”"></a></h2><p>Check out the documentation for the <a href="https://vitepress.dev/reference/runtime-api#usedata" target="_blank" rel="noreferrer">full list of runtime APIs</a>.</p></div></div></main><footer class="VPDocFooter" data-v-7011f0d8 data-v-e257564d><!--[--><!--]--><!----><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-e257564d><span class="visually-hidden" id="doc-footer-aria-label" data-v-e257564d>Pager</span><div class="pager" data-v-e257564d><!----></div><div class="pager" data-v-e257564d><a class="VPLink link pager-link next" href="/welcome/" data-v-e257564d><!--[--><span class="desc" data-v-e257564d>Next page</span><span class="title" data-v-e257564d>Chibu / Hola / Hello</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api-examples.md\":\"CLsEsApn\",\"df_guide_1_basic_psych.md\":\"DwYn8aJz\",\"df_guide_2_medi_vibes.md\":\"BL-BuG9R\",\"df_guide_3_with_loneliness.md\":\"Bo6ULJ8y\",\"df_guide_4_enter_alchemy.md\":\"DcZx6NAy\",\"df_guide_5_test_ethic.md\":\"nyIQpJwM\",\"df_guide_6_social_physics.md\":\"CNA2jQCU\",\"df_guide_7_quantum_realm.md\":\"BFXlzHiT\",\"df_guide_8_topol.md\":\"BjXlxBWE\",\"df_guide_appendices.md\":\"CDMgMihK\",\"df_guide_index.md\":\"xD8OyHvK\",\"exocto_analytics.md\":\"BM3Pg91r\",\"exocto_appendices.md\":\"sVwSvUYe\",\"exocto_automation.md\":\"DEvrDE4y\",\"exocto_cooltools.md\":\"BC6_kCf0\",\"exocto_index.md\":\"DHdM3bQG\",\"exocto_licences.md\":\"Dk7QbXAY\",\"exocto_mailinglists.md\":\"D42Z_f3S\",\"exocto_payments.md\":\"BwzhBIvJ\",\"exocto_seo101.md\":\"CRJt4LE8\",\"exocto_socialmedia.md\":\"B9APVBs4\",\"exocto_websites.md\":\"6J92idVL\",\"index.1.md\":\"D7r5zJY5\",\"index.md\":\"DcciJnS6\",\"markdown-examples.md\":\"B9ZdJivL\",\"mempath_able-ism.md\":\"Dof--8TS\",\"mempath_appendices.md\":\"DBar2q2m\",\"mempath_gender-studies.md\":\"BcTGweUU\",\"mempath_index.md\":\"Dn2o6A3M\",\"mempath_notes.huggingface.md\":\"CGBrM3lA\",\"mempath_onward.md\":\"DxhCj56a\",\"mempath_openai.playground.md\":\"C3ceZL9Q\",\"mempath_outline.huggingface.md\":\"BFuiOEVO\",\"mempath_power-dynamics.md\":\"CQWNxegt\",\"mempath_racism.md\":\"CxVF4Hbn\",\"mempath_sexism.md\":\"Db1tqU4H\",\"rebel_coding_appendices.md\":\"gQ1t-5b7\",\"rebel_coding_index.md\":\"BgfENPxu\",\"rebel_coding_orientation.md\":\"BjaO66hJ\",\"rebel_coding_step1.md\":\"CgXIS7sX\",\"rebel_coding_step2.md\":\"C1zU29Lh\",\"rebel_coding_step3.md\":\"DPGBP964\",\"rebel_coding_step4.md\":\"Bp6KMb-K\",\"rebel_coding_step5.md\":\"Dpyx0NUO\",\"rebel_coding_step6.md\":\"VjnlTvFQ\",\"rebel_coding_step7.md\":\"Cv22hGLG\",\"rebel_coding_step8.md\":\"hfdnDA5D\",\"rebel_coding_termintro.md\":\"yqyXwJUh\",\"rebel_coding_v2.md\":\"C_Ab_PCg\",\"rebel_coding_v2orient.md\":\"Cih4N80W\",\"welcome_canin.md\":\"BVaWnSlf\",\"welcome_dreamfreely.md\":\"C8ZaDhcw\",\"welcome_index.md\":\"IohpDKGr\",\"welcome_support.md\":\"CIaYjdmV\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"DreamFreely Library\",\"description\":\"Community Conscious Creations\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Welcome\",\"link\":\"/welcome/\"},{\"text\":\"Support\",\"link\":\"/welcome/support\"}],\"sidebar\":[{\"text\":\"Welcome\",\"items\":[{\"text\":\"Chibu / Hola / Hello\",\"link\":\"/welcome/\"},{\"text\":\"About DreamFreely\",\"link\":\"/welcome/dreamfreely\"},{\"text\":\"About Canin Carlos\",\"link\":\"/welcome/canin\"}]},{\"text\":\"Rebel Coding 101\",\"items\":[{\"text\":\"Intro to Coding\",\"link\":\"/rebel_coding/\"},{\"text\":\"Orientation\",\"link\":\"/rebel_coding/orientation\"},{\"text\":\"Intro to CLI\",\"link\":\"/rebel_coding/termintro\"},{\"text\":\"Step 1: HTML & CSS\",\"link\":\"/rebel_coding/step1\"},{\"text\":\"Step 2: JavaScript\",\"link\":\"/rebel_coding/step2\"},{\"text\":\"Step 3: Python Scrapers\",\"link\":\"/rebel_coding/step3\"},{\"text\":\"Step 4: The Full Stack\",\"link\":\"/rebel_coding/step4\"},{\"text\":\"Appendices\",\"link\":\"/rebel_coding/appendices\"}]},{\"text\":\"Rebel Coding 102\",\"items\":[{\"text\":\"Reviewing the Full-Stack\",\"link\":\"/rebel_coding/v2\"},{\"text\":\"Planning Our App\",\"link\":\"/rebel_coding/v2Orient\"},{\"text\":\"Step 1: Server\",\"link\":\"/rebel_coding/step5\"},{\"text\":\"Step 2: Client\",\"link\":\"/rebel_coding/step6\"},{\"text\":\"Step 3: Deployment\",\"link\":\"/rebel_coding/step7\"},{\"text\":\"Step 4: Scaling, etc\",\"link\":\"/rebel_coding/step8\"},{\"text\":\"More Appendices\",\"link\":\"/rebel_coding/more-appendices\"}]},{\"text\":\"Manifesting Empathy\",\"items\":[{\"text\":\"Welcome\",\"link\":\"/mempath/\"},{\"text\":\"The Egg (0-5)\",\"link\":\"/mempath/egg\"},{\"text\":\"The Hatchling (5-12)\",\"link\":\"/mempath/hatchling\"},{\"text\":\"Flight (12-18)\",\"link\":\
</body>
</html>