MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / constructor

Method constructor

packages/hydrooj/src/settings.ts:43–45  ·  view source on GitHub ↗
(ctx: Context)

Source from the content-addressed store, hash-verified

41 SystemSetting = T(SystemSetting);
42
43 constructor(ctx: Context) {
44 super(ctx, 'setting');
45 }
46
47 async [Service.init]() {
48 const payload = await this.ctx.db.collection('system').find({}).toArray();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected