types-nora-api 0.0.475 → 0.0.477
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/api/graphql/core/index.d.ts +374 -0
- package/dist/api/graphql/core/index.js +420 -0
- package/dist/api/graphql/index.d.ts +2 -5
- package/dist/api/graphql/index.js +3 -6
- package/dist/api/graphql/leituras/Arquivo/index.d.ts +41 -0
- package/dist/api/graphql/leituras/Arquivo/index.js +74 -0
- package/dist/api/graphql/leituras/ArquivoTipadoArte/index.d.ts +35 -0
- package/dist/api/graphql/leituras/ArquivoTipadoArte/index.js +50 -0
- package/dist/api/graphql/leituras/Aventura/index.d.ts +39 -0
- package/dist/api/graphql/leituras/Aventura/index.js +51 -0
- package/dist/api/graphql/leituras/ChaveNovoAvatar/index.d.ts +38 -0
- package/dist/api/graphql/leituras/ChaveNovoAvatar/index.js +51 -0
- package/dist/api/graphql/leituras/DetalheArquivoInterno/index.d.ts +30 -0
- package/dist/api/graphql/leituras/DetalheArquivoInterno/index.js +44 -0
- package/dist/api/graphql/leituras/Emblema/index.d.ts +38 -0
- package/dist/api/graphql/leituras/Emblema/index.js +64 -0
- package/dist/api/graphql/leituras/GrupoAventura/index.d.ts +63 -0
- package/dist/api/graphql/leituras/GrupoAventura/index.js +159 -0
- package/dist/api/graphql/leituras/Personagem/index.d.ts +46 -0
- package/dist/api/graphql/leituras/Personagem/index.js +76 -0
- package/dist/api/graphql/leituras/Sessao/index.d.ts +54 -0
- package/dist/api/graphql/leituras/Sessao/index.js +71 -0
- package/dist/api/graphql/leituras/TipoArquivo/index.d.ts +30 -0
- package/dist/api/graphql/leituras/TipoArquivo/index.js +48 -0
- package/dist/api/graphql/leituras/TipoPersonagem/index.d.ts +31 -0
- package/dist/api/graphql/leituras/TipoPersonagem/index.js +49 -0
- package/dist/api/graphql/leituras/Usuario/index.d.ts +32 -0
- package/dist/api/graphql/leituras/Usuario/index.js +50 -0
- package/dist/api/graphql/leituras/index.d.ts +57 -0
- package/dist/api/graphql/leituras/index.js +59 -0
- package/dist/api/rest/index.d.ts +8 -42
- package/dist/api/rest/index.js +10 -38
- package/dist/dominio/index.d.ts +56 -0
- package/dist/dominio/index.js +14 -0
- package/dist/dtos/index.d.ts +40 -3
- package/dist/menus/index.d.ts +5 -4
- package/dist/menus/index.js +3 -1
- package/dist/paginas/index.d.ts +2 -1
- package/dist/paginas/index.js +2 -1
- package/dist/ws/index.d.ts +214 -1
- package/dist/ws/index.js +61 -2
- package/package.json +1 -1
package/dist/ws/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED FILE - DO NOT EDIT
|
|
2
2
|
// Contratos WebSocket
|
|
3
|
+
const TESTE_VOZ_ID_SALA = "testevoz-global";
|
|
3
4
|
function isWsErrorResponse(payload) { return !!payload && typeof payload === "object" && payload._wsErro === true; }
|
|
4
5
|
function isWsUnauthorizedErrorResponse(payload) { return isWsErrorResponse(payload) && payload.code === "UNAUTHORIZED"; }
|
|
5
6
|
function wsErro(mensagem, extra) { return { _wsErro: true, mensagem, ...(extra ?? {}) }; }
|
|
@@ -97,7 +98,65 @@ var EventosWebSocket;
|
|
|
97
98
|
// autenticacao_necessaria: false,
|
|
98
99
|
},
|
|
99
100
|
});
|
|
100
|
-
|
|
101
|
+
const TesteVoz = createGateway({
|
|
102
|
+
entrarNaSala: {
|
|
103
|
+
tipo: "envia-e-recebe",
|
|
104
|
+
autenticacao_necessaria: false,
|
|
105
|
+
payload: {},
|
|
106
|
+
response: {},
|
|
107
|
+
},
|
|
108
|
+
enviarOffer: {
|
|
109
|
+
tipo: "envia",
|
|
110
|
+
autenticacao_necessaria: false,
|
|
111
|
+
payload: {},
|
|
112
|
+
},
|
|
113
|
+
enviarAnswer: {
|
|
114
|
+
tipo: "envia",
|
|
115
|
+
autenticacao_necessaria: false,
|
|
116
|
+
payload: {},
|
|
117
|
+
},
|
|
118
|
+
enviarIceCandidate: {
|
|
119
|
+
tipo: "envia",
|
|
120
|
+
autenticacao_necessaria: false,
|
|
121
|
+
payload: {},
|
|
122
|
+
},
|
|
123
|
+
usuarioEntrou: {
|
|
124
|
+
tipo: "emite",
|
|
125
|
+
autenticacao_necessaria: false,
|
|
126
|
+
payload: {},
|
|
127
|
+
response: {},
|
|
128
|
+
delivery: "broadcast",
|
|
129
|
+
},
|
|
130
|
+
usuarioSaiu: {
|
|
131
|
+
tipo: "emite",
|
|
132
|
+
autenticacao_necessaria: false,
|
|
133
|
+
payload: {},
|
|
134
|
+
response: {},
|
|
135
|
+
delivery: "broadcast",
|
|
136
|
+
},
|
|
137
|
+
receberOffer: {
|
|
138
|
+
tipo: "emite",
|
|
139
|
+
autenticacao_necessaria: false,
|
|
140
|
+
payload: {},
|
|
141
|
+
response: {},
|
|
142
|
+
delivery: "broadcast",
|
|
143
|
+
},
|
|
144
|
+
receberAnswer: {
|
|
145
|
+
tipo: "emite",
|
|
146
|
+
autenticacao_necessaria: false,
|
|
147
|
+
payload: {},
|
|
148
|
+
response: {},
|
|
149
|
+
delivery: "broadcast",
|
|
150
|
+
},
|
|
151
|
+
receberIceCandidate: {
|
|
152
|
+
tipo: "emite",
|
|
153
|
+
autenticacao_necessaria: false,
|
|
154
|
+
payload: {},
|
|
155
|
+
response: {},
|
|
156
|
+
delivery: "broadcast",
|
|
157
|
+
},
|
|
158
|
+
});
|
|
159
|
+
EventosWebSocket.gateways = { Chat, Jogo, ExecucaoDeJogo, UsuariosConectados, UsuariosExistentes, TesteVoz };
|
|
101
160
|
})(EventosWebSocket || (EventosWebSocket = {}));
|
|
102
161
|
function isRecord(value) { return typeof value === 'object' && value !== null; }
|
|
103
162
|
function getEmitDelivery(gatewayName, eventName) {
|
|
@@ -133,4 +192,4 @@ function criarEventosFiltrados(tipo) {
|
|
|
133
192
|
const Eventos_Envia = criarEventosFiltrados('envia');
|
|
134
193
|
const Eventos_Emite = criarEventosFiltrados('emite');
|
|
135
194
|
const Eventos_EnviaERecebe = criarEventosFiltrados('envia-e-recebe');
|
|
136
|
-
export { EventosWebSocket, Eventos_Emite, Eventos_Envia, Eventos_EnviaERecebe, createGateway, criarEventosFiltrados, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsChain, wsErro, wsMap, wsUnauthorized };
|
|
195
|
+
export { EventosWebSocket, Eventos_Emite, Eventos_Envia, Eventos_EnviaERecebe, TESTE_VOZ_ID_SALA, createGateway, criarEventosFiltrados, getEmitDelivery, isRecord, isWsErrorResponse, isWsUnauthorizedErrorResponse, wsChain, wsErro, wsMap, wsUnauthorized };
|