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

Properties

_id: null | string

The _id which uniquely identifies this Macro document

An object of creation and access information

author: string

The _id of a User document which created this Macro *

command: string

The string content of the macro command

An object of optional key/value flags

folder: null | string

The _id of a Folder which contains this Macro

img?: string

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

name: string

The name of this Macro

ownership?: object

An object which configures ownership of this Macro

scope?: string

The scope of this Macro application from CONST.MACRO_SCOPES

sort?: number

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

type: string

A Macro subtype from CONST.MACRO_TYPES