Common locations that we can use when displaying a file picker.
Local application cache directory (persistence not guaranteed).
Local application data.
Local application library.
Local application shared data folder.
Local temporary directory.
Roaming application data.
Roaming application library data.
The user's desktop folder.
The user's documents folder.
The user's music folder or library.
The user's pictures folder or library.
The user's videos / movies folder or library.
Attempted to invoke an abstract method.
Data and Format mismatch.
Domain is not supported by the current FileSystemProvider instance.
An attempt was made to overwrite an entry without indicating that it was safe to do so via overwrite: true.
The entry is not a file, but was expected to be.
The entry is not a folder, but was expected to be a folder.
The object passed as an entry is not actually an Entry.
An attempt was made to write to a file that was opened as read-only.
Unsupported format type.
The file name contains invalid characters.
The instance was expected to be a file system, but wasn't.
The file system is out of space (or quota has been exceeded).
The file system revoked permission to complete the requested action.
Attempted to execute a command that required the providers of all entries to match.
This namespace describes the various file type extensions that can used be used in some FS file open methods.
All file types.
Image file extensions.
Text file extensions.
This namespace describes the file content formats supported in FS methods like read and write.
Binary file encoding.
UTF8 File encoding.
This namespace describes the file open modes. For eg: open file in read-only or both read-write.
The file is read-only; attempts to write will fail.
The file is read-write.
SecureStorage provides a protected storage which can be used to store sensitive data per plugin. SecureStorage takes a key-value pair and encrypts the value before being stored. After encryption, it stores the key and the encrypted value pair. When the value is requested with an associated key, it's retrieved after being decrypted. Please note that the key is not encrypted thus it's not protected by the cryptographic operation.
Caveats for SecureStorage are as follows:
Clear all values in a secure storage.
Retrieve a value associated with a provided key after the value is being decrypted from a secure storage.
Returns a key which is stored at the given index.
Returns number of items stored in the secure storage.
Remove a value associated with a provided key.
Store a key and value pair after the value is encrypted in a secure storage.
This namespace describes the type of the entry. Whether file or folder etc.
A file; used when creating an entity.
A folder; used when creating an entity.
See
https://developer.adobe.com/photoshop/uxp/2022/uxp/reference-js/Modules/uxp/Persistent File Storage/