types-nora-api 0.0.145 → 0.0.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes.d.ts +3 -4
- package/package.json +1 -1
package/dist/classes.d.ts
CHANGED
|
@@ -734,18 +734,17 @@ type PaginaChave = keyof typeof PAGINAS;
|
|
|
734
734
|
type PaginaObjeto = typeof PAGINAS[PaginaChave];
|
|
735
735
|
type TelemetryConnectionInfo = {
|
|
736
736
|
socketId: string;
|
|
737
|
-
userId?: number;
|
|
738
737
|
username?: string;
|
|
739
738
|
ip: string;
|
|
740
739
|
userAgent?: string;
|
|
741
740
|
connectedAt: number;
|
|
742
741
|
};
|
|
743
|
-
type TelemetryEventLog<
|
|
742
|
+
type TelemetryEventLog<TPayload extends Record<string, unknown> = Record<string, unknown>> = {
|
|
744
743
|
direction: 'in' | 'out';
|
|
745
744
|
event: string;
|
|
746
745
|
socketId: string;
|
|
747
|
-
|
|
748
|
-
payload:
|
|
746
|
+
username?: string;
|
|
747
|
+
payload: TPayload;
|
|
749
748
|
timestamp: number;
|
|
750
749
|
};
|
|
751
750
|
type TelemetrySnapshot = {
|