Optional
uid: stringOptional
name: stringAdd a CoT marker to the Package
Add any file to a Package
Input ReadableStream of File at attach
Options
Optional
attachment?: stringShould the file be associated as an attachment to a CoT. If so this should contain the UID of the CoT
Optional
ignore?: booleanShould the file be ignore, defaults to false
Filename for the file
Optional
uid?: stringOptional UID for the File, a UUID will be generated if not supplied
Return attachments that are associated in the Manifest with a given CoT Note: this does not return files that are NOT associated with a CoT
Return CoT objects for all CoT type features in the Data Package
CoTs have their attachment_list
field populated if parseAttachments is set to true.
While this field is populated automatically by some ATAK actions such as QuickPic
other attachment actions do not automatically populate this field other than the link
provided between a CoT and it's attachment in the MANIFEST file
Static
hashStatic
parseReturn a DataPackage version of an unparsed Data Package Zip
Helper class for creating and parsing static Data Packages