types-nora-api 0.0.158 → 0.0.159

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 CHANGED
@@ -798,7 +798,7 @@ type EventoEmite<P = any, R = any> = {
798
798
  };
799
799
  type EventoEnviaERecebe<P = any, R = any> = {
800
800
  tipo: 'envia-e-recebe';
801
- payload: P;
801
+ payload?: P;
802
802
  response: R;
803
803
  };
804
804
  type EventoSchema = EventoEnvia<any> | EventoEmite<any, any> | EventoEnviaERecebe<any, any>;
@@ -818,9 +818,6 @@ declare namespace EventosWebSocket {
818
818
  };
819
819
  emitirSalas: {
820
820
  tipo: "envia-e-recebe";
821
- payload: {
822
- usuarioId: number;
823
- };
824
821
  response: {
825
822
  listaSalas: SalaChatFront[];
826
823
  };
@@ -1165,9 +1162,6 @@ declare const Eventos_EnviaERecebe: {
1165
1162
  eventos: {
1166
1163
  emitirSalas: {
1167
1164
  tipo: "envia-e-recebe";
1168
- payload: {
1169
- usuarioId: number;
1170
- };
1171
1165
  response: {
1172
1166
  listaSalas: SalaChatFront[];
1173
1167
  };
package/dist/classes.js CHANGED
@@ -85,7 +85,6 @@ var EventosWebSocket;
85
85
  },
86
86
  emitirSalas: {
87
87
  tipo: 'envia-e-recebe',
88
- payload: { usuarioId: 0 },
89
88
  response: { listaSalas: [] }
90
89
  },
91
90
  emitirMensagem: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "types-nora-api",
3
- "version": "0.0.158",
3
+ "version": "0.0.159",
4
4
  "description": "Tipagem da Nora-Api compartilhada com o universodomedo.com",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",