File size: 553 Bytes
68d7816
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* oxlint-disable typescript-eslint/no-unsafe-declaration-merging, eslint-plugin-import/namespace -- Event2 class+payload-interface declaration merging is the sanctioned event-declaration idiom. */
import { Event2 } from '#/app/event/event2';

export class PluginChanged extends Event2<{ readonly payload: Record<string, never> }> {
  static override readonly type = 'event.plugin.changed';
}
export interface PluginChanged {
  readonly payload: Record<string, never>;
}

export interface PluginChangedEvent {
  readonly type: 'event.plugin.changed';
}