Get desktop application:
View/edit binary Protocol Buffers messages
From Kotlin to Rust
Node names
Ignored images
Last modified comes from the previously fetched document and is used to avoid fetching the same doc version over and over.
The version also comes from the previously fetched document. When certain properties of a Figma doc like a new branch changes, the version gets updated but the last_modified field does not.
Image session also comes from the previously fetched document. We allow this to fail decoding, in case we're receiving a request from a client that has an image session generated by an old version.
From Rust to Kotlin
Document contains the converted DesignCompose definition, the server Figma document and the session id required to fetch images.
Used in:
The DesignCompose definition header.
The server Figma document contains minimal information required by the client to fetch images.
Session id required by the client to fetch images.