new ComponentActionBase
src/utils/components/actionbase.ts:79new ComponentActionBase(data?: ComponentActionData)The most basic Structure class, every structure extends this
The most basic Structure class, every structure extends this
import { Utils } from 'detritus-client';
Utils.ComponentActionBase;new ComponentActionBase(data?: ComponentActionData)_getFromSnake(key: string): any_setFromSnake(key: string, value: any): any[custom](): objectdifference(key: string, value: any): [boolean, any]differences(data?: BaseStructureData): object | nulldifferencesBetween(structure: Structure): object | nullhasDifference(key: string, value: any): booleanhasDifferences(data?: BaseStructureData): booleanhasDifferencesBetween(structure: Structure): booleanmerge(data?: BaseStructureData): voidmergeValue(key: string, value: any): voidonError(context: ComponentContext, error: Error): unknownrun(context: ComponentContext): unknowntoJSON(): RawChannelMessageComponent