teableio/teable

View on GitHub
apps/nestjs-backend/src/event-emitter/events/op-event.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { RawOpType } from '../../share-db/interface';
import { CoreEvent } from './core-event';

export interface IChangeValue {
  oldValue: unknown | undefined;
  newValue: unknown;
}

export abstract class OpEvent<Payload extends object = object> extends CoreEvent<Payload> {
  abstract rawOpType: RawOpType;
}