diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-28 16:39:05 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-28 16:39:05 +1000 |
commit | 7818e8dd3cff1cba078acd52cda4f852d6422a92 (patch) | |
tree | db2a5e91a0505e91be49ba5825919051326108d6 /src/util/schemas/GatewayPayloadSchema.ts | |
parent | Use PrimaryIdColumn instead of PrimaryColumn in Invite and Category (diff) | |
download | server-7818e8dd3cff1cba078acd52cda4f852d6422a92.tar.xz |
Missed some schemas
Diffstat (limited to 'src/util/schemas/GatewayPayloadSchema.ts')
-rw-r--r-- | src/util/schemas/GatewayPayloadSchema.ts | 8 |
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 |