AlphaAlphaCreates a new instance of the LayerAttachmentsApiImpl class.
The TwinfinityApiClient instance.
The parent object containing the layer and permission-related methods.
AlphaAdds a new attachment to the layer.
The options for creating the attachment.
A promise that resolves to the created attachment or an error.
AlphaDetermines whether the caller has sufficient permissions to add attachments to the layer.
True if attachments can be added to the layer, false otherwise.
AlphaDetermines whether the caller has sufficient permissions to update a attachment (create a new version of it) on the layer.
The attachment to check.
True if the attachment can be updated (new version created), false otherwise.
AlphaDeletes the specified attachments from the layer.
The attachments to delete.
A promise that resolves to the number of deleted attachments or an error.
AlphaRetrieves all attachments of the layer (may be none).
List of attachments.
AlphaChecks if the given change is an attachment of the layer.
The change to check.
True if the change is an attachment of the layer, false otherwise.
AlphaUpdates an existing attachment with a new version.
The attachment to update.
The options for updating the attachment.
A promise that resolves to the updated attachment or an error.
Represents the Layer Attachments API. Contains methods to work with layer attachments for a specific layer. This class is not fully tested yet. Use with caution.