;const s=u(()=&gt;d().setValuesSchema({type:{type:&quot;string&quot;,default:&quot;Home&quot;}}));p(s,t=&gt;f(t,&quot;todos/viewStore&quot;),[],async t=&gt;{await t.startAutoLoad(),await t.startAutoSave()});const n=N(e,t=&gt;h(t).setIndexDefinition(&quot;types&quot;,&quot;todos&quot;,&quot;type&quot;));return C(k,{store:e,storesById:{viewStore:s},indexes:n,children:[o(V,{}),o(D,{}),o(K,{}),o(B,{}),o(P,{})]})};window.addEventListener(&quot;load&quot;,()=&gt;w(document.body).render(o(L,{})));const V=()=&gt;&q