workadventure/front/src/Api/Events/ChangeZoneEvent.ts
Hanusiak Piotr b12fb228af fixed typos
2021-12-08 13:25:54 +01:00

12 lines
328 B
TypeScript

import * as tg from "generic-type-guard";
export const isChangeZoneEvent = new tg.IsInterface()
.withProperties({
name: tg.isString,
})
.get();
/**
* A message sent from the game to the iFrame when a user enters or leaves a zone.
*/
export type ChangeZoneEvent = tg.GuardedType<typeof isChangeZoneEvent>;