···11export * as ShDiffuseOutputConstituent from "./types/sh/diffuse/output/constituent.js";
22export * as ShDiffuseOutputPlaylist from "./types/sh/diffuse/output/playlist.js";
33+export * as ShDiffuseOutputTheme from "./types/sh/diffuse/output/theme.js";
34export * as ShDiffuseOutputTrack from "./types/sh/diffuse/output/track.js";
+10-3
src/definitions/output/constituent.json
···1010 "properties": {
1111 "cid": {
1212 "type": "string",
1313- "description": "A DASL CID representing the DRISL-encoded HTML (raw 0x55 codec)"
1313+ "description": "A DASL CID representing the UTF8 encoded HTML (raw 0x55 codec)"
1414 },
1515 "description": { "type": "string" },
1616- "html": { "type": "string", "description": "The constituent HTML" },
1717- "name": { "type": "string" }
1616+ "html": {
1717+ "type": "string",
1818+ "description": "The UTF8 HTML string that makes up the constituent"
1919+ },
2020+ "name": { "type": "string" },
2121+ "url": {
2222+ "type": "string",
2323+ "description": "An optional URL that points at the constituent; can be used to update this artifact"
2424+ }
1825 }
1926 }
2027 }
+29
src/definitions/output/theme.json
···11+{
22+ "lexicon": 1,
33+ "id": "sh.diffuse.output.theme",
44+ "defs": {
55+ "main": {
66+ "type": "record",
77+ "record": {
88+ "type": "object",
99+ "required": ["cid", "html", "name"],
1010+ "properties": {
1111+ "cid": {
1212+ "type": "string",
1313+ "description": "A DASL CID representing the UTF8 encoded HTML (raw 0x55 codec)"
1414+ },
1515+ "description": { "type": "string" },
1616+ "html": {
1717+ "type": "string",
1818+ "description": "The UTF8 HTML string that makes up the theme"
1919+ },
2020+ "name": { "type": "string" },
2121+ "url": {
2222+ "type": "string",
2323+ "description": "An optional URL that points at the theme; can be used to update this artifact"
2424+ }
2525+ }
2626+ }
2727+ }
2828+ }
2929+}
+3-3
src/index.vto
···180180definitions:
181181 - title: "Output / Constituent"
182182 desc: >
183183- Custom constituents to keep around.
183183+ Constituent pointer or HTML snippet.
184184 url: "definitions/output/constituent.json"
185185 - title: "Output / Playlist"
186186 desc: >
···192192 todo: true
193193 - title: "Output / Theme"
194194 desc: >
195195- Custom theme to keep around.
196196- todo: true
195195+ Theme pointer or HTML snippet.
196196+ url: "definitions/output/theme.json"
197197 - title: "Output / Track"
198198 desc: >
199199 Represents audio that can be played, or a placeholder for a source of tracks. Contains a URI that will resolve to the audio. This object may be cached if convenient.