enerthya.dev-web-common 1.6.1 → 1.6.3
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/esm/constants/routes.js +4 -0
- package/package.json +1 -1
package/esm/constants/routes.js
CHANGED
|
@@ -119,6 +119,10 @@ const API_ROUTES = {
|
|
|
119
119
|
* @param {string} chatId - ID da conversa
|
|
120
120
|
*/
|
|
121
121
|
RENAME_CHAT: (chatId) => `/ada/chats/${chatId}/rename`,
|
|
122
|
+
/** GET — Auditoria completa da guilda (query param: guildId) */
|
|
123
|
+
GUILD_AUDIT: "/ada/guild/audit",
|
|
124
|
+
/** POST — Aplica uma sugestão de auditoria { action, guildId } */
|
|
125
|
+
GUILD_AUDIT_APPLY: "/ada/guild/audit/apply",
|
|
122
126
|
},
|
|
123
127
|
|
|
124
128
|
// ─── Meta ─────────────────────────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "enerthya.dev-web-common",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"description": "Shared web layer for the Enerthya ecosystem: API routes, response envelopes, URL helpers and validators. Inspired by Loritta's web-common and dashboard-common modules.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"module": "esm/index.js",
|