All files / lib/photos-library constants.ts

100% Statements 35/35
100% Branches 0/0
100% Functions 0/0
100% Lines 35/35

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 351x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
/**
 * The directory, where the base assets (aka 'All Photos') are stored (within the provided Photo Data Dir)
 */
export const PRIMARY_ASSET_DIR = `_All-Photos`;
export const SHARED_ASSET_DIR = `_Shared-Photos`;
export const ARCHIVE_DIR = `_Archive`;
export const STASH_DIR = `.stash`;
 
/**
 * The name of the album, holding all assets from the 'Hidden' album (only synced if enabled)
 */
export const HIDDEN_ALBUM_NAME = `_Hidden-Photos`;
 
/**
 * The static UUID of the album holding all hidden assets, since this album has no representation in the iCloud backend
 */
export const HIDDEN_ALBUM_UUID = `----Hidden-Photos----`;
 
/**
 * The default directory (relative to the data dir), where deleted assets are moved to, if soft delete is enabled
 */
export const TRASH_DIR = `_Trash`;
 
/**
 * The version of the local photos library
 */
export const LIBRARY_VERSION = 1;
 
/**
 * A list of file patterns, that are safe to ignore for the application.
 */
export const SAFE_FILES = [
    /^\.DS_Store$/,
    /^\.fuse_hidden.*/,
];