this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add top level non objects

Juliet 545ca530 5c63396a

+23
+23
src/components/lexicon-schema.tsx
··· 3 3 import { createEffect, For, Show } from "solid-js"; 4 4 import { resolveLexiconAuthority } from "../utils/api.js"; 5 5 6 + // TODO: tidy types 7 + 6 8 interface LexiconSchema { 7 9 lexicon: number; 8 10 id: string; ··· 26 28 nullable?: string[]; 27 29 maxLength?: number; 28 30 minLength?: number; 31 + maxGraphemes?: number; 29 32 items?: LexiconProperty; 30 33 refs?: string[]; 31 34 closed?: boolean; ··· 34 37 default?: any; 35 38 minimum?: number; 36 39 maximum?: number; 40 + accept?: string[]; 41 + maxSize?: number; 37 42 } 38 43 39 44 interface LexiconObject { ··· 440 445 )} 441 446 </For> 442 447 </div> 448 + </div> 449 + </Show> 450 + 451 + {/* Other Definitions */} 452 + <Show 453 + when={ 454 + !( 455 + props.def.properties || 456 + props.def.parameters || 457 + props.def.input || 458 + props.def.output || 459 + props.def.errors || 460 + props.def.record 461 + ) 462 + } 463 + > 464 + <div class="divide-y divide-neutral-200 rounded-lg border border-neutral-200 bg-neutral-50/50 px-3 dark:divide-neutral-700 dark:border-neutral-700 dark:bg-neutral-800/30"> 465 + <PropertyRow name={props.name} property={props.def} /> 443 466 </div> 444 467 </Show> 445 468 </div>