mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-12-05 03:30:23 -06:00
index.ts now only registers settings and routes. Handlers are grouped by part of the game (version, card, key, print, play, item, gift), the stored documents live in models/, and the closet, player creation, db access, game data and helpers each have their own file. No behavior change: the test flow gives the same results.
6 lines
87 B
TypeScript
6 lines
87 B
TypeScript
export interface Counter {
|
|
collection: 'counter';
|
|
name: string;
|
|
value: number;
|
|
}
|