A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

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

feat: add url to constituent definition + theme definition

+44 -6
+1
deno.jsonc
··· 139 139 // .ts 140 140 "./definitions/types/sh/diffuse/output/constituent.ts": "./src/definitions/types/sh/diffuse/output/constituent.ts", 141 141 "./definitions/types/sh/diffuse/output/playlist.ts": "./src/definitions/types/sh/diffuse/output/playlist.ts", 142 + "./definitions/types/sh/diffuse/output/theme.ts": "./src/definitions/types/sh/diffuse/output/theme.ts", 142 143 "./definitions/types/sh/diffuse/output/track.ts": "./src/definitions/types/sh/diffuse/output/track.ts", 143 144 }, 144 145 "tasks": {
+1
src/definitions/index.ts
··· 1 1 export * as ShDiffuseOutputConstituent from "./types/sh/diffuse/output/constituent.js"; 2 2 export * as ShDiffuseOutputPlaylist from "./types/sh/diffuse/output/playlist.js"; 3 + export * as ShDiffuseOutputTheme from "./types/sh/diffuse/output/theme.js"; 3 4 export * as ShDiffuseOutputTrack from "./types/sh/diffuse/output/track.js";
+10 -3
src/definitions/output/constituent.json
··· 10 10 "properties": { 11 11 "cid": { 12 12 "type": "string", 13 - "description": "A DASL CID representing the DRISL-encoded HTML (raw 0x55 codec)" 13 + "description": "A DASL CID representing the UTF8 encoded HTML (raw 0x55 codec)" 14 14 }, 15 15 "description": { "type": "string" }, 16 - "html": { "type": "string", "description": "The constituent HTML" }, 17 - "name": { "type": "string" } 16 + "html": { 17 + "type": "string", 18 + "description": "The UTF8 HTML string that makes up the constituent" 19 + }, 20 + "name": { "type": "string" }, 21 + "url": { 22 + "type": "string", 23 + "description": "An optional URL that points at the constituent; can be used to update this artifact" 24 + } 18 25 } 19 26 } 20 27 }
+29
src/definitions/output/theme.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.diffuse.output.theme", 4 + "defs": { 5 + "main": { 6 + "type": "record", 7 + "record": { 8 + "type": "object", 9 + "required": ["cid", "html", "name"], 10 + "properties": { 11 + "cid": { 12 + "type": "string", 13 + "description": "A DASL CID representing the UTF8 encoded HTML (raw 0x55 codec)" 14 + }, 15 + "description": { "type": "string" }, 16 + "html": { 17 + "type": "string", 18 + "description": "The UTF8 HTML string that makes up the theme" 19 + }, 20 + "name": { "type": "string" }, 21 + "url": { 22 + "type": "string", 23 + "description": "An optional URL that points at the theme; can be used to update this artifact" 24 + } 25 + } 26 + } 27 + } 28 + } 29 + }
+3 -3
src/index.vto
··· 180 180 definitions: 181 181 - title: "Output / Constituent" 182 182 desc: > 183 - Custom constituents to keep around. 183 + Constituent pointer or HTML snippet. 184 184 url: "definitions/output/constituent.json" 185 185 - title: "Output / Playlist" 186 186 desc: > ··· 192 192 todo: true 193 193 - title: "Output / Theme" 194 194 desc: > 195 - Custom theme to keep around. 196 - todo: true 195 + Theme pointer or HTML snippet. 196 + url: "definitions/output/theme.json" 197 197 - title: "Output / Track" 198 198 desc: > 199 199 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.