@mikitasazan/notify 1.18.0 → 1.20.0

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/events.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  * - required fields are never added — only a new event type.
11
11
  * That keeps old caller code and a new package compatible both ways.
12
12
  */
13
- export type Project = 'playhub' | 'one-q' | 'zabukai' | 'game-publisher' | 'vault' | 'mac-config' | 'alitools' | 'playgust';
13
+ export type Project = 'playhub' | 'one-q' | 'zabukai' | 'game-publisher' | 'vault' | 'mac-config' | 'alitools' | 'htmlg';
14
14
  /**
15
15
  * A stable machine key for the task — the instance tag on the FIRST line of
16
16
  * every card, shaped as `#key` (with no project name: the card already sits
package/dist/routes.d.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  * (people's live chat). A project the owner runs alone is a plain
9
9
  * supergroup without topics — the robots post straight into it and there
10
10
  * is nobody to talk to in a Dev tab (owner's rule of 2026-09-05; the first
11
- * such chat is `playgust`). A plain chat has no `ops` number: the message
11
+ * such chat is `htmlg`). A plain chat has no `ops` number: the message
12
12
  * goes to the chat itself.
13
13
  *
14
14
  * Why not one shared forum with a topic per project — that was the first
package/dist/routes.js CHANGED
@@ -1,30 +1,26 @@
1
1
  import { severity } from "./events.js";
2
2
  export const ROUTES = {
3
- // ops/dev = 22/23, not 3/4: the old tabs were deleted by hand on
4
- // 27.07.2026, and Telegram removes a topic's messages along with it. A
5
- // recreated topic gets a NEW id — a topic's id is the id of its first
6
- // message, it is never reused.
3
+ // The only project with a team, and so the only forum left. ops/dev =
4
+ // 22/23, not 3/4: the old tabs were deleted by hand on 27.07.2026, and
5
+ // Telegram removes a topic's messages along with it. A recreated topic
6
+ // gets a NEW id — a topic's id is the id of its first message, it is
7
+ // never reused.
7
8
  zabukai: { chat: '-1004299939100', ops: 22, dev: 23 },
8
- playhub: { chat: '-1004418379613', ops: 3, dev: 4 },
9
- 'game-publisher': { chat: '-1004292453693', ops: 3, dev: 4 },
10
- 'one-q': { chat: '-1004466909784', ops: 3, dev: 4 },
11
- // No `dev`: the safe is infrastructure, there is no one to discuss it
12
- // with. Only reports from the weekly check, and only when something
13
- // broke.
14
- vault: { chat: '-1004459314999', ops: 3 },
15
- // Also infrastructure, no `dev`: the daily task digest and the Monday
16
- // stumbles summary. Before this row, both used to die silently on
17
- // "unknown project."
18
- 'mac-config': { chat: '-1004442522004', ops: 2 },
19
- // The owner's corporate project: only its own reports on "what the
20
- // publish delivered" (ali98x-sentry). No `dev` — the project's team lives
21
- // in other systems, there are no people here. Until 18.08.2026 reports
22
- // were getting lost on "unknown project" for weeks.
23
- alitools: { chat: '-1003904331479', ops: 3 },
24
- // Solo project, plain supergroup without topics (owner's rule 05.09.2026):
25
- // no `ops`, no `dev`, the bot posts into the chat itself. Created
26
- // 05.09.2026 as «Playgust · Ops».
27
- playgust: { chat: '-1004334723487' }
9
+ // Every row below is a project the owner runs alone. Their Topics were
10
+ // turned off on 06.09.2026 and their `ops` numbers went with them: a card
11
+ // now goes to the chat itself. Sending a thread id into a chat that is no
12
+ // longer a forum fails with "message thread not found", so a row here and
13
+ // the chat's own setting must always agree.
14
+ playhub: { chat: '-1004418379613' },
15
+ 'game-publisher': { chat: '-1004292453693' },
16
+ 'one-q': { chat: '-1004466909784' },
17
+ vault: { chat: '-1004459314999' },
18
+ 'mac-config': { chat: '-1004442522004' },
19
+ alitools: { chat: '-1003904331479' },
20
+ // Created 05.09.2026 as «HTMLG · Ops», the first chat built this way
21
+ // (HTMLG is the HTML5-games business; the brand and domain of its portal
22
+ // may change, the project name does not).
23
+ htmlg: { chat: '-1004334723487' }
28
24
  };
29
25
  /**
30
26
  * Where an event goes. Everything goes to its own project's "Ops" tab; a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikitasazan/notify",
3
- "version": "1.18.0",
3
+ "version": "1.20.0",
4
4
  "description": "Единая типизированная отправка Telegram-уведомлений (форум-темы, маршрутизация, ретраи) для всех проектов",
5
5
  "type": "module",
6
6
  "license": "MIT",