Flags used by the core software.

interface PackageFlagsData {
    canUpload: boolean;
    compendiumArtMappings: Record<string, CompendiumArtFlag>;
    hotReload: { extensions: string[]; paths: string[] };
    tokenRingSubjectMappings: Record<string, string>;
}

Properties

canUpload: boolean

Can you upload to this package's folder using the built-in FilePicker.

compendiumArtMappings: Record<string, CompendiumArtFlag>

Mapping information for CompendiumArt Each key is a unique system ID, e.g. "dnd5e" or "pf2e".

hotReload: { extensions: string[]; paths: string[] }

Configuration information for hot reload logic

Type declaration

  • extensions: string[]

    A list of file extensions, e.g. ["css", "hbs", "json"]

  • paths: string[]

    File paths to watch, e.g. ["src/styles", "templates", "lang"]

tokenRingSubjectMappings: Record<string, string>

A mapping of token subject paths to configured subject images.