build(repo): make source comments and build tools self-contained

This commit is contained in:
N0VAN0M4LY committed 2026-11-29 08:46:08 +08:00
1 parent 5b5c59ab08
commit 44190e4544
106 files changed
+152 -183

No files matched your search

+1 -2
View File
@@ -1,6 +1,5 @@
/**
* Squadron membership, candidate moderation, role changes, blacklist, and event-log helpers
*.
* Squadron membership, candidate moderation, role changes, blacklist, and event-log helpers.
*/
import type { ClanTuning } from './clan-tuning.ts';
import type { Account } from '../accounts/account-store.ts';
+1 -2
View File
@@ -1,6 +1,5 @@
/**
* Read-only search and leaderboard queries over the local squadron directory
*.
* Read-only search and leaderboard queries over the local squadron directory.
*/
import type { ClanTuning } from './clan-tuning.ts';
import { stripClanDecorators } from './clan-lifecycle.ts';
+2 -3
View File
@@ -1,7 +1,6 @@
/**
* The preset squadron directory written on first creation of `<data>/clans.json`
* (implementation notes section I; implementation notes), and the activity periods a member
* starts with. Both are tuning (tuning/clans.jsonc).
* Seeds the squadron directory and new members' activity periods from tuning/clans.jsonc.
* The directory is written when the server first creates `<data>/clans.json`.
*/
import type { ClanTuning, PresetClan, PresetMember } from './clan-tuning.ts';
import type { ClanActivityPeriodEntry, ClanMemberRecord, ClanRecord } from './clan-types.ts';
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* Persistent local squadron (clan) directory & state store (`<data>/clans.json`),
* delegating queries, lifecycle, and membership rules to `clan-queries.ts`,
* `clan-lifecycle.ts`, and `clan-membership.ts` (implementation notes; implementation notes I).
* `clan-lifecycle.ts`, and `clan-membership.ts`.
*/
import { existsSync, readFileSync } from 'node:fs';
import { join } from 'node:path';
+1 -2
View File
@@ -1,6 +1,5 @@
/**
* Types, binary enum constants, and shared squadron domain constants
*.
* Types, binary enum constants, and shared squadron domain constants.
*/
import type { ClanTuning } from './clan-tuning.ts';
import type { BlkBlock } from '@wto/blk';