refactor: simplify account standing and verification levels (#3130)

This commit is contained in:
Hampus
2026-10-02 18:17:41 +02:00
committed by GitHub
parent 1abde06824
commit 1ec8f31253
488 changed files with 10390 additions and 47117 deletions
+3 -6
View File
@@ -267,7 +267,6 @@ const TABLE_COUNT_FLOOR = 1800;
const ACCEPTED_TABLE_FINDINGS = new Map<string, Readonly<Partial<Record<TableRule, number>>>>([
['admin-api/applications.mdx', {'table-identifier': 1}],
['admin-api/bulk-jobs.mdx', {'table-fit': 1}],
['admin-api/discovery.mdx', {'table-identifier': 1}],
['admin-api/gateway.mdx', {'table-identifier': 2}],
['admin-api/guilds.mdx', {'table-identifier': 3}],
@@ -275,7 +274,7 @@ const ACCEPTED_TABLE_FINDINGS = new Map<string, Readonly<Partial<Record<TableRul
['admin-api/instance.mdx', {'table-identifier': 8}],
['admin-api/messages.mdx', {'table-identifier': 1}],
['admin-api/reports.mdx', {'table-fit': 1, 'table-identifier': 2}],
['admin-api/users.mdx', {'table-fit': 1, 'table-identifier': 3}],
['admin-api/users.mdx', {'table-identifier': 3}],
['admin-api/voice.mdx', {'table-identifier': 3}],
['gateway/event-filtering.md', {'table-cell': 2}],
['gateway/events.md', {'table-identifier': 1}],
@@ -287,7 +286,7 @@ const ACCEPTED_TABLE_FINDINGS = new Map<string, Readonly<Partial<Record<TableRul
['http-api/channels.mdx', {'table-cell': 6}],
['http-api/connections.mdx', {'table-cell': 2}],
['http-api/deployment-availability.md', {'table-fit': 1}],
['http-api/discovery.mdx', {'table-cell': 3}],
['http-api/discovery.mdx', {'table-cell': 2}],
['http-api/donations.mdx', {'table-cell': 1}],
['http-api/entrance-sounds.mdx', {'table-cell': 3, 'table-parallel': 1}],
['http-api/gifs.mdx', {'table-cell': 5}],
@@ -304,18 +303,16 @@ const ACCEPTED_TABLE_FINDINGS = new Map<string, Readonly<Partial<Record<TableRul
['http-api/messages.mdx', {'table-fit': 1, 'table-cell': 20, 'table-identifier': 1}],
['http-api/permissions.mdx', {'table-cell': 8}],
['http-api/premium.mdx', {'table-identifier': 5}],
['http-api/read-states.mdx', {'table-cell': 2}],
['http-api/reports.mdx', {'table-cell': 5, 'table-identifier': 1}],
['http-api/search.mdx', {'table-fit': 1, 'table-cell': 2, 'table-identifier': 1}],
['http-api/streams.mdx', {'table-cell': 5}],
['http-api/unfurl.mdx', {'table-cell': 2, 'table-parallel': 1}],
['http-api/users.mdx', {'table-fit': 1, 'table-identifier': 4}],
['http-api/users.mdx', {'table-fit': 1, 'table-identifier': 3}],
['http-api/users/content.mdx', {'table-cell': 4}],
['http-api/users/current-user.mdx', {'table-identifier': 1}],
['http-api/users/data-harvest.mdx', {'table-cell': 2}],
['http-api/users/email-and-password.mdx', {'table-identifier': 1}],
['http-api/users/mfa.mdx', {'table-cell': 3, 'table-parallel': 1}],
['http-api/users/phone-verification.mdx', {'table-cell': 2}],
['http-api/users/private-channels.mdx', {'table-cell': 3}],
['http-api/users/relationships.mdx', {'table-fit': 2, 'table-cell': 3, 'table-identifier': 2}],
['http-api/users/settings-protobuf.md', {'table-fit': 2, 'table-identifier': 7, 'table-parallel': 1}],