Skip to main content

Module model

Module model 

Source
Expand description

On-disk types for an Eagle library. Field order mirrors Eagle’s own key order so that compact serialization is byte-identical. Unknown keys are kept in extra and written after the known ones.

Structs§

Comment
One entry of an item’s comments: a region note on an image or a timestamped note on a video or audio file. Eagle writes id, then x, y, width, height (image) or duration (video), then annotation and lastModified.
Folder
A node in the folder tree.
Item
An item’s images/<ID>.info/metadata.json.
KeyOrder
An item’s original key order. Only formatting, so it never makes two items unequal.
LibraryMetadata
Top-level metadata.json: the folder tree and library-wide settings.
MtimeIndex
mtime.json: item id to modification time, followed by an "all" count.
Palette
One colour of an item’s palette.
SavedAiRules
A saved filter’s image and semantic rules, each kept as the whole value it was read as, so that fields falcon doesn’t know come back unchanged when the filter is saved again.
SavedFilter
One entry of saved-filters.json: a name and a snapshot of the filter panel’s rules. Entries have no id; Eagle finds them by position.
SavedFilterQuery
A saved filter read into falcon’s search types.
TagGroup
A tag group from tagsGroups in the library metadata.json. Eagle writes id, name, tags, then color when set and description when defined.
Tags
tags.json.

Enums§

FolderOrder
A folder’s or smart folder’s own sort key, stored as orderBy.

Constants§

FOLDER_ICONS
Icon names Eagle’s folder and smart-folder icon picker offers, in picker order (spellings as Eagle stores them). No icon key means the default folder icon.
ICON_COLORS
Icon colours Eagle offers for folders, smart folders and tag groups, in menu order. No colour key means the default (grey).

Type Aliases§

Extra
Unknown JSON keys, preserved verbatim.