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.

chore: expose atproto putRecords method

+4 -4
+4 -4
src/components/output/raw/atproto/element.js
··· 70 70 facets: { 71 71 empty: () => [], 72 72 get: () => this.listRecords("sh.diffuse.output.facet"), 73 - put: (data) => this.#putRecords("sh.diffuse.output.facet", data), 73 + put: (data) => this.putRecords("sh.diffuse.output.facet", data), 74 74 }, 75 75 playlistItems: { 76 76 empty: () => [], 77 77 get: () => this.listRecords("sh.diffuse.output.playlistItem"), 78 - put: (data) => this.#putRecords("sh.diffuse.output.playlistItem", data), 78 + put: (data) => this.putRecords("sh.diffuse.output.playlistItem", data), 79 79 }, 80 80 tracks: { 81 81 empty: () => [], ··· 108 108 }); 109 109 } 110 110 111 - await this.#putRecords("sh.diffuse.output.trackBundle", bundles, { 111 + await this.putRecords("sh.diffuse.output.trackBundle", bundles, { 112 112 upsertBatchSize: 1, 113 113 }); 114 114 ··· 436 436 * @param {Array<{ id: string }>} data 437 437 * @param {{ deleteBatchSize?: number, upsertBatchSize?: number }} [options] 438 438 */ 439 - async #putRecords( 439 + async putRecords( 440 440 collection, 441 441 data, 442 442 { deleteBatchSize = 100, upsertBatchSize = deleteBatchSize } = {},