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.

fix: type errors automerge-repo-server output

+6 -5
+6 -5
src/components/output/bytes/automerge-repo-server/element.js
··· 63 63 constructor() { 64 64 super(); 65 65 66 + this.#ensureDocs(); 67 + 66 68 /** @type {OutputManagerProperties<Uint8Array>} */ 67 69 const properties = { 68 70 facets: { 69 - empty: () => undefined, 71 + empty: () => this.#getBytes("facets"), 70 72 get: async () => this.#getBytes("facets"), 71 73 put: async (data) => this.#putBytes("facets", data), 72 74 }, 73 75 init: () => this.whenConnected(), 74 76 playlists: { 75 - empty: () => undefined, 77 + empty: () => this.#getBytes("playlists"), 76 78 get: async () => this.#getBytes("playlists"), 77 79 put: async (data) => this.#putBytes("playlists", data), 78 80 }, 79 81 themes: { 80 - empty: () => undefined, 82 + empty: () => this.#getBytes("themes"), 81 83 get: async () => this.#getBytes("themes"), 82 84 put: async (data) => this.#putBytes("themes", data), 83 85 }, 84 86 tracks: { 85 - empty: () => undefined, 87 + empty: () => this.#getBytes("tracks"), 86 88 get: async () => this.#getBytes("tracks"), 87 89 put: async (data) => this.#putBytes("tracks", data), 88 90 }, ··· 104 106 connectedCallback() { 105 107 super.connectedCallback(); 106 108 this.#loadDocIds(); 107 - this.#ensureDocs(); 108 109 this.#connect(); 109 110 } 110 111