mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 01:59:08 +00:00
chore: add backend-y bits of heartbeats
This commit is contained in:
parent
f65779f925
commit
a34aebabe3
12 changed files with 174 additions and 2 deletions
5
packages/types/Internal.ts
Normal file
5
packages/types/Internal.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
export type BotHeartbeatData = {
|
||||
shard: number;
|
||||
state: 'ok' | 'degraded' | 'failed';
|
||||
lastHeartbeat?: number; // Date.now()
|
||||
};
|
|
@ -1,5 +1,6 @@
|
|||
export * from './Category';
|
||||
export * from './Guild';
|
||||
export * from './Internal';
|
||||
export * from './Role';
|
||||
export * from './Session';
|
||||
export * from './User';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue