The decision produced by planShortcodeSave: the shortcode a weapon strike mode should be saved with, and — when the requested value was rejected — why.

interface ShortcodeSavePlan {
    error?: string;
    shortcode: string;
}

Properties

Properties

error?: string

A human-readable reason the requested shortcode was rejected, or undefined when the requested value was accepted. When set, the caller should surface this message and fall back to shortcode.

shortcode: string

The shortcode to persist on the edited strike mode. The requested value when it is valid and unique; otherwise the mode's existing shortcode (the edit is kept, only the shortcode change is refused).