import type { SandstoneCore } from 'sandstone/core' import { SingleConditionNode } from '../condition' export class ScoreConditionNode extends SingleConditionNode { constructor( sandstoneCore: SandstoneCore, readonly args: string[], ) { super(sandstoneCore) } getCondition(): unknown[] { return ['score', ...this.args] } }