@select-org/select-post-builder 1.3.1 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -14,7 +14,8 @@ export declare function applyResolvedMediaItem(jsonBody: JSONContent_2 | undefin
14
14
  /**
15
15
  * Walks a serialized htmlBody string, finds the `[data-media][data-uid=itemKey]`
16
16
  * wrapper and rewrites it to point at the hosted URL + payload from a resolved
17
- * upload result. Mirrors `applyResolvedMediaItem` for the JSON form. If no
17
+ * upload result, rebuilding the inner element for the resolved node type.
18
+ * Mirrors `applyResolvedMediaItem` for the JSON form. If no
18
19
  * matching node is found, returns the input unchanged.
19
20
  */
20
21
  export declare function applyResolvedMediaItemToHtml(html: string | undefined, itemKey: string, resolvedItem: ResolvedMediaItem_2): string | undefined;
@@ -401,6 +402,7 @@ declare type PostCreationMediaItem = {
401
402
  key: string;
402
403
  type: MediaItemType | PollType;
403
404
  imageType: string;
405
+ sourceType?: string;
404
406
  compressVideoPath?: string;
405
407
  playableDuration?: number | null;
406
408
  preloadUrl?: boolean;