refactor(protocol): define current event surface
This commit is contained in:
parent
a267222080
commit
6ad5ce39be
3 changed files with 53 additions and 6 deletions
|
|
@ -54,6 +54,6 @@ const make = (definitions: ReadonlyArray<Definition>) => {
|
|||
|
||||
export const makeEventGroup = (definitions: ReadonlyArray<Definition>) => make(definitions).group
|
||||
|
||||
const event = make(EventManifest.ServerDefinitions)
|
||||
const event = make(EventManifest.CurrentServerDefinitions)
|
||||
export const EventGroup = event.group
|
||||
export type Event = typeof event.schema.Type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue