Search Docs
Loading...
Skip to content

Interface: PastedBlocks

The blocks that a paste of a snapshot loads.

Properties#

Property Type Description
id string The id of the copy. Each paste of one copy has the same id.
blocks string The blocks as block.saveToString wrote them, to pass to block.loadFromString.
fromThisEngine boolean Whether this engine made the copy. Blocks from elsewhere passed none of its checks.
resources ReadonlyMap<string, string> The resources that a copy from another engine carried, by the URL that the blocks name.