MCPcopy Create free account
hub / github.com/codemix/graph / clone

Method clone

packages/graph/src/Steps.ts:2664–2671  ·  view source on GitHub ↗
(partial?: Partial<AggregateStepConfig>)

Source from the content-addressed store, hash-verified

2662 }
2663
2664 public override clone(partial?: Partial<AggregateStepConfig>) {
2665 const { config } = this;
2666 return new SumStep({
2667 property: partial?.property ?? config.property,
2668 variable: partial?.variable ?? config.variable,
2669 stepLabels: partial?.stepLabels ?? (config.stepLabels ? [...config.stepLabels] : undefined),
2670 });
2671 }
2672}
2673
2674export class AvgStep extends Step<AggregateStepConfig> {

Callers 15

withLabelFunction · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
cloneMethod · 0.45
hasLabelMethod · 0.45
hasMethod · 0.45
notMethod · 0.45
appendOrderDirectionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected