UNPKG

coldsky

Version:

Library and the app for BlueSky

26 lines (24 loc) 516 B
// @ts-check /** * @param {string} shortDID * @param {string} uri */ export function createSpeculativePost(shortDID, uri) { /** @type {import('../..').CompactPost} */ const speculativePost = { uri, shortDID, text: undefined, facets: undefined, embeds: undefined, threadStart: undefined, replyTo: undefined, words: undefined, likedBy: undefined, repostedBy: undefined, quoting: undefined, placeholder: true, asOf: undefined }; return speculativePost; }