summary refs log tree commit diff
path: root/src/util/schemas/GatewayPayloadSchema.ts
blob: 324ad1eb5f1cef30186bc58a0101a9c55bd0b8f3 (plain) (blame)
1
2
3
4
5
6
7
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,
};