out-of-your-element/passthrough.js

18 lines
530 B
JavaScript
Raw Normal View History

2023-04-25 20:06:08 +00:00
// @ts-check
2023-03-05 16:05:35 +00:00
/**
* @typedef {Object} Passthrough
* @property {import("repl").REPLServer} repl
* @property {typeof import("./config")} config
2023-04-25 20:06:08 +00:00
* @property {import("./d2m/discord-client")} discord
2024-07-20 13:30:07 +00:00
* @property {import("heatsync").default} sync
2023-05-04 20:25:00 +00:00
* @property {import("better-sqlite3/lib/database")} db
2023-06-28 20:08:17 +00:00
* @property {import("matrix-appservice").AppService} as
2023-09-14 00:32:27 +00:00
* @property {import("./db/orm").from} from
* @property {import("./db/orm").select} select
2023-03-05 16:05:35 +00:00
*/
/** @type {Passthrough} */
2023-04-25 20:06:08 +00:00
// @ts-ignore
2023-03-05 16:05:35 +00:00
const pt = {}
module.exports = pt