package demoed:forms; interface types { // Details required in order to add an event listener to an element record listen-details { selector: string, ty: string, } // Context for the minijinja rendering record page { title: string, target: option } record input { placeholder: string, target: option } record outrecord { value: string, target: option } record output { // the resulting value of the total outputs combined value: option, // optional id string: None is intial render, Some for update value id: option, // the output dest for the username changes username: option, // the output dest for the password changes password: option, target: option } // COntent for the entire page record content { page: page, input: input, output: option, target: option } // Context variants variant context { all-content(content), username(outrecord), password(outrecord), } } /// An example world for the component to target. world main { import wurbo-in; export wurbo-out; }