summaryrefslogtreecommitdiffstats
path: root/llparse-frontend/src/code/update.ts
blob: 5fa5eec00414a9f30655f7862fcdc069d5d90b79 (plain)
1
2
3
4
5
6
7
8
import { toCacheKey } from '../utils';
import { FieldValue } from './field-value';

export class Update extends FieldValue {
  constructor(name: string, field: string, value: number) {
    super('match', `update_${field}_${toCacheKey(value)}`, name, field, value);
  }
}