interface MacroData {
    _id: string;
    name: string;
    type: string;
    author: string;
    img: string;
    scope: string;
    command: string;
    folder: string;
    sort: number;
    ownership: object;
    flags: object;
    _stats: DocumentStats;
}

Properties

_id: string

The _id which uniquely identifies this Macro document

name: string

The name of this Macro

type: string

A Macro subtype from CONST.MACRO_TYPES

author: string

The _id of a User document which created this Macro *

img: string

An image file path which provides the thumbnail artwork for this Macro

scope: string

The scope of this Macro application from CONST.MACRO_SCOPES

command: string

The string content of the macro command

folder: string

The _id of a Folder which contains this Macro

sort: number

The numeric sort value which orders this Macro relative to its siblings

ownership: object

An object which configures ownership of this Macro

flags: object

An object of optional key/value flags

_stats: DocumentStats

An object of creation and access information