summary refs log tree commit diff
path: root/src/util/schemas/GatewayPayloadSchema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/schemas/GatewayPayloadSchema.ts')
-rw-r--r--src/util/schemas/GatewayPayloadSchema.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/schemas/GatewayPayloadSchema.ts b/src/util/schemas/GatewayPayloadSchema.ts
new file mode 100644

index 00000000..324ad1eb --- /dev/null +++ b/src/util/schemas/GatewayPayloadSchema.ts
@@ -0,0 +1,8 @@ +import { Tuple } from "lambert-server"; + +export const PayloadSchema = { + op: Number, + $d: new Tuple(Object, Number), // or number for heartbeat sequence + $s: Number, + $t: String, +}; \ No newline at end of file