fix(sub): drop the deprecated Freedom noises key from the JSON subscription

The embedded template gave the direct outbound "noises": []. The pinned
core warns on any non-nil noises, so every subscriber's client logged a
deprecation warning on each load, and will refuse the document once the
key is removed. An empty list did nothing, so it is omitted.

The docs copy of the template had the same key and still carried
settings.domainStrategy, which the panel dropped in #6482. It now matches
the panel's file, and a docs test compares the two so the copy cannot
drift again; Docs CI runs when the template changes.
This commit is contained in:
Sanaei
2026-11-25 17:17:49 +03:30
parent 2450e64258
commit ff7d31984f
5 changed files with 56 additions and 3 deletions
+2
View File
@@ -7,12 +7,14 @@ on:
- 'docs/**'
- 'frontend/public/openapi.json'
- 'frontend/src/pages/api-docs/endpoints.ts'
- 'internal/sub/default.json'
- '.github/workflows/docs-ci.yml'
pull_request:
paths:
- 'docs/**'
- 'frontend/public/openapi.json'
- 'frontend/src/pages/api-docs/endpoints.ts'
- 'internal/sub/default.json'
- '.github/workflows/docs-ci.yml'
permissions: