mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
17 lines
466 B
TypeScript
17 lines
466 B
TypeScript
import type { DittoConf } from '@ditto/conf';
|
|
import type { DittoDatabase } from '@ditto/db';
|
|
import type { Env } from '@hono/hono';
|
|
import type { NRelay } from '@nostrify/nostrify';
|
|
|
|
export interface DittoEnv extends Env {
|
|
Variables: {
|
|
/** Ditto site configuration. */
|
|
conf: DittoConf;
|
|
/** Main database. */
|
|
store: NRelay;
|
|
/** Database object. */
|
|
db: DittoDatabase;
|
|
/** Abort signal for the request. */
|
|
signal: AbortSignal;
|
|
};
|
|
}
|