Body, Mind & Soul — API Reference
    Preparing search index...

    Class default

    Hierarchy

    • TriggerMixin<this>
      • default
    Index
    • Returns default

    _sortedTriggers: any[] | undefined
    • get isExpired(): boolean

      Returns boolean

    • get isSideboardCard(): boolean

      Returns boolean

    • get triggerConsumerType(): string

      Returns string

    • Returns any

    • Returns any

    • Returns {
          conditionChoices: { [k: string]: any };
          conditionConfigFields: {};
          conditionConfigPartials: {};
          conditionsNeedValue: {};
          conditionValueHints: {};
          hookChoices: { [k: string]: any };
          localizedConditionsByHook: {};
          localizedSubConditionsByMetaType: {};
          metaConditions: {};
          outcomeChoices: { [k: string]: any };
          outcomeConfigPartials: {};
          scopeableConditions: {};
          targetScopeChoices: {};
      }

    • Returns void

    • Convert the schema to a plain object.

      The built in toObject() method will ignore derived data when using Data Models. This additional method will instead use the spread operator to return a simplified version of the data.

      Returns object

      Plain object either via deepClone or the spread operator.

    • Returns {
          color: any;
          disabled: any;
          drawLimit: any;
          drawsRemaining: any;
          effects: any;
          formula: any;
          persistThroughExtendedRest: any;
          persistThroughShortRest: any;
          shuffleOnDraw: any;
          sideboardSource: any;
          sourceCardId: any;
          triggers: TypedObjectField;
          useDeckTriggers: any;
      }

    • Parameters

      • source: any

      Returns any

    • Build the shared triggers TypedObjectField schema.

      Returns TypedObjectField