Major Changes
-
9e48db0Thanks @damusix! - ## Breaking ChangescreatePostassets input changed from object to ordered arrayBuffer's GraphQL API replaced
AssetsInput(object withimages,videos,documents,linkfields) with[AssetInput!](ordered array where each item is exactly one ofimage,video,document, orlink).Before:
assets: { images: [{ url: "https://example.com/photo.jpg" }], videos: [{ url: "https://example.com/video.mp4" }] }
After:
assets: [ { image: { url: "https://example.com/photo.jpg" } }, { video: { url: "https://example.com/video.mp4" } }, ];
Fixed
fix(types):Resolve three TypeScript errors from@logosdx/fetchv8 type changes