import { readFile } from "fs/promises"; import path from "node:path"; import "polyfill"; import { pgTableCreator } from "drizzle-orm/pg-core"; import type { Config } from "type-only"; import { type Options, type Settings } from "type-only/settings"; export type { Shape } from "type-only/shape"; export { createSchema } from "@ekklesia/sdk/schema"; export async function load(config: Config, options: Options, settings: Settings) { const watcher = await import("fsevents"); return { config, options, path, readFile, settings, table: pgTableCreator, watcher }; }