types-nora-api 0.0.155 → 0.0.157

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
@@ -816,6 +816,15 @@ declare namespace EventosWebSocket {
816
816
  conteudoMensagem: string;
817
817
  };
818
818
  };
819
+ emitirSalas: {
820
+ tipo: "envia-e-recebe";
821
+ payload: {
822
+ usuarioId: number;
823
+ };
824
+ response: {
825
+ listaSalas: SalaChatFront[];
826
+ };
827
+ };
819
828
  emitirMensagem: {
820
829
  tipo: "emite";
821
830
  payload: {
@@ -1153,7 +1162,21 @@ declare const Eventos_Emite: {
1153
1162
  };
1154
1163
  declare const Eventos_EnviaERecebe: {
1155
1164
  readonly Chat: {
1156
- eventos: {};
1165
+ eventos: {
1166
+ emitirSalas: {
1167
+ tipo: "envia-e-recebe";
1168
+ payload: {
1169
+ usuarioId: number;
1170
+ };
1171
+ response: {
1172
+ listaSalas: SalaChatFront[];
1173
+ };
1174
+ } & {
1175
+ readonly nome: "emitirSalas";
1176
+ readonly gateway: "Chat";
1177
+ readonly fullName: "Chat:emitirSalas";
1178
+ };
1179
+ };
1157
1180
  };
1158
1181
  readonly GameEngine: {
1159
1182
  eventos: {
package/dist/classes.js CHANGED
@@ -83,6 +83,11 @@ var EventosWebSocket;
83
83
  tipo: 'envia',
84
84
  payload: { salaId: '', conteudoMensagem: '' },
85
85
  },
86
+ emitirSalas: {
87
+ tipo: 'envia-e-recebe',
88
+ payload: { usuarioId: 0 },
89
+ response: { listaSalas: [] }
90
+ },
86
91
  emitirMensagem: {
87
92
  tipo: 'emite',
88
93
  payload: { usuarioId: 0, salaId: '', conteudoMensagem: '' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "types-nora-api",
3
- "version": "0.0.155",
3
+ "version": "0.0.157",
4
4
  "description": "Tipagem da Nora-Api compartilhada com o universodomedo.com",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",