(partial?: Partial<WithStepConfig>)
| 7061 | } |
| 7062 | |
| 7063 | public override clone(partial?: Partial<WithStepConfig>) { |
| 7064 | return new WithStep({ |
| 7065 | distinct: partial?.distinct ?? this.config.distinct, |
| 7066 | items: partial?.items ?? [...this.config.items], |
| 7067 | orderBy: partial?.orderBy ?? (this.config.orderBy ? [...this.config.orderBy] : undefined), |
| 7068 | skip: partial?.skip ?? this.config.skip, |
| 7069 | limit: partial?.limit ?? this.config.limit, |
| 7070 | whereCondition: partial?.whereCondition ?? this.config.whereCondition, |
| 7071 | stepLabels: |
| 7072 | partial?.stepLabels ?? (this.config.stepLabels ? [...this.config.stepLabels] : undefined), |
| 7073 | }); |
| 7074 | } |
| 7075 | |
| 7076 | public override toStringTokens(): StepStringToken[] { |
| 7077 | const tokens: StepStringToken[] = [{ kind: "start" }, { kind: "name", value: this.name }]; |
nothing calls this directly
no outgoing calls
no test coverage detected