13 lines
No EOL
395 B
TypeScript
13 lines
No EOL
395 B
TypeScript
import {Model} from "../../Models/Model";
|
|
import {EventType, NormalEvent} from "../EventHandler.types";
|
|
|
|
export class ElementCreatedEvent<T extends Model = Model> implements NormalEvent {
|
|
constructor(
|
|
public readonly tableName: string,
|
|
public readonly instanceValues: Partial<T>,
|
|
public readonly instanceId: number | bigint
|
|
) {
|
|
}
|
|
|
|
type: EventType.Normal = EventType.Normal;
|
|
} |